@true-engineering/true-react-common-ui-kit 4.0.0-alpha13 → 4.0.0-alpha14
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/components/TextArea/TextArea.styles.d.ts +0 -1
- package/dist/true-react-common-ui-kit.js +3 -18
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +3 -18
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/components/ControlWrapper/ControlWrapper.styles.ts +1 -1
- package/src/components/NumberInput/NumberInput.stories.tsx +5 -1
- package/src/components/SearchInput/SearchInput.tsx +1 -5
- package/src/components/TextArea/TextArea.styles.ts +0 -6
- package/src/components/TextArea/TextArea.tsx +1 -2
|
@@ -9918,7 +9918,7 @@
|
|
|
9918
9918
|
position: "absolute",
|
|
9919
9919
|
pointerEvents: "none",
|
|
9920
9920
|
left: "var(--control-padding)",
|
|
9921
|
-
top: "
|
|
9921
|
+
top: "calc(var(--control-height) / 2)",
|
|
9922
9922
|
transformOrigin: "top left",
|
|
9923
9923
|
transform: "translateY(-50%)",
|
|
9924
9924
|
transition: animations.defaultTransition,
|
|
@@ -10988,15 +10988,9 @@
|
|
|
10988
10988
|
return target;
|
|
10989
10989
|
}
|
|
10990
10990
|
var SearchInput = /* @__PURE__ */ React.forwardRef(function(_param, ref) {
|
|
10991
|
-
var _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable,
|
|
10992
|
-
_param.data;
|
|
10993
|
-
var props = _object_without_properties$f(_param, [
|
|
10991
|
+
var _param_isClearable = _param.isClearable, isClearable = _param_isClearable === void 0 ? true : _param_isClearable, tweakStyles = _param.tweakStyles, props = _object_without_properties$f(_param, [
|
|
10994
10992
|
"isClearable",
|
|
10995
|
-
"
|
|
10996
|
-
"value",
|
|
10997
|
-
"testId",
|
|
10998
|
-
"tweakStyles",
|
|
10999
|
-
"data"
|
|
10993
|
+
"tweakStyles"
|
|
11000
10994
|
]);
|
|
11001
10995
|
var tweakInputStyles = useTweakStyles({
|
|
11002
10996
|
innerStyles: inputStyles$4,
|
|
@@ -11006,11 +11000,8 @@
|
|
|
11006
11000
|
});
|
|
11007
11001
|
return /* @__PURE__ */ jsx(Input, _object_spread$N({
|
|
11008
11002
|
ref,
|
|
11009
|
-
value,
|
|
11010
|
-
placeholder,
|
|
11011
11003
|
icon: "search",
|
|
11012
11004
|
isClearable,
|
|
11013
|
-
testId: trueReactPlatformHelpers.getTestId(testId, "input"),
|
|
11014
11005
|
tweakStyles: tweakInputStyles
|
|
11015
11006
|
}, props));
|
|
11016
11007
|
});
|
|
@@ -31262,11 +31253,6 @@
|
|
|
31262
31253
|
},
|
|
31263
31254
|
withLabel: {}
|
|
31264
31255
|
});
|
|
31265
|
-
var controlWrapperStyles = {
|
|
31266
|
-
label: {
|
|
31267
|
-
top: 16
|
|
31268
|
-
}
|
|
31269
|
-
};
|
|
31270
31256
|
function _array_like_to_array(arr, len) {
|
|
31271
31257
|
if (len == null || len > arr.length)
|
|
31272
31258
|
len = arr.length;
|
|
@@ -31449,7 +31435,6 @@
|
|
|
31449
31435
|
currentComponentName: "TextArea"
|
|
31450
31436
|
});
|
|
31451
31437
|
var tweakControlWrapperStyles = useTweakStyles({
|
|
31452
|
-
innerStyles: controlWrapperStyles,
|
|
31453
31438
|
tweakStyles,
|
|
31454
31439
|
className: "tweakControlWrapper",
|
|
31455
31440
|
currentComponentName: "TextArea"
|