@camunda/camunda-composite-components 0.2.2 → 0.2.4-rc.0

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.
@@ -0,0 +1,3 @@
1
+ import { FC } from "react";
2
+ import { C3ClusterTagProps } from "./c3-cluster-tag.types";
3
+ export declare const C3ClusterTag: FC<C3ClusterTagProps>;
@@ -0,0 +1,32 @@
1
+ import React from "react";
2
+ import { Tag } from "@carbon/react";
3
+ import { useC3Profile } from "../c3-user-configuration/c3-profile-provider/c3-profile-provider";
4
+ export const C3ClusterTag = (props) => {
5
+ const { clusters } = useC3Profile();
6
+ return "stage" in props ? (React.createElement(Tag, { style: props.style, type: getColorForStage(props.stage) }, props.stage)) : "clusterUuid" in props ? (generateFromInput(props.clusterUuid, clusters, props.style)) : (React.createElement(React.Fragment, null));
7
+ };
8
+ function generateFromInput(clusterUuid, allClusters, style) {
9
+ const foundCluster = allClusters?.find((cluster) => cluster.uuid === clusterUuid);
10
+ if (foundCluster &&
11
+ foundCluster.labels &&
12
+ foundCluster.labels.camunda &&
13
+ foundCluster.labels.camunda.length > 0) {
14
+ const label = foundCluster.labels.camunda[0];
15
+ return getColorForStage(label) ? (React.createElement(Tag, { style: style, type: getColorForStage(label) }, label)) : (React.createElement(React.Fragment, null));
16
+ }
17
+ return React.createElement(React.Fragment, null);
18
+ }
19
+ function getColorForStage(stage) {
20
+ switch (stage) {
21
+ case "dev":
22
+ return "green";
23
+ case "test":
24
+ return "blue";
25
+ case "stage":
26
+ return "purple";
27
+ case "prod":
28
+ return "red";
29
+ default:
30
+ return undefined;
31
+ }
32
+ }
@@ -0,0 +1,15 @@
1
+ export declare const StageClusterLabels: {
2
+ readonly dev: "dev";
3
+ readonly test: "test";
4
+ readonly stage: "stage";
5
+ readonly prod: "prod";
6
+ };
7
+ export type CamundaClusterStage = keyof typeof StageClusterLabels;
8
+ export type CamundaClusterStageLabel = (typeof StageClusterLabels)[CamundaClusterStage];
9
+ export type C3ClusterTagProps = {
10
+ style?: any;
11
+ } & ({
12
+ clusterUuid: string;
13
+ } | {
14
+ stage: CamundaClusterStage;
15
+ });
@@ -0,0 +1,6 @@
1
+ export const StageClusterLabels = {
2
+ dev: "dev",
3
+ test: "test",
4
+ stage: "stage",
5
+ prod: "prod",
6
+ };
@@ -36,6 +36,9 @@ export interface TileConfig {
36
36
  }
37
37
  export type Cluster = {
38
38
  uuid: string;
39
+ labels?: {
40
+ camunda: string[];
41
+ };
39
42
  };
