二货爱吃白萝卜
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
2023-04-04 13:43:53 +08:00
lijianan
65224d357d
🦄 ️ refactor: use React.useMemo replace function ( #41550 )
...
* 🦄 ️ refactor: use React.useMemo replace function
* add
* fix
* add
* add
2023-03-30 14:55:34 +08:00
二货爱吃白萝卜
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
2023-03-05 23:29:03 +08:00
叶枫
4581b706e3
fix: 泛型非必传 ( #40961 )
2023-02-28 11:03:09 +08:00
叶枫
c4273ec49b
fix: remove Cascader warning when use displayRender and multiple together ( #40941 )
...
* fix: 删除多选模不能使用 displayRender 提示
* fix: 删除多选模不能使用 displayRender 提示
2023-02-27 19:48:07 +08:00
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>
2023-02-23 21:56:43 +08:00
二货爱吃白萝卜
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
2023-01-20 11:03:50 +08:00
lijianan
28d1157d6b
type: optimization undefined type ( #40241 )
...
* type: optimization undefined type
* fix type
* fix type
* add
* revert
* revert
* revert
2023-01-16 09:55:52 +08:00
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>
2023-01-09 19:35:14 +08:00
lijianan
6b4f94785c
chore: use React.useContext replace <Context.ConfigConsumer /> ( #40091 )
...
* chore: use React.useContext replace <Context.ConfigConsumer />
* add
2023-01-09 10:04:35 +08:00
lijianan
ccbec33585
type: remove redundant useContext ( #39955 )
...
* type: remove redundant useContext
* add type
2023-01-02 22:18:35 +08:00
wangxingkang
2ad7a98368
chore: unify useContext usage ( #39314 )
...
* feat: replace useContext to React.useContext
* docs(checkbox): update defaultValue、value type
2022-12-06 21:09:59 +08:00
MadCcc
5c72d04b10
Merge branch 'feature' into next-merge-feature
2022-10-19 17:46:21 +08:00
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
2022-10-18 16:23:10 +08:00
MadCcc
03a1ae427d
Merge branch 'feature' into next-merge-feature
2022-10-11 20:29:55 +08:00
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>
2022-09-20 16:48:59 +08:00
二货爱吃白萝卜
3623f2b901
chore: dropdownClassName support with legacy warning ( #37460 )
...
* chore: select legacy
* chore: auto complete tips
* chore: cascader warning
* chore: picker & treeselect
2022-09-08 14:33:11 +08:00
黑雨
07be7c986e
feat: replace cascader dropdownClassName to popupClassName ( #37089 )
2022-08-21 15:32:49 +08:00
二货机器人
d970d80fa0
chore: next merge feature
2022-08-05 15:23:36 +08:00
黑雨
8b05546367
feat: Replace dropdownClassName to popupClassName ( #36880 )
2022-08-05 11:21:07 +08:00
二货机器人
8a0764dd69
feat: Tooltip support pure render ( #36512 )
...
* chore: init
* feat: Pure Panel Tooltip
* test: snapshot
* chore: clean up
2022-07-13 23:06:28 +08:00
二货机器人
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
2022-07-07 20:05:19 +08:00
zombiej
91245c16ad
chore: merge master
2022-06-21 19:40:22 +08:00
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
...
Co-authored-by: afc163 <afc163@gmail.com>
2022-06-21 10:24:52 +08:00
zombiej
8613d2ff2e
chore: merge feature
2022-05-16 17:16:52 +08:00
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps ( #35570 )
...
* chore: rm in root
* chore: fix ts
* test: Update snapshot
* chore: ignore part
2022-05-16 16:34:42 +08:00
MadCcc
2d70027f45
Merge branch 'master' into feature-merge-master
2022-05-12 15:56:18 +08:00
afc163
84a969e5e0
chore: sync master into next branch
2022-05-11 15:36:22 +08:00
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
2022-05-10 15:43:29 +08:00
lalalazero
17cd13fe53
refactor: remove cascader displayRender warning ( #35417 )
...
* refactor: remove useless warning (#35291 )
* refactor: remove useless test case
* docs: remove cascader tagRender
2022-05-10 13:57:38 +08:00
MadCcc
1f5e271eb6
Merge branch 'master' into next-merge-master
2022-05-09 21:26:25 +08:00
afc163
594f138760
resolve conflict between feature and master
2022-05-08 17:01:54 +08:00
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
...
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
2022-05-07 14:31:54 +08:00
zombiej
84662ce774
chore: next merge feature
2022-05-06 18:46:16 +08:00
黑雨
b0a652580a
feat: Form disabled ( #35210 )
...
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
2022-04-29 20:48:10 +08:00
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
2022-04-07 12:20:34 +08:00
MadCcc
c84a7aa7ec
Merge branch 'feature' into next-merge-feature
2022-03-29 14:55:39 +08:00
黑雨
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
2022-03-26 00:17:34 +08:00
MadCcc
cf18b1443b
Merge branch 'feature' into next-merge-feature
2022-03-25 20:08:05 +08:00
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
...
* refactor: feedbackIcon migration
* test: update snapshot
2022-03-25 17:48:12 +08:00
MadCcc
8da22ae59c
Merge branch 'feature' into next-merge-feature
2022-03-24 22:58:40 +08:00
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
2022-03-24 21:54:20 +08:00
二货机器人
de24558a6c
refactor: Cascader cssinjs ( #34374 )
2022-03-09 00:29:00 +08:00
MadCcc
533bc8740a
feat: cascader support status ( #34086 )
...
* feat: cascader support status
* chore: code clean
* chore: raise bundle size limitation
* chore: code clean
2022-02-17 15:08:13 +08:00
MadCcc
76ad890deb
Merge branch 'master' into feature-merge-master
2022-02-15 14:05:33 +08:00
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
2022-02-12 21:56:55 +08:00
MadCcc
6b1a48d5ed
revert: Revert "Merge branch 'feature' into master" ( #33903 )
...
This reverts commit 40433f357d
, reversing
changes made to 27a498e021
.
2022-01-30 15:21:41 +08:00
github-actions[bot]
0c6d1512be
chore: auto merge branchs ( #33794 )
...
chore: merge master into feature
2022-01-21 05:32:19 +00:00
afc163
5d2994ec12
style: Cascader loading icon ( #33799 )
2022-01-21 10:40:34 +08:00
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>
2022-01-20 16:54:47 +08:00