@gridsuite/commons-ui 0.64.1 → 0.64.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.
@@ -1,4 +1,4 @@
1
- import { jsxs, jsx } from "react/jsx-runtime";
1
+ import { jsx } from "react/jsx-runtime";
2
2
  import { useCallback } from "react";
3
3
  import { useForm } from "react-hook-form";
4
4
  import { yupResolver } from "@hookform/resolvers/yup";
@@ -47,7 +47,7 @@ function DescriptionModificationDialog({
47
47
  },
48
48
  [elementUuid, updateElement, snackError]
49
49
  );
50
- return /* @__PURE__ */ jsxs(
50
+ return /* @__PURE__ */ jsx(
51
51
  CustomMuiDialog,
52
52
  {
53
53
  open,
@@ -57,18 +57,15 @@ function DescriptionModificationDialog({
57
57
  formMethods: methods,
58
58
  titleId: "description",
59
59
  removeOptional: true,
60
- children: [
61
- /* @__PURE__ */ jsx(Box, { paddingTop: 1, children: /* @__PURE__ */ jsx(
62
- ExpandingTextField,
63
- {
64
- name: FieldConstants.DESCRIPTION,
65
- label: "descriptionProperty",
66
- minRows: 3,
67
- rows: 5
68
- }
69
- ) }),
70
- " "
71
- ]
60
+ children: /* @__PURE__ */ jsx(Box, { paddingTop: 1, children: /* @__PURE__ */ jsx(
61
+ ExpandingTextField,
62
+ {
63
+ name: FieldConstants.DESCRIPTION,
64
+ label: "descriptionProperty",
65
+ minRows: 3,
66
+ rows: 3
67
+ }
68
+ ) })
72
69
  }
73
70
  );
74
71
  }
@@ -147,8 +147,8 @@ const filterExpertEn = {
147
147
  converterStationId1: "Converter station 1 ID",
148
148
  converterStationId2: "Converter station 2 ID",
149
149
  convertersMode: "Converters mode",
150
- side1RectifierSide2Inverter: "Side 1 rectifier side 2 inverter",
151
- side1InverterSide2Rectifier: "Side 1 inverter side 2 rectifier",
150
+ side1RectifierSide2Inverter: "Flow (Side1->Side2)",
151
+ side1InverterSide2Rectifier: "Flow (Side2->Side1)",
152
152
  dcNominalVoltage: "DC nominal voltage (kV)",
153
153
  converterStationNominalVoltage1: "Converter station 1 nominal voltage (kV)",
154
154
  converterStationNominalVoltage2: "Converter station 2 nominal voltage (kV)",
@@ -147,8 +147,8 @@ const filterExpertFr = {
147
147
  converterStationId1: "ID de la station de conversion 1",
148
148
  converterStationId2: "ID de la station de conversion 2",
149
149
  convertersMode: "Mode de conversion",
150
- side1RectifierSide2Inverter: "Coté 1 redresseur côté 2 onduleur",
151
- side1InverterSide2Rectifier: "Côté 1 onduleur côté 2 redresseur",
150
+ side1RectifierSide2Inverter: "Flux (1->2)",
151
+ side1InverterSide2Rectifier: "Flux (2->1)",
152
152
  dcNominalVoltage: "Tension nominale DC (kV)",
153
153
  converterStationNominalVoltage1: "Tension nominale de la station de conversion 1 (kV)",
154
154
  converterStationNominalVoltage2: "Tension nominale de la station de conversion 2 (kV)",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.64.1",
3
+ "version": "0.64.2",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "engines": {
6
6
  "npm": ">=9",