antd-mobile 5.27.0 → 5.28.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.
Files changed (154) hide show
  1. package/2x/README.md +1 -1
  2. package/2x/bundle/antd-mobile.cjs.development.js +681 -950
  3. package/2x/bundle/antd-mobile.cjs.js +9 -9
  4. package/2x/bundle/antd-mobile.es.development.js +681 -950
  5. package/2x/bundle/antd-mobile.es.js +5047 -5350
  6. package/2x/bundle/antd-mobile.umd.development.js +677 -946
  7. package/2x/bundle/antd-mobile.umd.js +9 -9
  8. package/2x/bundle/css-vars-patch.css +4 -0
  9. package/2x/bundle/style.css +0 -1
  10. package/2x/cjs/components/calendar/calendar.d.ts +1 -0
  11. package/2x/cjs/components/calendar/calendar.js +1 -1
  12. package/2x/cjs/components/cascader/cascader.patch.css +3 -0
  13. package/2x/cjs/components/ellipsis/ellipsis.d.ts +1 -0
  14. package/2x/cjs/components/ellipsis/ellipsis.js +3 -2
  15. package/2x/cjs/components/footer/footer.js +3 -3
  16. package/2x/cjs/components/input/input.js +1 -0
  17. package/2x/cjs/components/nav-bar/nav-bar.d.ts +2 -2
  18. package/2x/cjs/components/popup/popup.js +7 -1
  19. package/2x/cjs/components/steps/steps.css +0 -1
  20. package/2x/cjs/components/swiper/index.d.ts +1 -0
  21. package/2x/cjs/components/swiper/swiper.d.ts +9 -0
  22. package/2x/cjs/components/swiper/swiper.js +24 -5
  23. package/2x/cjs/components/text-area/text-area.js +4 -1
  24. package/2x/cjs/global/css-vars-patch.css +4 -0
  25. package/2x/cjs/locales/base.d.ts +1 -0
  26. package/2x/cjs/locales/base.js +2 -1
  27. package/2x/cjs/locales/en-US.d.ts +1 -0
  28. package/2x/cjs/locales/es-ES.d.ts +1 -0
  29. package/2x/cjs/locales/fa-IR.d.ts +1 -0
  30. package/2x/cjs/locales/fr-FR.d.ts +1 -0
  31. package/2x/cjs/locales/id-ID.d.ts +1 -0
  32. package/2x/cjs/locales/ja-JP.d.ts +1 -0
  33. package/2x/cjs/locales/kk-KZ.d.ts +1 -0
  34. package/2x/cjs/locales/ko-KR.d.ts +1 -0
  35. package/2x/cjs/locales/zh-CN.d.ts +1 -0
  36. package/2x/cjs/locales/zh-CN.js +2 -1
  37. package/2x/cjs/locales/zh-HK.d.ts +1 -0
  38. package/2x/cjs/locales/zh-HK.js +2 -1
  39. package/2x/cjs/locales/zh-TW.d.ts +1 -0
  40. package/2x/cjs/locales/zh-TW.js +2 -1
  41. package/2x/cjs/utils/with-func-props.d.ts +5 -0
  42. package/2x/cjs/utils/with-func-props.js +25 -0
  43. package/2x/es/components/calendar/calendar.d.ts +1 -0
  44. package/2x/es/components/calendar/calendar.js +1 -1
  45. package/2x/es/components/cascader/cascader.patch.css +3 -0
  46. package/2x/es/components/ellipsis/ellipsis.d.ts +1 -0
  47. package/2x/es/components/ellipsis/ellipsis.js +3 -2
  48. package/2x/es/components/footer/footer.js +1 -1
  49. package/2x/es/components/input/input.js +1 -0
  50. package/2x/es/components/nav-bar/nav-bar.d.ts +2 -2
  51. package/2x/es/components/popup/popup.js +7 -1
  52. package/2x/es/components/steps/steps.css +0 -1
  53. package/2x/es/components/swiper/index.d.ts +1 -0
  54. package/2x/es/components/swiper/swiper.d.ts +9 -0
  55. package/2x/es/components/swiper/swiper.js +24 -5
  56. package/2x/es/components/text-area/text-area.js +4 -1
  57. package/2x/es/global/css-vars-patch.css +4 -0
  58. package/2x/es/locales/base.d.ts +1 -0
  59. package/2x/es/locales/base.js +2 -1
  60. package/2x/es/locales/en-US.d.ts +1 -0
  61. package/2x/es/locales/es-ES.d.ts +1 -0
  62. package/2x/es/locales/fa-IR.d.ts +1 -0
  63. package/2x/es/locales/fr-FR.d.ts +1 -0
  64. package/2x/es/locales/id-ID.d.ts +1 -0
  65. package/2x/es/locales/ja-JP.d.ts +1 -0
  66. package/2x/es/locales/kk-KZ.d.ts +1 -0
  67. package/2x/es/locales/ko-KR.d.ts +1 -0
  68. package/2x/es/locales/zh-CN.d.ts +1 -0
  69. package/2x/es/locales/zh-CN.js +2 -1
  70. package/2x/es/locales/zh-HK.d.ts +1 -0
  71. package/2x/es/locales/zh-HK.js +2 -1
  72. package/2x/es/locales/zh-TW.d.ts +1 -0
  73. package/2x/es/locales/zh-TW.js +2 -1
  74. package/2x/es/utils/with-func-props.d.ts +5 -0
  75. package/2x/es/utils/with-func-props.js +19 -0
  76. package/2x/package.json +2 -2
  77. package/README.md +1 -1
  78. package/bundle/antd-mobile.cjs.development.js +681 -950
  79. package/bundle/antd-mobile.cjs.js +9 -9
  80. package/bundle/antd-mobile.compatible.umd.js +1 -1
  81. package/bundle/antd-mobile.es.development.js +681 -950
  82. package/bundle/antd-mobile.es.js +5047 -5350
  83. package/bundle/antd-mobile.umd.development.js +677 -946
  84. package/bundle/antd-mobile.umd.js +9 -9
  85. package/bundle/css-vars-patch.css +3 -0
  86. package/bundle/style.css +1 -1
  87. package/cjs/components/calendar/calendar.d.ts +1 -0
  88. package/cjs/components/calendar/calendar.js +1 -1
  89. package/cjs/components/cascader/cascader.patch.css +3 -0
  90. package/cjs/components/ellipsis/ellipsis.d.ts +1 -0
  91. package/cjs/components/ellipsis/ellipsis.js +3 -2
  92. package/cjs/components/footer/footer.js +3 -3
  93. package/cjs/components/input/input.js +1 -0
  94. package/cjs/components/nav-bar/nav-bar.d.ts +2 -2
  95. package/cjs/components/popup/popup.js +7 -1
  96. package/cjs/components/steps/steps.css +0 -1
  97. package/cjs/components/swiper/index.d.ts +1 -0
  98. package/cjs/components/swiper/swiper.d.ts +9 -0
  99. package/cjs/components/swiper/swiper.js +24 -5
  100. package/cjs/components/text-area/text-area.js +4 -1
  101. package/cjs/global/css-vars-patch.css +3 -0
  102. package/cjs/locales/base.d.ts +1 -0
  103. package/cjs/locales/base.js +2 -1
  104. package/cjs/locales/en-US.d.ts +1 -0
  105. package/cjs/locales/es-ES.d.ts +1 -0
  106. package/cjs/locales/fa-IR.d.ts +1 -0
  107. package/cjs/locales/fr-FR.d.ts +1 -0
  108. package/cjs/locales/id-ID.d.ts +1 -0
  109. package/cjs/locales/ja-JP.d.ts +1 -0
  110. package/cjs/locales/kk-KZ.d.ts +1 -0
  111. package/cjs/locales/ko-KR.d.ts +1 -0
  112. package/cjs/locales/zh-CN.d.ts +1 -0
  113. package/cjs/locales/zh-CN.js +2 -1
  114. package/cjs/locales/zh-HK.d.ts +1 -0
  115. package/cjs/locales/zh-HK.js +2 -1
  116. package/cjs/locales/zh-TW.d.ts +1 -0
  117. package/cjs/locales/zh-TW.js +2 -1
  118. package/cjs/utils/with-func-props.d.ts +5 -0
  119. package/cjs/utils/with-func-props.js +25 -0
  120. package/es/components/calendar/calendar.d.ts +1 -0
  121. package/es/components/calendar/calendar.js +1 -1
  122. package/es/components/cascader/cascader.patch.css +3 -0
  123. package/es/components/ellipsis/ellipsis.d.ts +1 -0
  124. package/es/components/ellipsis/ellipsis.js +3 -2
  125. package/es/components/footer/footer.js +1 -1
  126. package/es/components/input/input.js +1 -0
  127. package/es/components/nav-bar/nav-bar.d.ts +2 -2
  128. package/es/components/popup/popup.js +7 -1
  129. package/es/components/steps/steps.css +0 -1
  130. package/es/components/swiper/index.d.ts +1 -0
  131. package/es/components/swiper/swiper.d.ts +9 -0
  132. package/es/components/swiper/swiper.js +24 -5
  133. package/es/components/text-area/text-area.js +4 -1
  134. package/es/global/css-vars-patch.css +3 -0
  135. package/es/locales/base.d.ts +1 -0
  136. package/es/locales/base.js +2 -1
  137. package/es/locales/en-US.d.ts +1 -0
  138. package/es/locales/es-ES.d.ts +1 -0
  139. package/es/locales/fa-IR.d.ts +1 -0
  140. package/es/locales/fr-FR.d.ts +1 -0
  141. package/es/locales/id-ID.d.ts +1 -0
  142. package/es/locales/ja-JP.d.ts +1 -0
  143. package/es/locales/kk-KZ.d.ts +1 -0
  144. package/es/locales/ko-KR.d.ts +1 -0
  145. package/es/locales/zh-CN.d.ts +1 -0
  146. package/es/locales/zh-CN.js +2 -1
  147. package/es/locales/zh-HK.d.ts +1 -0
  148. package/es/locales/zh-HK.js +2 -1
  149. package/es/locales/zh-TW.d.ts +1 -0
  150. package/es/locales/zh-TW.js +2 -1
  151. package/es/utils/with-func-props.d.ts +5 -0
  152. package/es/utils/with-func-props.js +19 -0
  153. package/package.json +2 -2
  154. package/umd/antd-mobile.js +1 -1
