@true-engineering/true-react-common-ui-kit 4.0.0-alpha3 → 4.0.0-alpha5

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.
@@ -10506,7 +10506,7 @@ var InputBase = /* @__PURE__ */ forwardRef(function(_param, ref) {
10506
10506
  onFocus: handleFocus,
10507
10507
  onBlur: handleBlur,
10508
10508
  onChange: handleChange
10509
- }, addDataTestId(testId, "input"));
10509
+ }, addDataTestId(testId));
10510
10510
  useEffect(function() {
10511
10511
  if (shouldFocusOnMount) {
10512
10512
  var _inputRef_current;
@@ -10650,7 +10650,7 @@ var Input = /* @__PURE__ */ forwardRef(function(_param, ref) {
10650
10650
  return /* @__PURE__ */ jsx(WithMessages, {
10651
10651
  errorMessage,
10652
10652
  infoMessage,
10653
- testId,
10653
+ testId: getTestId(testId, "wrapper"),
10654
10654
  tweakStyles: tweakWithMessagesStyles,
10655
10655
  children: /* @__PURE__ */ jsx(InputBase, _object_spread_props$H(_object_spread$P({}, inputProps), {
10656
10656
  ref,
@@ -12330,6 +12330,7 @@ function Select(props) {
12330
12330
  errorMessage,
12331
12331
  infoMessage,
12332
12332
  tweakStyles: tweakWithMessagesStyles,
12333
+ testId: getTestId(testId, "wrapper"),
12333
12334
  children: /* @__PURE__ */ jsxs("div", {
12334
12335
  className: classes.root,
12335
12336
  onKeyDown: handleKeyDown,
@@ -30594,6 +30595,7 @@ var TextArea = /* @__PURE__ */ forwardRef(function(_param, ref) {
30594
30595
  errorMessage,
30595
30596
  infoMessage,
30596
30597
  tweakStyles: tweakWithMessagesStyles,
30598
+ testId: getTestId(testId, "wrapper"),
30597
30599
  children: [
30598
30600
  /* @__PURE__ */ jsx(ControlWrapper, _object_spread_props$5(_object_spread$5({
30599
30601
  label,
@@ -30601,8 +30603,7 @@ var TextArea = /* @__PURE__ */ forwardRef(function(_param, ref) {
30601
30603
  isFocused: hasFocus,
30602
30604
  isDisabled,
30603
30605
  hasValue,
30604
- isFullWidth: true,
30605
- testId
30606
+ isFullWidth: true
30606
30607
  }, controlProps), {
30607
30608
  children: /* @__PURE__ */ jsx("div", _object_spread_props$5(_object_spread$5({
30608
30609
  className: clsx(classes.wrapper, _define_property$5({}, classes.autoSized, isAutoSized))
@@ -30622,7 +30623,7 @@ var TextArea = /* @__PURE__ */ forwardRef(function(_param, ref) {
30622
30623
  onFocus: handleFocus,
30623
30624
  onBlur: handleBlur,
30624
30625
  onChange: handleChange
30625
- }, addDataAttributes$1(data, testId, "control")))
30626
+ }, addDataAttributes$1(data, testId)))
30626
30627
  }))
30627
30628
  })),
30628
30629
  hasCounter && isNotEmpty(maxLength) && /* @__PURE__ */ jsxs("span", {