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>
1 year ago
kang
f0059cebc2
type: pass-through cascader option generic type ( #43231 )
1 year ago
muxin
deab4a4b71
feat: config-provider support Cascader className and style properties ( #43205 )
1 year ago
daisy
8a4203bec8
fix(Space): modify the priority of the component's size ( #42752 )
* fix(Space): modify the priority of the component's size
* chore: snapshot
* chore: snapshot
1 year ago
MadCcc
7322aa6f5f
Revert "chore: migrate to vitest ( #42506 )" ( #42900 )
This reverts commit 6759887c44
.
1 year ago
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>
1 year ago
lijianan
9d1854763d
refactor: add useSize replace React.useContext ( #42282 )
* refactor: add useSize
* fix
* fix
* fix
* fix
* fix
2 years ago
lijianan
ac5a06027e
revert: "chore: unified import method ( #42149 )" ( #42180 )
This reverts commit ea8ed28209
.
2 years ago
lijianan
ea8ed28209
chore: unified import method ( #42149 )
* chore: unified import method
* fix lint
2 years ago
二货爱吃白萝卜
8c094ba792
feat: ConfigProvider support config `popupOverflow` for scroll logic ( #41676 )
* feat: popupOverflow
* test: add test case
* docs: preview
* docs: update preview
* test: update test case
2 years ago
二货爱吃白萝卜
4299d774ac
chore: optimize Select like component popup logic ( #41619 )
* chore: bump trigger ver
* chore: support auto flip + shift
* test: update snapshot
* chore: use in TreeSelect & Cascader
2 years ago
lijianan
65224d357d
🦄 ️ refactor: use React.useMemo replace function ( #41550 )
* 🦄 ️ refactor: use React.useMemo replace function
* add
* fix
* add
* add
2 years ago
二货爱吃白萝卜
6c32399bd4
chore: Select like component always showArrow ( #41028 )
* chore: always showArrow
* test: update snapshot
* fix: autoComplete arrow logic
* test: update snapshot
* test: update snapshot
* test: update snapshot
* test: update snapshot
2 years ago
叶枫
4581b706e3
fix: 泛型非必传 ( #40961 )
2 years ago
叶枫
c4273ec49b
fix: remove Cascader warning when use displayRender and multiple together ( #40941 )
* fix: 删除多选模不能使用 displayRender 提示
* fix: 删除多选模不能使用 displayRender 提示
2 years ago
Lioness100
fd0d8b6031
docs: fix typos ( #40791 )
* docs: fix typos
* Update index.zh-CN.md
* test: update snapshot
* docs: fix demo ref
* chore: force trigger ci
* chore: force trigger ci
* chore: bump dumi ver
---------
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2 years ago
lijianan
28d1157d6b
type: optimization undefined type ( #40241 )
* type: optimization undefined type
* fix type
* fix type
* add
* revert
* revert
* revert
2 years ago
3hson
ea943f7e70
fix(cascader): cascader dropdown placement using isRtl ( #40109 )
* fix(cascader): cascader dropdown placement using isRtl
* fix(cascader): remove extra SelectCommonPlacement type assertion
Co-authored-by: Ehsan Khakian <e.khakian@liateam.net>
2 years ago
lijianan
6b4f94785c
chore: use React.useContext replace <Context.ConfigConsumer /> ( #40091 )
* chore: use React.useContext replace <Context.ConfigConsumer />
* add
2 years ago
lijianan
ccbec33585
type: remove redundant useContext ( #39955 )
* type: remove redundant useContext
* add type
2 years ago
wangxingkang
2ad7a98368
chore: unify useContext usage ( #39314 )
* feat: replace useContext to React.useContext
* docs(checkbox): update defaultValue、value type
2 years ago
Yuki Zhang
c3e51506cc
feat: add Space.Compact ( #37652 )
* feat: add Space.Compact
* feat: update input style
* feat: add CompactItem for context memoize
* feat: add demo
* feat: update button style
* feat: update input style
* feat: 提取 getCompactClassNames 公用方法
* feat: update button style
* feat: update picker
* feat: add block prop for Space.Compact
* feat: use Space.Compact for Input#addonBefore/After
* feat: update addon
* refactor: compact
* feat: update
* feat: update
* feat: migrate styles to compact for new Input/Input.Search
* feat: organize input demo
* feat: add more button compact demo
* feat: resolve select border collapse
* feat: fix input addon select style
* feat: add input addon demo in Space
* feat: add useCompactItemContext hook
* feat: update compact-item style
* feat: rollback input#addon implements
* feat: rollback input#addon and input.search style
* feat: select border collapse
* feat: add Space.Compact demo
* feat: Space.Compact vertical for Button
* refactor: useCompactItemContext
* feat: update Button vertical demo
* feat: rtl for compact mixin
* feat: rtl for compact button
* feat: input rtl
* feat: add docs for Space.Compact
* test: add some tests for Space.Compact
* test: add tests
* feat: select style
* feat: handle select focus style
* feat: add useCompactItemContext for Picker and Cascader
* style: add compact-item style for cascader
* feat: support nested Space.Compact
* style: Input.Search in Space.Compact
* chore: clean
* feat: add useCompactItemContext for TreeSelect
* fix: lint issues
* fix: style lint
* docs: update demos for Space.Compact
* docs: update demo
* fix: add deps-lint-skip for space
* fix: add deps-lint-skip for space
* fix: handle edge case for useCompactItemContext
* test: add search test case
* chore: + bundlesize
* style: merge button compact style into one file
* style: improve style for nested compact
* fix: stylelint
* docs: update Space.Compact docs
* test: update demo snapshot
* test: update input debug test snapshot
* docs: update doccs for Space.Compact
* test: improve test cases for Compact
* docs: clean demos for Compact
* refactor: improve Space.Compact
* fix: add useCompactItemContext for Input.Search
* style: improve compact border-radius implementation
* refactor: use context to make nested compact works
* fix: input-number focused style
* refactor: remove useless style
* refactor: improve style for vertical compact
* test: update snapshot
* test: update snapshot for input
* refactor: improve compact-item-border-radius
* fix: search group in RTL
* style: improve style for button compact
* style: use after
* fix: stylelint
* chore: update snapshot
* style: improve button compact
* refactor: improve btn-icon-only style in compact
2 years ago
kiner-tang(文辉)
92a3c719dc
feat: Components under Form support custom disabled to override disabled of Form ( #37628 )
* feat: 当表单组件处于一个禁用的表单时, 该表单组件的禁用状态应该优先取决于表单组件本身的禁用状态
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: reset mergedSize change
* feat: reset mergedSize change
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: 优化 Checkbox 组件 disabled 逻辑判断
* Update components/switch/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: remove upload default value
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
二货爱吃白萝卜
3623f2b901
chore: dropdownClassName support with legacy warning ( #37460 )
* chore: select legacy
* chore: auto complete tips
* chore: cascader warning
* chore: picker & treeselect
2 years ago
黑雨
07be7c986e
feat: replace cascader dropdownClassName to popupClassName ( #37089 )
2 years ago
黑雨
8b05546367
feat: Replace dropdownClassName to popupClassName ( #36880 )
2 years ago
二货机器人
8a0764dd69
feat: Tooltip support pure render ( #36512 )
* chore: init
* feat: Pure Panel Tooltip
* test: snapshot
* chore: clean up
2 years ago
二货机器人
254bbda86d
feat: Select like component support pure render ( #36407 )
* feat: support select pure render
* test: Update snapshot
* chore: fix pure render export ts
* chore: fix lint
* test: do not care about ssr
2 years ago
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps ( #35570 )
* chore: rm in root
* chore: fix ts
* test: Update snapshot
* chore: ignore part
3 years ago
Karott
338ec7dad7
perf: refactor devWarning for production code size ( #35411 )
* pref: better code style for production
* refactor `devWarning`
* don't use `useEffect` only wrap `devWarning`
* chore: add 'noop' to coverage
* chore: add test cases for devWarning
* chore: add test case
* chore: update test cases for devWarning
* chore: restore test script command
* fix: remove 'throw new Error'
* should not use `throw` for browser
* chore: update test case for AutoComplete
* perf: add prefix for `devWarning`
* update RegExp for UMD
* add prefix for ES and CJS
* chore: better code style
* perf:
* upgrade antd-tools
* remove `injectWarningCondition`
* rename `devWarning` to `warning`
* chore: better code style
* chore: better code style
* chore: restore hasValidName
3 years ago
lalalazero
17cd13fe53
refactor: remove cascader displayRender warning ( #35417 )
* refactor: remove useless warning (#35291 )
* refactor: remove useless test case
* docs: remove cascader tagRender
3 years ago
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
黑雨
b0a652580a
feat: Form disabled ( #35210 )
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
3 years ago
MadCcc
821ac5bc97
refactor: select use genHook ( #34891 )
* refactor: select use genHook
* chore: code clean
* refactor: tree-select support genHook
* chore: code clean
* chore: code clean
* fix: tree style
3 years ago
黑雨
215d2ad883
feat: add showCheckedStrategy api for cascader ( #34568 )
* feat: add showCheckedStrategy api for cascader
* feat: update doc
* feat: add demo and update doc
* feat: update demo
3 years ago
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
* refactor: feedbackIcon migration
* test: update snapshot
3 years ago
MadCcc
0de1e66ff1
refactor: move override code in form ( #34694 )
* refactor: move override code in form
* refactor: radio and checkbox
* chore: code clean
* test: fix lint
* test: fix lint
3 years ago
二货机器人
de24558a6c
refactor: Cascader cssinjs ( #34374 )
3 years ago
MadCcc
533bc8740a
feat: cascader support status ( #34086 )
* feat: cascader support status
* chore: code clean
* chore: raise bundle size limitation
* chore: code clean
3 years ago
babycannotsay
a7e8f1034f
fix: cascader's onChange ts adapts to single and multiple ( #33947 )
* fix to: cascader's multiple determines the declaration of onChange
* fix: cascader's onChange ts adapts to single and multiple
* test: fix
3 years ago
MadCcc
222ee1f3ad
Revert "revert: Revert "Merge branch 'feature' into master" ( #33903 )"
This reverts commit 6b1a48d5ed
.
3 years ago
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" ( #33903 )
This reverts commit 40433f357d
, reversing
changes made to 27a498e021
.
3 years ago
afc163
5d2994ec12
style: Cascader loading icon ( #33799 )
3 years ago
Cat-XHS
daa9804824
feat: Select/DatePicker/TimePicker/TreeSelect support placement ( #33541 )
* feat: select components add placement api
* feat: select components add placement api
* fix: delete placement
* fix: change md demo and delete export
* feat: cascader and tree-select add placement
* feat: datapicker add placement api
* fix: change repeat static declaration to single
* test: updata test units
* doc: change doc
* fix: delete merge message & delete decalare ts
* test: fix unit test
* fix: add transName in select & treeSelect & cascader
* fix: change common api in utils
* fix: change useless if block to only
* fix: change placement string to enum
* fix: lint done
Co-authored-by: 礼检 <ljj337009@antgroup.com>
3 years ago
dimbslmh
10c3ec6b5c
fix: Warning: Encountered two children with the same key, 'seperator' ( #33649 )
* fix: Warning: Encountered two children with the same key, 'seperator' #33183
* eslint-disable-next-line react/no-array-index-key
Co-authored-by: dimbslmh <dimsbslmh@gmail.com>
3 years ago
二货机器人
ff88851c4c
chore: Bump Select related deps ( #33364 )
* chore: bump select related version
* test: Fix test case
* chore: bump rc-select version
* test: Update snapshot
* chore: Update Select ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* chore: Update ts definition
* chore: fix internal ts def
* test: update auto complete snapshot
* chore: update snapshot
* chore: bump version
* chore: fix demo ts
* chore: Move ValueType to the first place
* test: Update test case
3 years ago
二货机器人
c6c0662b97
docs: Cascader displayRender data ( #33087 )
* docs: Cascader displayRender data
* ts: clean up
* test: Update rc-resize-observer version
* test: fix resize related test case
* chore: fix ts error
* test: Fix resize logic
3 years ago
二货机器人
e7ac69edeb
fix: Cascader typescript ( #33008 )
* chore: Cascsader add missing suffixIcon
* chore: export CascaderRef
* chore: Casacer type
3 years ago