Amumu
d689c7b855
feat: Remove locale-provider ( #39373 )
* feat: remove locale-provider
* chore: fix lint
* Empty-Commit
* test: remove test
* Revert "test: remove test"
This reverts commit 4f6b59883f6bf078f21a10898ef913c9e2adb913.
* chore: 阶段性兼容
* fix lint
* fix: fix lint
* fix: add index
* docs: update docs
* docs: update
* docs: update
* docs: update
2 years ago
lijianan
4efa3b2896
test: `console.error` should nullable in Console ( #39050 )
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
kiner-tang(文辉)
796e8e16bf
fix: onBlur gets triggered when selecting date in RangePicker ( #38411 )
* feat: update picker version
* Update package.json
Co-authored-by: afc163 <afc163@gmail.com>
* feat: update test case
* feat: RangePicker blurDelay
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
二货爱吃白萝卜
cbcfd38ca7
docs: v5 site upgrade ( #38328 )
* build: try to use dumi as doc tool
* docs: migrate demo structure to dumi way
* refactor: use type export & import
* docs: migrate demo previewer to dumi
* docs: create empty layout & components
* docs: apply custom rehype plugin
* docs: create empty extra pages
* docs: Add Banner component
* chore: move theme tsconfig.json
* docs: home page init
* docs: migrate header (#37896 )
* docs: header
* docs: update
* docs: home init
* clean up
* test: fix site lint
* chore: tsc ignore demo
* chore: dumi demo migrate script
* chore: cards
* docs: home layout
* docs: Update locale logic
* docs: fix getLink logic
* chore: fix ci (#37899 )
* chore: fix ci
* ci: remove check-ts-demo
* ci: preview build
* test: ignore demo.tsx
* chore: update script
* test: update snapshot
* test: update node and image test
* chore: add .surgeignore
* docs: layout providers (#37908 )
* docs: add components sidebar (#37923 )
* docs: sidebar
* docs: update docs title
* docs: update design doc
* chore: code clean
* docs: handle changelog page
* docs: add title
* docs: add subtitle
* docs: active header nav
* chore: code clean
* docs: overview
* chore: code clean
* docs: update intl (#37918 )
* docs: update intl
* chore: code clean
* docs: update favicons
* chore: update testPathIgnorePatterns
* chore: code clean
* chore: code clean
* chore: copy 404.html (#37996 )
* docs: Home page theme picker
* chore: Update migrate script
* docs: home page update
* docs: theme editor style
* docs: theme lang
* chore: update migrate.js
* docs: fix demo (#38094 )
* chore: update migrate.js
* docs: update md
* docs: update demo
* test: fix snapshot
* chore: move debug to code attr in migrate script
* chore: update md
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
* feat: overview page
* feat: Migrate `404` page (#38118 )
* feat: migrate IconSearch component (#37916 )
* feat<site/IconSearch>: copy IconDisplay from site to .dumi
* feat<site/IconSearch>: change docs of icon
* feat<site/IconSearch>: tweak
* feat<site/IconSearch>: use useIntl instead of injectIntl
* feat<site/IconSearch>: fix ts type error
* feat<site/IconSearch>: use intl.formatMessage to render text
* docs: Adjust home btn sizw
* docs: Update doc
* feat: v5 site overview page (#38131 )
* feat: site
* fix: fix
* feat: v5 site overview page
* fix: fix path
* fix: fix
* fix: fix
* docs: fix margin logic
* feat: v5 site change-log page (#38137 )
* feat: v5 site change-log page (#38162 )
* docs: site redirect to home pag
* docs: theme picker
* docs: use react-intl from dumi (#38183 )
* docs: Theme Picker
* docs: update dumi config
* docs: home back fix
* docs: picker colorful
* docs: locale of it
* docs: update components desc
* docs: site of links
* docs: update components list
* docs: update desc
* feat: Migrate `DemoWrapper` component (#38166 )
* feat: Migrate `DemoWrapper` component
* feat: remove invalid comments and add comment for `key` prop
* docs: FloatButton pure panel
* chore: update demo
* chore: update dumi config
* Revert "chore: update demo"
This reverts commit 028265d3ba
.
* chore: test logic adjust to support cnpm modules
* chore: add locale alias
* docs: /index to /
* docs: add locale redirect head script
* chore: adjust compact
* docs: fix missing token
* feat: compact switch
* chore: code clean
* docs: update home
* docs: fix radius token
* docs: hash of it
* chore: adjust home page
* docs: Add background map
* docs: site theme bac logic
* docs: avatar
* docs: update logo color
* docs: home banner
* docs: adjust tour size
* docs: purepanl update
* docs: transfooter
* docs: update banner gif
* docs: content (#38361 )
* docs: title & EditButton
* docs: content
* chore: fix toc
* docs: resource page
* docs: transform resource data from hast
* docs: filename & Resource Card
* chore: enable prerender
* chore: remove less
* docs: toc style
* chore: fix lint
* docs: fix Layout page
* docs: fix CP page
* chore: update demos
* docs: workaround for export dynamic html
* chore: enable demo eslint
* docs: table style
* fix: header shadow
* chore: update snapshot
* fix: toc style
* docs: add title
* docs: Adjust site
* feat: helmet
* docs: site css
* fix: description
* feat: toc debug
* docs: update config-provider
* feat: use colorPanel
* fix: colorPanel value
* feat: anchor ink ball style
* feat: apply theme editor
* fix: code block style
* chore: update demo
* chore: fix lint
* chore: code clean
* chore: update snapshot
* feat: ts2js
* chore: description
* docs: site ready for ssr
includes:
- move client render logic to useEffect in site theme
- extract antd cssinjs to a single css file like bisheng
- workaround to support react@18 pipeableStream for emotion
* chore: bump testing lib
* docs: font size of title
* chore: remove react-sortable-hoc
* chore: update snapshot
* chore: update script
Co-authored-by: PeachScript <scdzwyxst@gmail.com>
Co-authored-by: MadCcc <1075746765@qq.com>
Co-authored-by: zqran <uuxnet@gmail.com>
Co-authored-by: TrickyPi <530257315@qq.com>
Co-authored-by: lijianan <574980606@qq.com>
2 years ago
afc163
9cc228f2af
chore: add type test
2 years ago
二货爱吃白萝卜
752d671acb
feat: DatePicker support `presets` ( #38249 )
* chore: basic style
* chore: all of token spread
* chore: default presets style
* docs: update presets
* chore: fix style
* chore: fix ts
* test: Update snapshot
* test: Update snapshot
* test: Update snapshot
* test: update snapshot
* chore: bump bundle size
* test: update snapshot
* chore: update picker style
* chore: rm useless content
2 years ago
MadCcc
2471bf88aa
test: fix test
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
二货爱吃白萝卜
24d2074ca4
fix: PurePanel width measure ( #37624 )
* fix: PurePanel width measure
* test: Update snapshot
2 years ago
MadCcc
7a73035f82
chore: fix snapshot
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
二货爱吃白萝卜
3623f2b901
chore: dropdownClassName support with legacy warning ( #37460 )
* chore: select legacy
* chore: auto complete tips
* chore: cascader warning
* chore: picker & treeselect
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
黑雨
ed1bb649ba
feat: replace date-picker,time-picker dropdownClassName to popupClassName ( #37207 )
2 years ago
二货机器人
2b38025710
chore: resolve dayjs conflict
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
二货爱吃白萝卜
94edd8e917
refactor: Select like PurePanel remove motion and support auto width ( #37117 )
* refactor: Pure support open
* chore: fit content size
* test: Update snapshot
* test: back of snapshot
* test: ignore purePanel
2 years ago
黑雨
8b05546367
feat: Replace dropdownClassName to popupClassName ( #36880 )
2 years ago
二货机器人
1bf275fa9a
feat: Picker support PureRender ( #36458 )
* feat: Picker support PureRender
* test: update snapshot
* fix: timepicker wrapper
2 years ago
二货机器人
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
iamkun
c48a3228ad
update test
3 years ago
iamkun
15f5453315
update test
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
iamkun
b22815d4d2
feat(moment-to-dayjs): replace date-time lib Moment.js with Day.js
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