@axinom/mosaic-ui 0.36.0-rc.1 → 0.36.0-rc.10

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.36.0-rc.1",
3
+ "version": "0.36.0-rc.10",
4
4
  "description": "UI components for building Axinom Mosaic applications",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -32,7 +32,7 @@
32
32
  "build-storybook": "storybook build"
33
33
  },
34
34
  "dependencies": {
35
- "@axinom/mosaic-core": "^0.4.9-rc.1",
35
+ "@axinom/mosaic-core": "^0.4.9-rc.10",
36
36
  "@faker-js/faker": "^7.4.0",
37
37
  "@popperjs/core": "^2.9.2",
38
38
  "clsx": "^1.1.0",
@@ -104,5 +104,5 @@
104
104
  "publishConfig": {
105
105
  "access": "public"
106
106
  },
107
- "gitHead": "75820312f208182b26c4e1fad4cd34f8e566b32c"
107
+ "gitHead": "b3c60d5d725c084f7cf36981f5a0a923a934ded5"
108
108
  }
@@ -183,7 +183,8 @@ export const DynamicDataList = <T extends Data>({
183
183
  if (result.destination && positionPropertyName) {
184
184
  const oldItem = items[result.source.index];
185
185
 
186
- const nextPosition = items[result.destination.index].position;
186
+ const nextPosition =
187
+ items[result.destination.index][positionPropertyName];
187
188
 
188
189
  const newItem = {
189
190
  ...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
  };
@@ -11,6 +11,7 @@
11
11
  --explorer-background-color,
12
12
  $explorer-background-color
13
13
  );
14
+ overflow-x: auto;
14
15
 
15
16
  .LoadingData {
16
17
  margin: 1rem 0;