@7shifts/sous-chef 3.17.0 → 3.18.0
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/index.modern.js
CHANGED
|
@@ -7827,7 +7827,8 @@ var TextAreaField = function TextAreaField(_ref) {
|
|
|
7827
7827
|
_ref$maxHeight = _ref.maxHeight,
|
|
7828
7828
|
maxHeight = _ref$maxHeight === void 0 ? 320 : _ref$maxHeight,
|
|
7829
7829
|
toolbar = _ref.toolbar,
|
|
7830
|
-
testId = _ref.testId
|
|
7830
|
+
testId = _ref.testId,
|
|
7831
|
+
maxLength = _ref.maxLength;
|
|
7831
7832
|
var containerRef = useRef(null);
|
|
7832
7833
|
var toolbarRef = useRef(null);
|
|
7833
7834
|
|
|
@@ -7887,7 +7888,8 @@ var TextAreaField = function TextAreaField(_ref) {
|
|
|
7887
7888
|
onFocus: function onFocus() {
|
|
7888
7889
|
return setHasFocus(true);
|
|
7889
7890
|
},
|
|
7890
|
-
ref: textAreaRef
|
|
7891
|
+
ref: textAreaRef,
|
|
7892
|
+
maxLength: maxLength
|
|
7891
7893
|
}), toolbar && React__default.createElement("div", {
|
|
7892
7894
|
className: styles$M['text-field__toolbar'],
|
|
7893
7895
|
id: controllers.id + "-toolbar",
|