@ucloud-fe/react-components 1.3.13 → 1.3.15
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/CHANGELOG.md +16 -0
- package/dist/main.min.js +1 -1
- package/lib/components/Tabs/Pane.d.ts +1 -1
- package/lib/components/Tabs/Pane.js +2 -1
- package/package.json +1 -2
|
@@ -26,5 +26,5 @@ export interface DefinedTabPaneProps {
|
|
|
26
26
|
tabKey?: string;
|
|
27
27
|
}
|
|
28
28
|
export declare type TabPaneProps = DefinedTabPaneProps & Omit<HTMLAttributes<HTMLDivElement>, keyof DefinedTabPaneProps>;
|
|
29
|
-
declare const _default: React.MemoExoticComponent<({ className, active, destroyInactiveTabPane, forceRender, placeholder, children, tabKey, ...rest }: TabPaneProps) => JSX.Element>;
|
|
29
|
+
declare const _default: React.MemoExoticComponent<({ className, active, destroyInactiveTabPane, forceRender, placeholder, children, tabKey, tab, ...rest }: TabPaneProps) => JSX.Element>;
|
|
30
30
|
export default _default;
|
|
@@ -23,7 +23,7 @@ var _classnames = _interopRequireDefault(require("classnames"));
|
|
|
23
23
|
|
|
24
24
|
var _style = require("./style");
|
|
25
25
|
|
|
26
|
-
var _excluded = ["className", "active", "destroyInactiveTabPane", "forceRender", "placeholder", "children", "tabKey"];
|
|
26
|
+
var _excluded = ["className", "active", "destroyInactiveTabPane", "forceRender", "placeholder", "children", "tabKey", "tab"];
|
|
27
27
|
|
|
28
28
|
var _this = void 0;
|
|
29
29
|
|
|
@@ -42,6 +42,7 @@ var Pane = function Pane(_ref) {
|
|
|
42
42
|
placeholder = _ref.placeholder,
|
|
43
43
|
children = _ref.children,
|
|
44
44
|
tabKey = _ref.tabKey,
|
|
45
|
+
tab = _ref.tab,
|
|
45
46
|
rest = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
46
47
|
var alreadyActiveRef = (0, _react.useRef)(false);
|
|
47
48
|
var panePrefixCls = "".concat(_style.prefixCls, "-tabpane");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ucloud-fe/react-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.15",
|
|
4
4
|
"title": "UCloud react components",
|
|
5
5
|
"description": "UCloud react components",
|
|
6
6
|
"keywords": [
|
|
@@ -127,7 +127,6 @@
|
|
|
127
127
|
"eslint-plugin-react-hooks": "^4.2.0",
|
|
128
128
|
"file-loader": "^1.1.11",
|
|
129
129
|
"fs-extra": "^9",
|
|
130
|
-
"gitalk": "^1.7.0",
|
|
131
130
|
"html-webpack-plugin": "^4",
|
|
132
131
|
"husky": "^0.14.3",
|
|
133
132
|
"jest": "^26.4.2",
|