Essential UI blocks for building mobile web apps.
Go to file
高舒夜 763125ec53
fix: 修复 calendar-picker-view 的一些问题 (#6760)
* fix: 修复 calendar-picker-view 的一些问题

- 修复了默认的 minDay 和 maxDay 会随着 current 变化的问题
- 修复了 view 打开时不会自动滚动到选中值的问题

* test: 补充单元测试

* fix: remove console.log

* fix: 无 min 和 max 时,默认值根据 value 进行扩充

* fix: 添加注释

* fix: 优化 defaultMax 取值

* fix: cr 问题修复,

---------

Co-authored-by: 高舒夜 <qiuenjian.qej@antgroup.com>
2024-10-17 14:26:33 +08:00
.dumi fix: page background in dark theme (#6346) 2023-08-30 22:21:56 +08:00
.github chore: Update preview-build.yml (#6761) 2024-10-16 17:48:02 +08:00
.husky chore: lint-staged and commitlint update (#6593) 2024-04-10 10:21:53 +08:00
.vscode chore: stylelint, ignores, and vscode settings (#6601) 2024-04-15 23:22:28 +08:00
config feat: new component Segmented (#6697) 2024-08-07 16:50:59 +08:00
docs feat: add i18n for hr-HR, sr-RS, cnr-ME (#6730) 2024-08-27 22:26:12 +08:00
scripts chore: adjust postcss-disable-css-vars 2022-05-29 15:12:15 +08:00
src fix: 修复 calendar-picker-view 的一些问题 (#6760) 2024-10-17 14:26:33 +08:00
.editorconfig feat: init repo with code of v5 2021-07-20 12:51:21 +08:00
.eslintignore chore: stylelint, ignores, and vscode settings (#6601) 2024-04-15 23:22:28 +08:00
.eslintrc.js chore: update eslint config 2022-06-10 11:41:25 +08:00
.gitignore chore: add bun.lockb to ignore (#6734) 2024-08-30 09:44:55 +08:00
.npmrc chore: update config 2023-10-19 16:55:36 +08:00
.nvmrc fix: pin dev node version to node16-lts (#6100) 2023-04-19 11:12:46 +08:00
.prettierignore chore: stylelint, ignores, and vscode settings (#6601) 2024-04-15 23:22:28 +08:00
.prettierrc.js feat: stepper support formatter & parser (#5828) 2022-11-24 17:18:33 +08:00
.stylelintignore chore: stylelint, ignores, and vscode settings (#6601) 2024-04-15 23:22:28 +08:00
.stylelintrc.js chore: stylelint, ignores, and vscode settings (#6601) 2024-04-15 23:22:28 +08:00
babel-transform-less-to-css.js fix: the cjs files built using less imports 2021-09-10 11:10:25 +08:00
codecov.yml chore: update codecov config 2022-06-08 10:43:52 +08:00
commitlint.config.js chore: doc commitlint to docs (#6483) 2023-12-14 15:55:24 +08:00
fileTransformer.js chore: update jest config to transform images 2022-03-11 16:21:18 +08:00
gulpfile.js chore: build script should not clean prev bundles 2023-12-22 17:19:48 +08:00
jest.config.js enhance: 优化数字键盘及虚拟输入框无障碍 (#6494) 2023-12-22 16:52:30 +08:00
LICENSE.txt feat: init repo with code of v5 2021-07-20 12:51:21 +08:00
package.json feat: new component Segmented (#6697) 2024-08-07 16:50:59 +08:00
pnpm-lock.yaml feat: new component Segmented (#6697) 2024-08-07 16:50:59 +08:00
README.md docs: remove --save flag and fix typos in README.md (#6669) 2024-07-09 15:59:08 +08:00
tsconfig.json chore: migrate to pnpm from yarn 2022-06-29 18:27:49 +08:00
umd.html fix: the new umd bundle should load antdMobile variable onto window 2022-08-17 15:50:43 +08:00

logo

Ant Design Mobile

Essential UI blocks for building mobile web apps.

npm (tag) GitHub Release Date npm npm jsdelivr gzip size Commit Activity Issues help wanted GitHub Workflow Status (branch) codecov GitHub

English Doc · 中文文档 · Discord · 钉钉

$ npm install antd-mobile
# or
$ yarn add antd-mobile
# or
$ pnpm add antd-mobile
# or
$ bun add antd-mobile
  • Fast: It is carefully optimized for harsh scenes, without configuration, you can have the best package size and ultimate performance.
  • Customizable: Based on CSS variables, you can reliably and efficiently adjust the appearance of components or create your own themes.
  • Atomic: The function of each component, neither more nor less, is exactly what you need.
  • Fluent: With smooth gestures and delicate animation, it helps the product create the ultimate experience.

You can also play with antd-mobile just in browser with Codesandbox. No need to prepare development environment.

If you found bugs or would like to request some new features, please consider opening an issue.

If you have some questions about how to use ant-mobile, you can start a discussion thread.


Thanks to all the contributors of antd-mobile:

contributors