二货爱吃白萝卜
20561d6f9d
docs: Fix component doc alignment & support import usage ( #48004 )
...
* docs: init ref
* docs all support
* docs: fix link show
2024-03-22 14:22:42 +08:00
lijianan
326ae986b9
Merge pull request #47297 from ant-design/master
...
chore: merge master into feature
2024-02-01 23:59:16 +08:00
mr-chenguang
f1f4788e38
fix: use flex to correct avatar child position ( #47236 )
...
* fix: remove avatar border when height less then 16
* fix: 使用 flex 完成子元素居中布局
* fix: fix avatar tests snapshot
* fix: fix avatar tests snapshot
* Update components/avatar/style/index.ts
Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>
* fix: changealign
* fix: update avatar snapshots
* fix:update snapshot
* fix: update snapshot
* fix: update snapshot
---------
Signed-off-by: mr-chenguang <37072324+lcgash@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-31 18:20:21 +08:00
lijianan
231e873b3f
Merge pull request #47238 from ant-design/master
...
chore: merge master into feature
2024-01-30 20:00:58 +08:00
MadCcc
4ecc0d7f95
docs: optimize overview svg ( #47203 )
...
* docs: optimize overview svg
* docs: update
* docs: dark
2024-01-29 14:50:36 +08:00
章鱼怪
7e4bca346d
feat: Segmented value type support generics ( #47091 )
...
* feat: Segmented value type support generics
* fix: type
* docs: update demo
* test: update snapshots
* Update components/segmented/demo/basic.tsx
Signed-off-by: afc163 <afc163@gmail.com>
* Revert "test: update snapshots"
This reverts commit 6f95cd674d
.
---------
Signed-off-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-01-27 20:19:10 +08:00
afc163
023f3ec719
demo: xsgames.co/randomusers => dicebear.com ( #47028 )
...
* demo: xsgames.co/randomusers => dicebear.com
* chore: update snapshot
* chore: update snapshot
* chore: update snapshot
* chore: update snapshot
* chore: update snapshot
2024-01-18 17:18:40 +08:00
二货爱吃白萝卜
ec25f2230c
Merge pull request #46937 from ant-design/master
...
chore: feature merge master
2024-01-12 13:50:02 +08:00
章鱼怪
ada0f698cb
fix(Segmented): content is obscured when hover and active ( #46925 )
2024-01-11 18:33:07 +08:00
afc163
87adc388d5
chore: change Segmented token name ( #46688 )
...
* chore: change Segmented token name
* chore: change Segmented token name
2023-12-29 16:25:01 +08:00
afc163
37e615228d
feat: add controlPadding and controlBg to Segmented tokens ( #46674 )
2023-12-28 20:51:35 +08:00
MadCcc
5f395fbed3
feat: select/cascader/tree-select support variant filled ( #46549 )
...
* feat: Select filled style
* chore: update snapshot
* feat: Cascader and TreeSelect support variant
* feat: multiple style
* fix: import
* chore: fix lint
* chore: update auto-complete docs
* fix: clearIcon bg
* chore: code clean
2023-12-21 13:39:04 +08:00
MadCcc
3af521d422
feat: Input/InputNumber/Mentions support filled
variant ( #46435 )
...
* feat: Input filled variant
* feat: InputNumber filled variant
* feat: mentions variant
* fix: TextArea status with affix
* chore: update snapshot
* chore: update snapshot
* feat: pagination input
* fix: fix diff
* feat: input-number disabled
* fixL InputNumber
* chore: update snapshot
* feat: better style
* chore: update
* chore: update snapshot
* feat: use variant classNames
* chore: update snapshot
* feat: mentions affix style
* chore
2023-12-18 17:53:31 +08:00
MadCcc
2e0942ab26
refactor: separate cssVarCls from hashId ( #46424 )
...
* refactor: cssVarCls
* refactor: update
* chore: update
* fix: cascader & tree-select
* fix: ribbon
2023-12-14 14:58:53 +08:00
sunsunmonkey
b777d1c0c6
docs(segment): change to Disabled name ( #46421 )
2023-12-13 15:34:17 +08:00
MadCcc
c4b8c9df93
refactor: genStyleHooks ( #46038 )
...
* refactor: genStyleHooks
* chore: update sciprt
* refactor: affix
* refactor: select
* chore: update
* refactor: update
* refactor: update
* refactor: done
* chore: code clean
* chore: code clean
* chore: fix lint
* chore: decrease size limit
* chore: code clean
* chore: code clean
* chore: remove export
2023-11-29 17:23:45 +08:00
lijianan
fee85c5fa1
Merge branch master into master-merge-feature
2023-11-29 03:32:56 +08:00
lijianan
bb40c380da
demo: update segmented demo from Space to Flex ( #46114 )
2023-11-28 11:03:22 +08:00
MadCcc
66df407415
refactor: segmented support css var ( #45716 )
2023-11-08 15:30:56 +08:00
afc163
e587a5ff68
chore: update select snapshot ( #45333 )
2023-10-13 20:56:06 +08:00
afc163
4650d74f16
style: fix Segmented text jump issue in Safari ( #45310 )
...
Co-authored-by: 红 <wxh1220@gmail.com>
2023-10-13 18:39:31 +08:00
MadCcc
114ff39f8c
Merge branch 'master' into feature-merge-master
2023-09-05 13:41:06 +08:00
lijianan
6a5e7ded43
refactor: remove Space & Grid IE compatible logic ( #44620 )
...
* refactor: remove IE compatible logic
* fix: fix
* fix: fix
* fix: fix
2023-09-05 10:17:56 +08:00
Dunqing
f0c105d262
feat: insert use client
automatically at compilations instead of hardcode ( #44608 )
...
* feat: remove the hardcode of `use client`
* chore: update `@ant-design/tools`
* test: update
* fix: incorrect dictionary
* chore: update dep
* ci: check use client
* chore: update ci
* fix: should be LIB_DIR
* ci: should only run in dist
* chore: update check tsx files
2023-09-04 19:27:20 +08:00
shawn
85dc67f1cc
feature: add itemSelectedFontColor token in Segemented Component ( #44570 )
...
* feature: segemented新增component token
* feature: segemented新增component token
* Apply suggestions from code review
Signed-off-by: MadCcc <1075746765@qq.com>
---------
Signed-off-by: MadCcc <1075746765@qq.com>
Co-authored-by: xiaozisong <xiaozis@gantsoftware.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-09-04 11:07:39 +08:00
afc163
3f148d9112
docs: add help text for token customization
2023-08-30 23:02:35 +08:00
afc163
e283ebf2e3
test: update Select jest snapshot ( #44140 )
...
* chore: update snapshot
* test: fix test case of Form Select
2023-08-10 00:43:44 +08:00
kiner-tang(文辉)
2f8fa45df3
docs: Add rootClassName in doc ( #44061 )
...
* docs: update rootClassName description
* docs: update rootClassName description
* docs: update docs
2023-08-08 18:27:48 +08:00
MadCcc
c640cbcb53
chore: update snapshot ( #43957 )
...
* chore: update snapshot
* chore
2023-08-02 15:33:29 +08:00
二货爱吃白萝卜
5d3b45551d
test: snapshot of demo warning message ( #43947 )
...
* test: init of test
* test: update snapshot
* test: update snapshot
* chore: adjust size limit
* test: update snapshot
* test: update snapshot
* test: update snapshot
* chore: update snapshot
---------
Co-authored-by: lijianan <574980606@qq.com>
2023-08-02 14:20:13 +08:00
栗嘉男
674ff129ce
Merge branch master into master-merge-feature
2023-07-28 16:43:15 +08:00
二货爱吃白萝卜
2cdf586291
chore: fix lint ( #43873 )
...
* chore: fix lint
* chore: fix lint
* test: fix 16
* fix: lint
2023-07-28 16:17:43 +08:00
afc163
2d3c97979d
fix: Select aria-activedescendant wrong value ( #43800 )
2023-07-26 10:09:04 +08:00
lijianan
38474628fd
feat: prepend use-client directive for with Next.js App Router ( #43573 )
...
* fix: prepend use-client directive for with Next.js App Router
* Update components/affix/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/badge/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/divider/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
Signed-off-by: lijianan <574980606@qq.com>
* Update components/cascader/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/list/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/mentions/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/qrcode/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/spin/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/steps/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/time-picker/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/transfer/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
* Update components/tree-select/index.tsx
Signed-off-by: lijianan <574980606@qq.com>
---------
Signed-off-by: lijianan <574980606@qq.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2023-07-15 12:57:03 +08:00
github-actions[bot]
1ad266f7bf
chore: auto merge branches ( #43378 )
...
chore: merge master into feature
2023-07-05 10:16:04 +00:00
MadCcc
b64a57d5d0
docs: component token meta ( #43337 )
...
* docs: component token meta
* docs: more
* docs: complete
2023-07-05 17:49:59 +08:00
lijianan
6889af430f
feat: CP support Steps className and style ( #43073 )
...
* feat: CP support Steps className and style
* fix lint
* fix: remove useMemo
* docs: update docs
* Update index.tsx
* fix
2023-06-25 11:42:31 +08:00
lijianan
36a5392f99
feat: CP support Segmented className and style ( #43072 )
...
* feat: CP support Segmented className and style
* fix: remove useMemo
* docs: update docs
* update docs
2023-06-25 09:32:53 +08:00
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
...
This reverts commit 6759887c44
.
2023-06-07 21:59:21 +08:00
Dunqing
6759887c44
chore: migrate to vitest ( #42506 )
...
* chore: migrate to vitest
* chore: update ci
* fix: test correctly
* test: support puppeteer
* chore: update coverage
* chore: update include/exclude
* chore: update config
* test: update incorrect tests
* chore: update script
* chore: update
* fix: should close browser at the ended
* chore: improve
* fix: test cause tsc error
* fix: eslint error
* chore: exclude correctly
* test: update snap and fix some tests
* chore: update test config
* fix: countup.js
* fix: incorrect test
* chore: update reference
* test: update
* fix: countup.js
* fix: timeout
* chore: update site test
* fix: fixed countup version
* chore: remove unsed code
* test: update
* test: update demo timeout
* test: update timeout
* chore: update image test
* chore: update threads
* fix: image/svg+xml test failed
* chore: limits threads
* test: update test coverage include
* chore: remove jest files
* chore: rename jest to vi
* chore: update document
* chore: fix missing @types/jsdom
* chore: update coverage
* chore: update snap
* fix:watermark test cases are incorrect
* feat: update ignore comment
* test: fix test case
* test: reset body scrollTop
* test: clean up
* test: use vi
* test: update snapshot
* test: update snapshot
* test: fix dropdown test failed
* fix: toHaveStyle cause test fail
* test: improve test case
* test: fix
* fix: color failed, refer to https://github.com/jsdom/jsdom/pull/3560
* test: fix
* test: fix
* test: fix circular import
* test: revert
* ci: coverage failed
* test: fix c8 ignore comment
* chore: incorrect config
* chore: fix ignore ci
* test: revert svg+xml
* test: fix realTimers
* feat: rc-trigger should be remove
* test: fix some failed test
* chore: remove unused deps and configure eslint-plugin-vitest
* test: update snap
* chore: remove jest
* test: fix lint error
---------
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
2023-06-07 11:54:50 +08:00
MadCcc
b795b091ca
fix: segmented bg color ( #42601 )
2023-05-25 14:22:44 +08:00
kiner-tang(文辉)
c878433e9a
feat: migrate less to token for Segmented ( #42136 )
...
* feat: migrate less to token for Segmented
* docs: update docs
* feat: add debug demo
* feat: optimize code
* feat: optimize code
* feat: optimize code
* style: reset style
* style: reset style
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
* feat: optimize code
2023-05-18 22:21:53 +08:00
lijianan
9d1854763d
refactor: add useSize replace React.useContext ( #42282 )
...
* refactor: add useSize
* fix
* fix
* fix
* fix
* fix
2023-05-12 14:53:47 +08:00
lijianan
026b74aa0e
fix: add active style ( #42249 )
2023-05-10 14:56:58 +08:00
二货爱吃白萝卜
f4858ff581
chore: align motion follow popup point ( #42225 )
...
* chore: align motion follow popup point
* test: update snapshot
2023-05-08 23:28:13 +08:00
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
...
This reverts commit ea8ed28209
.
2023-05-06 15:49:37 +08:00
lijianan
ea8ed28209
chore: unified import method ( #42149 )
...
* chore: unified import method
* fix lint
2023-05-05 20:52:44 +08:00
黑雨
cef58664e8
📝 doc: add design token table ( #41717 )
...
* ✨ feat: add token
* 📝 doc: update lint
* 📝 doc: update doc
2023-04-11 10:25:24 +08:00
JiaQi
1688d5995f
chore: Update random image sources ( #41704 )
...
* chore: update demo
* chore: update test case
* chore: update snap
2023-04-08 21:01:51 +08:00
二货机器人
d6a73f3c6b
chore: feature merge master
2023-03-29 14:44:41 +08:00