@televet/kibble-ui 1.12.10-beta.2wp7xv5.0 → 1.12.10

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.
@@ -1,8 +1,7 @@
1
- import React, { ForwardedRef } from 'react';
1
+ import React from 'react';
2
2
  import { TextareaProps as CTextareaProps } from '@chakra-ui/react';
3
3
  import { WithFormControlProps } from '../FormControl/formControl.component';
4
4
  export interface TextareaProps extends WithFormControlProps, CTextareaProps {
5
- textareaRef?: ForwardedRef<HTMLTextAreaElement>;
6
5
  }
7
- declare const WrappedTextArea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
6
+ declare const WrappedTextArea: React.FC<TextareaProps>;
8
7
  export { WrappedTextArea as Textarea };
package/build/index.js CHANGED
@@ -3764,12 +3764,12 @@ var CheckboxConfig = {
3764
3764
  },
3765
3765
  };
3766
3766
 
3767
- var Textarea = withFormControl(function (props) {
3768
- props.isFieldInline; var textareaRef = props.textareaRef, domProps = __rest(props, ["isFieldInline", "textareaRef"]);
3769
- return React__default["default"].createElement(react.Textarea, __assign({ background: colors.background.light, ref: textareaRef }, domProps));
3770
- });
3771
- var WrappedTextArea = React.forwardRef(function (props, ref) { return (React__default["default"].createElement(Textarea, __assign({ textareaRef: ref }, props))); });
3772
- WrappedTextArea.displayName = 'Textarea';
3767
+ var Textarea = function (props) {
3768
+ props.isFieldInline; var domProps = __rest(props, ["isFieldInline"]);
3769
+ return React__default["default"].createElement(react.Textarea, __assign({ background: colors.background.light }, domProps));
3770
+ };
3771
+ Textarea.displayName = 'Textarea';
3772
+ var WrappedTextArea = withFormControl(Textarea);
3773
3773
 
3774
3774
  var FormControlConfig = {
3775
3775
  baseStyle: {