@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.
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/camunda-cloud/camunda-composite-components.git"
6
6
  },
7
- "version": "0.14.1-rc.1",
7
+ "version": "0.14.1-rc.3",
8
8
  "scripts": {
9
9
  "clean": "rimraf lib/",
10
10
  "build": "yarn clean && tsc",
@@ -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 urlStates[query];
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;
@@ -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";
@@ -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";
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/camunda-cloud/camunda-composite-components.git"
6
6
  },
7
- "version": "0.14.1-rc.2",
7
+ "version": "0.15.0",
8
8
  "scripts": {
9
9
  "clean": "rimraf lib/",
10
10
  "build": "yarn clean && tsc",