@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.cjs.js
CHANGED
|
@@ -8275,7 +8275,7 @@ ListOrganizations.Action = (props) => {
|
|
|
8275
8275
|
input: {
|
|
8276
8276
|
endAdornment: (jsxRuntime.jsx(material.InputAdornment, { position: "end", children: jsxRuntime.jsx(material.SvgIcon, { children: jsxRuntime.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" }) }) })),
|
|
8277
8277
|
},
|
|
8278
|
-
} }), jsxRuntime.jsx(material.Button, { size: "
|
|
8278
|
+
} }), jsxRuntime.jsx(material.Button, { size: "medium", variant: "outlined", onClick: onActionClick, sx: (theme) => ({ height: theme.spacing(5.5), px: 2 }), children: labels.actions.headerAction })] })) }));
|
|
8279
8279
|
};
|
|
8280
8280
|
ListOrganizations.Header = (props) => {
|
|
8281
8281
|
const { children, className } = deepMerge(useListOrganizationsContext(), props);
|
|
@@ -8349,9 +8349,10 @@ ListOrganizations.Table = (props) => {
|
|
|
8349
8349
|
})() }) }), jsxRuntime.jsx(material.TableCell, { sx: {
|
|
8350
8350
|
width: (theme) => theme.spacing(20),
|
|
8351
8351
|
textAlign: 'center',
|
|
8352
|
-
}, children: row.auditStatus === 'waiting_for_review' && (jsxRuntime.jsx(material.Box, { onClick: (e) => e.stopPropagation(), children: jsxRuntime.jsx(material.Button, { size: "
|
|
8352
|
+
}, children: row.auditStatus === 'waiting_for_review' && (jsxRuntime.jsx(material.Box, { onClick: (e) => e.stopPropagation(), children: jsxRuntime.jsx(material.Button, { size: "medium", variant: "outlined", onClick: () => onRowActionClick(row), sx: {
|
|
8353
8353
|
overflowWrap: 'break-word',
|
|
8354
8354
|
lineHeight: 1.2,
|
|
8355
|
+
px: 2,
|
|
8355
8356
|
}, children: labels.actions.rowAction }) })) })] }, row.id));
|
|
8356
8357
|
}) })] }) }), pagination && (jsxRuntime.jsx(material.Stack, { sx: { alignItems: 'center' }, children: jsxRuntime.jsx(material.Pagination, { count: pagination.totalPages, page: pagination.currentPage, onChange: (event, page) => pagination.onPageChange(page), className: pagination.className, variant: "outlined", shape: "rounded" }) }))] }));
|
|
8357
8358
|
};
|