@inseefr/lunatic 2.4.3-beta → 2.4.3

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.
@@ -47,8 +47,7 @@ function LunaticTable(props) {
47
47
  executeExpression: executeExpression,
48
48
  handleChange: handleChange,
49
49
  iteration: iteration,
50
- value: value,
51
- errors: errors
50
+ value: value
52
51
  })
53
52
  })]
54
53
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_commons.Errors, {
@@ -14,8 +14,7 @@ function TableOrchestrator(_ref) {
14
14
  executeExpression = _ref.executeExpression,
15
15
  valueMap = _ref.value,
16
16
  handleChange = _ref.handleChange,
17
- iteration = _ref.iteration,
18
- errors = _ref.errors;
17
+ iteration = _ref.iteration;
19
18
  if (!Array.isArray(body)) {
20
19
  return null;
21
20
  }
@@ -28,8 +27,7 @@ function TableOrchestrator(_ref) {
28
27
  valueMap: valueMap,
29
28
  handleChange: handleChange,
30
29
  iteration: iteration,
31
- executeExpression: executeExpression,
32
- errors: errors
30
+ executeExpression: executeExpression
33
31
  }, index);
34
32
  })
35
33
  });
@@ -14,7 +14,7 @@ type Props = {
14
14
  row?: string | number;
15
15
  index?: string | number;
16
16
  handleChange: LunaticBaseProps['handleChange'];
17
- errors: LunaticBaseProps['errors'];
17
+ errors?: LunaticBaseProps['errors'];
18
18
  };
19
19
  declare function Cell({ content, id, executeExpression, iteration, value, row, index, handleChange, errors, }: Props): JSX.Element;
20
20
  export default Cell;
@@ -13,7 +13,7 @@ type Props = {
13
13
  valueMap: Record<string, unknown>;
14
14
  rowIndex?: string | number;
15
15
  handleChange: LunaticBaseProps['handleChange'];
16
- errors: LunaticBaseProps['errors'];
16
+ errors?: LunaticBaseProps['errors'];
17
17
  };
18
18
  declare function Row({ id, components, executeExpression, valueMap, rowIndex, iteration, handleChange, errors, }: Props): JSX.Element;
19
19
  export default Row;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import { LunaticComponentProps } from '../type';
3
- type Props = {} & Pick<LunaticComponentProps<'Table'>, 'body' | 'id' | 'executeExpression' | 'value' | 'handleChange' | 'iteration' | 'errors'>;
4
- declare function TableOrchestrator({ body, id, executeExpression, value: valueMap, handleChange, iteration, errors, }: Props): JSX.Element | null;
3
+ type Props = {} & Pick<LunaticComponentProps<'Table'>, 'body' | 'id' | 'executeExpression' | 'value' | 'handleChange' | 'iteration'>;
4
+ declare function TableOrchestrator({ body, id, executeExpression, value: valueMap, handleChange, iteration, }: Props): JSX.Element | null;
5
5
  export default TableOrchestrator;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inseefr/lunatic",
3
- "version": "2.4.3-beta",
3
+ "version": "2.4.3",
4
4
  "workersVersion": "0.2.5-experimental",
5
5
  "description": "Library of questionnaire components",
6
6
  "repository": {