@ant-design/pro-components 2.3.29 → 2.3.30
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 +19 -15
- package/dist/components.min.js +1 -1
- package/es/version.js +10 -10
- package/package.json +9 -9
package/dist/components.js
CHANGED
|
@@ -27425,9 +27425,13 @@ var compareVersions = function compareVersions(v1, v2) {
|
|
|
27425
27425
|
|
|
27426
27426
|
|
|
27427
27427
|
|
|
27428
|
-
var
|
|
27428
|
+
var getVersion = function getVersion() {
|
|
27429
27429
|
var _process, _process$env;
|
|
27430
|
-
|
|
27430
|
+
if (typeof process === 'undefined') return external_antd_.version;
|
|
27431
|
+
return ((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.ANTD_VERSION) || external_antd_.version;
|
|
27432
|
+
};
|
|
27433
|
+
var openVisibleCompatible = function openVisibleCompatible(open, onOpenChange) {
|
|
27434
|
+
var props = compareVersions(getVersion(), '4.23.0') > -1 ? {
|
|
27431
27435
|
open: open,
|
|
27432
27436
|
onOpenChange: onOpenChange
|
|
27433
27437
|
} : {
|
|
@@ -60885,8 +60889,8 @@ var Alert_style_genProStyle = function genProStyle(token) {
|
|
|
60885
60889
|
return defineProperty_defineProperty({}, token.componentCls, {
|
|
60886
60890
|
marginBlockEnd: 16,
|
|
60887
60891
|
backgroundColor: 'rgba(0,0,0,0.02)',
|
|
60888
|
-
borderRadius:
|
|
60889
|
-
border: '
|
|
60892
|
+
borderRadius: '4px',
|
|
60893
|
+
border: 'none',
|
|
60890
60894
|
'&-container': {
|
|
60891
60895
|
paddingBlock: token.paddingSM,
|
|
60892
60896
|
paddingInline: token.paddingLG
|
|
@@ -60895,7 +60899,7 @@ var Alert_style_genProStyle = function genProStyle(token) {
|
|
|
60895
60899
|
display: 'flex',
|
|
60896
60900
|
alignItems: 'center',
|
|
60897
60901
|
transition: 'all 0.3s',
|
|
60898
|
-
color: token.
|
|
60902
|
+
color: token.colorTextTertiary,
|
|
60899
60903
|
'&-content': {
|
|
60900
60904
|
flex: 1
|
|
60901
60905
|
},
|
|
@@ -85838,17 +85842,17 @@ function BaseProList(props) {
|
|
|
85838
85842
|
/* harmony default export */ var list_es = ((/* unused pure expression or super */ null && (ProList)));
|
|
85839
85843
|
;// CONCATENATED MODULE: ./packages/components/src/version.ts
|
|
85840
85844
|
var version_version = {
|
|
85841
|
-
"@ant-design/pro-card": "2.0.
|
|
85842
|
-
"@ant-design/pro-components": "2.3.
|
|
85843
|
-
"@ant-design/pro-descriptions": "2.0.
|
|
85844
|
-
"@ant-design/pro-field": "2.1.
|
|
85845
|
-
"@ant-design/pro-form": "2.2.
|
|
85846
|
-
"@ant-design/pro-layout": "7.
|
|
85847
|
-
"@ant-design/pro-list": "2.0.
|
|
85848
|
-
"@ant-design/pro-provider": "2.0.
|
|
85845
|
+
"@ant-design/pro-card": "2.0.23",
|
|
85846
|
+
"@ant-design/pro-components": "2.3.29",
|
|
85847
|
+
"@ant-design/pro-descriptions": "2.0.25",
|
|
85848
|
+
"@ant-design/pro-field": "2.1.18",
|
|
85849
|
+
"@ant-design/pro-form": "2.2.16",
|
|
85850
|
+
"@ant-design/pro-layout": "7.2.0",
|
|
85851
|
+
"@ant-design/pro-list": "2.0.26",
|
|
85852
|
+
"@ant-design/pro-provider": "2.0.14",
|
|
85849
85853
|
"@ant-design/pro-skeleton": "2.0.4",
|
|
85850
|
-
"@ant-design/pro-table": "3.1.
|
|
85851
|
-
"@ant-design/pro-utils": "2.3.
|
|
85854
|
+
"@ant-design/pro-table": "3.1.3",
|
|
85855
|
+
"@ant-design/pro-utils": "2.3.1"
|
|
85852
85856
|
};
|
|
85853
85857
|
;// CONCATENATED MODULE: ./packages/components/src/index.tsx
|
|
85854
85858
|
|