@camunda/ccma-saas-frontend 0.35.11 → 0.35.13

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("div", { style: { display: 'flex', flexDirection: 'column', overflowX: 'auto' }, 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 })] }));
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, _jsx("div", { style: { display: 'flex', flexDirection: 'column', overflowX: 'auto' }, children: dataTable })] }));
12
+ const component = (_jsxs(Stack, { gap: 3, children: [bannerNotification, dataTable] }));
11
13
  return component;
12
14
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/ccma-saas-frontend",
3
- "version": "0.35.11",
3
+ "version": "0.35.13",
4
4
  "description": "Camunda Composite Components",
5
5
  "bugs": {
6
6
  "url": "https://github.com/camunda/camunda-cloud-management-apps/issues"
@@ -85,8 +85,8 @@
85
85
  "react-markdown": "^8.0.7 || ^10.0.0"
86
86
  },
87
87
  "dependencies": {
88
- "@camunda/ccma-api": "13.1.0",
89
- "@camunda/ccma-shared-types": "18.3.0",
88
+ "@camunda/ccma-api": "13.2.0",
89
+ "@camunda/ccma-shared-types": "18.4.0",
90
90
  "@pactsafe/pactsafe-react-sdk": "2.15.0",
91
91
  "cron-parser": "5.10.2",
92
92
  "mobx": "6.16.1",