@jsonforms/material-renderers 3.4.1 → 3.5.0-beta.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.
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const UnwrappedAdditional: {
3
2
  MaterialLabelRenderer: ({ text, visible }: import("@jsonforms/core").LabelProps) => import("react").JSX.Element;
4
3
  MaterialListWithDetailRenderer: ({ uischemas, schema, uischema, path, enabled, errors, visible, label, required, removeItems, addItem, data, renderers, cells, config, rootSchema, description, disableAdd, disableRemove, translations, }: import("@jsonforms/core").ArrayLayoutProps & {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const UnwrappedComplex: {
3
2
  MaterialAllOfRenderer: ({ schema, rootSchema, visible, renderers, cells, path, uischemas, uischema, }: import("@jsonforms/core").StatePropsOfCombinator) => import("react").JSX.Element;
4
3
  MaterialAnyOfRenderer: ({ handleChange, schema, rootSchema, indexOfFittingSchema, visible, path, renderers, cells, uischema, uischemas, id, data, }: import("@jsonforms/core").CombinatorRendererProps) => import("react").JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MaterialAnyOfStringOrEnumControl } from './MaterialAnyOfStringOrEnumControl';
3
2
  export declare const UnwrappedControls: {
4
3
  MaterialAnyOfStringOrEnumControl: typeof MaterialAnyOfStringOrEnumControl;
package/lib/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { JsonFormsCellRendererRegistryEntry, JsonFormsRendererRegistryEntry } from '@jsonforms/core';
3
2
  export * from './additional';
4
3
  export * from './cells';
@@ -300,7 +300,7 @@ var TableHeaderCell = React__default["default"].memo(function TableHeaderCell(_a
300
300
  var ctxToNonEmptyCellProps = function (ctx, ownProps) {
301
301
  var path = ownProps.rowPath +
302
302
  (ownProps.schema.type === 'object' ? '.' + ownProps.propName : '');
303
- var errors = core.formatErrorMessage(union__default["default"](core.errorsAt(path, ownProps.schema, function (p) { return p === path; })(ctx.core.errors).map(function (error) { return error.message; })));
303
+ var errors = core.formatErrorMessage(union__default["default"](core.errorAt(path, ownProps.schema)(ctx.core).map(function (error) { return error.message; })));
304
304
  return {
305
305
  rowPath: ownProps.rowPath,
306
306
  propName: ownProps.propName,