@camunda/camunda-composite-components 0.2.3 → 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.
- package/lib/esm/components/c3-cluster-tag/c3-cluster-tag.d.ts +3 -0
- package/lib/esm/components/c3-cluster-tag/c3-cluster-tag.js +32 -0
- package/lib/esm/components/c3-cluster-tag/c3-cluster-tag.types.d.ts +15 -0
- package/lib/esm/components/c3-cluster-tag/c3-cluster-tag.types.js +6 -0
- package/lib/esm/components/c3-help-center/c3-help-center.types.d.ts +3 -0
- package/lib/esm/components/c3-navigation/c3-navigation.d.ts +1 -1
- package/lib/esm/components/c3-navigation/c3-navigation.js +7 -1
- package/lib/esm/components/c3-navigation/c3-navigation.types.d.ts +1 -0
- package/lib/esm/components/c3-navigation/c3-notification-provider/c3-notification-container.d.ts +72 -72
- package/lib/esm/components/c3-user-configuration/c3-profile-provider/c3-profile-provider.d.ts +2 -0
- package/lib/esm/components/c3-user-configuration/c3-profile-provider/c3-profile-provider.js +17 -0
- package/lib/esm/components/styles.d.ts +48 -48
- package/lib/esm/index.d.ts +5 -4
- package/lib/esm/index.js +4 -2
- package/package.json +1 -1
|
@@ -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
|
+
});
|
|
@@ -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;
|
package/lib/esm/components/c3-navigation/c3-notification-provider/c3-notification-container.d.ts
CHANGED
|
@@ -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 | "
|
|
13
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
|
14
14
|
contextMenu?: string | undefined;
|
|
15
15
|
dir?: string | undefined;
|
|
16
|
-
draggable?: (boolean | "
|
|
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 | "
|
|
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" | "
|
|
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 | "
|
|
57
|
-
'aria-autocomplete'?: "none" | "
|
|
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 | "
|
|
61
|
-
'aria-checked'?: boolean | "
|
|
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" | "
|
|
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 | "
|
|
72
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
|
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 | "
|
|
74
|
+
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
|
75
75
|
'aria-flowto'?: string | undefined;
|
|
76
|
-
'aria-grabbed'?: (boolean | "
|
|
77
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
78
|
-
'aria-hidden'?: (boolean | "
|
|
79
|
-
'aria-invalid'?: boolean | "
|
|
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 | "
|
|
86
|
-
'aria-multiline'?: (boolean | "
|
|
87
|
-
'aria-multiselectable'?: (boolean | "
|
|
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 | "
|
|
93
|
-
'aria-readonly'?: (boolean | "
|
|
94
|
-
'aria-relevant'?: "text" | "
|
|
95
|
-
'aria-required'?: (boolean | "
|
|
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 | "
|
|
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 | "
|
|
285
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
|
286
286
|
contextMenu?: string | undefined;
|
|
287
287
|
dir?: string | undefined;
|
|
288
|
-
draggable?: (boolean | "
|
|
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 | "
|
|
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" | "
|
|
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 | "
|
|
329
|
-
'aria-autocomplete'?: "none" | "
|
|
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 | "
|
|
333
|
-
'aria-checked'?: boolean | "
|
|
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" | "
|
|
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 | "
|
|
344
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
|
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 | "
|
|
346
|
+
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
|
347
347
|
'aria-flowto'?: string | undefined;
|
|
348
|
-
'aria-grabbed'?: (boolean | "
|
|
349
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
350
|
-
'aria-hidden'?: (boolean | "
|
|
351
|
-
'aria-invalid'?: boolean | "
|
|
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 | "
|
|
358
|
-
'aria-multiline'?: (boolean | "
|
|
359
|
-
'aria-multiselectable'?: (boolean | "
|
|
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 | "
|
|
365
|
-
'aria-readonly'?: (boolean | "
|
|
366
|
-
'aria-relevant'?: "text" | "
|
|
367
|
-
'aria-required'?: (boolean | "
|
|
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 | "
|
|
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 | "
|
|
557
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
|
558
558
|
contextMenu?: string | undefined;
|
|
559
559
|
dir?: string | undefined;
|
|
560
|
-
draggable?: (boolean | "
|
|
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 | "
|
|
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" | "
|
|
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 | "
|
|
601
|
-
'aria-autocomplete'?: "none" | "
|
|
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 | "
|
|
605
|
-
'aria-checked'?: boolean | "
|
|
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" | "
|
|
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 | "
|
|
616
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
|
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 | "
|
|
618
|
+
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
|
619
619
|
'aria-flowto'?: string | undefined;
|
|
620
|
-
'aria-grabbed'?: (boolean | "
|
|
621
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
622
|
-
'aria-hidden'?: (boolean | "
|
|
623
|
-
'aria-invalid'?: boolean | "
|
|
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 | "
|
|
630
|
-
'aria-multiline'?: (boolean | "
|
|
631
|
-
'aria-multiselectable'?: (boolean | "
|
|
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 | "
|
|
637
|
-
'aria-readonly'?: (boolean | "
|
|
638
|
-
'aria-relevant'?: "text" | "
|
|
639
|
-
'aria-required'?: (boolean | "
|
|
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 | "
|
|
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;
|
package/lib/esm/components/c3-user-configuration/c3-profile-provider/c3-profile-provider.d.ts
CHANGED
|
@@ -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 | "
|
|
14
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
|
15
15
|
contextMenu?: string | undefined;
|
|
16
16
|
dir?: string | undefined;
|
|
17
|
-
draggable?: (boolean | "
|
|
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 | "
|
|
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" | "
|
|
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 | "
|
|
58
|
-
'aria-autocomplete'?: "none" | "
|
|
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 | "
|
|
62
|
-
'aria-checked'?: boolean | "
|
|
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" | "
|
|
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 | "
|
|
73
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
|
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 | "
|
|
75
|
+
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
|
76
76
|
'aria-flowto'?: string | undefined;
|
|
77
|
-
'aria-grabbed'?: (boolean | "
|
|
78
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
79
|
-
'aria-hidden'?: (boolean | "
|
|
80
|
-
'aria-invalid'?: boolean | "
|
|
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 | "
|
|
87
|
-
'aria-multiline'?: (boolean | "
|
|
88
|
-
'aria-multiselectable'?: (boolean | "
|
|
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 | "
|
|
94
|
-
'aria-readonly'?: (boolean | "
|
|
95
|
-
'aria-relevant'?: "text" | "
|
|
96
|
-
'aria-required'?: (boolean | "
|
|
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 | "
|
|
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 | "
|
|
287
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
|
288
288
|
contextMenu?: string | undefined;
|
|
289
289
|
dir?: string | undefined;
|
|
290
|
-
draggable?: (boolean | "
|
|
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 | "
|
|
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" | "
|
|
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 | "
|
|
331
|
-
'aria-autocomplete'?: "none" | "
|
|
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 | "
|
|
335
|
-
'aria-checked'?: boolean | "
|
|
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" | "
|
|
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 | "
|
|
346
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
|
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 | "
|
|
348
|
+
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
|
349
349
|
'aria-flowto'?: string | undefined;
|
|
350
|
-
'aria-grabbed'?: (boolean | "
|
|
351
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
352
|
-
'aria-hidden'?: (boolean | "
|
|
353
|
-
'aria-invalid'?: boolean | "
|
|
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 | "
|
|
360
|
-
'aria-multiline'?: (boolean | "
|
|
361
|
-
'aria-multiselectable'?: (boolean | "
|
|
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 | "
|
|
367
|
-
'aria-readonly'?: (boolean | "
|
|
368
|
-
'aria-relevant'?: "text" | "
|
|
369
|
-
'aria-required'?: (boolean | "
|
|
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 | "
|
|
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;
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -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";
|