@axinom/mosaic-ui 0.35.0 → 0.35.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axinom/mosaic-ui",
3
- "version": "0.35.0",
3
+ "version": "0.35.1",
4
4
  "description": "UI components for building Axinom Mosaic applications",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -104,5 +104,5 @@
104
104
  "publishConfig": {
105
105
  "access": "public"
106
106
  },
107
- "gitHead": "cb1823de8e408b481091bfe0b0107815e8b49880"
107
+ "gitHead": "083beeb2297dbc4336eaaf8b21ba587614b506df"
108
108
  }
@@ -173,7 +173,8 @@ export const DynamicDataList = <T extends Data>({
173
173
  if (result.destination && positionPropertyName) {
174
174
  const oldItem = items[result.source.index];
175
175
 
176
- const nextPosition = items[result.destination.index].position;
176
+ const nextPosition =
177
+ items[result.destination.index][positionPropertyName];
177
178
 
178
179
  const newItem = {
179
180
  ...oldItem,
@@ -101,5 +101,7 @@ export const Main: StoryObj<DynamicDataListStoryType> = {
101
101
  positionPropertyName: 'position',
102
102
  value: generateData(5),
103
103
  columns: defaultColumns,
104
+ //TODO: investigate why this is needed - looks like it gets mocked out somehow
105
+ onAddTransformData: undefined,
104
106
  },
105
107
  };