二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 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
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
Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
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
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
黑雨
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
Amour1688
1176454437
types: export DatePickRef and RangePickerRef ( close #33417 ) ( #33901 )
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
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
二货机器人
2df11184f4
test: Demo check popup content ( #33378 )
* auto demo
* chore: update demo snapshot
* fix: trigger mock ref logic
* chore: try 2 test case
* chore: more snapshot
* chore: update snapshot
* chore: fix ts
* chore: split test
* test: Update test case
* chore: fix test order
3 years ago
afc163
b34f72b1b6
test: fix ci warnings ( #33160 )
3 years ago
Rain120
753b848562
docs: add DatePicker format demo(Week start ~ end) ( #32078 )
* feat: doc of week format in date-picker
* feat: doc of week format in date-picker
* fix: set the tree-switcher-leaf-line position (#32075 )
* fix(image): small size hide preview text (#29900 )
* fix(image): small size hide preview text
* fix: image preview text ellipsis
* fix: reset test
* chore: improve icon search experience (#32098 )
* chore: improve icon search experience
close #32097
* chore: search result empty data
* feat: Georgian translation (#32106 )
* parent 18cd401678
author Primlx <primulax@live.com> 1628778277 +0400
committer primulax <primulax@live.com> 1631181358 +0400
Add files via upload
add georgian translation
Create ka_GE.tsx
Create ka_GE
Rename ka_GE to ka_GE.tsx
Create ka_GE.tsx
Update ka_GE.tsx
Update ka_GE.tsx
Create ka_GE.tsx
update rc-picker version
Create ka_GE.tsx
Create ka_GE
Rename ka_GE to ka_GE.tsx
Update ka_GE.tsx
Update ka_GE.tsx
Create ka_GE.tsx
update rc-picker version
* Update package.json
Co-authored-by: Amumu <yoyo837@hotmail.com>
* test case
* add language option in markdown
* test
* Update components/calendar/locale/ka_GE.tsx
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Update components/calendar/locale/ka_GE.tsx
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
* docs: Update research-message-and-feedback.zh-CN.md (#32112 )
* fix: Use latest rc-picker version with defaultPickerValue/showTime fix (#32107 )
* update rc-picker dependency to 2.5.17
* add test: DatePicker.RangePicker with defaultPickerValue and showTime
* fix: missing `default.css` (#32116 )
* chore: Add CI for compile
* chore: Add missing compile file
* docs: fix typo (#32121 )
* fix: preserve table pagination className (#32131 )
close #32130
* fix: use well typed PaginationLocale from rc-pagination (#32128 )
* docs: fix typo
* fix: useMessage() should use getPopupContainer from <ConfigProvider />… (#31939 )
* fix:useMessage() should use getPopupContainer from <ConfigProvider /> #31841
* fix: useMessage() should use getPopupContainer from <ConfigProvider /> #31841
* add test case for useMessage hook
* restore some changes
* try to restore files agains
* restore and keep the same as upstream master
* restore files
* restore some definition
* feat: inherit rc-pagination props, more customizable (#32132 )
* feat: inherit rc-pagination props, more customizable
close #32128 , #32129
* chore: CustomSelect.Option is required by rc-pagination
* fix: LocaleReceivier types issue
* fix: lint issue, pageSize must be presented
* chore: add Button.shape 'default' definition (#32004 )
* feat: add Button.shape 'default'
* fix: ignore shape when falsy value
* fix: generate className only when shape match
* fix: remove necessary .ant-btn-default and update snapshot
* fix: Cascader missing props (#32143 )
* fix: Cascader deps
* docs: Update using new API
* test: Test case cover
* chore: compressed skip dup check
* chore: remove redundant space after `should` (#32141 )
* chore(deps-dev): bump eslint-plugin-unicorn from 35.0.0 to 36.0.0 (#32149 )
Bumps [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn ) from 35.0.0 to 36.0.0.
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases )
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v35.0.0...v36.0.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-unicorn
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: fix modal demo in small screen
* refactor(dropdown): add dropdownButtonType export and refactor defaultProps (#31957 )
Co-authored-by: btea <2356281422@qq.com>
Co-authored-by: drizzlesconsin <69514654+drizzlesconsin@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Primlx <primulax@live.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: in_vane <52909860+in-vane@users.noreply.github.com>
Co-authored-by: Thomas Zipner <thomas.zipner@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: MD. Ariful Alam <swazan.arif@gmail.com>
Co-authored-by: JounQin <admin@1stg.me>
Co-authored-by: James <daoxingyue@live.cn>
Co-authored-by: 绯一 <jaredleechn@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zuobin Wang <49583235+Dreamerryao@users.noreply.github.com>
3 years ago
Thomas Zipner
b434e0a2ad
fix: Use latest rc-picker version with defaultPickerValue/showTime fix ( #32107 )
* update rc-picker dependency to 2.5.17
* add test: DatePicker.RangePicker with defaultPickerValue and showTime
3 years ago
acfasj
999660c574
fix(date-picker): DatePicker ref typing ( #31993 )
3 years ago
afc163
af805c098b
test: fix eslint errors ( #31961 )
* test: fix eslint errors
* test: fix eslint errors
3 years ago
afc163
1d894a2276
test: update snapshot
4 years ago
Map1en_
1699754bd5
fix(DatePicker): locale in DatePicker cannot override ConfigProvider locale ( #30380 )
* fix(DatePicker): locale in DatePicker cannot override ConfigProvider locale
close #30374
* fix: DatePicker.RangePicker
* test: add test
4 years ago
叶枫
6e89866694
feat: 动画样式添加 prefix ( #29268 )
* feat: add prefix
* fix: 剩余
* fix: test
* fix: test
* fix: test
* fix: test
* fix: 传了 name 则使用传的
* fix: pop 添加 prefix
* fix: Ok OK ?
* fix: modal confirm
* fix: select
* fix: test
4 years ago
xrkffgg
6412140cae
fix: RangePicker panel style & picker 2.4.0 ( #27894 )
* fix: RangePicker panel style & picker 2.4.0
* add snap & rtl
* add
* fix
4 years ago
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
4 years ago
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
4 years ago
Tom Xu
b5dc079228
chore: improve code style ( #27266 )
4 years ago
Kermit Xuan
e883e4ba40
fix(date-picker): showTime should work correctly when format is function ( #27156 )
4 years ago
Kermit Xuan
a733885b50
feat(date-picker): support custom format ( #26845 )
* feat(upload): ✨ support custom format
* test: update demo snapshot
4 years ago
偏右
83ddfb807e
test: ✅ Enable transition and animation in jest ( #26571 )
* test: ✅ add test cases to increase coverage
* test: fix snapshot
* fix: test node envioronment
* fix: test node envioronment
* fix test case
* test: refactor menu test cases
* test: update test code style
* test: add more menu test cases
* add comment
* test: update snapshot
* fix: alert test case
* fix: form onLeaveEnd test cov
* test: fix button click wave test cases
* chore: clean up snapshots
4 years ago
偏右
a8dea916b2
fix: Search autocomplele list in Chrome ( #26590 )
* fix: 🆙 upgrade rc-select to 11.2.x
* style: fix input search clear button
* test: update snapshot
4 years ago
xrkffgg
2005546d22
test: update snap ( #26467 )
4 years ago
偏右
d5eda4f87e
test: ✅ add more test cases ( #26350 )
* test: add more test to Layout
* test: add more test to DatePicker
* refactor: remove unused code in Menu
4 years ago
afc163
53ef8bed92
docs: 🎬 Improve DatePicker demo
4 years ago
07akioni
5a08aab0e8
docs: DatePicker demo refactor ( #25913 )
* docs: DatePicker change type demo
* chore: snapshot
* chore
* docs: DatePicker use Space
* chore: snapshot
4 years ago
二货机器人
2803ccf658
docs: Update DatePicker docs and add legacy notice ( #25768 )
* docs: Update DatePicker docs and add legacy notice
* clean up
* only warning for QuarterPicker
* update docs
* fix lint
* note to warning
4 years ago
陈帅
523b74e3b6
merge master into Feature ( #25262 )
* feat: add successColor for Progress (#24655 )
* feat: add successColor for Progress
* feat: update
* fix: update test
* remove snap
* feat: add test case
* refactor success
* feat: adjust styyle
* feat: add DevWarning
* feat: Support rowSelection.dirty (#24718 )
* feat: Support rowSelection.dirty
* rename to reserveKeys
* preserveKeys will keep record also
* to preserveSelectedRowKeys
* feat: add ghost prop for collapse (#24734 )
* feat: add ghost prop for collapse
* doc: version of collapse's ghost prop
* refactor: make ghost collapse's less code to a nested style
* chore: remove redundant codes in ghost collapse's less & doc
* doc: add a background wrapper for ghost collapse demo
* doc: dark-theme wrapper bg-color for ghost collapse demo
* test: update snapshot of ghost collapse
* doc: use softer bg-color on ghost collapse demo
* doc: remove disabled panel in ghost collapse demo
* feat: form instance support getFieldInstance (#24711 )
* support getFieldInstance
* update doc
* fix lint
* move func
* move into hooks
* update ref logic
* fix lint
* rm only
* fix docs
* feat: dropdown support arrow (#23869 )
* feat: dropdown support arrow prop
close #22758
* test: update snapshot
* fix: fix dropdown cls names
* test: update snapshot
* test: update snapshot
* doc: update demo
* test: update demo snapshot
* demo
* fix: snapshot
* chore: change the style of ghost collapse & demo modified (#24762 )
* refactor: reduce content padding in ghost collapse
* doc: remove the wrapper outside ghost collapse
Designer want the demo differs from other demos
* refactor: remove redundant .less code in collapse
* feat: cascader dropdown-render prop (#24812 )
* feat: cascader dropdown-render prop
* fix: update Cascader dropdownRender type annotation
* fix: set rc-cascader semver from ^ to ~
* docs: fix coding style in cascader/custom-dropdown
* feat: 🆕 support Drawer closeIcon (#24842 )
* feat: 🆕 support Drawer closeIcon
close #19283
close #19153
* add test case
* update docs
* feat: 🆕 Cascader expandIcon (#24865 )
* feat: cascader expandIcon
* fix: snap
* refactor: reduce CSS size (#24846 )
* refactor: reduce button css size
* refactor: remove redundant button .less code
* feat: add Table onChange an action param (#24697 )
* Working on tests
* created TableAction type
* changed TableActions to tuple
* removed chinese documentation line
* refactor TableActions
* fix documentation
* Moved action into extra param
* minor doc change
* feat: add closeIcon customize tag close (#24885 )
* feat: add closeIcon customize tag close
* docs fix
* update snap
* fix: css name
* update snapshot
* snapshot
* feat: add radio `optionType` api to set radio option type (#24809 )
* feat: radio component
* docs: update md
* fix: snap
* test components
* fix: use optionType
* fix name
* add warning
* fix
* feat: expand rate character (#24903 )
* feat: expand rate character
* fix: demo
* fix: snap
* Update components/rate/index.zh-CN.md
Co-authored-by: 偏右 <afc163@gmail.com>
* fix
Co-authored-by: 偏右 <afc163@gmail.com>
* Refactor demo code box actions (#24887 )
* refactor: refine the styling of actions part of demo code-box
* fix: lint style
* refactor: move Result children to end (#24945 )
* feat: remove content max-width on dot-step (#24907 )
* feat: add Skeleton-Image (#24805 )
* feat: add Skeleton-Image
* feat: add docs
* fix: adjust skeleton
* feat: adjust Image Component
* feat: rebase
* feat: adjust style
* fix: lint
* feat: remove size
* feat: delete md
* feat: fix style
* ✨ feat: Mentions support autoSize (#24961 )
close #17746
* chore: replace textarea with rc-textarea (#24966 )
* feat: update pagination@2.3.0 support onChange called when pageSize change (#24964 )
* feat: update pagination@2.5.0 and add test case to relative component
* fix: lint
* delete
* feat: add test case for pagination
* adjust test case
* feat: Implement centered prop in Tabs (#24958 )
* Implement centered in Tabs along with its tests and docs
* Fix build error
* Add Chinese translations and remove test case
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
* feat: Add modal style parameter (#24773 )
* add some paramters in default.less
* Update components/style/themes/default.less
Co-authored-by: Amumu <yoyo837@hotmail.com>
* change parameter in compact.less
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
* feat: export Tabs addIcon (#25006 )
* feat: export Tabs addIcon
* update snapshot
* feat: showNow on timepicker and datetimepicker (#25032 )
* feat: update rc-picker@1.7.1 and fix icons of month and quarter picker in DatePicker Component (#25035 )
* feat: update rc-picker@1.7.1
* delete
* add
* feat: expand rate support props (#24993 )
* docs: 📝 Add Form.Item hidden in doc (#25108 )
close #25101
* fix: ⌨️ Improve Pagination accessibility issue (#25119 )
* ⌨️ Improve Pagination a11y by fixing a W3C error
https://github.com/react-component/pagination/issues/280
* update snapshot
* 🆙 rc-pagination to 2.4.1
* feat: support triggerSubMenuAction for <Menu /> (#25127 )
* feat(menu): add triggerSubMenuAction for Menu
* feat(menu): test cases
* chore: Adjust picker logic (#25135 )
* chore: update rc-picker 1.10.0 (#25174 )
* feat: table row check strictly (#24931 )
* feat: add checkStrictly on Table.rowSelection
* fix: LGTM warnings
* test: table rowSelection.checkStrictly
* test: add cov [wip]
* refactor: tree.rowSelection.checkStrictly [wip]
* test: table.rowSelection.checkStrictly basic case
* feat: support rowKey on checkStrictly table
* feat: Table checkStrictly support getCheckboxProps
* docs: Table checkStrictly
* chore: typo
* chore: remove useless comment
* chore: update snapshot
* chore: update snapshot
* fix: fire selectAll on selection dropdown menu & changeRows incorrect in selectAll callback
* docs: typo
* chore
* chore
* fix: expand buttons of leaf rows in tree data are not hidden
* feat: Table warning about rowKey index parameter
* perf: only generate keyEntities when not checkStrictly
* refactor: remove useless parseCheckedKeys
* refactor: get derived selected & half selected keys from selectedRowKeys
* chore: remove env condition stmt
* chore: revert index usage & code formatting
* chore: rerun ci
* docs: table tree-data checkstrictly
* test: update snapshots
* refactor: use useMergedState hook
* chore: rerun ci
* chore: rerun ci 2
* chore: revert selection select all behavior
* refactor: refactor code based on feature
* chore: revert table code format
* chore: revert table code format
* fix: useMemo deps
* fix: useMemo deps
* fix: useMemo deps
* feat: support preserve (#25186 )
* docs: add responsibly order for Col (#25139 )
* feat: add type
* feat: add responsibly order cols
* feat: add docs
* feat: add test case
* fix test
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: zoomdong <1344492820@qq.com>
Co-authored-by: 07akioni <07akioni2@gmail.com>
Co-authored-by: wendellhu <wendellhu95@gmail.com>
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: Neto Braghetto <netow93@gmail.com>
Co-authored-by: Kermit Xuan <kermitlx@outlook.com>
Co-authored-by: Ashkan Pourghasem <64011067+ashkan-pm@users.noreply.github.com>
Co-authored-by: Ashkan Pourghasem <ashkan.pourghasem@gmail.com>
Co-authored-by: hicrystal <295247343@qq.com>
Co-authored-by: Crystal Gao <jinggao@ebay.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
Co-authored-by: Li Ming <armyiljfe@gmail.com>
4 years ago
zoomdong
1de1ce7504
feat: update rc-picker@1.7.1 and fix icons of month and quarter picker in DatePicker Component ( #25035 )
* feat: update rc-picker@1.7.1
* delete
* add
5 years ago
afc163
e09ce6284e
🎬 update DatePicker and TimePicker demo
5 years ago
偏右
cf360252f7
chore: 🆙 upgrade rc-util to 5.x ( #24584 )
* 🆙 upgrade rc-util to 5.x
* 5.0.1
* Update package.json
* Update package.json
* Update package.json
* Update package.json
* Update package.json
* Update package.json
* Update package.json
* Update package.json
* Update package.json
* upgrade rc-menu and rc-mentions
* upgrade rc-tabs
* upgrade rc-picker
* upgrade rc-table
* fix snapshot
* Update package.json
* Update package.json
* Update package.json
5 years ago
偏右
1bba2ef65e
chore: Delete netlify.toml and update devDeps ( #24343 )
* Delete netlify.toml
* 🆙 upgrade dev deps
* fix mockdate tsd
* fix tsc noEmit
5 years ago
二货机器人
a83143bbbc
fix: Picker disabled today ( #24190 )
5 years ago
afc163
50e33768a9
✅ fix DatePicker snapshot
5 years ago
二货机器人
34bf3fdb66
fix: DatePicker miss placeholder when it's undefined ( #23818 )
* fix placeholder
* add test case
* update snapshot
5 years ago
偏右
7bf44c417c
test: ✅ fix test case for RangePicker presetted ranges ( #23710 )
* ✅ fix test case for RangePicker presetted ranges
* 🆙 upgrade simple-git
5 years ago
afc163
e4bdfb218c
✅ add test case for RangePicker presetted ranges
5 years ago
Tom Xu
b7e877aeef
refactor(slider): rewrite with hook ( #23474 )
* refactor(slider): rewrite with hook
* improve test
* Revert "improve test"
This reverts commit 48cd83d0cc
.
* improve test
* improve test 2
5 years ago
二货机器人
ecf025548b
chore: adjust RangePicker style ( #23074 )
* adjust range color
* fix lint
* update color
* update dark logic
* adjust little of arrow
* use icon
* update font size
* update snashot
5 years ago
zombiej
3b77e610fe
chore: Update snapshot
5 years ago
二货机器人
b174f98c6c
chore: Adjust range picker style ( #22847 )
* adjust rangepicker style
* update snapshot
* fix lint
* add aria label
5 years ago