Commit Graph

14 Commits

Author SHA1 Message Date
𝑾𝒖𝒙𝒉
020176f2b5
♻️ chore: format code (use npm run format) (#51978)
* chore: update formatter rule

* ♻️ chore: format code (use `npm run format`)
2024-12-12 10:22:30 +08:00
Salim Abubakar
f459efef43
fix: prevent OTP input focus from advancing when previous input is empty (#51664)
Co-authored-by: Salim Abubakar <salimabubakar@Salims-MacBook-Air.local>
2024-11-18 10:18:05 +08:00
二货爱吃白萝卜
c17eb8153a
chore: prevent z (#51609)
Some checks are pending
Publish Any Commit / build (push) Waiting to run
🔀 Sync mirror to Gitee / mirror (push) Waiting to run
✅ test / lint (push) Waiting to run
✅ test / test-react-legacy (16, 1/2) (push) Waiting to run
✅ test / test-react-legacy (16, 2/2) (push) Waiting to run
✅ test / test-react-legacy (17, 1/2) (push) Waiting to run
✅ test / test-react-legacy (17, 2/2) (push) Waiting to run
✅ test / test-node (push) Waiting to run
✅ test / test-react-latest (dom, 1/2) (push) Waiting to run
✅ test / test-react-latest (dom, 2/2) (push) Waiting to run
✅ test / test-react-latest-dist (dist, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist, 2/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 1/2) (push) Blocked by required conditions
✅ test / test-react-latest-dist (dist-min, 2/2) (push) Blocked by required conditions
✅ test / test-coverage (push) Blocked by required conditions
✅ test / build (push) Waiting to run
✅ test / test lib/es module (es, 1/2) (push) Waiting to run
✅ test / test lib/es module (es, 2/2) (push) Waiting to run
✅ test / test lib/es module (lib, 1/2) (push) Waiting to run
✅ test / test lib/es module (lib, 2/2) (push) Waiting to run
👁️ Visual Regression Persist Start / test image (push) Waiting to run
2024-11-13 15:55:19 +08:00
chenshuai2144
453d1d4968 feat: 更新 Image 组件以支持 rootClassName 属性,增强 OTP 组件以支持 inputMode,更新表格文档中的 React 规范链接,升级 trigger 组件版本 2024-11-10 21:25:14 +08:00
alan-rudzinski
a1cbc5a3a0
fix: Propagate inputMode to individual Cells in Input.OTP #51239 (#51271) 2024-11-08 22:43:58 +08:00
Jony J
34c28a6ac1
feat(input-otp): add onInput api for otp (#51289)
* feat(input-otp): add onInput api for otp

* feat(input-otp): add test case

* fix: test case error

* docs: add release  version

* docs: add release  version

* docs: update en-US document release version

* Update components/input/index.zh-CN.md

Co-authored-by: lijianan <574980606@qq.com>
Signed-off-by: Jony J <82765353+aojunhao123@users.noreply.github.com>

* docs: update docs

* feat: modify onInput parameter type

* test: fix test case

* docs: update docs

* docs: update docs

---------

Signed-off-by: Jony J <82765353+aojunhao123@users.noreply.github.com>
Co-authored-by: lijianan <574980606@qq.com>
2024-10-28 18:53:14 +08:00
afc163
66222a296b
chore: import rc-util from path (#51087) 2024-10-02 10:43:35 +08:00
二货爱吃白萝卜
27c5d43bee
fix: otp not accept type (#50811) 2024-09-11 15:32:23 +08:00
MadCcc
010f82bd1a
feat: ConfigProvider support variant (#49535)
* feat: ConfigProvider support variant

* docs: add docs for variant

* feat: support config all components variant

* chore: fix lint

* chore: add test

* test: add test
2024-06-21 17:47:09 +08:00
lijianan
8a4a83ace7
Merge pull request #48471 from ant-design/master
chore: merge master into feature
2024-04-16 10:17:57 +08:00
二货爱吃白萝卜
4216003c1b
fix: OTP with controlled of '' not working (#48399)
* test: test driven

* fix: controlled logic
2024-04-11 15:24:18 +08:00
lijianan
53cbceb7db
feat: Input.OTP support mask prop (#48257)
* feat: Input.OTP support mask prop

* fix: fix

* fix: fix

* test: add test case

* test: add test case

* chore: fix

* chore: update

* chore: remove

* chore: rename useOTPSingleValue

* fix: fix

* fix: fix

* chore: rm 3 lib

* chore: add 3 lib

* fix: fix

* fix: fix

* test: fix test case

* test: fix test case

* fix: fix

* fix: fix

---------

Signed-off-by: lijianan <574980606@qq.com>
2024-04-09 14:47:58 +08:00
叶枫
502dac12aa
docs: format code (#48309)
* docs: fix code

* feat: lint

* feat: prettier

* feat: test

* feat: review

* feat: format html

* feat: format html
2024-04-08 14:04:08 +08:00
二货爱吃白萝卜
100fa29bef
feat: Input.OTP component support (#48076)
* chore: basic control

* chore: input instad

* docs: update demo

* chore: adjust operation interactive

* chore: lock selection

* chore: fix patch logic

* chore: merge logic

* chore: patch autoFocus

* test: update snapshot

* test: add test case

* test: coverage

* chore: update size limit

* docs: update docs

* test: fix test case

* chore: update comment

* refactor: change to length

* chore: blur all

* chore: size limit
2024-03-28 14:05:58 +08:00