@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 +1 -1
- package/dist/components/card/CCardImage.d.ts +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/card/CCardImage.tsx +2 -2
- package/src/components/form/CFormTextarea.tsx +1 -1
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.
|
|
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,
|
|
2
|
-
export interface CCardImageProps extends
|
|
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';
|