@trackunit/iris-app 1.5.0 → 1.5.6

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/CHANGELOG.md CHANGED
@@ -1,3 +1,57 @@
1
+ ## 1.5.6 (2025-08-18)
2
+
3
+ ### 🧱 Updated Dependencies
4
+
5
+ - Updated iris-app-build-utilities to 1.5.5
6
+ - Updated iris-app-webpack-plugin to 1.5.5
7
+ - Updated iris-app-api to 1.5.5
8
+ - Updated react-test-setup to 1.2.5
9
+ - Updated shared-utils to 1.7.5
10
+
11
+ ## 1.5.5 (2025-08-18)
12
+
13
+ ### 🧱 Updated Dependencies
14
+
15
+ - Updated iris-app-build-utilities to 1.5.4
16
+ - Updated iris-app-webpack-plugin to 1.5.4
17
+ - Updated iris-app-api to 1.5.4
18
+ - Updated react-test-setup to 1.2.4
19
+ - Updated shared-utils to 1.7.4
20
+
21
+ ## 1.5.4 (2025-08-18)
22
+
23
+ ### 🧱 Updated Dependencies
24
+
25
+ - Updated iris-app-build-utilities to 1.5.3
26
+ - Updated iris-app-webpack-plugin to 1.5.3
27
+ - Updated iris-app-api to 1.5.3
28
+ - Updated react-test-setup to 1.2.3
29
+ - Updated shared-utils to 1.7.3
30
+
31
+ ## 1.5.3 (2025-08-18)
32
+
33
+ ### 🧱 Updated Dependencies
34
+
35
+ - Updated iris-app-build-utilities to 1.5.2
36
+ - Updated iris-app-webpack-plugin to 1.5.2
37
+ - Updated iris-app-api to 1.5.2
38
+ - Updated react-test-setup to 1.2.2
39
+ - Updated shared-utils to 1.7.2
40
+
41
+ ## 1.5.2 (2025-08-18)
42
+
43
+ ### 🧱 Updated Dependencies
44
+
45
+ - Updated iris-app-build-utilities to 1.5.1
46
+ - Updated iris-app-webpack-plugin to 1.5.1
47
+ - Updated iris-app-api to 1.5.1
48
+ - Updated react-test-setup to 1.2.1
49
+ - Updated shared-utils to 1.7.1
50
+
51
+ ## 1.5.1 (2025-08-18)
52
+
53
+ This was a version bump only for iris-app to align it with other projects, there were no code changes.
54
+
1
55
  ## 1.5.0 (2025-08-15)
2
56
 
3
57
  ### 🧱 Updated Dependencies
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/iris-app",
3
- "version": "1.5.0",
3
+ "version": "1.5.6",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "main": "src/index.js",
6
6
  "generators": "./generators.json",
@@ -32,12 +32,12 @@
32
32
  "@npmcli/arborist": "^7.3.1",
33
33
  "webpack-bundle-analyzer": "^4.8.0",
34
34
  "win-ca": "^3.5.1",
35
- "@trackunit/iris-app-build-utilities": "1.5.0",
36
- "@trackunit/shared-utils": "1.7.0",
37
- "@trackunit/iris-app-api": "1.5.0",
38
- "@trackunit/iris-app-webpack-plugin": "1.5.0",
35
+ "@trackunit/iris-app-build-utilities": "1.5.5",
36
+ "@trackunit/shared-utils": "1.7.5",
37
+ "@trackunit/iris-app-api": "1.5.5",
38
+ "@trackunit/iris-app-webpack-plugin": "1.5.5",
39
39
  "tslib": "^2.6.2",
40
- "@trackunit/react-test-setup": "1.2.0"
40
+ "@trackunit/react-test-setup": "1.2.5"
41
41
  },
42
42
  "types": "./src/index.d.ts",
43
43
  "type": "commonjs"
@@ -159,14 +159,13 @@ import { useWidgetConfig } from '@trackunit/react-core-hooks';
159
159
  import { WidgetEditBody } from '@trackunit/react-widgets';
160
160
 
161
161
  export const App = () => {
162
- const { isEditMode, data, setData, closeEditMode } = useWidgetConfig();
162
+ const { isEditMode, data, closeEditMode } = useWidgetConfig();
163
163
 
164
164
  if (isEditMode) {
165
165
  return (
166
166
  <WidgetEditBody
167
- onSave={async (newData) => {
168
- await setData(newData, 1);
169
- await closeEditMode();
167
+ onSave={async () => {
168
+ await closeEditMode({ newData: { data: { demo: "youDataHere"}, dataVersion: 1 });
170
169
  }}
171
170
  onCancel={closeEditMode}
172
171
  initialData={data}