@equinor/apollo-components 3.3.0-beta.2 → 3.4.0

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/dist/index.d.ts CHANGED
@@ -262,8 +262,7 @@ interface GetHelperTextProps {
262
262
  }
263
263
  interface EditableCellBaseProps<T extends FormMeta, Value> extends CellContext<T, Value> {
264
264
  /**
265
- * FieldError object used to overwrite react-hook-form validation result. It is prioritized over
266
- * react-hook-form's validation.
265
+ * FieldError object used to overwrite react-hook-form validation result. It is prioritized over react-hook-form's validation. If prefixed with the exported `WARNING_PREFIX` it will be displayed as an warning.
267
266
  */
268
267
  error?: FieldError;
269
268
  /**
package/dist/index.js CHANGED
@@ -3045,9 +3045,14 @@ var TableBody = (0, import_styled_components12.default)(import_eds_core_react13.
3045
3045
  var import_eds_core_react14 = require("@equinor/eds-core-react");
3046
3046
  var import_styled_components13 = __toESM(require("styled-components"));
3047
3047
  var import_jsx_runtime14 = require("react/jsx-runtime");
3048
- function TableRow(props) {
3048
+ function TableRow({
3049
+ row,
3050
+ rowConfig,
3051
+ cellConfig,
3052
+ measureElement,
3053
+ index
3054
+ }) {
3049
3055
  var _a;
3050
- const { row, rowConfig, cellConfig, measureElement, index } = props;
3051
3056
  const rowWrapper = rowConfig == null ? void 0 : rowConfig.rowWrapper;
3052
3057
  const tableRowContent = /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
3053
3058
  StyledTableRow,
package/dist/index.mjs CHANGED
@@ -3006,9 +3006,14 @@ var TableBody = styled12(Table6.Body)`
3006
3006
  import { Table as Table7 } from "@equinor/eds-core-react";
3007
3007
  import styled13 from "styled-components";
3008
3008
  import { jsx as jsx14 } from "react/jsx-runtime";
3009
- function TableRow(props) {
3009
+ function TableRow({
3010
+ row,
3011
+ rowConfig,
3012
+ cellConfig,
3013
+ measureElement,
3014
+ index
3015
+ }) {
3010
3016
  var _a;
3011
- const { row, rowConfig, cellConfig, measureElement, index } = props;
3012
3017
  const rowWrapper = rowConfig == null ? void 0 : rowConfig.rowWrapper;
3013
3018
  const tableRowContent = /* @__PURE__ */ jsx14(
3014
3019
  StyledTableRow,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/apollo-components",
3
- "version": "3.3.0-beta.2",
3
+ "version": "3.4.0",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",