@coreui/react 4.2.0 → 4.2.1

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/README.md CHANGED
@@ -43,7 +43,7 @@
43
43
 
44
44
  Several quick start options are available:
45
45
 
46
- - [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.2.0.zip)
46
+ - [Download the latest release](https://github.com/coreui/coreui-react/archive/v4.2.1.zip)
47
47
  - Clone the repo: `git clone https://github.com/coreui/coreui-react.git`
48
48
  - Install with [npm](https://www.npmjs.com/): `npm install @coreui/react`
49
49
  - Install with [yarn](https://yarnpkg.com/): `yarn add @coreui/react`
@@ -1,5 +1,5 @@
1
- import React, { ElementType, HTMLAttributes } from 'react';
2
- export interface CCardImageProps extends HTMLAttributes<HTMLImageElement | HTMLOrSVGElement | HTMLOrSVGImageElement> {
1
+ import React, { ElementType, ImgHTMLAttributes } from 'react';
2
+ export interface CCardImageProps extends ImgHTMLAttributes<HTMLImageElement | HTMLOrSVGElement | HTMLOrSVGImageElement> {
3
3
  /**
4
4
  * A string of all className you want applied to the base component.
5
5
  */
package/dist/index.es.js CHANGED
@@ -6107,7 +6107,7 @@ var CFormTextarea = forwardRef(function (_a, ref) {
6107
6107
  'is-valid': valid,
6108
6108
  }, className);
6109
6109
  return (React__default.createElement(CFormControlWrapper, { describedby: rest['aria-describedby'], feedback: feedback, feedbackInvalid: feedbackInvalid, feedbackValid: feedbackValid, floatingLabel: floatingLabel, id: id, invalid: invalid, label: label, text: text, tooltipFeedback: tooltipFeedback, valid: valid },
6110
- React__default.createElement("textarea", __assign({ className: _className }, rest, { ref: ref }), children)));
6110
+ React__default.createElement("textarea", __assign({ className: _className, id: id }, rest, { ref: ref }), children)));
6111
6111
  });
6112
6112
  CFormTextarea.propTypes = __assign({ className: PropTypes.string, id: PropTypes.string, plainText: PropTypes.bool }, CFormControlWrapper.propTypes);
6113
6113
  CFormTextarea.displayName = 'CFormTextarea';