@camunda/ccma-saas-frontend 0.35.11 → 0.35.12
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.
|
@@ -209,10 +209,10 @@ export const C4ManagementApi = ({ clients, loading, showIpWhitelistColumn, showH
|
|
|
209
209
|
// inherit a color that is too dark in dark mode.
|
|
210
210
|
_jsxs(UnorderedList, { style: { color: 'var(--neutral-foreground-strong)' }, children: [_jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedClientSecret, ": ", text.expandedClientSecretNotVisible] }), _jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedApiUrl, ":", ' ', _jsx(CodeSnippet, { type: 'inline', feedback: text.urlCopiedFeedback, children: urls.apiUrl })] }), _jsxs(ListItem, { style: { minHeight: '30px' }, children: [text.expandedOauthUrl, ":", ' ', _jsx(CodeSnippet, { type: 'inline', feedback: text.urlCopiedFeedback, children: urls.oauthUrl })] })] }));
|
|
211
211
|
};
|
|
212
|
-
const component = (_jsxs(Stack, { gap: 3, children: [_jsx(
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
212
|
+
const component = (_jsxs(Stack, { gap: 3, children: [_jsx(C4DataTable, { headers: headerData, data: clients.map((item) => {
|
|
213
|
+
return { ...item, expansion: expandedRow() };
|
|
214
|
+
}), title: text.title, toolbar: toolbar, actions: actions, options: {
|
|
215
|
+
actionsUseOverflowMenuMinItems: 1,
|
|
216
|
+
}, queryPrefix: 'management-api' }), _jsx("p", { className: 'legalText', children: text.description })] }));
|
|
217
217
|
return component;
|
|
218
218
|
};
|
|
@@ -4,9 +4,11 @@ import { C4ActionableNotification } from '../c4-actionable-notification/c4-actio
|
|
|
4
4
|
import { C4DataTable } from '../c4-data-table/c4-data-table.js';
|
|
5
5
|
export const C4ManagementUsers = ({ users, loading, headers, actions, toolbar, banner, }) => {
|
|
6
6
|
const bannerNotification = banner.show ? (_jsx(C4ActionableNotification, { appearance: 'banner', kind: 'info', title: '', subtitle: banner.subtitle, actionButtonLabel: banner.actionButtonLabel, onActionButtonClick: banner.onActionClick, lowContrast: false })) : null;
|
|
7
|
+
// No `overflow-x: auto` wrapper: the DS DataTable scrolls itself, and a
|
|
8
|
+
// scroll container would clip the focus ring of the search field.
|
|
7
9
|
const dataTable = (_jsx(C4DataTable, { headers: headers, data: users, actions: actions, toolbar: toolbar, title: 'Users', isLoading: loading, options: {
|
|
8
10
|
actionsUseOverflowMenuMinItems: 2,
|
|
9
11
|
}, queryPrefix: 'management-users' }));
|
|
10
|
-
const component = (_jsxs(Stack, { gap: 3, children: [bannerNotification,
|
|
12
|
+
const component = (_jsxs(Stack, { gap: 3, children: [bannerNotification, dataTable] }));
|
|
11
13
|
return component;
|
|
12
14
|
};
|