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

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.js CHANGED
@@ -3049,7 +3049,6 @@ function TableRow(props) {
3049
3049
  var _a;
3050
3050
  const { row, rowConfig, cellConfig, measureElement, index } = props;
3051
3051
  const rowWrapper = rowConfig == null ? void 0 : rowConfig.rowWrapper;
3052
- console.log("Hello");
3053
3052
  const tableRowContent = /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
3054
3053
  StyledTableRow,
3055
3054
  {
@@ -3607,7 +3606,7 @@ function getHelperTextProps({
3607
3606
  if ((_a = error.message) == null ? void 0 : _a.startsWith(WARNING_PREFIX)) {
3608
3607
  return {
3609
3608
  variant: "warning",
3610
- helperText: error.message.substring(WARNING_PREFIX.length - 1),
3609
+ helperText: error.message.substring(WARNING_PREFIX.length),
3611
3610
  helperIcon: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_eds_core_react21.Icon, { data: import_eds_icons8.warning_filled, size: 16 })
3612
3611
  };
3613
3612
  }
package/dist/index.mjs CHANGED
@@ -3010,7 +3010,6 @@ function TableRow(props) {
3010
3010
  var _a;
3011
3011
  const { row, rowConfig, cellConfig, measureElement, index } = props;
3012
3012
  const rowWrapper = rowConfig == null ? void 0 : rowConfig.rowWrapper;
3013
- console.log("Hello");
3014
3013
  const tableRowContent = /* @__PURE__ */ jsx14(
3015
3014
  StyledTableRow,
3016
3015
  {
@@ -3568,7 +3567,7 @@ function getHelperTextProps({
3568
3567
  if ((_a = error.message) == null ? void 0 : _a.startsWith(WARNING_PREFIX)) {
3569
3568
  return {
3570
3569
  variant: "warning",
3571
- helperText: error.message.substring(WARNING_PREFIX.length - 1),
3570
+ helperText: error.message.substring(WARNING_PREFIX.length),
3572
3571
  helperIcon: /* @__PURE__ */ jsx22(Icon7, { data: warning_filled, size: 16 })
3573
3572
  };
3574
3573
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/apollo-components",
3
- "version": "3.3.0-beta.1",
3
+ "version": "3.3.0-beta.2",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",