@camunda/ccma-saas-frontend 0.18.0 → 0.18.2
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.
|
@@ -27,5 +27,8 @@ export const C4HubUpgradeBanner = ({ variant = 'hub', docsUrl = HUB_DOCS_URL, })
|
|
|
27
27
|
const [open, setOpen] = useState(true);
|
|
28
28
|
if (!open)
|
|
29
29
|
return undefined;
|
|
30
|
-
return (_jsx(C4ActionableNotification, { kind: 'info', inline: true, lowContrast: true,
|
|
30
|
+
return (_jsx(C4ActionableNotification, { kind: 'info', inline: true, lowContrast: true,
|
|
31
|
+
// Carbon makes the notification an alert dialog by default. It then takes
|
|
32
|
+
// focus and pulls it back when the user leaves it. A banner must not do this.
|
|
33
|
+
role: 'status', hasFocus: false, title: COPY[variant].title, subtitle: COPY[variant].subtitle, actionButtonLabel: "Learn what's changing", onActionButtonClick: () => window.open(docsUrl, '_blank', 'noopener'), onCloseButtonClick: () => setOpen(false), style: { maxWidth: '100%' } }));
|
|
31
34
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/ccma-saas-frontend",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.2",
|
|
4
4
|
"description": "Camunda Composite Components",
|
|
5
5
|
"bugs": {
|
|
6
6
|
"url": "https://github.com/camunda/camunda-cloud-management-apps/issues"
|
|
@@ -96,8 +96,8 @@
|
|
|
96
96
|
"react-markdown": "^8.0.7 || ^10.0.0"
|
|
97
97
|
},
|
|
98
98
|
"dependencies": {
|
|
99
|
-
"@camunda/ccma-api": "5.
|
|
100
|
-
"@camunda/ccma-shared-types": "7.
|
|
99
|
+
"@camunda/ccma-api": "5.3.0",
|
|
100
|
+
"@camunda/ccma-shared-types": "7.4.0",
|
|
101
101
|
"@pactsafe/pactsafe-react-sdk": "2.15.0",
|
|
102
102
|
"cron-parser": "5.10.1",
|
|
103
103
|
"mobx": "6.16.1",
|