@arcblock/ux 2.12.31 → 2.12.33
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.
@@ -71,8 +71,10 @@ const CountrySelectInner = /*#__PURE__*/forwardRef(({
|
|
71
71
|
MenuProps: {
|
72
72
|
style: {
|
73
73
|
maxHeight: 400,
|
74
|
-
top: 2
|
74
|
+
top: 2,
|
75
|
+
zIndex: 9999
|
75
76
|
},
|
77
|
+
// 默认 zIndex 为 1300, 但是在 SwipeableDrawer 中需要设置为 9999
|
76
78
|
anchorOrigin: {
|
77
79
|
vertical: 'bottom',
|
78
80
|
horizontal: 'left'
|
@@ -80,7 +82,8 @@ const CountrySelectInner = /*#__PURE__*/forwardRef(({
|
|
80
82
|
transformOrigin: {
|
81
83
|
vertical: 'top',
|
82
84
|
horizontal: 'left'
|
83
|
-
}
|
85
|
+
},
|
86
|
+
...(rest.MenuProps ?? {})
|
84
87
|
},
|
85
88
|
sx: mergeSx({
|
86
89
|
'&.Mui-focused:has(div[aria-expanded="false"])': {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "2.12.
|
3
|
+
"version": "2.12.33",
|
4
4
|
"description": "Common used react components for arcblock products",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -68,12 +68,12 @@
|
|
68
68
|
"react": ">=18.2.0",
|
69
69
|
"react-router-dom": ">=6.22.3"
|
70
70
|
},
|
71
|
-
"gitHead": "
|
71
|
+
"gitHead": "162ee6971c25c30402ea1ff02f55b359edb62d94",
|
72
72
|
"dependencies": {
|
73
73
|
"@arcblock/did-motif": "^1.1.13",
|
74
|
-
"@arcblock/icons": "^2.12.
|
75
|
-
"@arcblock/nft-display": "^2.12.
|
76
|
-
"@arcblock/react-hooks": "^2.12.
|
74
|
+
"@arcblock/icons": "^2.12.33",
|
75
|
+
"@arcblock/nft-display": "^2.12.33",
|
76
|
+
"@arcblock/react-hooks": "^2.12.33",
|
77
77
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
78
78
|
"@fontsource/inter": "^5.0.16",
|
79
79
|
"@fontsource/ubuntu-mono": "^5.0.18",
|
@@ -85,9 +85,10 @@ const CountrySelectInner = forwardRef(
|
|
85
85
|
{...rest}
|
86
86
|
ref={ref}
|
87
87
|
MenuProps={{
|
88
|
-
style: { maxHeight: 400, top: 2 },
|
88
|
+
style: { maxHeight: 400, top: 2, zIndex: 9999 }, // 默认 zIndex 为 1300, 但是在 SwipeableDrawer 中需要设置为 9999
|
89
89
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
90
90
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
91
|
+
...(rest.MenuProps ?? {}),
|
91
92
|
}}
|
92
93
|
sx={mergeSx(
|
93
94
|
{
|