@camunda/camunda-composite-components 0.4.2-rc.0 → 0.4.2-rc.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/README.md +52 -20
- package/lib/esm/package.json +11 -11
- package/lib/esm/src/components/c3-app-teaser/c3-app-teaser.js +3 -1
- package/lib/esm/src/components/c3-help-center/c3-help-center.d.ts +1 -1
- package/lib/esm/src/components/c3-help-center/c3-help-center.js +5 -2
- package/lib/esm/src/components/c3-navigation/c3-navigation-appbar/c3-navigation-appbar.js +10 -11
- package/lib/esm/src/components/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar.types.d.ts +5 -7
- package/lib/esm/src/components/c3-navigation/c3-navigation.js +1 -1
- package/lib/esm/src/components/c3-navigation/story-helpers.js +1 -1
- package/lib/esm/src/components/c3-user-configuration/c3-user-configuration-provider.d.ts +1 -2
- package/package.json +11 -11
package/README.md
CHANGED
|
@@ -1,14 +1,26 @@
|
|
|
1
1
|
# Camunda Composite Components
|
|
2
2
|
|
|
3
|
-
Camunda Composite Components (also known as **C3**) is the main software
|
|
3
|
+
Camunda Composite Components (also known as **C3**) is the main software
|
|
4
|
+
artifact of the
|
|
5
|
+
[Design System Team](https://confluence.camunda.com/display/HAN/Design+System).
|
|
4
6
|
|
|
5
|
-
We have a dedicated slack channel for everyone having questions, comments, bug
|
|
7
|
+
We have a dedicated slack channel for everyone having questions, comments, bug
|
|
8
|
+
reports or concerns about this repository:
|
|
9
|
+
[#camunda-composite-components](https://app.slack.com/client/T0PM0P1SA/C049YH1C202/thread/C03NF7FH17G-1671730364.608129).
|
|
10
|
+
For more general questions towards the Design System team, please use
|
|
11
|
+
[#ask-cds](https://app.slack.com/client/T0PM0P1SA/C04FUEGLG8N).
|
|
6
12
|
|
|
7
|
-
If you like the idea of having a repository for your own composite components -
|
|
13
|
+
If you like the idea of having a repository for your own composite components -
|
|
14
|
+
how about you do your own **Camunda Custom Composite Components**? Just go over
|
|
15
|
+
[here](https://github.com/camunda-cloud/c4-starter), fork it, lezgo! A list of
|
|
16
|
+
C4-Adopters can be found <a href="#c4list">here</a>.
|
|
8
17
|
|
|
9
18
|
## Storybook
|
|
10
19
|
|
|
11
|
-
A live view of the `main` branch can be found
|
|
20
|
+
A live view of the `main` branch can be found
|
|
21
|
+
[here](https://camunda-composite-components.pages.dev/). When opening a PR, a
|
|
22
|
+
version of storybook with the changes is deployed automatically and can be
|
|
23
|
+
accessed by clicking on the link in the PR.
|
|
12
24
|
|
|
13
25
|
## Dev
|
|
14
26
|
|
|
@@ -25,9 +37,13 @@ yarn build
|
|
|
25
37
|
|
|
26
38
|
## Release
|
|
27
39
|
|
|
28
|
-
Simply run our
|
|
40
|
+
Simply run our
|
|
41
|
+
[release workflow](https://github.com/camunda-cloud/camunda-composite-components/actions/workflows/release.yml)
|
|
42
|
+
in the GitHub Actions tab. This will create a new release, publish the package
|
|
43
|
+
to npm and update the changelog automatically.
|
|
29
44
|
|
|
30
|
-
Pushing to `main` will update the storybook available under
|
|
45
|
+
Pushing to `main` will update the storybook available under
|
|
46
|
+
[cloudflare page](https://camunda-composite-components.pages.dev/).
|
|
31
47
|
|
|
32
48
|
## Usage
|
|
33
49
|
|
|
@@ -53,18 +69,24 @@ return (
|
|
|
53
69
|
|
|
54
70
|
## <a name="c4list"></a> (incomplete) List of adopters of C3+C4
|
|
55
71
|
|
|
56
|
-
- [Console team](https://confluence.camunda.com/display/HAN/Console+Team)
|
|
57
|
-
|
|
72
|
+
- [Console team](https://confluence.camunda.com/display/HAN/Console+Team)
|
|
73
|
+
started this, their C4 repo can be found
|
|
74
|
+
[here](https://github.com/camunda-cloud/camunda-cloud-management-apps/tree/main/packages/c4)
|
|
75
|
+
- [Identity team](https://github.com/camunda/team-identity):
|
|
76
|
+
[c4-identity](https://github.com/camunda-cloud/c4-identity)
|
|
58
77
|
|
|
59
78
|
## Testing
|
|
60
79
|
|
|
61
80
|
### Visual regression tests (VRT)
|
|
62
81
|
|
|
63
|
-
We use [Playwright](https://playwright.dev/docs/intro) screenshot tests to be
|
|
82
|
+
We use [Playwright](https://playwright.dev/docs/intro) screenshot tests to be
|
|
83
|
+
aware of any visual changes introduced by dependency updates or changes in the
|
|
84
|
+
component code.
|
|
64
85
|
|
|
65
86
|
#### Running VRT locally
|
|
66
87
|
|
|
67
|
-
We run VRT inside a docker container to avoid different results caused by
|
|
88
|
+
We run VRT inside a docker container to avoid different results caused by
|
|
89
|
+
different platforms. Simply run:
|
|
68
90
|
|
|
69
91
|
```shell
|
|
70
92
|
yarn start:docker-storybook
|
|
@@ -83,30 +105,39 @@ The commands above will:
|
|
|
83
105
|
3. Serve storybook within the docker container.
|
|
84
106
|
4. Run the visual regression tests within the docker container.
|
|
85
107
|
|
|
86
|
-
When developing, it might not always be helpful to run all of these steps at
|
|
108
|
+
When developing, it might not always be helpful to run all of these steps at
|
|
109
|
+
once. You can find more granular scripts in the [package.json](package.json).
|
|
87
110
|
|
|
88
111
|
#### Running VRT in the CI
|
|
89
112
|
|
|
90
|
-
There is a `Visual regression tests` workflow that is triggered automatically on
|
|
113
|
+
There is a `Visual regression tests` workflow that is triggered automatically on
|
|
114
|
+
push. You can also trigger it manually in the `Actions` tab.
|
|
91
115
|
|
|
92
|
-
If the workflow fails, you can find the test report by navigating to the
|
|
93
|
-
|
|
116
|
+
If the workflow fails, you can find the test report by navigating to the
|
|
117
|
+
workflow run summary, then scrolling down to the `Artifacts` section. Click on
|
|
118
|
+
the artifact called `Playwright report` to download it, go to your downloads
|
|
119
|
+
folder, then open the `index.html` file of the test report in your browser to
|
|
120
|
+
view the report.
|
|
94
121
|
|
|
95
122
|
#### How to deal with failing tests
|
|
96
123
|
|
|
97
124
|
When a VRT fails, this can have two reasons:
|
|
98
125
|
|
|
99
|
-
1. A change was introduced unknowingly. In this case, have a look at the test
|
|
100
|
-
|
|
126
|
+
1. A change was introduced unknowingly. In this case, have a look at the test
|
|
127
|
+
report and check if the change was intended. If it is, proceed with 2.
|
|
128
|
+
2. You made a change to the UI on purpose. In this case you need to update the
|
|
129
|
+
screenshot as follows.
|
|
101
130
|
|
|
102
|
-
Make sure you have the `c3-visual-regression` docker container running, or start
|
|
103
|
-
Then, have a look at the test
|
|
131
|
+
Make sure you have the `c3-visual-regression` docker container running, or start
|
|
132
|
+
it like described [here](#running-vrt-locally). Then, have a look at the test
|
|
133
|
+
report:
|
|
104
134
|
|
|
105
135
|
```shell
|
|
106
136
|
yarn report:visual-regression
|
|
107
137
|
```
|
|
108
138
|
|
|
109
|
-
Double-check that you don't apply any unwanted changes by looking at the
|
|
139
|
+
Double-check that you don't apply any unwanted changes by looking at the
|
|
140
|
+
difference that is highlighted in the failed test's report.
|
|
110
141
|
|
|
111
142
|
To update all screenshots, run:
|
|
112
143
|
|
|
@@ -114,4 +145,5 @@ To update all screenshots, run:
|
|
|
114
145
|
yarn update:visual-regression:docker
|
|
115
146
|
```
|
|
116
147
|
|
|
117
|
-
The tests should now pass locally and in the CI. Commit and push the updated
|
|
148
|
+
The tests should now pass locally and in the CI. Commit and push the updated
|
|
149
|
+
screenshot(s).
|
package/lib/esm/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "https://github.com/camunda-cloud/camunda-composite-components.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.4.
|
|
7
|
+
"version": "0.4.2-rc.0",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"clean": "rimraf lib/",
|
|
10
10
|
"build": "yarn clean && tsc",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"@playwright/test": "1.41.2",
|
|
40
40
|
"@semantic-release/changelog": "6.0.3",
|
|
41
41
|
"@semantic-release/git": "10.0.1",
|
|
42
|
-
"@storybook/addon-a11y": "7.6.
|
|
43
|
-
"@storybook/addon-actions": "7.6.
|
|
44
|
-
"@storybook/addon-docs": "7.6.
|
|
45
|
-
"@storybook/addon-essentials": "7.6.
|
|
46
|
-
"@storybook/addon-interactions": "7.6.
|
|
47
|
-
"@storybook/addon-links": "7.6.
|
|
48
|
-
"@storybook/blocks": "7.6.
|
|
42
|
+
"@storybook/addon-a11y": "7.6.11",
|
|
43
|
+
"@storybook/addon-actions": "7.6.11",
|
|
44
|
+
"@storybook/addon-docs": "7.6.11",
|
|
45
|
+
"@storybook/addon-essentials": "7.6.11",
|
|
46
|
+
"@storybook/addon-interactions": "7.6.11",
|
|
47
|
+
"@storybook/addon-links": "7.6.11",
|
|
48
|
+
"@storybook/blocks": "7.6.11",
|
|
49
49
|
"@storybook/preset-scss": "1.0.3",
|
|
50
|
-
"@storybook/react": "7.6.
|
|
51
|
-
"@storybook/react-webpack5": "7.6.
|
|
50
|
+
"@storybook/react": "7.6.11",
|
|
51
|
+
"@storybook/react-webpack5": "7.6.11",
|
|
52
52
|
"@storybook/test-runner": "0.16.0",
|
|
53
53
|
"@storybook/testing-library": "0.2.2",
|
|
54
54
|
"@types/carbon-components-react": "7.55.10",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"sass-loader": "13.3.3",
|
|
85
85
|
"semantic-release": "23.0.0",
|
|
86
86
|
"serve": "14.2.1",
|
|
87
|
-
"storybook": "7.6.
|
|
87
|
+
"storybook": "7.6.11",
|
|
88
88
|
"style-loader": "3.3.4",
|
|
89
89
|
"styled-components": "6.1.8",
|
|
90
90
|
"typescript": "5.3.3",
|
|
@@ -8,9 +8,10 @@ export const teaserApps = ["tasklist", "operate", "optimize"];
|
|
|
8
8
|
const base64Src = (src) => `data:image/jpeg;base64,${src}`;
|
|
9
9
|
export const C3AppTeaser = ({ appName: app, hasTrialExpired, canUpgradePlan, canCreateCluster, redirectToCheckout, redirectToCreateCluster, }) => {
|
|
10
10
|
const appName = app ? getReadableAppName(app) : "";
|
|
11
|
-
const { activeOrganizationId, decodedAudience } = useC3UserConfiguration();
|
|
11
|
+
const { activeOrganizationId, decodedAudience, analyticsTrack } = useC3UserConfiguration();
|
|
12
12
|
const onClickCta = () => {
|
|
13
13
|
if (hasTrialExpired) {
|
|
14
|
+
analyticsTrack?.("checkout:open", { appTeaser: appName });
|
|
14
15
|
if (redirectToCheckout) {
|
|
15
16
|
redirectToCheckout();
|
|
16
17
|
}
|
|
@@ -19,6 +20,7 @@ export const C3AppTeaser = ({ appName: app, hasTrialExpired, canUpgradePlan, can
|
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
22
|
else {
|
|
23
|
+
analyticsTrack?.("clusters:create:open", { appTeaser: appName });
|
|
22
24
|
if (redirectToCreateCluster) {
|
|
23
25
|
redirectToCreateCluster();
|
|
24
26
|
}
|
|
@@ -3,7 +3,7 @@ import { Persona } from "./c3-help-center.types";
|
|
|
3
3
|
import { Dict } from "mixpanel-browser";
|
|
4
4
|
import { Theme } from "../c3-user-configuration/c3-profile-provider/c3-profile-provider";
|
|
5
5
|
export interface C3HelpCenterProps {
|
|
6
|
-
origin
|
|
6
|
+
origin?: "console" | "webmodeler" | "operate" | "tasklist" | "optimize";
|
|
7
7
|
theme?: Theme;
|
|
8
8
|
flags?: string[];
|
|
9
9
|
activeTab?: string;
|
|
@@ -10,7 +10,7 @@ import { resolveTheme, } from "../c3-user-configuration/c3-profile-provider/carb
|
|
|
10
10
|
import { useC3HelpCenter } from "./c3-help-center-provider";
|
|
11
11
|
export const C3HelpCenter = ({ autoStartSurvey, origin, flags, onRequestClose, mixpanelTrack: customMixpanelTrack, onRequestOpen, theme, onPersonaChange, activeTab, }) => {
|
|
12
12
|
const { isHelpCenterOpen: isOpen, setIsHelpCenterOpen, setShowHintOnClose, } = useC3HelpCenter();
|
|
13
|
-
const { userToken, decodedToken, activeOrganizationId, handleTheme, decodedAudience, analyticsTrack, } = useC3UserConfiguration();
|
|
13
|
+
const { userToken, decodedToken, activeOrganizationId, handleTheme, decodedAudience, analyticsTrack, currentApp, } = useC3UserConfiguration();
|
|
14
14
|
const { theme: themeConfig, isEnabled, reloadClusters } = useC3Profile();
|
|
15
15
|
const themeHandlingEnabled = isEnabled && !!handleTheme && !!themeConfig;
|
|
16
16
|
const themeRef = useRef();
|
|
@@ -20,6 +20,9 @@ export const C3HelpCenter = ({ autoStartSurvey, origin, flags, onRequestClose, m
|
|
|
20
20
|
const [helpCenterConfig, setHelpCenterConfig] = useState(defaultHelpCenterConfig);
|
|
21
21
|
const [email, setEmail] = useState("");
|
|
22
22
|
const [showSurvey, setShowSurvey] = useState(autoStartSurvey);
|
|
23
|
+
if (!origin && !currentApp)
|
|
24
|
+
console.warn("No app provided to the help center. Please provide the `currentApp` prop to the `C3UserConfigurationProvider`.");
|
|
25
|
+
const hostApp = origin || currentApp === "modeler" ? "webmodeler" : currentApp || "console";
|
|
23
26
|
const mixpanelTrack = (event, data) => {
|
|
24
27
|
if (customMixpanelTrack) {
|
|
25
28
|
customMixpanelTrack(event, data);
|
|
@@ -195,5 +198,5 @@ export const C3HelpCenter = ({ autoStartSurvey, origin, flags, onRequestClose, m
|
|
|
195
198
|
}, 400);
|
|
196
199
|
};
|
|
197
200
|
return (React.createElement(Layer, null,
|
|
198
|
-
React.createElement(ComposedModal, { open: isOpen, size: "lg", onClose: closeFn, className: "help-center", "aria-label": "HelpCenter" }, showSurvey || !persona?.wasShown ? (React.createElement(C3OnboardingSurvey, { personaCallback: personaCallback, persona: persona, mixpanelTrack: mixpanelTrack, onRequestClose: closeFn, onRequestSkip: onRequestSkipSurvey, theme: resolvedTheme, origin:
|
|
201
|
+
React.createElement(ComposedModal, { open: isOpen, size: "lg", onClose: closeFn, className: "help-center", "aria-label": "HelpCenter" }, showSurvey || !persona?.wasShown ? (React.createElement(C3OnboardingSurvey, { personaCallback: personaCallback, persona: persona, mixpanelTrack: mixpanelTrack, onRequestClose: closeFn, onRequestSkip: onRequestSkipSurvey, theme: resolvedTheme, origin: hostApp, modal: true })) : (React.createElement(HelpCenter, { configuration: helpCenterConfig, persona: persona, audience: decodedAudience || "", flags: flags, onRequestResumeSurvey: onRequestResumeSurvey, onRequestRetakeSurvey: onRequestRetakeSurvey, onRequestClose: closeFn, mixpanelTrack: mixpanelTrack, email: email, theme: resolvedTheme, origin: hostApp, initialTab: activeTab })))));
|
|
199
202
|
};
|
|
@@ -9,13 +9,12 @@ import { APPS } from "../../../utils/camunda";
|
|
|
9
9
|
import { NavWrapper, SideNav } from "./components";
|
|
10
10
|
export const C3NavigationAppBar = ({ appBar, forwardRef, navbar, }) => {
|
|
11
11
|
const { currentApp, decodedAudience, analyticsTrack } = useC3UserConfiguration();
|
|
12
|
-
const { clusters, activeOrg } = useC3Profile();
|
|
12
|
+
const { clusters, activeOrg, isEnabled } = useC3Profile();
|
|
13
13
|
const [appBarOpen, setAppBarOpen] = useState(appBar.isOpen);
|
|
14
14
|
const [panelRef, iconRef] = useOnClickOutside(() => setAppBarOpen(false));
|
|
15
15
|
const [appElements, setAppElements] = useState([]);
|
|
16
|
-
if (
|
|
17
|
-
(
|
|
18
|
-
console.warn("No app elements or app teaser pages provided. Please provide at least one of them.");
|
|
16
|
+
if (!appBar.elements && !isEnabled)
|
|
17
|
+
console.warn("No app elements and user config provided. Please provide at least one of them.");
|
|
19
18
|
useEffect(() => {
|
|
20
19
|
if (appBar.elements)
|
|
21
20
|
return;
|
|
@@ -34,10 +33,7 @@ export const C3NavigationAppBar = ({ appBar, forwardRef, navbar, }) => {
|
|
|
34
33
|
else if (app === "modeler") {
|
|
35
34
|
const hasPermission = activeOrg?.permissions.org.webide.read;
|
|
36
35
|
if (hasPermission) {
|
|
37
|
-
element.href =
|
|
38
|
-
currentApp === "modeler"
|
|
39
|
-
? ""
|
|
40
|
-
: `https://modeler.${decodedAudience}/org/${activeOrg?.uuid}`;
|
|
36
|
+
element.href = `https://modeler.${decodedAudience}/org/${activeOrg?.uuid}`;
|
|
41
37
|
}
|
|
42
38
|
}
|
|
43
39
|
else {
|
|
@@ -58,8 +54,11 @@ export const C3NavigationAppBar = ({ appBar, forwardRef, navbar, }) => {
|
|
|
58
54
|
}));
|
|
59
55
|
}
|
|
60
56
|
else if (hasAppReadPermission) {
|
|
61
|
-
if (appBar.
|
|
62
|
-
element.routeProps = appBar.
|
|
57
|
+
if (appBar.appTeaserRouteProps?.[app]) {
|
|
58
|
+
element.routeProps = appBar.appTeaserRouteProps?.[app];
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
element.href = `https://${currentApp}.${decodedAudience}/org/${activeOrg?.uuid}/appTeaser/${app}`;
|
|
63
62
|
}
|
|
64
63
|
}
|
|
65
64
|
}
|
|
@@ -67,7 +66,7 @@ export const C3NavigationAppBar = ({ appBar, forwardRef, navbar, }) => {
|
|
|
67
66
|
defaultElements.push(element);
|
|
68
67
|
});
|
|
69
68
|
setAppElements(defaultElements);
|
|
70
|
-
}, [JSON.stringify(clusters)]);
|
|
69
|
+
}, [JSON.stringify(clusters), currentApp]);
|
|
71
70
|
const appBarElements = appBar.elements || (clusters ? appElements : null);
|
|
72
71
|
return (React.createElement(React.Fragment, null,
|
|
73
72
|
React.createElement(HeaderGlobalAction, { ref: iconRef, "aria-label": "Camunda components", isActive: appBarOpen, onClick: () => {
|
package/lib/esm/src/components/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar.types.d.ts
CHANGED
|
@@ -56,15 +56,13 @@ export type C3NavigationNotificationsSideBarProps = C3NavigationSideBarBaseProps
|
|
|
56
56
|
type: "notifications";
|
|
57
57
|
onLinkClick?: (meta: Notification["meta"]) => void;
|
|
58
58
|
};
|
|
59
|
-
type
|
|
60
|
-
routeProps: any;
|
|
61
|
-
};
|
|
59
|
+
type AppTeaserRouteProps = any;
|
|
62
60
|
export type C3NavigationAppBarProps = C3NavigationSideBarBaseProps & {
|
|
63
61
|
type: "app";
|
|
64
|
-
|
|
65
|
-
operate?:
|
|
66
|
-
tasklist?:
|
|
67
|
-
optimize?:
|
|
62
|
+
appTeaserRouteProps?: {
|
|
63
|
+
operate?: AppTeaserRouteProps;
|
|
64
|
+
tasklist?: AppTeaserRouteProps;
|
|
65
|
+
optimize?: AppTeaserRouteProps;
|
|
68
66
|
};
|
|
69
67
|
};
|
|
70
68
|
export type C3NavigationSideBarProps = {
|
|
@@ -46,7 +46,7 @@ export const C3Navigation = ({ app, appBar, forwardRef, navbar, orgSideBar, info
|
|
|
46
46
|
const isLargeScreen = useMediaQuery(`(min-width: ${BREAKPOINT_LG_WIDTH}`);
|
|
47
47
|
const appBarElementsLength = appBar.elements?.length ?? 0;
|
|
48
48
|
const displayAppBar = appBarElementsLength > 0 ||
|
|
49
|
-
appBar.
|
|
49
|
+
appBar.appTeaserRouteProps ||
|
|
50
50
|
(!isLargeScreen && navbar.elements.length > 0);
|
|
51
51
|
const orgName = activeOrg?.name || navbar.orgName;
|
|
52
52
|
if (app.prefix)
|
|
@@ -13,7 +13,7 @@ export function createAppProps() {
|
|
|
13
13
|
export function createAppBarProps(options = {}) {
|
|
14
14
|
return {
|
|
15
15
|
isOpen: Boolean(options?.isOpen),
|
|
16
|
-
|
|
16
|
+
appTeaserRouteProps: options.useElementsFromConfig
|
|
17
17
|
? {
|
|
18
18
|
operate: {
|
|
19
19
|
routeProps: {
|
|
@@ -9,14 +9,13 @@ type C3UserConfigurationBase = {
|
|
|
9
9
|
getNewUserToken: () => Promise<string>;
|
|
10
10
|
analyticsTrack?: MixPanelTrack;
|
|
11
11
|
currentApp?: "console" | "modeler" | "tasklist" | "operate" | "optimize";
|
|
12
|
+
handleTheme?: boolean;
|
|
12
13
|
};
|
|
13
14
|
type C3UserConfigurationWithEndpoints = C3UserConfigurationBase & {
|
|
14
15
|
endpoints: Endpoints;
|
|
15
|
-
handleTheme?: never;
|
|
16
16
|
};
|
|
17
17
|
type C3UserConfigurationWithStage = C3UserConfigurationBase & {
|
|
18
18
|
stage: Stage;
|
|
19
|
-
handleTheme?: boolean;
|
|
20
19
|
};
|
|
21
20
|
export type C3UserConfiguration = C3UserConfigurationWithEndpoints | C3UserConfigurationWithStage;
|
|
22
21
|
export type C3UserConfigurationContextValue = C3UserConfiguration & {
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "https://github.com/camunda-cloud/camunda-composite-components.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.4.2-rc.
|
|
7
|
+
"version": "0.4.2-rc.1",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"clean": "rimraf lib/",
|
|
10
10
|
"build": "yarn clean && tsc",
|
|
@@ -39,16 +39,16 @@
|
|
|
39
39
|
"@playwright/test": "1.41.2",
|
|
40
40
|
"@semantic-release/changelog": "6.0.3",
|
|
41
41
|
"@semantic-release/git": "10.0.1",
|
|
42
|
-
"@storybook/addon-a11y": "7.6.
|
|
43
|
-
"@storybook/addon-actions": "7.6.
|
|
44
|
-
"@storybook/addon-docs": "7.6.
|
|
45
|
-
"@storybook/addon-essentials": "7.6.
|
|
46
|
-
"@storybook/addon-interactions": "7.6.
|
|
47
|
-
"@storybook/addon-links": "7.6.
|
|
48
|
-
"@storybook/blocks": "7.6.
|
|
42
|
+
"@storybook/addon-a11y": "7.6.11",
|
|
43
|
+
"@storybook/addon-actions": "7.6.11",
|
|
44
|
+
"@storybook/addon-docs": "7.6.11",
|
|
45
|
+
"@storybook/addon-essentials": "7.6.11",
|
|
46
|
+
"@storybook/addon-interactions": "7.6.11",
|
|
47
|
+
"@storybook/addon-links": "7.6.11",
|
|
48
|
+
"@storybook/blocks": "7.6.11",
|
|
49
49
|
"@storybook/preset-scss": "1.0.3",
|
|
50
|
-
"@storybook/react": "7.6.
|
|
51
|
-
"@storybook/react-webpack5": "7.6.
|
|
50
|
+
"@storybook/react": "7.6.11",
|
|
51
|
+
"@storybook/react-webpack5": "7.6.11",
|
|
52
52
|
"@storybook/test-runner": "0.16.0",
|
|
53
53
|
"@storybook/testing-library": "0.2.2",
|
|
54
54
|
"@types/carbon-components-react": "7.55.10",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"sass-loader": "13.3.3",
|
|
85
85
|
"semantic-release": "23.0.0",
|
|
86
86
|
"serve": "14.2.1",
|
|
87
|
-
"storybook": "7.6.
|
|
87
|
+
"storybook": "7.6.11",
|
|
88
88
|
"style-loader": "3.3.4",
|
|
89
89
|
"styled-components": "6.1.8",
|
|
90
90
|
"typescript": "5.3.3",
|