@camunda/camunda-composite-components 0.2.5-rc.2 → 0.2.5
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.
|
@@ -156,7 +156,7 @@ export const HelpCenter = ({ configuration, organization, persona, email, audien
|
|
|
156
156
|
width: "100%",
|
|
157
157
|
backgroundColor: tabBackgroundColor,
|
|
158
158
|
color: tabButtonColor,
|
|
159
|
-
}, key: name
|
|
159
|
+
}, key: name }, text));
|
|
160
160
|
}))),
|
|
161
161
|
React.createElement("div", { style: { position: "absolute", bottom: "20px" } }, configuration.links.map((link) => (React.createElement(SideNavMenuItem, { key: link.label.split(" ").join("-").toLowerCase() },
|
|
162
162
|
React.createElement(Link, { href: link.link, target: "_blank" }, link.label))))))),
|
|
@@ -122,10 +122,10 @@ export const OnboardingSurvey = ({ appTheme, persona, userFirstName, syncPersona
|
|
|
122
122
|
React.createElement(ProgressIndicator, { currentIndex: step, spaceEqually: true, onChange: tryStepTo }, isLoadingConfig ? (React.createElement(Loading, null)) : (onboardingConfiguration.steps.map((currentStep, index) => (React.createElement(ProgressStep, { label: `Step ${index + 1}`, secondaryLabel: currentStep.title, key: `onboarding-step-${index}`, disabled: step !== index }))))),
|
|
123
123
|
React.createElement(OnboardingStep, { theme: theme, generic: generic, setGeneric: setGeneric, config: onboardingConfiguration.steps[step] }))));
|
|
124
124
|
if (modal) {
|
|
125
|
-
return (React.createElement(OnboardingModal, { isDoingAsyncWork: isDoingAsyncWork, heading: `Welcome to Camunda
|
|
125
|
+
return (React.createElement(OnboardingModal, { isDoingAsyncWork: isDoingAsyncWork, heading: `Welcome to Camunda, ${userFirstName}!`, headingLabel: "", primaryButtonText: "Next", primaryButtonDisabled: !nextEnabled(step), secondaryButtonText: step === 0 ? undefined : "Previous", tertiaryButtonText: step === 0 ? "Skip customization" : undefined, loadingText: "Loading", theme: theme, onPrimary: stepForward, onRequestClose: onRequestClose, onSecondary: secondaryButtonAction, onTertiary: step === 0 ? secondaryButtonAction : undefined }, content));
|
|
126
126
|
}
|
|
127
127
|
else {
|
|
128
128
|
return (React.createElement(React.Fragment, null,
|
|
129
|
-
React.createElement(OnboardingPage, { isDoingAsyncWork: isDoingAsyncWork, heading: `Welcome to Camunda
|
|
129
|
+
React.createElement(OnboardingPage, { isDoingAsyncWork: isDoingAsyncWork, heading: `Welcome to Camunda, ${userFirstName}!`, headingLabel: "", primaryButtonText: "Next", primaryButtonDisabled: !nextEnabled(step), secondaryButtonText: step === 0 ? undefined : "Previous", tertiaryButtonText: step === 0 ? "Skip customization" : undefined, loadingText: "Loading", onPrimary: stepForward, onSecondary: secondaryButtonAction, onTertiary: step === 0 ? secondaryButtonAction : undefined }, content)));
|
|
130
130
|
}
|
|
131
131
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camunda/camunda-composite-components",
|
|
3
|
-
"version": "0.2.5
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"clean": "rimraf lib/",
|
|
6
6
|
"build": "yarn clean && tsc",
|
|
@@ -26,25 +26,25 @@
|
|
|
26
26
|
"test": "yarn test:ts && yarn test:storybook && yarn test:visual-regression:docker"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@babel/core": "7.22.
|
|
29
|
+
"@babel/core": "7.22.19",
|
|
30
30
|
"@babel/preset-env": "7.22.15",
|
|
31
31
|
"@babel/preset-react": "7.22.15",
|
|
32
32
|
"@babel/preset-typescript": "7.22.15",
|
|
33
33
|
"@carbon/react": "1.37.0",
|
|
34
34
|
"@mdx-js/react": "2.3.0",
|
|
35
35
|
"@playwright/test": "1.37.1",
|
|
36
|
-
"@storybook/addon-a11y": "7.4.
|
|
37
|
-
"@storybook/addon-actions": "7.4.
|
|
38
|
-
"@storybook/addon-docs": "7.4.
|
|
39
|
-
"@storybook/addon-essentials": "7.4.
|
|
40
|
-
"@storybook/addon-interactions": "7.4.
|
|
41
|
-
"@storybook/addon-links": "7.4.
|
|
42
|
-
"@storybook/blocks": "7.4.
|
|
36
|
+
"@storybook/addon-a11y": "7.4.2",
|
|
37
|
+
"@storybook/addon-actions": "7.4.2",
|
|
38
|
+
"@storybook/addon-docs": "7.4.2",
|
|
39
|
+
"@storybook/addon-essentials": "7.4.2",
|
|
40
|
+
"@storybook/addon-interactions": "7.4.2",
|
|
41
|
+
"@storybook/addon-links": "7.4.2",
|
|
42
|
+
"@storybook/blocks": "7.4.2",
|
|
43
43
|
"@storybook/preset-scss": "1.0.3",
|
|
44
|
-
"@storybook/react": "7.4.
|
|
45
|
-
"@storybook/react-webpack5": "7.4.
|
|
44
|
+
"@storybook/react": "7.4.2",
|
|
45
|
+
"@storybook/react-webpack5": "7.4.2",
|
|
46
46
|
"@storybook/test-runner": "0.13.0",
|
|
47
|
-
"@storybook/testing-library": "0.2.
|
|
47
|
+
"@storybook/testing-library": "0.2.1",
|
|
48
48
|
"@types/carbon-components-react": "7.55.3",
|
|
49
49
|
"@types/event-source-polyfill": "1.0.1",
|
|
50
50
|
"@types/mixpanel-browser": "2.47.1",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"sass": "1.66.1",
|
|
77
77
|
"sass-loader": "13.3.2",
|
|
78
78
|
"serve": "14.2.1",
|
|
79
|
-
"storybook": "7.4.
|
|
79
|
+
"storybook": "7.4.2",
|
|
80
80
|
"style-loader": "3.3.3",
|
|
81
81
|
"styled-components": "6.0.7",
|
|
82
82
|
"typescript": "5.2.2",
|