40
43
  export type Tab = {
41
44
  id: string;
@@ -59,6 +59,9 @@ export const Feedback = (props) => {
59
59
  formData.append("reportType", selectedType);
60
60
  formData.append("suggestion", suggestion);
61
61
  formData.append("allowContact", "" + allowContact);
62
+ if (props.salesPlanType) {
63
+ formData.append("salesPlanType", props.salesPlanType);
64
+ }
62
65
  if (file) {
63
66
  formData.append("file", file);
64
67
  }
@@ -95,9 +98,9 @@ export const Feedback = (props) => {
95
98
  React.createElement("svg", { width: "62", height: "54", viewBox: "0 0 62 54", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
96
99
  React.createElement("path", { d: "M60.7573 6.91209L56.137 2.22698C55.3173 1.39576 54.2441 0.972656 53.1711 0.972656C52.0981 0.972656 51.0248 1.39576 50.2051 2.22698L20.635 32.2572L11.7819 23.2496C10.9622 22.4184 9.88904 21.9953 8.81588 21.9953C7.74272 21.9953 6.66971 22.4032 5.85001 23.2496L1.22972 27.9347C-0.409906 29.5972 -0.409906 32.3025 1.22972 33.9649L20.65 53.6726L60.7723 12.9425C62.4117 11.2798 62.4117 8.57471 60.7573 6.91209Z", fill: "#FC5D0D" })),
97
100
  React.createElement(Stack, { gap: 3 },
98
- React.createElement("h2", null, "Feedback submitted successfuly"),
101
+ React.createElement("h2", null, "Feedback submitted successfully"),
99
102
  React.createElement(Stack, { gap: 6 },
100
- React.createElement("p", { style: { maxWidth: "400px" } }, orgIsEnterPriseOrPaidCC ? (React.createElement(React.Fragment, null, "Your feedback will be forwarded to your Customer Success Manager who will ensure that your inputs are adressed promptly.")) : (React.createElement(React.Fragment, null,
103
+ React.createElement("p", { style: { maxWidth: "400px" } }, orgIsEnterPriseOrPaidCC ? (React.createElement(React.Fragment, null, "Your feedback will be forwarded to your Customer Success Manager who will ensure that your inputs are addressed promptly.")) : (React.createElement(React.Fragment, null,
101
104
  "Thanks for sharing your feedback. ",
102
105
  React.createElement("br", null),
103
106
  "We use suggestions like yours to improve our service."))),
@@ -144,7 +147,7 @@ export const Feedback = (props) => {
144
147
  React.createElement("div", null,
145
148
  React.createElement(Stack, null,
146
149
  !orgIsEnterPriseOrPaidCC && (React.createElement("h5", { style: { marginBottom: "-16px" } }, content.title)),
147
- orgIsEnterPriseOrPaidCC && (React.createElement(ActionableNotification, { inline: true, lowContrast: true, kind: "info", title: "If you are looking to get technical support, please use our Jira support system", hideCloseButton: true, style: { maxWidth: "100%" }, actionButtonLabel: "Open a ticket", onActionButtonClick: () => window.open("https://jira.camunda.com/projects/SUPPORT/queues", "_blank") })),
150
+ orgIsEnterPriseOrPaidCC && (React.createElement(ActionableNotification, { inline: true, lowContrast: true, kind: "info", title: "If you are looking to get technical support, please use our Jira support system.", hideCloseButton: true, style: { maxWidth: "100%" }, actionButtonLabel: "Open a ticket", onActionButtonClick: () => window.open("https://jira.camunda.com/projects/SUPPORT/queues", "_blank") })),
148
151
  React.createElement(TextArea, { labelText: "", id: "feedback-text", placeholder: content.placeholder, rows: 4, onChange: (event) => {
149
152
  setSuggestion(event.target.value);
150
153
  }, value: suggestion }),
@@ -1,3 +1,3 @@
1
1
  import React from "react";
2
2
  import { C3NavigationProps } from "./c3-navigation.types";
3
- export declare const C3Navigation: ({ app, appBar, forwardRef, navbar, orgSideBar, infoSideBar, infoButton, helpCenter, actionButtons, userSideBar, notificationSideBar, }: C3NavigationProps) => React.JSX.Element;
3
+ export declare const C3Navigation: ({ app, appBar, forwardRef, navbar, orgSideBar, infoSideBar, infoButton, helpCenter, actionButtons, userSideBar, notificationSideBar, clusterUuid, }: C3NavigationProps) => React.JSX.Element;
@@ -12,6 +12,7 @@ import { CamundaLogo } from "../../icons/c3-icons";
12
12
  import { InfoButton } from "./c3-info-button";
13
13
  import { C3SidebarStateProvider } from "./c3-navigation-sidebar/c3-sidebar-state-provider";
14
14
  import { C3HelpCenter } from "../c3-help-center/c3-help-center";
15
+ import { C3ClusterTag } from "../c3-cluster-tag/c3-cluster-tag";
15
16
  /**
16
17
  * UI SHELL
17
18
  * Docs: https://react.carbondesignsystem.com/?path=/story/components-ui-shell--fixed-side-nav
@@ -29,7 +30,7 @@ const StyledToggletipContent = styled(ToggletipContent) `
29
30
  color: var(--cds-link-hover-text-color);
30
31
  }
31
32
  `;
32
- export const C3Navigation = ({ app, appBar, forwardRef, navbar, orgSideBar, infoSideBar, infoButton, helpCenter, actionButtons, userSideBar, notificationSideBar, }) => {
33
+ export const C3Navigation = ({ app, appBar, forwardRef, navbar, orgSideBar, infoSideBar, infoButton, helpCenter, actionButtons, userSideBar, notificationSideBar, clusterUuid, }) => {
33
34
  const isLargeScreen = useMediaQuery(`(min-width: ${BREAKPOINT_LG_WIDTH}`);
34
35
  const appBarElementsLength = appBar.elements?.length ?? 0;
35
36
  const displayAppBar = appBarElementsLength > 0 || (!isLargeScreen && navbar.elements.length > 0);
@@ -79,6 +80,11 @@ export const C3Navigation = ({ app, appBar, forwardRef, navbar, orgSideBar, info
79
80
  padding: "0 1rem",
80
81
  }, type: tag.color }, tag.label));
81
82
  }),
83
+ clusterUuid && (React.createElement(C3ClusterTag, { style: {
84
+ height: "1.5rem",
85
+ marginTop: "0.75rem",
86
+ padding: "0 1rem",
87
+ }, clusterUuid: clusterUuid })),
82
88
  navbar.orgName && (React.createElement("div", { className: "bodyText", style: {
83
89
  fontSize: "14px",
84
90
  lineHeight: "3rem",
@@ -64,6 +64,7 @@ export interface C3NavigationProps {
64
64
  notificationSideBar?: WithoutType<C3NavigationNotificationsSideBarProps>;
65
65
  navbar: C3NavigationNavBarProps;
66
66
  forwardRef?: React.ForwardRefExoticComponent<any>;
67
+ clusterUuid?: string;
67
68
  }
68
69
  export type LinkProps = {
69
70
  element?: React.ElementType;
@@ -10,17 +10,17 @@ export declare const NotificationTitle: import("styled-components").IStyledCompo
10
10
  accessKey?: string | undefined;
11
11
  autoFocus?: boolean | undefined;
12
12
  className?: string | undefined;
13
- contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
13
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
14
14
  contextMenu?: string | undefined;
15
15
  dir?: string | undefined;
16
- draggable?: (boolean | "true" | "false") | undefined;
16
+ draggable?: (boolean | "false" | "true") | undefined;
17
17
  hidden?: boolean | undefined;
18
18
  id?: string | undefined;
19
19
  lang?: string | undefined;
20
20
  nonce?: string | undefined;
21
21
  placeholder?: string | undefined;
22
22
  slot?: string | undefined;
23
- spellCheck?: (boolean | "true" | "false") | undefined;
23
+ spellCheck?: (boolean | "false" | "true") | undefined;
24
24
  style?: React.CSSProperties | undefined;
25
25
  tabIndex?: number | undefined;
26
26
  title?: string | undefined;
@@ -50,55 +50,55 @@ export declare const NotificationTitle: import("styled-components").IStyledCompo
50
50
  results?: number | undefined;
51
51
  security?: string | undefined;
52
52
  unselectable?: "on" | "off" | undefined;
53
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
53
+ inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
54
54
  is?: string | undefined;
55
55
  'aria-activedescendant'?: string | undefined;
56
- 'aria-atomic'?: (boolean | "true" | "false") | undefined;
57
- 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
56
+ 'aria-atomic'?: (boolean | "false" | "true") | undefined;
57
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
58
58
  'aria-braillelabel'?: string | undefined;
59
59
  'aria-brailleroledescription'?: string | undefined;
60
- 'aria-busy'?: (boolean | "true" | "false") | undefined;
61
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
60
+ 'aria-busy'?: (boolean | "false" | "true") | undefined;
61
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
62
62
  'aria-colcount'?: number | undefined;
63
63
  'aria-colindex'?: number | undefined;
64
64
  'aria-colindextext'?: string | undefined;
65
65
  'aria-colspan'?: number | undefined;
66
66
  'aria-controls'?: string | undefined;
67
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
67
+ 'aria-current'?: boolean | "time" | "step" | "page" | "false" | "true" | "location" | "date" | undefined;
68
68
  'aria-describedby'?: string | undefined;
69
69
  'aria-description'?: string | undefined;
70
70
  'aria-details'?: string | undefined;
71
- 'aria-disabled'?: (boolean | "true" | "false") | undefined;
72
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
71
+ 'aria-disabled'?: (boolean | "false" | "true") | undefined;
72
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
73
73
  'aria-errormessage'?: string | undefined;
74
- 'aria-expanded'?: (boolean | "true" | "false") | undefined;
74
+ 'aria-expanded'?: (boolean | "false" | "true") | undefined;
75
75
  'aria-flowto'?: string | undefined;
76
- 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
77
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
78
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
79
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
76
+ 'aria-grabbed'?: (boolean | "false" | "true") | undefined;
77
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "false" | "true" | undefined;
78
+ 'aria-hidden'?: (boolean | "false" | "true") | undefined;
79
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
80
80
  'aria-keyshortcuts'?: string | undefined;
81
81
  'aria-label'?: string | undefined;
82
82
  'aria-labelledby'?: string | undefined;
83
83
  'aria-level'?: number | undefined;
84
84
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
85
- 'aria-modal'?: (boolean | "true" | "false") | undefined;
86
- 'aria-multiline'?: (boolean | "true" | "false") | undefined;
87
- 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
85
+ 'aria-modal'?: (boolean | "false" | "true") | undefined;
86
+ 'aria-multiline'?: (boolean | "false" | "true") | undefined;
87
+ 'aria-multiselectable'?: (boolean | "false" | "true") | undefined;
88
88
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
89
89
  'aria-owns'?: string | undefined;
90
90
  'aria-placeholder'?: string | undefined;
91
91
  'aria-posinset'?: number | undefined;
92
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
93
- 'aria-readonly'?: (boolean | "true" | "false") | undefined;
94
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
95
- 'aria-required'?: (boolean | "true" | "false") | undefined;
92
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
93
+ 'aria-readonly'?: (boolean | "false" | "true") | undefined;
94
+ 'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
95
+ 'aria-required'?: (boolean | "false" | "true") | undefined;
96
96
  'aria-roledescription'?: string | undefined;
97
97
  'aria-rowcount'?: number | undefined;
98
98
  'aria-rowindex'?: number | undefined;
99
99
  'aria-rowindextext'?: string | undefined;
100
100
  'aria-rowspan'?: number | undefined;
101
- 'aria-selected'?: (boolean | "true" | "false") | undefined;
101
+ 'aria-selected'?: (boolean | "false" | "true") | undefined;
102
102
  'aria-setsize'?: number | undefined;
103
103
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
104
104
  'aria-valuemax'?: number | undefined;
@@ -282,17 +282,17 @@ export declare const NotificationDescription: import("styled-components").IStyle
282
282
  accessKey?: string | undefined;
283
283
  autoFocus?: boolean | undefined;
284
284
  className?: string | undefined;
285
- contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
285
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
286
286
  contextMenu?: string | undefined;
287
287
  dir?: string | undefined;
288
- draggable?: (boolean | "true" | "false") | undefined;
288
+ draggable?: (boolean | "false" | "true") | undefined;
289
289
  hidden?: boolean | undefined;
290
290
  id?: string | undefined;
291
291
  lang?: string | undefined;
292
292
  nonce?: string | undefined;
293
293
  placeholder?: string | undefined;
294
294
  slot?: string | undefined;
295
- spellCheck?: (boolean | "true" | "false") | undefined;
295
+ spellCheck?: (boolean | "false" | "true") | undefined;
296
296
  style?: React.CSSProperties | undefined;
297
297
  tabIndex?: number | undefined;
298
298
  title?: string | undefined;
@@ -322,55 +322,55 @@ export declare const NotificationDescription: import("styled-components").IStyle
322
322
  results?: number | undefined;
323
323
  security?: string | undefined;
324
324
  unselectable?: "on" | "off" | undefined;
325
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
325
+ inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
326
326
  is?: string | undefined;
327
327
  'aria-activedescendant'?: string | undefined;
328
- 'aria-atomic'?: (boolean | "true" | "false") | undefined;
329
- 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
328
+ 'aria-atomic'?: (boolean | "false" | "true") | undefined;
329
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
330
330
  'aria-braillelabel'?: string | undefined;
331
331
  'aria-brailleroledescription'?: string | undefined;
332
- 'aria-busy'?: (boolean | "true" | "false") | undefined;
333
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
332
+ 'aria-busy'?: (boolean | "false" | "true") | undefined;
333
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
334
334
  'aria-colcount'?: number | undefined;
335
335
  'aria-colindex'?: number | undefined;
336
336
  'aria-colindextext'?: string | undefined;
337
337
  'aria-colspan'?: number | undefined;
338
338
  'aria-controls'?: string | undefined;
339
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
339
+ 'aria-current'?: boolean | "time" | "step" | "page" | "false" | "true" | "location" | "date" | undefined;
340
340
  'aria-describedby'?: string | undefined;
341
341
  'aria-description'?: string | undefined;
342
342
  'aria-details'?: string | undefined;
343
- 'aria-disabled'?: (boolean | "true" | "false") | undefined;
344
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
343
+ 'aria-disabled'?: (boolean | "false" | "true") | undefined;
344
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
345
345
  'aria-errormessage'?: string | undefined;
346
- 'aria-expanded'?: (boolean | "true" | "false") | undefined;
346
+ 'aria-expanded'?: (boolean | "false" | "true") | undefined;
347
347
  'aria-flowto'?: string | undefined;
348
- 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
349
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
350
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
351
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
348
+ 'aria-grabbed'?: (boolean | "false" | "true") | undefined;
349
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "false" | "true" | undefined;
350
+ 'aria-hidden'?: (boolean | "false" | "true") | undefined;
351
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
352
352
  'aria-keyshortcuts'?: string | undefined;
353
353
  'aria-label'?: string | undefined;
354
354
  'aria-labelledby'?: string | undefined;
355
355
  'aria-level'?: number | undefined;
356
356
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
357
- 'aria-modal'?: (boolean | "true" | "false") | undefined;
358
- 'aria-multiline'?: (boolean | "true" | "false") | undefined;
359
- 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
357
+ 'aria-modal'?: (boolean | "false" | "true") | undefined;
358
+ 'aria-multiline'?: (boolean | "false" | "true") | undefined;
359
+ 'aria-multiselectable'?: (boolean | "false" | "true") | undefined;
360
360
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
361
361
  'aria-owns'?: string | undefined;
362
362
  'aria-placeholder'?: string | undefined;
363
363
  'aria-posinset'?: number | undefined;
364
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
365
- 'aria-readonly'?: (boolean | "true" | "false") | undefined;
366
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
367
- 'aria-required'?: (boolean | "true" | "false") | undefined;
364
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
365
+ 'aria-readonly'?: (boolean | "false" | "true") | undefined;
366
+ 'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
367
+ 'aria-required'?: (boolean | "false" | "true") | undefined;
368
368
  'aria-roledescription'?: string | undefined;
369
369
  'aria-rowcount'?: number | undefined;
370
370
  'aria-rowindex'?: number | undefined;
371
371
  'aria-rowindextext'?: string | undefined;
372
372
  'aria-rowspan'?: number | undefined;
373
- 'aria-selected'?: (boolean | "true" | "false") | undefined;
373
+ 'aria-selected'?: (boolean | "false" | "true") | undefined;
374
374
  'aria-setsize'?: number | undefined;
375
375
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
376
376
  'aria-valuemax'?: number | undefined;
@@ -554,17 +554,17 @@ export declare const LinkContainer: import("styled-components").IStyledComponent
554
554
  accessKey?: string | undefined;
555
555
  autoFocus?: boolean | undefined;
556
556
  className?: string | undefined;
557
- contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
557
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
558
558
  contextMenu?: string | undefined;
559
559
  dir?: string | undefined;
560
- draggable?: (boolean | "true" | "false") | undefined;
560
+ draggable?: (boolean | "false" | "true") | undefined;
561
561
  hidden?: boolean | undefined;
562
562
  id?: string | undefined;
563
563
  lang?: string | undefined;
564
564
  nonce?: string | undefined;
565
565
  placeholder?: string | undefined;
566
566
  slot?: string | undefined;
567
- spellCheck?: (boolean | "true" | "false") | undefined;
567
+ spellCheck?: (boolean | "false" | "true") | undefined;
568
568
  style?: React.CSSProperties | undefined;
569
569
  tabIndex?: number | undefined;
570
570
  title?: string | undefined;
@@ -594,55 +594,55 @@ export declare const LinkContainer: import("styled-components").IStyledComponent
594
594
  results?: number | undefined;
595
595
  security?: string | undefined;
596
596
  unselectable?: "on" | "off" | undefined;
597
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
597
+ inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
598
598
  is?: string | undefined;
599
599
  'aria-activedescendant'?: string | undefined;
600
- 'aria-atomic'?: (boolean | "true" | "false") | undefined;
601
- 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
600
+ 'aria-atomic'?: (boolean | "false" | "true") | undefined;
601
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
602
602
  'aria-braillelabel'?: string | undefined;
603
603
  'aria-brailleroledescription'?: string | undefined;
604
- 'aria-busy'?: (boolean | "true" | "false") | undefined;
605
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
604
+ 'aria-busy'?: (boolean | "false" | "true") | undefined;
605
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
606
606
  'aria-colcount'?: number | undefined;
607
607
  'aria-colindex'?: number | undefined;
608
608
  'aria-colindextext'?: string | undefined;
609
609
  'aria-colspan'?: number | undefined;
610
610
  'aria-controls'?: string | undefined;
611
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
611
+ 'aria-current'?: boolean | "time" | "step" | "page" | "false" | "true" | "location" | "date" | undefined;
612
612
  'aria-describedby'?: string | undefined;
613
613
  'aria-description'?: string | undefined;
614
614
  'aria-details'?: string | undefined;
615
- 'aria-disabled'?: (boolean | "true" | "false") | undefined;
616
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
615
+ 'aria-disabled'?: (boolean | "false" | "true") | undefined;
616
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
617
617
  'aria-errormessage'?: string | undefined;
618
- 'aria-expanded'?: (boolean | "true" | "false") | undefined;
618
+ 'aria-expanded'?: (boolean | "false" | "true") | undefined;
619
619
  'aria-flowto'?: string | undefined;
620
- 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
621
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
622
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
623
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
620
+ 'aria-grabbed'?: (boolean | "false" | "true") | undefined;
621
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "false" | "true" | undefined;
622
+ 'aria-hidden'?: (boolean | "false" | "true") | undefined;
623
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
624
624
  'aria-keyshortcuts'?: string | undefined;
625
625
  'aria-label'?: string | undefined;
626
626
  'aria-labelledby'?: string | undefined;
627
627
  'aria-level'?: number | undefined;
628
628
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
629
- 'aria-modal'?: (boolean | "true" | "false") | undefined;
630
- 'aria-multiline'?: (boolean | "true" | "false") | undefined;
631
- 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
629
+ 'aria-modal'?: (boolean | "false" | "true") | undefined;
630
+ 'aria-multiline'?: (boolean | "false" | "true") | undefined;
631
+ 'aria-multiselectable'?: (boolean | "false" | "true") | undefined;
632
632
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
633
633
  'aria-owns'?: string | undefined;
634
634
  'aria-placeholder'?: string | undefined;
635
635
  'aria-posinset'?: number | undefined;
636
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
637
- 'aria-readonly'?: (boolean | "true" | "false") | undefined;
638
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
639
- 'aria-required'?: (boolean | "true" | "false") | undefined;
636
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
637
+ 'aria-readonly'?: (boolean | "false" | "true") | undefined;
638
+ 'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
639
+ 'aria-required'?: (boolean | "false" | "true") | undefined;
640
640
  'aria-roledescription'?: string | undefined;
641
641
  'aria-rowcount'?: number | undefined;
642
642
  'aria-rowindex'?: number | undefined;
643
643
  'aria-rowindextext'?: string | undefined;
644
644
  'aria-rowspan'?: number | undefined;
645
- 'aria-selected'?: (boolean | "true" | "false") | undefined;
645
+ 'aria-selected'?: (boolean | "false" | "true") | undefined;
646
646
  'aria-setsize'?: number | undefined;
647
647
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
648
648
  'aria-valuemax'?: number | undefined;
@@ -1,10 +1,12 @@
1
1
  import React, { FC, PropsWithChildren } from "react";
2
2
  import { ResolvedTheme } from "./carbon-theme-provider";
3
+ import { Cluster } from "../../c3-help-center/c3-help-center.types";
3
4
  export type Theme = "light" | "dark" | "system";
4
5
  export declare const defaultTheme: "light";
5
6
  export type C3ProfileContextValue = {
6
7
  isEnabled: boolean;
7
8
  theme: Theme;
9
+ clusters: Cluster[] | null;
8
10
  resolvedTheme: ResolvedTheme;
9
11
  onThemeChange: (newTheme: Theme) => void;
10
12
  };
@@ -2,10 +2,13 @@ import React, { createContext, useContext, useEffect, useRef, useState, } from "
2
2
  import { C3UserConfigurationContext } from "../c3-user-configuration-provider";
3
3
  import { getUserTheme, updateTheme } from "../../../api/profile";
4
4
  import { CarbonThemeProvider, resolveTheme, } from "./carbon-theme-provider";
5
+ import { getClusters } from "../../../api/help-center";
6
+ import { decodeJWT } from "../authToken";
5
7
  export const defaultTheme = "light";
6
8
  export const C3ProfileContext = createContext({
7
9
  isEnabled: false,
8
10
  theme: defaultTheme,
11
+ clusters: null,
9
12
  resolvedTheme: defaultTheme,
10
13
  onThemeChange: () => undefined,
11
14
  });
@@ -14,6 +17,19 @@ export const C3ProfileProvider = ({ children }) => {
14
17
  const isEnabled = !!config;
15
18
  const themeRef = useRef(getUserTheme(config.userToken) || defaultTheme);
16
19
  const [resolvedTheme, setResolvedTheme] = useState(defaultTheme);
20
+ const [clusters, setClusters] = useState(null);
21
+ useEffect(() => {
22
+ const decodedToken = decodeJWT(config?.userToken);
23
+ if (!decodedToken)
24
+ return;
25
+ const { audience } = decodedToken;
26
+ const decodedAudience = typeof audience === "string" ? audience : audience?.[0];
27
+ if (decodedAudience) {
28
+ getClusters(decodedAudience, config.userToken, config.activeOrganizationId).then((res) => {
29
+ setClusters(res);
30
+ });
31
+ }
32
+ }, [config?.userToken, config?.activeOrganizationId]);
17
33
  useEffect(() => {
18
34
  const updateSystemTheme = ({ matches }) => {
19
35
  if (themeRef.current === "system")
@@ -50,6 +66,7 @@ export const C3ProfileProvider = ({ children }) => {
50
66
  isEnabled,
51
67
  theme: themeRef.current,
52
68
  resolvedTheme,
69
+ clusters,
53
70
  onThemeChange,
54
71
  } },
55
72
  React.createElement(CarbonThemeProvider, null, children))) : (children);
@@ -11,17 +11,17 @@ export declare const Body02: import("styled-components").IStyledComponent<"web",
11
11
  accessKey?: string | undefined;
12
12
  autoFocus?: boolean | undefined;
13
13
  className?: string | undefined;
14
- contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
14
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
15
15
  contextMenu?: string | undefined;
16
16
  dir?: string | undefined;
17
- draggable?: (boolean | "true" | "false") | undefined;
17
+ draggable?: (boolean | "false" | "true") | undefined;
18
18
  hidden?: boolean | undefined;
19
19
  id?: string | undefined;
20
20
  lang?: string | undefined;
21
21
  nonce?: string | undefined;
22
22
  placeholder?: string | undefined;
23
23
  slot?: string | undefined;
24
- spellCheck?: (boolean | "true" | "false") | undefined;
24
+ spellCheck?: (boolean | "false" | "true") | undefined;
25
25
  style?: import("react").CSSProperties | undefined;
26
26
  tabIndex?: number | undefined;
27
27
  title?: string | undefined;
@@ -51,55 +51,55 @@ export declare const Body02: import("styled-components").IStyledComponent<"web",
51
51
  results?: number | undefined;
52
52
  security?: string | undefined;
53
53
  unselectable?: "on" | "off" | undefined;
54
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
54
+ inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
55
55
  is?: string | undefined;
56
56
  'aria-activedescendant'?: string | undefined;
57
- 'aria-atomic'?: (boolean | "true" | "false") | undefined;
58
- 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
57
+ 'aria-atomic'?: (boolean | "false" | "true") | undefined;
58
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
59
59
  'aria-braillelabel'?: string | undefined;
60
60
  'aria-brailleroledescription'?: string | undefined;
61
- 'aria-busy'?: (boolean | "true" | "false") | undefined;
62
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
61
+ 'aria-busy'?: (boolean | "false" | "true") | undefined;
62
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
63
63
  'aria-colcount'?: number | undefined;
64
64
  'aria-colindex'?: number | undefined;
65
65
  'aria-colindextext'?: string | undefined;
66
66
  'aria-colspan'?: number | undefined;
67
67
  'aria-controls'?: string | undefined;
68
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
68
+ 'aria-current'?: boolean | "time" | "step" | "page" | "false" | "true" | "location" | "date" | undefined;
69
69
  'aria-describedby'?: string | undefined;
70
70
  'aria-description'?: string | undefined;
71
71
  'aria-details'?: string | undefined;
72
- 'aria-disabled'?: (boolean | "true" | "false") | undefined;
73
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
72
+ 'aria-disabled'?: (boolean | "false" | "true") | undefined;
73
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
74
74
  'aria-errormessage'?: string | undefined;
75
- 'aria-expanded'?: (boolean | "true" | "false") | undefined;
75
+ 'aria-expanded'?: (boolean | "false" | "true") | undefined;
76
76
  'aria-flowto'?: string | undefined;
77
- 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
78
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
79
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
80
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
77
+ 'aria-grabbed'?: (boolean | "false" | "true") | undefined;
78
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "false" | "true" | undefined;
79
+ 'aria-hidden'?: (boolean | "false" | "true") | undefined;
80
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
81
81
  'aria-keyshortcuts'?: string | undefined;
82
82
  'aria-label'?: string | undefined;
83
83
  'aria-labelledby'?: string | undefined;
84
84
  'aria-level'?: number | undefined;
85
85
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
86
- 'aria-modal'?: (boolean | "true" | "false") | undefined;
87
- 'aria-multiline'?: (boolean | "true" | "false") | undefined;
88
- 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
86
+ 'aria-modal'?: (boolean | "false" | "true") | undefined;
87
+ 'aria-multiline'?: (boolean | "false" | "true") | undefined;
88
+ 'aria-multiselectable'?: (boolean | "false" | "true") | undefined;
89
89
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
90
90
  'aria-owns'?: string | undefined;
91
91
  'aria-placeholder'?: string | undefined;
92
92
  'aria-posinset'?: number | undefined;
93
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
94
- 'aria-readonly'?: (boolean | "true" | "false") | undefined;
95
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
96
- 'aria-required'?: (boolean | "true" | "false") | undefined;
93
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
94
+ 'aria-readonly'?: (boolean | "false" | "true") | undefined;
95
+ 'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
96
+ 'aria-required'?: (boolean | "false" | "true") | undefined;
97
97
  'aria-roledescription'?: string | undefined;
98
98
  'aria-rowcount'?: number | undefined;
99
99
  'aria-rowindex'?: number | undefined;
100
100
  'aria-rowindextext'?: string | undefined;
101
101
  'aria-rowspan'?: number | undefined;
102
- 'aria-selected'?: (boolean | "true" | "false") | undefined;
102
+ 'aria-selected'?: (boolean | "false" | "true") | undefined;
103
103
  'aria-setsize'?: number | undefined;
104
104
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
105
105
  'aria-valuemax'?: number | undefined;
@@ -284,17 +284,17 @@ export declare const Body01: import("styled-components").IStyledComponent<"web",
284
284
  accessKey?: string | undefined;
285
285
  autoFocus?: boolean | undefined;
286
286
  className?: string | undefined;
287
- contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
287
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
288
288
  contextMenu?: string | undefined;
289
289
  dir?: string | undefined;
290
- draggable?: (boolean | "true" | "false") | undefined;
290
+ draggable?: (boolean | "false" | "true") | undefined;
291
291
  hidden?: boolean | undefined;
292
292
  id?: string | undefined;
293
293
  lang?: string | undefined;
294
294
  nonce?: string | undefined;
295
295
  placeholder?: string | undefined;
296
296
  slot?: string | undefined;
297
- spellCheck?: (boolean | "true" | "false") | undefined;
297
+ spellCheck?: (boolean | "false" | "true") | undefined;
298
298
  style?: import("react").CSSProperties | undefined;
299
299
  tabIndex?: number | undefined;
300
300
  title?: string | undefined;
@@ -324,55 +324,55 @@ export declare const Body01: import("styled-components").IStyledComponent<"web",
324
324
  results?: number | undefined;
325
325
  security?: string | undefined;
326
326
  unselectable?: "on" | "off" | undefined;
327
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
327
+ inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
328
328
  is?: string | undefined;
329
329
  'aria-activedescendant'?: string | undefined;
330
- 'aria-atomic'?: (boolean | "true" | "false") | undefined;
331
- 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined;
330
+ 'aria-atomic'?: (boolean | "false" | "true") | undefined;
331
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
332
332
  'aria-braillelabel'?: string | undefined;
333
333
  'aria-brailleroledescription'?: string | undefined;
334
- 'aria-busy'?: (boolean | "true" | "false") | undefined;
335
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
334
+ 'aria-busy'?: (boolean | "false" | "true") | undefined;
335
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
336
336
  'aria-colcount'?: number | undefined;
337
337
  'aria-colindex'?: number | undefined;
338
338
  'aria-colindextext'?: string | undefined;
339
339
  'aria-colspan'?: number | undefined;
340
340
  'aria-controls'?: string | undefined;
341
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
341
+ 'aria-current'?: boolean | "time" | "step" | "page" | "false" | "true" | "location" | "date" | undefined;
342
342
  'aria-describedby'?: string | undefined;
343
343
  'aria-description'?: string | undefined;
344
344
  'aria-details'?: string | undefined;
345
- 'aria-disabled'?: (boolean | "true" | "false") | undefined;
346
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
345
+ 'aria-disabled'?: (boolean | "false" | "true") | undefined;
346
+ 'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
347
347
  'aria-errormessage'?: string | undefined;
348
- 'aria-expanded'?: (boolean | "true" | "false") | undefined;
348
+ 'aria-expanded'?: (boolean | "false" | "true") | undefined;
349
349
  'aria-flowto'?: string | undefined;
350
- 'aria-grabbed'?: (boolean | "true" | "false") | undefined;
351
- 'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
352
- 'aria-hidden'?: (boolean | "true" | "false") | undefined;
353
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
350
+ 'aria-grabbed'?: (boolean | "false" | "true") | undefined;
351
+ 'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "false" | "true" | undefined;
352
+ 'aria-hidden'?: (boolean | "false" | "true") | undefined;
353
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
354
354
  'aria-keyshortcuts'?: string | undefined;
355
355
  'aria-label'?: string | undefined;
356
356
  'aria-labelledby'?: string | undefined;
357
357
  'aria-level'?: number | undefined;
358
358
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
359
- 'aria-modal'?: (boolean | "true" | "false") | undefined;
360
- 'aria-multiline'?: (boolean | "true" | "false") | undefined;
361
- 'aria-multiselectable'?: (boolean | "true" | "false") | undefined;
359
+ 'aria-modal'?: (boolean | "false" | "true") | undefined;
360
+ 'aria-multiline'?: (boolean | "false" | "true") | undefined;
361
+ 'aria-multiselectable'?: (boolean | "false" | "true") | undefined;
362
362
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
363
363
  'aria-owns'?: string | undefined;
364
364
  'aria-placeholder'?: string | undefined;
365
365
  'aria-posinset'?: number | undefined;
366
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
367
- 'aria-readonly'?: (boolean | "true" | "false") | undefined;
368
- 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
369
- 'aria-required'?: (boolean | "true" | "false") | undefined;
366
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
367
+ 'aria-readonly'?: (boolean | "false" | "true") | undefined;
368
+ 'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
369
+ 'aria-required'?: (boolean | "false" | "true") | undefined;
370
370
  'aria-roledescription'?: string | undefined;
371
371
  'aria-rowcount'?: number | undefined;
372
372
  'aria-rowindex'?: number | undefined;
373
373
  'aria-rowindextext'?: string | undefined;
374
374
  'aria-rowspan'?: number | undefined;
375
- 'aria-selected'?: (boolean | "true" | "false") | undefined;
375
+ 'aria-selected'?: (boolean | "false" | "true") | undefined;
376
376
  'aria-setsize'?: number | undefined;
377
377
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
378
378
  'aria-valuemax'?: number | undefined;
@@ -1,10 +1,11 @@
1
+ export { C3ClusterTag } from "./components/c3-cluster-tag/c3-cluster-tag";
2
+ export { C3ClusterTagProps, CamundaClusterStage, CamundaClusterStageLabel, StageClusterLabels, } from "./components/c3-cluster-tag/c3-cluster-tag.types";
1
3
  export { C3EmptyState } from "./components/c3-empty-state/c3-empty-state";
2
4
  export { C3EmptyStateProps } from "./components/c3-empty-state/c3-empty-state.types";
3
5
  export { default as C3Navigation } from "./components/c3-navigation";
4
- export { C3NavigationAppProps, C3NavigationElementProps, C3NavigationNavBarProps, C3NavigationProps, } from "./components/c3-navigation/c3-navigation.types";
5
6
  export { C3NavigationSideBarBaseProps } from "./components/c3-navigation/c3-navigation-sidebar/c3-navigation-sidebar.types";
7
+ export { C3NavigationAppProps, C3NavigationElementProps, C3NavigationNavBarProps, C3NavigationProps, } from "./components/c3-navigation/c3-navigation.types";
8
+ export { useC3Profile } from "./components/c3-user-configuration/c3-profile-provider/c3-profile-provider";
9
+ export { C3UserConfiguration, default as C3UserConfigurationProvider, } from "./components/c3-user-configuration/c3-user-configuration-provider";
6
10
  export { C3AppMenuIcon } from "./icons/c3-icons";
7
11
  export { C3IconProps } from "./icons/c3-icons.types";
8
- export { default as C3UserConfigurationProvider } from "./components/c3-user-configuration/c3-user-configuration-provider";
9
- export { C3UserConfiguration } from "./components/c3-user-configuration/c3-user-configuration-provider";
10
- export { useC3Profile } from "./components/c3-user-configuration/c3-profile-provider/c3-profile-provider";
package/lib/esm/index.js CHANGED
@@ -1,5 +1,7 @@
1
+ export { C3ClusterTag } from "./components/c3-cluster-tag/c3-cluster-tag";
2
+ export { StageClusterLabels, } from "./components/c3-cluster-tag/c3-cluster-tag.types";
1
3
  export { C3EmptyState } from "./components/c3-empty-state/c3-empty-state";
2
4
  export { default as C3Navigation } from "./components/c3-navigation";
3
- export { C3AppMenuIcon } from "./icons/c3-icons";
4
- export { default as C3UserConfigurationProvider } from "./components/c3-user-configuration/c3-user-configuration-provider";
5
5
  export { useC3Profile } from "./components/c3-user-configuration/c3-profile-provider/c3-profile-provider";
6
+ export { default as C3UserConfigurationProvider, } from "./components/c3-user-configuration/c3-user-configuration-provider";
7
+ export { C3AppMenuIcon } from "./icons/c3-icons";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camunda/camunda-composite-components",
3
- "version": "0.2.2",
3
+ "version": "0.2.4-rc.0",
4
4
  "scripts": {
5
5
  "clean": "rimraf lib/",
6
6
  "build": "yarn clean && tsc",