@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.
- package/dist/true-react-common-ui-kit.js +6 -5
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +6 -5
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Input/Input.tsx +2 -1
- package/src/components/Input/InputBase.tsx +1 -1
- package/src/components/Select/Select.tsx +1 -0
- package/src/components/TextArea/TextArea.tsx +3 -2
|
@@ -10494,7 +10494,7 @@
|
|
|
10494
10494
|
onFocus: handleFocus,
|
|
10495
10495
|
onBlur: handleBlur,
|
|
10496
10496
|
onChange: handleChange
|
|
10497
|
-
}, trueReactPlatformHelpers.addDataTestId(testId
|
|
10497
|
+
}, trueReactPlatformHelpers.addDataTestId(testId));
|
|
10498
10498
|
React.useEffect(function() {
|
|
10499
10499
|
if (shouldFocusOnMount) {
|
|
10500
10500
|
var _inputRef_current;
|
|
@@ -10638,7 +10638,7 @@
|
|
|
10638
10638
|
return /* @__PURE__ */ jsx(WithMessages, {
|
|
10639
10639
|
errorMessage,
|
|
10640
10640
|
infoMessage,
|
|
10641
|
-
testId,
|
|
10641
|
+
testId: trueReactPlatformHelpers.getTestId(testId, "wrapper"),
|
|
10642
10642
|
tweakStyles: tweakWithMessagesStyles,
|
|
10643
10643
|
children: /* @__PURE__ */ jsx(InputBase, _object_spread_props$H(_object_spread$P({}, inputProps), {
|
|
10644
10644
|
ref,
|
|
@@ -12318,6 +12318,7 @@
|
|
|
12318
12318
|
errorMessage,
|
|
12319
12319
|
infoMessage,
|
|
12320
12320
|
tweakStyles: tweakWithMessagesStyles,
|
|
12321
|
+
testId: trueReactPlatformHelpers.getTestId(testId, "wrapper"),
|
|
12321
12322
|
children: /* @__PURE__ */ jsxs("div", {
|
|
12322
12323
|
className: classes.root,
|
|
12323
12324
|
onKeyDown: handleKeyDown,
|
|
@@ -30582,6 +30583,7 @@
|
|
|
30582
30583
|
errorMessage,
|
|
30583
30584
|
infoMessage,
|
|
30584
30585
|
tweakStyles: tweakWithMessagesStyles,
|
|
30586
|
+
testId: trueReactPlatformHelpers.getTestId(testId, "wrapper"),
|
|
30585
30587
|
children: [
|
|
30586
30588
|
/* @__PURE__ */ jsx(ControlWrapper, _object_spread_props$5(_object_spread$5({
|
|
30587
30589
|
label,
|
|
@@ -30589,8 +30591,7 @@
|
|
|
30589
30591
|
isFocused: hasFocus,
|
|
30590
30592
|
isDisabled,
|
|
30591
30593
|
hasValue,
|
|
30592
|
-
isFullWidth: true
|
|
30593
|
-
testId
|
|
30594
|
+
isFullWidth: true
|
|
30594
30595
|
}, controlProps), {
|
|
30595
30596
|
children: /* @__PURE__ */ jsx("div", _object_spread_props$5(_object_spread$5({
|
|
30596
30597
|
className: clsx(classes.wrapper, _define_property$5({}, classes.autoSized, isAutoSized))
|
|
@@ -30610,7 +30611,7 @@
|
|
|
30610
30611
|
onFocus: handleFocus,
|
|
30611
30612
|
onBlur: handleBlur,
|
|
30612
30613
|
onChange: handleChange
|
|
30613
|
-
}, trueReactPlatformHelpers.addDataAttributes(data, testId
|
|
30614
|
+
}, trueReactPlatformHelpers.addDataAttributes(data, testId)))
|
|
30614
30615
|
}))
|
|
30615
30616
|
})),
|
|
30616
30617
|
hasCounter && trueReactPlatformHelpers.isNotEmpty(maxLength) && /* @__PURE__ */ jsxs("span", {
|