@axinom/mosaic-ui 0.66.0-rc.12 → 0.66.0-rc.13

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.66.0-rc.12",
3
+ "version": "0.66.0-rc.13",
4
4
  "description": "UI components for building Axinom Mosaic applications",
5
5
  "author": "Axinom",
6
6
  "license": "PROPRIETARY",
@@ -112,5 +112,5 @@
112
112
  "publishConfig": {
113
113
  "access": "public"
114
114
  },
115
- "gitHead": "a2cef21028c76a6c1e0a02c77ee63c819ca48746"
115
+ "gitHead": "f2b0591969b1a8bacd397ad7270e0322d11e0314"
116
116
  }
@@ -95,7 +95,7 @@ describe('DynamicListDataEntry', () => {
95
95
  />,
96
96
  );
97
97
 
98
- const row = wrapper.find('.container').first();
98
+ const row = wrapper.find('.container');
99
99
 
100
100
  expect(row.prop('style')).toHaveProperty('gridColumnGap', undefined);
101
101
  expect(row.prop('style')).toHaveProperty('alignItems', undefined);
@@ -113,7 +113,7 @@ describe('DynamicListDataEntry', () => {
113
113
  it('sets styling props when passed in', () => {
114
114
  const wrapper = shallow(<DynamicListDataEntry {...defaultProps} />);
115
115
 
116
- const row = wrapper.find('.container').first();
116
+ const row = wrapper.find('.container');
117
117
 
118
118
  expect(row.prop('style')).toHaveProperty(
119
119
  'gridColumnGap',
@@ -256,7 +256,7 @@ describe('DynamicListDataEntry', () => {
256
256
  />,
257
257
  );
258
258
 
259
- const input = wrapper.find('input').first();
259
+ const input = wrapper.find('input');
260
260
 
261
261
  expect(input.prop('disabled')).toBe(true);
262
262
  });
@@ -9,7 +9,6 @@ import { ObjectSchemaDefinition } from '../../FormStation';
9
9
  import { IconName, Icons } from '../../Icons';
10
10
  import { DynamicListColumn } from '../DynamicDataList.model';
11
11
  import classes from './DynamicListDataEntry.scss';
12
- import { createInputRenderer } from './Renderers';
13
12
 
14
13
  export enum DynamicListDataEntryMode {
15
14
  Add,
@@ -275,8 +274,6 @@ const renderField = function <T extends Data>(
275
274
  disabled,
276
275
  );
277
276
  } else {
278
- return createInputRenderer({
279
- placeholder: 'Enter value',
280
- })(currentValue, error, onValueChanged, disabled);
277
+ return '';
281
278
  }
282
279
  };
@@ -202,10 +202,7 @@ export const DynamicListRow = <T extends Data>({
202
202
  );
203
203
  })}
204
204
  {showActionColumn && (
205
- <div
206
- className={classes.actionButtonContainer}
207
- onClick={(e) => e.stopPropagation()}
208
- >
205
+ <div className={classes.actionButtonContainer}>
209
206
  {inlineMenuData && !!inlineMenuData.length && (
210
207
  <InlineMenu
211
208
  actions={inlineMenuData}