@uiw/react-card
Advanced tools
Comparing version 4.8.9 to 4.9.0
@@ -14,3 +14,3 @@ import React from 'react'; | ||
} | ||
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>; | ||
export default Card; | ||
declare const _default: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>; | ||
export default _default; |
@@ -20,5 +20,3 @@ "use strict"; | ||
function InternalCard() { | ||
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
var ref = arguments.length > 1 ? arguments[1] : undefined; | ||
var _default = /*#__PURE__*/_react.default.forwardRef(function (props, ref) { | ||
var _props$prefixCls = props.prefixCls, | ||
@@ -40,8 +38,2 @@ prefixCls = _props$prefixCls === void 0 ? 'w-card' : _props$prefixCls, | ||
resetProps = (0, _objectWithoutProperties2.default)(props, _excluded); | ||
var divRef = /*#__PURE__*/_react.default.createRef(); | ||
(0, _react.useImperativeHandle)(ref, function () { | ||
return divRef.current; | ||
}); | ||
var cls = (0, _react.useMemo)(function () { | ||
@@ -52,3 +44,3 @@ return [prefixCls, className, bordered ? "".concat(prefixCls, "-bordered") : null, noHover ? "".concat(prefixCls, "-no-hover") : null, active ? 'active' : null].filter(Boolean).join(' ').trim(); | ||
className: cls, | ||
ref: divRef | ||
ref: ref | ||
}), (title || extra) && /*#__PURE__*/_react.default.createElement("div", { | ||
@@ -66,9 +58,6 @@ className: "".concat(prefixCls, "-head") | ||
}, footer)); | ||
} | ||
}); | ||
var Card = /*#__PURE__*/_react.default.forwardRef(InternalCard); | ||
var _default = Card; | ||
exports.default = _default; | ||
module.exports = exports.default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiSW50ZXJuYWxDYXJkIiwicHJvcHMiLCJyZWYiLCJwcmVmaXhDbHMiLCJjbGFzc05hbWUiLCJ0aXRsZSIsImV4dH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HlsZT17Ym9keVN0eWxlfVxuICAgICAgICA+XG4gICAgICAgICAge2NoaWxkcmVufVxuICAgICAgICA8L2Rpdj5cbiAgICAgICl9XG4gICAgICB7Zm9vdGVyICYmIDxkaXYgY2xhc3NOYW1lPXtgJHtwcmVmaXhDbHN9LWZvb3RlcmB9Pntmb290ZXJ9PC9kaXY+fVxuICAgIDwvZGl2PlxuICApO1xufSk7XG4iXX0= |
@@ -14,3 +14,3 @@ import React from 'react'; | ||
} | ||
declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>; | ||
export default Card; | ||
declare const _default: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>; | ||
export default _default; |
import _extends from "@babel/runtime/helpers/extends"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties"; | ||
var _excluded = ["prefixCls", "className", "title", "extra", "footer", "bordered", "noHover", "active", "bodyStyle", "bodyClassName", "children"]; | ||
import React, { useMemo, useImperativeHandle } from 'react'; | ||
import React, { useMemo } from 'react'; | ||
import "./style/index.css"; | ||
function InternalCard() { | ||
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; | ||
var ref = arguments.length > 1 ? arguments[1] : undefined; | ||
export default /*#__PURE__*/React.forwardRef(function (props, ref) { | ||
var _props$prefixCls = props.prefixCls, | ||
@@ -28,6 +24,2 @@ prefixCls = _props$prefixCls === void 0 ? 'w-card' : _props$prefixCls, | ||
var divRef = /*#__PURE__*/React.createRef(); | ||
useImperativeHandle(ref, function () { | ||
return divRef.current; | ||
}); | ||
var cls = useMemo(function () { | ||
@@ -38,3 +30,3 @@ return [prefixCls, className, bordered ? "".concat(prefixCls, "-bordered") : null, noHover ? "".concat(prefixCls, "-no-hover") : null, active ? 'active' : null].filter(Boolean).join(' ').trim(); | ||
className: cls, | ||
ref: divRef | ||
ref: ref | ||
}), (title || extra) && /*#__PURE__*/React.createElement("div", { | ||
@@ -52,6 +44,3 @@ className: "".concat(prefixCls, "-head") | ||
}, footer)); | ||
} | ||
var Card = /*#__PURE__*/React.forwardRef(InternalCard); | ||
export default Card; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJ1c2VNZW1vIiwidXNlSW1wZXJhdGl2ZUhhbmRsZSIsIkludGVybmFsQ2FyZCIsInByb3BzIiwicmVmIiwicHJlZml4Q2xzIiwiY2xhc3NOYW1lIiwidGl0bGUiLCJleHRyYSIsImZvb3RlciIsImJvcmRlcmVkIiwibm9Ib3ZlciIsImFjdGl2ZSIsImJvZHlTdHlsZSIsImJvZHlDbGFzc05hbWUiLCJjaGlsZHJlbiIsInJlc2V0UHJvcHMiLCJkaXZSZWYiLCJjcmVhdGVSZWYiLCJjdXJyZW50IiwiY2xzIiwiZmlsdGVyIiwiQm9vbGVhbiIsImpvaW4iLCJ0cmltIiwiQ2FyZCIsImZvcndhcmRSZWYiXSwibWFwcGluZ3MiOiI7OztBQUFBLE9BQU9BLEtBQVAsSUFBZ0JDLE9BQWhCLEVBQXlCQyxtQkFBekIsUUFBb0QsT0FBcEQ7QUFFQTs7QUFhQSxTQUFTQyxZQUFULEdBTUU7QUFBQSxNQUxBQyxLQUtBLHVFQUxtQixFQUtuQjtBQUFBLE1BSkFDLEdBSUE7O0FBQ0EseUJBYUlELEtBYkosQ0FDRUUsU0FERjtBQUFBLE1BQ0VBLFNBREYsaUNBQ2MsUUFEZDtBQUFBLE1BRUVDLFNBRkYsR0FhSUgsS0FiSixDQUVFRyxTQUZGO0FBQUEsTUFHRUMsS0FIRixHQWFJSixLQWJKLENBR0VJLEtBSEY7QUFBQSxNQUlFQyxLQUpGLEdBYUlMLEtBYkosQ0FJRUssS0FKRjtBQUFBLE1BS0VDLE1BTEYsR0FhSU4sS0FiSixDQUtFTSxNQUxGO0FBQUEsd0JBYUlOLEtBYkosQ0FNRU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PlxuICAgICAgICAgIHt0aXRsZSAmJiA8ZGl2IGNsYXNzTmFtZT17YCR7cHJlZml4Q2xzfS1oZWFkLXRpdGxlYH0+e3RpdGxlfTwvZGl2Pn1cbiAgICAgICAgICB7ZXh0cmEgJiYgPGRpdiBjbGFzc05hbWU9e2Ake3ByZWZpeENsc30tZXh0cmFgfT57ZXh0cmF9PC9kaXY+fVxuICAgICAgICA8L2Rpdj5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4gJiYgKFxuICAgICAgICA8ZGl2XG4gICAgICAgICAgY2xhc3NOYW1lPXtbYCR7cHJlZml4Q2xzfS1ib2R5YCwgYm9keUNsYXNzTmFtZV1cbiAgICAgICAgICAgIC5maWx0ZXIoQm9vbGVhbilcbiAgICAgICAgICAgIC5qb2luKCcgJylcbiAgICAgICAgICAgIC50cmltKCl9XG4gICAgICAgICAgc3R5bGU9e2JvZHlTdHlsZX1cbiAgICAgICAgPlxuICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgPC9kaXY+XG4gICAgICApfVxuICAgICAge2Zvb3RlciAmJiA8ZGl2IGNsYXNzTmFtZT17YCR7cHJlZml4Q2xzfS1mb290ZXJgfT57Zm9vdGVyfTwvZGl2Pn1cbiAgICA8L2Rpdj5cbiAgKTtcbn0pO1xuIl19 |
{ | ||
"name": "@uiw/react-card", | ||
"version": "4.8.9", | ||
"version": "4.9.0", | ||
"description": "Card component", | ||
@@ -45,3 +45,3 @@ "author": "Kenny Wong <wowohoo@qq.com>", | ||
"dependencies": { | ||
"@uiw/utils": "^4.8.9" | ||
"@uiw/utils": "^4.9.0" | ||
}, | ||
@@ -48,0 +48,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26272
238
Updated@uiw/utils@^4.9.0