afc163
9cc228f2af
chore: add type test
2 years ago
Cedong.Lee
b8de996fc1
fix(DatePicker): PopupClassName does not exist
2 years ago
Yuki Zhang
b7557751fe
chore: remove useless code for Space.Compact ( #38243 )
2 years ago
lijianan
0f63c5d6bc
fix: eslint error ( #38233 )
2 years ago
二货机器人
f311793e71
docs: Fix mistake of select listItemHeight. close #38228
2 years ago
行冥
3390290c26
chore: remove redundant state ( #38208 )
Co-authored-by: xingming <xingjiang.gxj@antgroup.com>
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
Zack Chang
e13dd21a9a
fix: correct a wrong title in demo of Datepicker ( #37964 )
* Update placement.md
* Update placement.md
2 years ago
二货爱吃白萝卜
b7634968d7
test: Use SSR for testing demo ( #37890 )
* test: Use SSR for testing demo
* chore: fix lint
* test: align with react 18
2 years ago
Zheeeng
ea9b013bb1
refactor(locale): refine signature ( #37824 )
* chore: prefer using @internal annotation over other markups
* fix: typo
* fix: locale types
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
黑雨
01ca7c7821
test: convert demo to testing-lib ( #37381 )
* test: replace testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: update snap
* test: replace testing-lib
* test: replace testing-lib
* test: update for lint
* merge: merge
* test: testing-lib
* test: replace testing-lib
* test: testing-lib
* test: testing-lib
* test: replace testing-lib
* test: replace testing-lib
* test: Replace test aria replacment logic
* test: Update snapshot
* chore: hack for id
* test: clean up
* test: clean demo
* chore: update
* test: snapshot update
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* test: fix snapshot rep logic
* chore: update demo
* test: fix snapshot rep logic
* test: Update snapshot
* test: rest snapshot
* test: update snapshot
* test: Update test case
* test: config env
* chore: clean up
* chore: Use renderServer instead
* test: adjust testing logic
* test: modify test logic
* test: split ssr test
* test: skip if need skip
* chore: ignore test file covv
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
dependabot[bot]
7e7c47509f
chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1 ( #37291 )
* chore(deps-dev): bump eslint-plugin-jest from 26.9.0 to 27.0.1
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.9.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.9.0...v27.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint errors in test files
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
二货机器人
91d32ea258
test: merge missing test case
2 years ago
lijianan
8010cd19b6
test: migrate part of DatePicker tests ( #37115 )
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* fix: update snap
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: migrate part of DatePicker tests
* test: remove useless methods
* test: add test ignore
2 years ago
黑雨
8b05546367
feat: Replace dropdownClassName to popupClassName ( #36880 )
2 years ago
叶枫
00c891ac05
feat: Typography `ellipsis.tooltip` could be a object ( #36099 )
* feat: add tooltipProps
* feat: doc
* feat: props
* feat: props
* feat: props
* feat: docs
* feat: review
* feat: add tooltipProps
* feat: doc
* feat: props
* feat: props
* feat: props
* feat: docs
* feat: review
2 years ago
afc163
6497d0dfef
docs: moment version mismatched issue ( #36473 )
https://github.com/ant-design/ant-design/issues/36465#issuecomment-1181275538
2 years ago
simplejason
1a8edd992c
fix: fix wrong color of date picker with status set ( #35685 )
* fix: fix wrong color of date picker with status set
* Update status.less
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
MadCcc
ab19033876
docs: replace lib with es ( #36367 )
2 years ago
MadCcc
42e030edd9
fix: arrow compatibility ( #36266 )
* fix: arrow campatibility
* chore: code clean
* chore: rm useless style
* chore: code clean
* fix: use inset
* chore: bundlesize optimization
* chore: rm useless style
* chore: rm useless style
2 years ago
afc163
3ee6c47da2
chore: update Belarusian locale ( #36265 )
* Edited Belarusian locale:
- Added missed entries
- Fixed some mistakes
* test: update snapshot
Co-authored-by: Aliaksiej Razumaŭ <belarusaed@gmail.com>
2 years ago
සයුරි | Sayuri
d692a88ed7
feat: add si_LK locale ( #36149 )
* දින තේරුම සකස් කිරීම
* චීන ප්රලේඛනය යාවත්කාල කිරීම
* ඉංග්රීසි ප්රලේඛනය යාවත්කාල කිරීම
* තවත් දත්ත ඇතුල් කිරීම
* දින දසුනට භාෂාව යෙදීම
* ප්රධාන දේශීයකරණ සංරචකය යෙදීම
* සැපයුම්කරු සඳහා ගොනුව යෙදීම
* කාලය තේරීමට අදාළ සංරචකය යෙදීම
* යෝජනාව ඇතුළු කෙරිණි
Co-authored-by: Amumu <yoyo837@hotmail.com>
* නව ඇසුරුමට වෙනස් කළා
* ගොනුව යාවත්කාල කෙරිණි
Co-authored-by: Amumu <yoyo837@hotmail.com>
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
yykoypj
10964f158c
fix: incorrect position of picker popup ( #35620 )
Co-authored-by: yangpj17 <yangpj17@chianunicom.com>
close #35590
3 years ago
章鱼
7fd093bd0a
docs: feat components TS demo ( #34742 )
* docs: add general components TS demo
* docs: add layout components TS demo
* docs: add navigation components TS demo
* docs: add data entry components TS demo
* chore(deps): add types for qs
* docs: add data display TS demo
* docs: add feedback components TS demo
* docs: add other components TS demo
* chore(deps): add types
* docs: unified demo code style
* docs: fix lint error
* docs: add demo TS type
* docs: fix demo TS type
* test: update snapshot
* docs: fix TS demo
* feat: update Rate character type
* docs: fix lint error
* feat: update Rate character type
* feat: update Rate character type
3 years ago
zombiej
5e910e74c1
docs: Fix DatePicker throw demo
3 years ago
Amumu
b222f93cc5
feat: add a new locale tk_TK ( #35605 )
* feat: add a new locale tk_TK
* fix: fix moment locale
3 years ago
二货机器人
f56e66a262
fix: Picker focus & blur not working ( #35552 )
3 years ago
dingkang
be2b0d8a6e
docs: replace class component with hooks ( #35500 )
* docs(badge): replace class component with hooks
* docs(button): replace class component with hooks
* docs(calendar): replace class component with hooks
* docs(card): replace class component with hooks
* docs(button): replace class component with hooks
* chore(deps): remove webpack devDependencies
* docs(cascader): replace class component with hooks
* docs(checkbox): replace class component with hooks
* docs(collapse): replace class component with hooks
* docs(comment): replace class component with hooks
* docs(descriptions): replace class component with hooks
* docs(config-provider): replace class component with hooks
* docs(date-picker): replace class component with hooks
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
MadCcc
01ebb6a563
test: update snapshot ( #35452 )
3 years ago
黑雨
42f91f970f
feat: edit date-picker to hook ( #35425 )
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
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
3 years ago
afc163
30ac6bd4e4
test: wrap React.StrictMode for test cases ( #35026 )
* test: React StrictMode
* test: fix Spin test
* chore: wrapper enzyme
* test: fix setState
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test cover
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: more test case
* test: disable part of it
* test: fix test & add placeholder
* test: Use orign enzyme mount
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
MadCcc
1c8e499f9c
test: migrate some test case to testing-library ( #35062 )
* test: migrate some test case to testing-library
* chore: code clean
* test: fix stylelint
* test: test case
3 years ago
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
MadCcc
9b73058045
refactor: wrap picker with FC ( #34994 )
* refactor: wrap picker with FC
* chore: code clean
* feat: cast type
* test: fix test
3 years ago
MadCcc
6776bb8916
docs: demo support react18 ( #34843 )
* docs: update demo
* chore: add script
* test: fix demo test
* docs: convert demos
* chore: move script
* test: remove react-dom import
* chore: update deps
* docs: update riddle js
* test: fix image test
* docs: fix riddle demo
3 years ago
二货机器人
8a3ee71006
chore: add control-radius ( #34727 )
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
MadCcc
ed651f450d
fix: missing status style for RangePicker ( #34509 )
* fix: range picker should has status style
* chore: code clean
* chore: code clean
* chore: code clean
3 years ago
MadCcc
2c88f606c3
fix: remove duplicated style ( #34101 )
* fix: remove duplicated style
* chore: reduce bundle size limitation
* chore: raise bundle size
3 years ago
黑雨
483ebb9da1
fix: update quarter picker placeholder for RangePicker ( #34089 )
3 years ago
MadCcc
8054abe81f
feat: DatePicker and TimePicker support status ( #34073 )
* feat: DatePicker and TimePicker support status
* docs: demo add version
* chore: code clean
3 years ago
afc163
92d5820457
chore: remove unused interface file ( #34011 )
3 years ago
MadCcc
926a8aaf8a
feat: tooltip round arrow ( #33710 )
* feat: tooltip round arrow
* chore: update demo
* docs: update docs
* feat: rounded arrow in Tooltip/Popover/Popconfirm/Dropdown/RangePicker
* chore: code clean
* fix: fill gap
* chore: code clean
* chore: raise css bundle size
* fix: arrow style
* feat: use full path
* test: update snapshot
* perf: hack firefox
* perf: more magic position
* perf: RangePicker's arrow position
* chore: bump rc-picker version
* fix: arrow position
3 years ago