@gridsuite/commons-ui 0.119.0 → 0.119.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.
@@ -106,7 +106,8 @@ function ExpertFilterForm() {
106
106
  resetOnConfirmation: handleResetOnConfirmation,
107
107
  message: "changeTypeMessage",
108
108
  validateButtonLabel: "button.changeType",
109
- sx: filterStyles.textField
109
+ sx: filterStyles.textField,
110
+ "data-testid": "EquipmentTypeSelector"
110
111
  }
111
112
  ) }),
112
113
  /* @__PURE__ */ jsx(Box, { sx: unscrollableDialogStyles.scrollableContent, children: watchEquipmentType && isSupportedEquipmentType(watchEquipmentType) && /* @__PURE__ */ jsx(CustomReactQueryBuilder, { name: EXPERT_FILTER_QUERY, fields: translatedFields }) })
@@ -22,7 +22,7 @@ function DescriptionField({ expandingTextSx }) {
22
22
  setIsDescriptionFieldVisible(true);
23
23
  }
24
24
  }, [description]);
25
- return /* @__PURE__ */ jsx(Box, { children: !isDescriptionFieldVisible ? /* @__PURE__ */ jsx(Button, { startIcon: /* @__PURE__ */ jsx(ControlPoint, {}), onClick: handleOpenDescription, children: /* @__PURE__ */ jsx(FormattedMessage, { id: "AddDescription" }) }) : /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "flex-start" }, children: [
25
+ return /* @__PURE__ */ jsx(Box, { children: !isDescriptionFieldVisible ? /* @__PURE__ */ jsx(Button, { startIcon: /* @__PURE__ */ jsx(ControlPoint, {}), onClick: handleOpenDescription, "data-testid": "AddDescriptionButton", children: /* @__PURE__ */ jsx(FormattedMessage, { id: "AddDescription" }) }) : /* @__PURE__ */ jsxs(Box, { sx: { display: "flex", alignItems: "flex-start" }, children: [
26
26
  /* @__PURE__ */ jsx(
27
27
  ExpandingTextField,
28
28
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.119.0",
3
+ "version": "0.119.1",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "author": "gridsuite team",
6
6
  "homepage": "https://github.com/gridsuite",