@camunda/camunda-composite-components 0.14.1-rc.2 → 0.15.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/package.json +1 -1
- package/lib/esm/src/components/c3-data-table/c3-data-table.js +5 -5
- package/lib/esm/src/components/c3-onboarding-survey/c3-onboarding-survey.d.ts +1 -1
- package/lib/esm/src/components/c3-user-configuration/c3-user-configuration-provider.d.ts +1 -1
- package/lib/esm/src/index.d.ts +1 -1
- package/lib/esm/src/index.js +1 -1
- package/package.json +1 -1
package/lib/esm/package.json
CHANGED
|
@@ -145,7 +145,7 @@ export const C3DataTable = ({ data, headers, options, toolbar: singleToolbar, to
|
|
|
145
145
|
const getQueryKey = (queryName) => {
|
|
146
146
|
const prefix = queryPrefix ? `${queryPrefix}-` : "";
|
|
147
147
|
const query = `${prefix}${queryName}`;
|
|
148
|
-
return
|
|
148
|
+
return query;
|
|
149
149
|
};
|
|
150
150
|
const addUrlStatesToCurrentFilters = () => {
|
|
151
151
|
if (headers && headers.length > 0) {
|
|
@@ -154,7 +154,7 @@ export const C3DataTable = ({ data, headers, options, toolbar: singleToolbar, to
|
|
|
154
154
|
if (query && query in urlStates) {
|
|
155
155
|
setCurrentSorting({
|
|
156
156
|
key: header.key,
|
|
157
|
-
sortDirection: query,
|
|
157
|
+
sortDirection: urlStates[query],
|
|
158
158
|
});
|
|
159
159
|
break;
|
|
160
160
|
}
|
|
@@ -171,7 +171,7 @@ export const C3DataTable = ({ data, headers, options, toolbar: singleToolbar, to
|
|
|
171
171
|
const query = getQueryKey(queryName);
|
|
172
172
|
if (query && query in urlStates) {
|
|
173
173
|
currentFilters.current.set(searchElement.id, {
|
|
174
|
-
searchTerm: query,
|
|
174
|
+
searchTerm: urlStates[query],
|
|
175
175
|
});
|
|
176
176
|
}
|
|
177
177
|
break;
|
|
@@ -182,7 +182,7 @@ export const C3DataTable = ({ data, headers, options, toolbar: singleToolbar, to
|
|
|
182
182
|
const query = getQueryKey(queryName);
|
|
183
183
|
if (query && query in urlStates) {
|
|
184
184
|
currentFilters.current.set(element.id, {
|
|
185
|
-
selectedItem: query,
|
|
185
|
+
selectedItem: urlStates[query],
|
|
186
186
|
});
|
|
187
187
|
}
|
|
188
188
|
break;
|
|
@@ -192,7 +192,7 @@ export const C3DataTable = ({ data, headers, options, toolbar: singleToolbar, to
|
|
|
192
192
|
const queryName = multiSelectElement?.queryName ?? multiSelectElement.id;
|
|
193
193
|
const query = getQueryKey(queryName);
|
|
194
194
|
if (query && query in urlStates) {
|
|
195
|
-
const queryItems = query ?? "";
|
|
195
|
+
const queryItems = urlStates[query] ?? "";
|
|
196
196
|
const selectedItems = queryItems.split(",");
|
|
197
197
|
currentFilters.current.set(multiSelectElement.id, {
|
|
198
198
|
id: multiSelectElement.id,
|
|
@@ -7,7 +7,7 @@ export type C3OnboardingSurveyProps = {
|
|
|
7
7
|
personaCallback: (persona: Persona) => void;
|
|
8
8
|
theme: "light" | "dark";
|
|
9
9
|
mixpanelTrack?: MixPanelTrack;
|
|
10
|
-
origin: "console" | "webmodeler" | "operate" | "tasklist" | "optimize";
|
|
10
|
+
origin: "console" | "webmodeler" | "operate" | "tasklist" | "optimize" | "identity";
|
|
11
11
|
modal: boolean;
|
|
12
12
|
persona: Persona | undefined;
|
|
13
13
|
};
|
|
@@ -8,7 +8,7 @@ type C3UserConfigurationBase = {
|
|
|
8
8
|
userToken: string;
|
|
9
9
|
getNewUserToken: () => Promise<string>;
|
|
10
10
|
analyticsTrack?: MixPanelTrack;
|
|
11
|
-
currentApp?: "console" | "modeler" | "tasklist" | "operate" | "optimize";
|
|
11
|
+
currentApp?: "console" | "modeler" | "tasklist" | "operate" | "optimize" | "identity";
|
|
12
12
|
currentClusterUuid?: string;
|
|
13
13
|
handleTheme?: boolean;
|
|
14
14
|
enableLogs?: boolean;
|
package/lib/esm/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C3ClusterTag } from "./components/c3-cluster-tag/c3-cluster-tag";
|
|
1
|
+
export { C3ClusterTag, C3ClusterTagWithClusterName as C3ClusterTagWithName, } from "./components/c3-cluster-tag/c3-cluster-tag";
|
|
2
2
|
export { C3ClusterTagProps, CamundaClusterStage, CamundaClusterStageLabel, StageClusterLabels, } from "./components/c3-cluster-tag/c3-cluster-tag.types";
|
|
3
3
|
export { C3EmptyState } from "./components/c3-empty-state/c3-empty-state";
|
|
4
4
|
export { C3EmptyStateProps } from "./components/c3-empty-state/c3-empty-state.types";
|
package/lib/esm/src/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C3ClusterTag } from "./components/c3-cluster-tag/c3-cluster-tag";
|
|
1
|
+
export { C3ClusterTag, C3ClusterTagWithClusterName as C3ClusterTagWithName, } from "./components/c3-cluster-tag/c3-cluster-tag";
|
|
2
2
|
export { StageClusterLabels, } from "./components/c3-cluster-tag/c3-cluster-tag.types";
|
|
3
3
|
export { C3EmptyState } from "./components/c3-empty-state/c3-empty-state";
|
|
4
4
|
export { default as C3Navigation } from "./components/c3-navigation";
|