二货爱吃白萝卜
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
lijianan
66e4b1c91c
test: simplify test case ( #38403 )
2 years ago
kiner-tang(文辉)
2559b2fb1b
feat(grid): row's 'align' and 'justify' support reponsive value ( #37860 )
* feat: row's 'align' and 'justify' support reponsive value
* refactor: refactor code
* refactor: refactor code
* refactor: refactor code
* refactor: refactor code
* refactor: refactor code
* refactor: refactor code
* refactor: refactor code
* docs: 更新文档
* docs: 更新文档
* docs: 更新文档
* docs: 更新文档
* feat: remove other
* Update components/grid/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
* docs: update support version
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: afc163 <afc163@gmail.com>
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
二货机器人
7dbc5b735a
test: Update 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
yykoypj
aa97494625
feat: change slide tooltip api ( #37000 )
* feat: change slide tooltip api
* fix: deprecated warning
* refactor: remove boolean type support for Slider tooltip
* feat: update warning text
* chore: fix typo
* chore: save prod perf
* test: back of test case
* chore: clean up
* chore: fix test require
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
Yuki Zhang
81aac069ac
test: move test cases to testing-library for Grid ( #37057 )
* test: move test cases to testing-library for Grid
* fix: test when typeof gutter is object array in large screen
2 years ago
二货机器人
51954aa470
fix: fix row in flex layout size cal ( #36770 )
2 years ago
MadCcc
8e27cf986f
chore: rm component less file ( #36244 )
* chore: rm component less file
* refactor: less file
* refactor: rm less
* refactor: rm page-header and comment
* chore: rm less in components
* chore: update dist config
* chore: update image test
* chore: update dekko
* chore: rm lib dekko
* chore: update dist dekko
* chore: udpate bundle size
* test: update snapshot
* test: rm theme test
* test: update snapshot
* test: update snapshot
* chore: copy reset.css
* test: update image test
* chore: copy reset.css to es
* chore: update site script
2 years ago
二货机器人
de2992f96f
chore: move path ( #36243 )
* chore: base move
* chore: all path
* chore: fix script
2 years ago
二货机器人
2c2c631bfd
chore: prettier components ( #36171 )
2 years ago
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
MadCcc
e1b5595f83
chore: grid ( #35847 )
3 years ago
Bart Piotrowski
4bccb9985a
fix: Remove Grid row and cell aria roles ( #35616 )
close https://github.com/ant-design/ant-design/issues/35549
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
dingkang
58df74c38e
docs: replace class component with hooks ( #35519 )
* 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
* docs(drawer): replace class component with hooks
* docs(dropdown): replace class component with hooks
* docs(dropdown): replace class component with hooks
* docs(empty): replace class component with hooks
* docs(grid): replace class component with hooks
* docs(input): replace class component with hooks
* docs(input-number): replace class component with hooks
* docs(demo): fix lint error
3 years ago
MadCcc
24773d5796
test: lint
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
Karott Schu
d07dcd46b7
fix(<Row/>): wipe out unnecessary prop ( #35409 )
* fix: wipe out unnecessary prop
* wipe out unnecessary prop(`row-gap: 0px`) on <Row />
* add test case
* chore: remove unnecessary import
* chore: add prop to Row and Col
* chore: update snapshot (Form/Grid/Card)
* chore: update snapshot
* chore: move location
3 years ago
afc163
12d98f9ed6
chore: update snapshot due to rc-trigger bumped ( #35106 )
3 years ago
MadCcc
617449ddd2
test: add cssinjs test ( #35077 )
* test: add cssinjs test
* test: demoTest test cssinjs
* test: update snapshot
* test: adjust text
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
afc163
0f0e2f9f43
docs: simplify demo code, #30853 ( #35050 )
3 years ago
二货机器人
67ccf39bd3
fix: Notification & message throw `createRoot` warning in React 18 ( #35030 )
* chore: bump notification version
* test: notification test case
* test: more test case
* test: part message test
* test: rest message test
* test: notification config test
3 years ago
MadCcc
101865cf7e
fix: statistic token ( #34962 )
* fix: statistic token
* fix: all components token
* test: fix lint
* chore: code clean
* Revert "chore: code clean"
This reverts commit 2c0e7d6ba3
.
3 years ago
MadCcc
c9dc63df75
refactor: Grid migrate to genComponentHook ( #34928 )
3 years ago
二货机器人
a67c0d28d3
fix: react 18 test fixing ( #34787 )
* fix: try fix
* chore: ci
* test: recover
* test: more test case
* test: more and mote
* test: btn test
* fix: react 18 compitable
* chore: more test
* test: all confirm test
* chore: tmp
* chore: test lib
* chore: tmp
* chore: tmp
* test: back of part
* test: back of menu index test
* test: more test
* test: form test
* test: rm IE11 test case
* chore: fix compatible
* chore: clean up
* chore: back of all test case
* test: ignore 18 lines
* chore: remove render test of enzyme in upload
* test: back of IE11 test case to fit 100% coverage
* chore: fix pkg deps
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
JiquanWang99
582df1199b
refactor: migrate the grid from less to cssinjs ( #34573 )
* refactor: migrate the grid from less to cssinjs
* fix: remove the hashid in col component
* refactor: split the useStyle of grid
* chore: add deps-lint-skip-all
* chore: add a fixme comment
* chore: remove the preset grid sizes in grid
3 years ago
MadCcc
ff02a4e265
docs: replace grid design img ( #34771 )
* chore: replace grid design img
* fix: code error
3 years ago
paul
8562427674
feat(row): add support for space-evenly ( #34606 )
* feat(row): add support for space-evenly
* docs: update demo snapshot.
Co-authored-by: gp5251 <gp5251@qq.com>
3 years ago
mic-web
7f7b3a59dc
fix: col-x class names in css when using custom prefix ( #34494 )
* fix: col-x class names of Row and Col components when using custom prefix
* refactor: reuse @col-prefix-cls and @row-prefix-cls
* refactor: move @col-prefix-cls and @row-prefix-cls to mixin.less
3 years ago
二货机器人
811fed2fc2
refactor: Update rc-slider ( #34234 )
* chore: Update rc-slider version
* chore: bump
* chore: update sty;e
* fix: style
* test: update snapshot
* test: all fixed
* fix lint
3 years ago
afc163
07dec4cb00
perf: Improve Components render perfermance when it's not reponsive ( #34122 )
* perf: Improve List render perfermance when grid is undefined
https://github.com/ant-design/ant-design/pull/34106/files#diff-9e016ea02fe7dd0ea42d8774d29d45e1a10b8dd108de9c89d50c828c74b993b8R146-R151
* chore: do not export useBreakpoint param
Co-authored-by: zombiej <smith3816@gmail.com>
3 years ago
二货机器人
9f602aa710
fix: Table render twice on first mount ( #34106 )
* fix: Table render twice
* chore: clean up
* test: Fix test case
3 years ago
mic-web
4f8646f957
fix: class names of Row and Col components when using custom prefix ( #33969 )
3 years ago
Di Wu
fe23374871
fix: Invalid hook dependency array in Sider and Row ( #33804 )
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
Mas
a16884fee0
docs: alter use a array to its correct spell use an array ( #32421 )
3 years ago
二货机器人
bc9c2734dd
test: Raise coverage ( #32182 )
* chore: rm useless code
* test: Coverage of warningOnly
* test: 100% coverage
3 years ago
二货机器人
2bdc3693fc
fix: Col with `flex` exceed its limit ( #32160 )
* fix: Col flex exceed its value
* test: Update snapshot
3 years ago
陈帅
0d1b1c40a6
merge featrue into master ( #30636 )
* feat: add Table expandable fixed (#29959 )
* fix: Use flex gap of space (#30023 )
* fix: use flex gap when supported
* test: update snapshot
* refactor: Use single hooks
* feat: Allow breadcrumb component in PageHeader (#30019 )
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Allow breadcrumb component in PageHeader
* Rename variable
rename var from _breadcrumbRender to breadcrumbRenderDomFromProps
* feat: add onChange for Statistic.Countdown (#30265 )
* feat: add onChange for countdown
* update the demo
* feat(upload): add onDrop (#30319 )
* feat(upload): Add onDrop
* Replace "if prop" logic with existential operator
* Remove redundant conditional
* feat(upload): itemRender add actions params (#30236 )
* feat(upload): itemRender add actions params
* chore: optimize type definition
* chore: update doc
* chore: rename actions
* chore: trigger ci
* chore: rename method name of actions
* feat: Add missing dutch translations (#30389 )
* feat: Add missing dutch translations
* fix: Translate remaining english values
* fix: Update snapshot for ui tests
* test: increase code coverage to 100% (#30415 )
* test: fix Space code coverage
* test: should use nl_BE locale for DatePicker
* fix: Switch tabIndex type (#30416 )
* feat: updated Romanian internationalization (#30419 )
* feat: updated Romanian internationalization
* fixed lint error
* feat: Menu support accessibility & keyboard access (#30382 )
* chore: Use focus style
* fix: prefixCls
* fix: prefixCls
* fix: inline tooltip
* fix: inlineCollapse logic
* fix: ts definition
* test: Update snapshot
* test: Update snapshot
* fix: dropdown logic
* test: Update snapshot
* test: Fix some test case
* bump rc-menu
* test: More test case
* fix test finder
* test: fix test case
* test: Update snapshot
* test: Update snapshot
* chore: Update ssr effect
* test: Update ConfigProvider snapshot
* test: Fix Table Filter test case
* test: Fix table test case
* chore: Update style
* chore: beauti css
* bump rc-menu
* test: update snapshot
* test: update snapshot
* test: Fix menu test
* test: Fix test case
* test: Coverage
* chore: clean up
* bump rc-menu
* ehance accessibility style
* feat(radioGroup): support data-* and aria-* props (#30507 )
close #30501
* feat: Typography add italic type (#30458 )
* Typography增加斜体字支持
* update snapshot
* 文档添加版本号
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
* chore: alpha Menu fix merge (#30546 )
* chore: Update script
* bump alpha version
* chore: Update script desc
* chore: bump rc-tabs & rc-mentions
* chore: Adjust style
* chore: 4.16.0-alpha.1
* test: Fix mention test case
* fix: sider of layout width style
* chore: bump 4.16.0-alpha.2
* fix: Tabs tabBarGutter should work as expected (#30545 )
close #30526
* feat: Table summary support sticky mode (#30631 )
* chore: Bump rc-table
* feat: Patch summary fixed color
* fix: style className
* test: Update snapshot
Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: gepd <guillermoepd@hotmail.com>
Co-authored-by: appleshell <appleshell@outlook.com>
Co-authored-by: Eric Bonow <ebonow@hotmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: Lewis <lewisfidlers@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Ștefan Filip <stefy.filip@gmail.com>
Co-authored-by: vldh <alwaysloseall@sina.com>
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
4 years ago
二货机器人
ebd60df124
fix: Use flex gap of space ( #30023 )
* fix: use flex gap when supported
* test: update snapshot
* refactor: Use single hooks
4 years ago
xrkffgg
52152ed384
fix: row warning when set margin ( #29688 )
* fix: row warning when set margin
* fix
4 years ago
二货机器人
6aaa7be029
fix: Grid should support ssr for flex gap ( #29586 )
* fix: SSR not break Grid
* test: Add hydrate test
* fix lint
4 years ago
二货机器人
a26e5036e6
fix: only row gutter use gap ( #29211 )
* fix: only row gutter use gap
* test: Update test case
4 years ago
二货机器人
9914ceb6be
fix: Grid flexGap lazy check ( #29202 )
* fix: get flex gap support before render
* chore: patch unit
* chore: rename
* test: fix test case
4 years ago
二货机器人
74a030355f
fix: row style ( #29182 )
4 years ago
陈帅
40f9be9417
megre Feature into master ( #29141 )
* feat: Allow user to configure the Tooltip in the Table header (#29002 )
* feat: Table header supports tooltipPlacement
* docs: add Table tooltipPlacement
* feat: Allow user to configure the Tooltip in the Table header
* fix: fix jsx and use old code style
* fix: replace if blocks with ternary operator
* docs: fix url
Co-authored-by: 偏右 <afc163@gmail.com>
* docs: fix url
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
* fix: Row with gutter has additional gap (#29059 )
* chore: init gutter
* feat: col support gap
* chore: Update playground
* fix: Safari padding
* test: fix test case
* test: More test case
* docs: Update demo
* test: Update coverage
* test: Update test hack
* feat(input-number): add keyboard prop to support disable keyboard (#29110 )
Co-authored-by: Ant Design GitHub Bot <yesmeck+ant-design-bot@gmail.com>
Co-authored-by: Harrison <stlebea@foxmail.com>
Co-authored-by: harrisoff <john@smith.kyon>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
4 years ago