@gridsuite/commons-ui 0.119.1 → 0.119.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.
@@ -47,7 +47,8 @@ function CriteriaBasedForm({ equipments, defaultValues, children }) {
47
47
  shouldOpenPopup: openConfirmationPopup,
48
48
  resetOnConfirmation: handleResetOnConfirmation,
49
49
  message: "changeTypeMessage",
50
- validateButtonLabel: "button.changeType"
50
+ validateButtonLabel: "button.changeType",
51
+ "data-testid": "EquipmentTypeSelector"
51
52
  }
52
53
  ) }),
53
54
  /* @__PURE__ */ jsx(Box, { sx: unscrollableDialogStyles.scrollableContent, children: /* @__PURE__ */ jsxs(Grid, { container: true, spacing: 2, children: [
@@ -174,7 +174,8 @@ function ExplicitNamingFilterForm({ sourceFilterForExplicitNamingConversion }) {
174
174
  resetOnConfirmation: handleResetOnConfirmation,
175
175
  message: "changeTypeMessage",
176
176
  validateButtonLabel: "button.changeType",
177
- sx: filterStyles.textField
177
+ sx: filterStyles.textField,
178
+ "data-testid": "EquipmentTypeSelector"
178
179
  }
179
180
  ),
180
181
  sourceFilterForExplicitNamingConversion && /* @__PURE__ */ jsx(
@@ -448,6 +448,7 @@ function TopBar({
448
448
  value: LANG_SYSTEM,
449
449
  "aria-label": LANG_SYSTEM,
450
450
  sx: styles.languageToggleButton,
451
+ "data-testid": "LangSystem",
451
452
  children: /* @__PURE__ */ jsx(Computer, {})
452
453
  }
453
454
  ),
@@ -457,6 +458,7 @@ function TopBar({
457
458
  value: LANG_ENGLISH,
458
459
  "aria-label": LANG_ENGLISH,
459
460
  sx: styles.languageToggleButton,
461
+ "data-testid": "LangEnglish",
460
462
  children: "EN"
461
463
  }
462
464
  ),
@@ -466,6 +468,7 @@ function TopBar({
466
468
  value: LANG_FRENCH,
467
469
  "aria-label": LANG_FRENCH,
468
470
  sx: styles.toggleButton,
471
+ "data-testid": "LangFrench",
469
472
  children: "FR"
470
473
  }
471
474
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gridsuite/commons-ui",
3
- "version": "0.119.1",
3
+ "version": "0.119.2",
4
4
  "description": "common react components for gridsuite applications",
5
5
  "author": "gridsuite team",
6
6
  "homepage": "https://github.com/gridsuite",