@doist/reactist 28.5.2 → 28.5.4
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/reactist.cjs.development.js +3 -3
- package/dist/reactist.cjs.development.js.map +1 -1
- package/dist/reactist.cjs.production.min.js +1 -1
- package/dist/reactist.cjs.production.min.js.map +1 -1
- package/es/spinner/spinner.js +1 -1
- package/es/spinner/spinner.js.map +1 -1
- package/es/text-area/text-area.js +2 -2
- package/es/text-area/text-area.js.map +1 -1
- package/lib/spinner/spinner.js +1 -1
- package/lib/spinner/spinner.js.map +1 -1
- package/lib/text-area/text-area.js +1 -1
- package/lib/text-area/text-area.js.map +1 -1
- package/package.json +1 -1
- package/styles/index.css +7 -1
|
@@ -577,7 +577,7 @@ var modules_afa80466 = {"banner":"e1b2ef74","image":"_8d3ff024","content":"_1705
|
|
|
577
577
|
var modules_c7f5018f = {"svg":"_51539197","spinner":"_54fbe2b3","tint":"a0c466ed","fill":"_745b73d3"};
|
|
578
578
|
|
|
579
579
|
function Spinner({
|
|
580
|
-
size =
|
|
580
|
+
size = 18
|
|
581
581
|
}) {
|
|
582
582
|
return /*#__PURE__*/React__namespace.createElement("svg", {
|
|
583
583
|
"aria-hidden": true,
|
|
@@ -2439,7 +2439,7 @@ function useAutoExpand({
|
|
|
2439
2439
|
return () => textAreaElement.removeEventListener('input', handleInput);
|
|
2440
2440
|
}, [autoExpand, containerRef, internalRef, isControlled]);
|
|
2441
2441
|
React__namespace.useEffect(function setupAutoExpandWhenControlled() {
|
|
2442
|
-
if (!isControlled) {
|
|
2442
|
+
if (!isControlled || !autoExpand) {
|
|
2443
2443
|
return;
|
|
2444
2444
|
}
|
|
2445
2445
|
|
|
@@ -2448,7 +2448,7 @@ function useAutoExpand({
|
|
|
2448
2448
|
if (containerElement) {
|
|
2449
2449
|
containerElement.dataset.replicatedValue = value;
|
|
2450
2450
|
}
|
|
2451
|
-
}, [value, containerRef, isControlled]);
|
|
2451
|
+
}, [value, containerRef, isControlled, autoExpand]);
|
|
2452
2452
|
}
|
|
2453
2453
|
|
|
2454
2454
|
function getInitials(name) {
|