@@ -1,6 +1,12 @@
1
1
  import React, { ReactElement, ReactNode } from 'react';
2
2
  import { NativeProps } from '../../utils/native-props';
3
3
  import { PageIndicatorProps } from '../page-indicator';
4
+ declare const eventToPropRecord: {
5
+ readonly mousedown: "onMouseDown";
6
+ readonly mousemove: "onMouseMove";
7
+ readonly mouseup: "onMouseUp";
8
+ };
9
+ declare type PropagationEvent = keyof typeof eventToPropRecord;
4
10
  export declare type SwiperRef = {
5
11
  swipeTo: (index: number) => void;
6
12
  swipeNext: () => void;
@@ -20,6 +26,7 @@ export declare type SwiperProps = {
20
26
  trackOffset?: number;
21
27
  stuckAtBoundary?: boolean;
22
28
  rubberband?: boolean;
29
+ stopPropagation?: PropagationEvent[];
23
30
  children?: ReactElement | ReactElement[];
24
31
  } & NativeProps<'--height' | '--width' | '--border-radius' | '--track-padding'>;
25
32
  export declare const Swiper: React.ForwardRefExoticComponent<{
@@ -36,9 +43,11 @@ export declare const Swiper: React.ForwardRefExoticComponent<{
36
43
  trackOffset?: number | undefined;
37
44
  stuckAtBoundary?: boolean | undefined;
38
45
  rubberband?: boolean | undefined;
46
+ stopPropagation?: ("mousedown" | "mousemove" | "mouseup")[] | undefined;
39
47
  children?: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[] | undefined;
40
48
  } & {
41
49
  className?: string | undefined;
42
50
  style?: (React.CSSProperties & Partial<Record<"--width" | "--height" | "--border-radius" | "--track-padding", string>>) | undefined;
43
51
  tabIndex?: number | undefined;
44
52
  } & React.AriaAttributes & React.RefAttributes<SwiperRef>>;
53
+ export {};
@@ -11,7 +11,13 @@ import { staged } from 'staged-components';
11
11
  import { useRefState } from '../../utils/use-ref-state';
12
12
  import { bound } from '../../utils/bound';
13
13
  import { useIsomorphicLayoutEffect, useUpdateEffect } from 'ahooks';
14
+ import { mergeFuncProps } from '../../utils/with-func-props';
14
15
  const classPrefix = `adm-swiper`;
16
+ const eventToPropRecord = {
17
+ 'mousedown': 'onMouseDown',
18
+ 'mousemove': 'onMouseMove',
19
+ 'mouseup': 'onMouseUp'
20
+ };
15
21
  const defaultProps = {
16
22
  defaultIndex: 0,
17
23
  allowTouchMove: true,
@@ -22,7 +28,8 @@ const defaultProps = {
22
28
  slideSize: 100,
23
29
  trackOffset: 0,
24
30
  stuckAtBoundary: true,
25
- rubberband: true
31
+ rubberband: true,
32
+ stopPropagation: []
26
33
  };
27
34
  let currentUid;
28
35
  export const Swiper = forwardRef(staged((p, ref) => {
@@ -196,11 +203,14 @@ export const Swiper = forwardRef(staged((p, ref) => {
196
203
  } = props;
197
204
  useEffect(() => {
198
205
  if (!autoplay || dragging) return;
199
- const interval = window.setInterval(() => {
206
+ let interval;
207
+ function tick() {
208
+ interval = window.setTimeout(tick, autoplayInterval);
200
209
  swipeNext();
201
- }, autoplayInterval);
210
+ }
211
+ interval = window.setTimeout(tick, autoplayInterval);
202
212
  return () => {
203
- window.clearInterval(interval);
213
+ if (interval) window.clearTimeout(interval);
204
214
  };
205
215
  }, [autoplay, autoplayInterval, dragging, count]);
206
216
  function renderTrackInner() {
@@ -239,6 +249,15 @@ export const Swiper = forwardRef(staged((p, ref) => {
239
249
  '--slide-size': `${props.slideSize}%`,
240
250
  '--track-offset': `${props.trackOffset}%`
241
251
  };
252
+ const dragProps = Object.assign({}, props.allowTouchMove ? bind() : {});
253
+ const stopPropagationProps = {};
254
+ for (const key of props.stopPropagation) {
255
+ const prop = eventToPropRecord[key];
256
+ stopPropagationProps[prop] = function (e) {
257
+ e.stopPropagation();
258
+ };
259
+ }
260
+ const mergedProps = mergeFuncProps(dragProps, stopPropagationProps);
242
261
  return withNativeProps(props, React.createElement("div", {
243
262
  className: classNames(classPrefix, `${classPrefix}-${props.direction}`),
244
263
  style: style
@@ -253,7 +272,7 @@ export const Swiper = forwardRef(staged((p, ref) => {
253
272
  }
254
273
  forceCancelDrag();
255
274
  }
256
- }, props.allowTouchMove ? bind() : {}), renderTrackInner()), props.indicator === undefined ? React.createElement("div", {
275
+ }, mergedProps), renderTrackInner()), props.indicator === undefined ? React.createElement("div", {
257
276
  className: `${classPrefix}-indicator`
258
277
  }, React.createElement(PageIndicator, Object.assign({}, props.indicatorProps, {
259
278
  total: count,
@@ -25,6 +25,8 @@ export const TextArea = forwardRef((p, ref) => {
25
25
  devError('TextArea', '`value` prop on `TextArea` should not be `null`. Consider using an empty string to clear the component.');
26
26
  }
27
27
  const nativeTextAreaRef = useRef(null);
28
+ // https://github.com/ant-design/ant-design-mobile/issues/5961
29
+ const heightRef = useRef('auto');
28
30
  useImperativeHandle(ref, () => ({
29
31
  clear: () => {
30
32
  setValue('');
@@ -45,7 +47,7 @@ export const TextArea = forwardRef((p, ref) => {
45
47
  if (!autoSize) return;
46
48
  const textArea = nativeTextAreaRef.current;
47
49
  if (!textArea) return;
48
- textArea.style.height = 'auto';
50
+ textArea.style.height = heightRef.current;
49
51
  let height = textArea.scrollHeight;
50
52
  if (typeof autoSize === 'object') {
51
53
  const computedStyle = window.getComputedStyle(textArea);
@@ -57,6 +59,7 @@ export const TextArea = forwardRef((p, ref) => {
57
59
  height = Math.min(height, autoSize.maxRows * lineHeight);
58
60
  }
59
61
  }
62
+ heightRef.current = `${height}px`;
60
63
  textArea.style.height = `${height}px`;
61
64
  }, [value, autoSize]);
62
65
  const compositingRef = useRef(false);
@@ -106,6 +106,10 @@
106
106
  border-radius: 0;
107
107
  }
108
108
 
109
+ .adm-cascader .adm-cascader-view-content {
110
+ height: 620px;
111
+ }
112
+
109
113
  .adm-center-popup {
110
114
  z-index: 1000;
111
115
  }
@@ -4,6 +4,7 @@ export declare const base: {
4
4
  confirm: string;
5
5
  cancel: string;
6
6
  loading: string;
7
+ close: string;
7
8
  };
8
9
  Calendar: {
9
10
  markItems: string[];
@@ -4,7 +4,8 @@ export const base = {
4
4
  common: {
5
5
  confirm: 'Confirm',
6
6
  cancel: 'Cancel',
7
- loading: 'Loading'
7
+ loading: 'Loading',
8
+ close: 'Close'
8
9
  },
9
10
  Calendar: {
10
11
  markItems: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
@@ -4,6 +4,7 @@ declare const enUS: {
4
4
  confirm: string;
5
5
  cancel: string;
6
6
  loading: string;
7
+ close: string;
7
8
  };
8
9
  Calendar: {
9
10
  markItems: string[];
@@ -4,6 +4,7 @@ declare const esES: {
4
4
  confirm: string;
5
5
  cancel: string;
6
6
  loading: string;
7
+ close: string;
7
8
  };
8
9
  Calendar: {
9
10
  markItems: string[];
@@ -4,6 +4,7 @@ declare const faIR: {
4
4
  confirm: string;
5
5
  cancel: string;
6
6
  loading: string;
7
+ close: string;
7
8
  };
8
9
  Calendar: {
9
10
  markItems: string[];
@@ -4,6 +4,7 @@ declare const frFR: {
4
4
  confirm: string;
5
5
  cancel: string;
6
6
  loading: string;
7
+ close: string;
7
8
  };
8
9
  Calendar: {
9
10
  markItems: string[];
@@ -4,6 +4,7 @@ declare const idID: {
4
4
  confirm: string;
5
5
  cancel: string;
6
6
  loading: string;
7
+ close: string;
7
8
  };
8
9
  Calendar: {
9
10
  markItems: string[];
@@ -4,6 +4,7 @@ declare const jaJP: {
4
4
  confirm: string;
5
5
  cancel: string;
6
6
  loading: string;
7
+ close: string;
7
8
  };
8
9
  Calendar: {
9
10
  markItems: string[];
@@ -4,6 +4,7 @@ declare const kkKZ: {
4
4
  confirm: string;
5
5
  cancel: string;
6
6
  loading: string;
7
+ close: string;
7
8
  };
8
9
  Calendar: {
9
10
  markItems: string[];
@@ -4,6 +4,7 @@ declare const koKR: {
4
4
  confirm: string;
5
5
  cancel: string;
6
6
  loading: string;
7
+ close: string;
7
8
  };
8
9
  Calendar: {
9
10
  markItems: string[];
@@ -4,6 +4,7 @@ declare const zhCN: {
4
4
  confirm: string;
5
5
  cancel: string;
6
6
  loading: string;
7
+ close: string;
7
8
  };
8
9
  Calendar: {
9
10
  markItems: string[];
@@ -6,7 +6,8 @@ const zhCN = mergeLocale(base, {
6
6
  common: {
7
7
  confirm: '确定',
8
8
  cancel: '取消',
9
- loading: '加载中'
9
+ loading: '加载中',
10
+ close: '关闭'
10
11
  },
11
12
  Calendar: {
12
13
  markItems: ['一', '二', '三', '四', '五', '六', '日'],
@@ -4,6 +4,7 @@ declare const zhHK: {
4
4
  confirm: string;
5
5
  cancel: string;
6
6
  loading: string;
7
+ close: string;
7
8
  };
8
9
  Calendar: {
9
10
  markItems: string[];
@@ -6,7 +6,8 @@ const zhHK = mergeLocale(base, {
6
6
  common: {
7
7
  confirm: '確定',
8
8
  cancel: '取消',
9
- loading: '加載中'
9
+ loading: '加載中',
10
+ close: '關閉'
10
11
  },
11
12
  Calendar: {
12
13
  markItems: ['一', '二', '三', '四', '五', '六', '日'],
@@ -4,6 +4,7 @@ declare const zhTW: {
4
4
  confirm: string;
5
5
  cancel: string;
6
6
  loading: string;
7
+ close: string;
7
8
  };
8
9
  Calendar: {
9
10
  markItems: string[];
@@ -6,7 +6,8 @@ const zhTW = mergeLocale(base, {
6
6
  common: {
7
7
  confirm: '確定',
8
8
  cancel: '取消',
9
- loading: '加載中'
9
+ loading: '加載中',
10
+ close: '關閉'
10
11
  },
11
12
  Calendar: {
12
13
  markItems: ['一', '二', '三', '四', '五', '六', '日'],
@@ -0,0 +1,5 @@
1
+ declare type Merge<T, P> = {
2
+ [K in keyof T & keyof P]: P[K] | T[K];
3
+ };
4
+ export declare function mergeFuncProps<T extends Record<string, any>, P extends Record<string, any>>(p1: T, p2: P): Merge<T, P>;
5
+ export {};
@@ -0,0 +1,19 @@
1
+ export function mergeFuncProps(p1, p2) {
2
+ const p1Keys = Object.keys(p1);
3
+ const p2Keys = Object.keys(p2);
4
+ const keys = new Set([...p1Keys, ...p2Keys]);
5
+ const res = {};
6
+ keys.forEach(key => {
7
+ const p1Value = p1[key];
8
+ const p2Value = p2[key];
9
+ if (typeof p1Value === 'function' && typeof p2Value === 'function') {
10
+ res[key] = function (...args) {
11
+ p1Value(...args);
12
+ p2Value(...args);
13
+ };
14
+ } else {
15
+ res[key] = p1Value || p2Value;
16
+ }
17
+ });
18
+ return res;
19
+ }
package/2x/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "antd-mobile",
3
- "version": "5.27.0",
3
+ "version": "5.28.1",
4
4
  "dependencies": {
5
5
  "@floating-ui/dom": "^1.0.6",
6
6
  "@rc-component/mini-decimal": "^1.0.1",
7
- "@react-spring/web": "^9.5.5",
7
+ "@react-spring/web": "~9.6.0",
8
8
  "@use-gesture/react": "10.2.20",
9
9
  "ahooks": "^3.7.2",
10
10
  "antd-mobile-icons": "^0.3.0",
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  Essential UI blocks for building mobile web apps.
8
8
  </p>
9
9
 
10
- [![npm (tag)](https://img.shields.io/npm/v/antd-mobile)](https://www.npmjs.com/package/antd-mobile) [![GitHub Release Date](https://img.shields.io/github/release-date/ant-design/ant-design-mobile)](https://github.com/ant-design/ant-design-mobile/releases) [![npm](https://img.shields.io/npm/dw/antd-mobile)](https://www.npmjs.com/package/antd-mobile) [![npm](https://img.shields.io/npm/dw/antd-mobile-v5-count?label=downloads%285.x%29)](https://www.npmjs.com/package/antd-mobile) [![jsdelivr](https://img.shields.io/jsdelivr/npm/hm/antd-mobile)](https://www.jsdelivr.com/package/npm/antd-mobile) [![gzip size](https://img.badgesize.io/https:/unpkg.com/antd-mobile/umd/antd-mobile.js?label=gzip%20size&compression=gzip)](https://unpkg.com/browse/antd-mobile@5/umd/antd-mobile.js) [![Commit Activity](https://img.shields.io/github/commit-activity/m/ant-design/ant-design-mobile/master)](https://github.com/ant-design/ant-design-mobile/graphs/contributors) [![Issues help wanted](https://img.shields.io/github/issues-raw/ant-design/ant-design-mobile/help%20wanted?label=help%20wanted)](https://github.com/ant-design/ant-design-mobile/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) ![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/ant-design/ant-design-mobile/Check/v5) [![codecov](https://img.shields.io/codecov/c/gh/ant-design/ant-design-mobile?token=2kJyJBg1nK)](https://codecov.io/gh/ant-design/ant-design-mobile) [![GitHub](https://img.shields.io/github/license/ant-design/ant-design-mobile)](https://github.com/ant-design/ant-design-mobile)
10
+ [![npm (tag)](https://img.shields.io/npm/v/antd-mobile)](https://www.npmjs.com/package/antd-mobile) [![GitHub Release Date](https://img.shields.io/github/release-date/ant-design/ant-design-mobile)](https://github.com/ant-design/ant-design-mobile/releases) [![npm](https://img.shields.io/npm/dw/antd-mobile)](https://www.npmjs.com/package/antd-mobile) [![npm](https://img.shields.io/npm/dw/antd-mobile-v5-count?label=downloads%285.x%29)](https://www.npmjs.com/package/antd-mobile) [![jsdelivr](https://img.shields.io/jsdelivr/npm/hm/antd-mobile)](https://www.jsdelivr.com/package/npm/antd-mobile) [![gzip size](https://img.badgesize.io/https:/unpkg.com/antd-mobile/umd/antd-mobile.js?label=gzip%20size&compression=gzip)](https://unpkg.com/browse/antd-mobile@5/umd/antd-mobile.js) [![Commit Activity](https://img.shields.io/github/commit-activity/m/ant-design/ant-design-mobile/master)](https://github.com/ant-design/ant-design-mobile/graphs/contributors) [![Issues help wanted](https://img.shields.io/github/issues-raw/ant-design/ant-design-mobile/help%20wanted?label=help%20wanted)](https://github.com/ant-design/ant-design-mobile/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22) ![GitHub Workflow Status (branch)](https://img.shields.io/github/actions/workflow/status/ant-design/ant-design-mobile/check.yml?branch=master) [![codecov](https://img.shields.io/codecov/c/gh/ant-design/ant-design-mobile?token=2kJyJBg1nK)](https://codecov.io/gh/ant-design/ant-design-mobile) [![GitHub](https://img.shields.io/github/license/ant-design/ant-design-mobile)](https://github.com/ant-design/ant-design-mobile)
11
11
 
12
12
  <h4>
13
13
  <a href="https://mobile.ant.design">English Doc</a>