@ant-design/pro-components 2.3.0 → 2.3.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/dist/components.js +51 -12
- package/dist/components.min.js +1 -1
- package/es/version.js +9 -9
- package/package.json +6 -6
package/dist/components.js
CHANGED
|
@@ -38729,8 +38729,47 @@ StatisticCard.Group = StatisticCard_Group;
|
|
|
38729
38729
|
;// CONCATENATED MODULE: ./packages/card/es/components/TabPane/index.js
|
|
38730
38730
|
|
|
38731
38731
|
|
|
38732
|
-
var
|
|
38733
|
-
|
|
38732
|
+
var TabPane_excluded = ["key", "tab", "tabKey", "disabled", "destroyInactiveTabPane", "children", "className", "style", "cardProps"];
|
|
38733
|
+
|
|
38734
|
+
|
|
38735
|
+
|
|
38736
|
+
|
|
38737
|
+
|
|
38738
|
+
|
|
38739
|
+
var TabPane = function TabPane(props) {
|
|
38740
|
+
var _useContext = (0,external_React_.useContext)(external_antd_.ConfigProvider.ConfigContext),
|
|
38741
|
+
getPrefixCls = _useContext.getPrefixCls; // 如果是antd v5 则返回为空
|
|
38742
|
+
|
|
38743
|
+
|
|
38744
|
+
if (external_antd_.version.startsWith('5')) {
|
|
38745
|
+
return (0,jsx_runtime.jsx)(jsx_runtime.Fragment, {});
|
|
38746
|
+
} else {
|
|
38747
|
+
var key = props.key,
|
|
38748
|
+
tab = props.tab,
|
|
38749
|
+
tabKey = props.tabKey,
|
|
38750
|
+
disabled = props.disabled,
|
|
38751
|
+
destroyInactiveTabPane = props.destroyInactiveTabPane,
|
|
38752
|
+
children = props.children,
|
|
38753
|
+
className = props.className,
|
|
38754
|
+
style = props.style,
|
|
38755
|
+
cardProps = props.cardProps,
|
|
38756
|
+
rest = objectWithoutProperties_objectWithoutProperties(props, TabPane_excluded);
|
|
38757
|
+
|
|
38758
|
+
var prefixCls = getPrefixCls('pro-card-tabpane');
|
|
38759
|
+
var tabPaneClassName = classnames_default()(prefixCls, className);
|
|
38760
|
+
return (0,jsx_runtime.jsx)(external_antd_.Tabs.TabPane, objectSpread2_objectSpread2(objectSpread2_objectSpread2({
|
|
38761
|
+
tabKey: tabKey,
|
|
38762
|
+
tab: tab,
|
|
38763
|
+
className: tabPaneClassName,
|
|
38764
|
+
style: style,
|
|
38765
|
+
disabled: disabled,
|
|
38766
|
+
destroyInactiveTabPane: destroyInactiveTabPane
|
|
38767
|
+
}, rest), {}, {
|
|
38768
|
+
children: (0,jsx_runtime.jsx)(components_Card, objectSpread2_objectSpread2(objectSpread2_objectSpread2({}, cardProps), {}, {
|
|
38769
|
+
children: children
|
|
38770
|
+
}))
|
|
38771
|
+
}), key);
|
|
38772
|
+
}
|
|
38734
38773
|
};
|
|
38735
38774
|
|
|
38736
38775
|
if (false) {}
|
|
@@ -58555,7 +58594,7 @@ var Group_style_genProStyle = function genProStyle(token) {
|
|
|
58555
58594
|
}), defineProperty_defineProperty(_twoLine, "".concat(token.componentCls, "-container"), {
|
|
58556
58595
|
paddingInlineStart: 16
|
|
58557
58596
|
}), defineProperty_defineProperty(_twoLine, "".concat(token.antCls, "-space-item,").concat(token.antCls, "-form-item"), {
|
|
58558
|
-
|
|
58597
|
+
width: '100%'
|
|
58559
58598
|
}), defineProperty_defineProperty(_twoLine, "".concat(token.antCls, "-form-item"), {
|
|
58560
58599
|
'&-control': {
|
|
58561
58600
|
display: 'flex',
|
|
@@ -105965,17 +106004,17 @@ function BaseProList(props) {
|
|
|
105965
106004
|
/* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
|
|
105966
106005
|
;// CONCATENATED MODULE: ./packages/components/src/version.ts
|
|
105967
106006
|
var version_version = {
|
|
105968
|
-
"@ant-design/pro-card": "2.0.0-experimental.
|
|
105969
|
-
"@ant-design/pro-components": "2.
|
|
105970
|
-
"@ant-design/pro-descriptions": "2.0.0-experimental.
|
|
105971
|
-
"@ant-design/pro-field": "2.0.0-experimental.
|
|
105972
|
-
"@ant-design/pro-form": "2.0.0-experimental.
|
|
105973
|
-
"@ant-design/pro-layout": "7.0.0-experimental.
|
|
105974
|
-
"@ant-design/pro-list": "2.0.0-experimental.
|
|
106007
|
+
"@ant-design/pro-card": "2.0.0-experimental.24",
|
|
106008
|
+
"@ant-design/pro-components": "2.3.0",
|
|
106009
|
+
"@ant-design/pro-descriptions": "2.0.0-experimental.25",
|
|
106010
|
+
"@ant-design/pro-field": "2.0.0-experimental.24",
|
|
106011
|
+
"@ant-design/pro-form": "2.0.0-experimental.25",
|
|
106012
|
+
"@ant-design/pro-layout": "7.0.0-experimental.36",
|
|
106013
|
+
"@ant-design/pro-list": "2.0.0-experimental.26",
|
|
105975
106014
|
"@ant-design/pro-provider": "2.0.0-experimental.14",
|
|
105976
106015
|
"@ant-design/pro-skeleton": "2.0.0-experimental.9",
|
|
105977
|
-
"@ant-design/pro-table": "3.0.0-experimental.
|
|
105978
|
-
"@ant-design/pro-utils": "2.0.0-experimental.
|
|
106016
|
+
"@ant-design/pro-table": "3.0.0-experimental.26",
|
|
106017
|
+
"@ant-design/pro-utils": "2.0.0-experimental.23"
|
|
105979
106018
|
};
|
|
105980
106019
|
;// CONCATENATED MODULE: ./packages/components/src/index.tsx
|
|
105981
106020
|
|