antd-mobile 5.42.0 → 5.42.2-alpha.0
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/2x/bundle/antd-mobile.cjs.development.js +4 -1
- package/2x/bundle/antd-mobile.cjs.js +1 -1
- package/2x/bundle/antd-mobile.es.development.js +4 -1
- package/2x/bundle/antd-mobile.es.js +4 -1
- package/2x/bundle/antd-mobile.umd.development.js +4 -1
- package/2x/bundle/antd-mobile.umd.js +1 -1
- package/2x/bundle/style.css +5 -0
- package/2x/cjs/components/number-keyboard/number-keyboard.js +5 -1
- package/2x/cjs/components/space/space.css +4 -0
- package/2x/cjs/components/virtual-input/virtual-input.css +1 -0
- package/2x/es/components/number-keyboard/number-keyboard.js +5 -1
- package/2x/es/components/space/space.css +4 -0
- package/2x/es/components/virtual-input/virtual-input.css +1 -0
- package/2x/package.json +1 -1
- package/bundle/antd-mobile.cjs.development.js +4 -1
- package/bundle/antd-mobile.cjs.js +1 -1
- package/bundle/antd-mobile.compatible.umd.js +1 -1
- package/bundle/antd-mobile.es.development.js +4 -1
- package/bundle/antd-mobile.es.js +4 -1
- package/bundle/antd-mobile.umd.development.js +4 -1
- package/bundle/antd-mobile.umd.js +1 -1
- package/bundle/style.css +1 -1
- package/cjs/components/number-keyboard/number-keyboard.js +5 -1
- package/cjs/components/space/space.css +3 -0
- package/cjs/components/virtual-input/virtual-input.css +1 -0
- package/es/components/number-keyboard/number-keyboard.js +5 -1
- package/es/components/space/space.css +3 -0
- package/es/components/virtual-input/virtual-input.css +1 -0
- package/package.json +1 -1
- package/umd/antd-mobile.js +1 -1
package/2x/bundle/style.css
CHANGED
|
@@ -2963,6 +2963,10 @@ a.adm-list-item:active:not(.adm-list-item-disabled):after {
|
|
|
2963
2963
|
margin-right: var(--gap-horizontal);
|
|
2964
2964
|
}
|
|
2965
2965
|
|
|
2966
|
+
.adm-space-horizontal>.adm-space-item:last-child {
|
|
2967
|
+
margin-right: 0;
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2966
2970
|
.adm-space-horizontal.adm-space-wrap {
|
|
2967
2971
|
flex-wrap: wrap;
|
|
2968
2972
|
margin-bottom: calc(var(--gap-vertical) * -1);
|
|
@@ -5710,6 +5714,7 @@ a.adm-list-item:active:not(.adm-list-item-disabled):after {
|
|
|
5710
5714
|
overflow-x: scroll;
|
|
5711
5715
|
letter-spacing: 2px;
|
|
5712
5716
|
padding-right: var(--caret-width);
|
|
5717
|
+
outline: none;
|
|
5713
5718
|
scrollbar-width: none;
|
|
5714
5719
|
}
|
|
5715
5720
|
|
|
@@ -172,7 +172,11 @@ const NumberKeyboard = p => {
|
|
|
172
172
|
forceRender: props.forceRender
|
|
173
173
|
}, (0, _nativeProps.withNativeProps)(props, _react.default.createElement("div", {
|
|
174
174
|
ref: keyboardRef,
|
|
175
|
-
className: classPrefix
|
|
175
|
+
className: classPrefix,
|
|
176
|
+
onMouseDown: e => {
|
|
177
|
+
// 点击键盘时,不会触发页面已聚焦元素(如输入框)的 blur 事件
|
|
178
|
+
e.preventDefault();
|
|
179
|
+
}
|
|
176
180
|
}, renderHeader(), _react.default.createElement("div", {
|
|
177
181
|
className: `${classPrefix}-wrapper`
|
|
178
182
|
}, _react.default.createElement("div", {
|
|
@@ -163,7 +163,11 @@ export const NumberKeyboard = p => {
|
|
|
163
163
|
forceRender: props.forceRender
|
|
164
164
|
}, withNativeProps(props, React.createElement("div", {
|
|
165
165
|
ref: keyboardRef,
|
|
166
|
-
className: classPrefix
|
|
166
|
+
className: classPrefix,
|
|
167
|
+
onMouseDown: e => {
|
|
168
|
+
// 点击键盘时,不会触发页面已聚焦元素(如输入框)的 blur 事件
|
|
169
|
+
e.preventDefault();
|
|
170
|
+
}
|
|
167
171
|
}, renderHeader(), React.createElement("div", {
|
|
168
172
|
className: `${classPrefix}-wrapper`
|
|
169
173
|
}, React.createElement("div", {
|
package/2x/package.json
CHANGED
|
@@ -23304,7 +23304,10 @@ const NumberKeyboard = (p) => {
|
|
|
23304
23304
|
forceRender: props.forceRender
|
|
23305
23305
|
}, withNativeProps(props, React$3.createElement("div", {
|
|
23306
23306
|
ref: keyboardRef,
|
|
23307
|
-
className: classPrefix$x
|
|
23307
|
+
className: classPrefix$x,
|
|
23308
|
+
onMouseDown: (e2) => {
|
|
23309
|
+
e2.preventDefault();
|
|
23310
|
+
}
|
|
23308
23311
|
}, renderHeader(), React$3.createElement("div", {
|
|
23309
23312
|
className: `${classPrefix$x}-wrapper`
|
|
23310
23313
|
}, React$3.createElement("div", {
|