Zack Chang
ccb7251384
feat: migrate less to token for Upload ( #42042 )
* feat: migrate less to token for Upload
* feat: recover less variables
* feat: add debug demo
* feat: rename token
* chore: update snapshot
* chore: update snap
---------
Co-authored-by: zhangjianxiong <zhangjx@tsintergy.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
Nikhil Mishra
bb6e0f5ab9
docs: fixed some grammatical errors in index.en-US.md ( #42438 )
I corrected some spelling and added some articles.
2 years ago
黑雨
cef58664e8
📝 doc: add design token table ( #41717 )
* ✨ feat: add token
* 📝 doc: update lint
* 📝 doc: update doc
2 years ago
lijianan
774bd8e6aa
fix: Indicators support number 0、null、undefined ( #40631 )
* fix: Indicators support number 0
* fix
* fix
* fix
* fix
* fix
* Update components/tour/__tests__/index.test.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* test: add test
* Update index.zh-CN.md
* Update index.en-US.md
* fix: update test
* test case
* Update components/tour/__tests__/index.test.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* Update components/tour/style/index.ts
Co-authored-by: MadCcc <1075746765@qq.com>
* fix style
---------
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
MadCcc
40e77c40d3
docs: overview dark cover ( #40666 )
* docs: add dark overview
* docs: show dark cover in dark theme
* docs: update cover
2 years ago
Danial Soheili
6ff094efba
Feat/upload list shape ( #40134 )
* 💄 STYLE: add **picture-circle** to `listType`
* 📖 DOC: update API table
* Update components/upload/index.en-US.md
Co-authored-by: lijianan <574980606@qq.com>
* Update components/upload/index.zh-CN.md
Co-authored-by: lijianan <574980606@qq.com>
* Update components/upload/Upload.tsx
Co-authored-by: Amumu <yoyo837@hotmail.com>
* 👌 IMPROVE: classNames
* 👌 IMPROVE: add missing className
* 📖 DOC: update Upload demo for icons
* 👌 IMPROVE: classNames order
* 🧪 TEST: update snapshots
* 👌 IMPROVE: Upload list classNames & snapshots
* 📖 DOC: add new demo & revert previous ones
* Update components/upload/index.zh-CN.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Update components/upload/index.en-US.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
* Update components/upload/index.zh-CN.md
Co-authored-by: Amumu <yoyo837@hotmail.com>
---------
Co-authored-by: lijianan <574980606@qq.com>
Co-authored-by: Amumu <yoyo837@hotmail.com>
2 years ago
Peach
6236e356b5
docs: update all site anchors ( #39687 )
* docs: update all site anchors
* docs: handle hash change from Link component
2 years ago
MadCcc
e7edfa42d7
docs: update overview img ( #38946 )
* docs: update overview img
* chore: code clean
* chore: code clean
* chore: update
* chore: code clean
2 years ago
afc163
e027cbec1c
docs: format all markdown ( #38629 )
* chore: add prettier-ignore in markdown demo
* docs: format markdown api table
* docs: format markdown api table
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
80114d62c7
Revert "fix: Upload item removed should keep status className ( #36439 )" ( #36682 )
This reverts commit cebbe23393
.
2 years ago
afc163
cebbe23393
fix: Upload item removed should keep status className ( #36439 )
* fix: Upload item removed should keep status className
* add test case
* test: fix act warning
* revert act test
* test: update snapshot
2 years ago
元凛
2154b453a9
docs: update docs version
3 years ago
二货机器人
62233426f3
docs: update faq ( #34984 )
3 years ago
Hyunseok.Kim
62b221269d
feat: crossorigin attribute of Upload ( #34981 )
* feat: Add crossOrigin prop to thumbnail image
* feat: Add test cases about crossOrigin prop of Upload component
* doc: Add a description about crossOrigin prop to Upload component manual
* Update components/upload/interface.tsx
Update type definition using React.ImgHTMLAttributes
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: hyunseok.kim <hyunseok.kim@42dot.ai>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
zombiej
f11bde4207
docs: Add faq about chrome with upload
3 years ago
Eliot Sanford
a65ba8aa8a
docs: update sentence structure in the FAQ section ( #33816 )
3 years ago
huanganqi
9d1e0efca1
feat: Upload adds `showUploadList.previewIcon` ( #32059 )
* fix: add upload.showUploadList 'previewIcon'
* Update componentsformat/upload/index.zh-CN.md
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
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
Kermit
3ee634ba4c
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
4 years ago
Eric Bonow
32040fb996
feat(upload): add onDrop ( #30319 )
* feat(upload): Add onDrop
* Replace "if prop" logic with existential operator
* Remove redundant conditional
4 years ago
Kermit
7fdfa4e64d
fix(upload): beforeUpload type declaration ( #29766 )
* fix(upload): beforeUpload type declaration
* chore: update doc
4 years ago
xrkffgg
d05112427a
Update components/upload/index.en-US.md
4 years ago
Eric Lee
55aa0f457b
code review
4 years ago
陈帅
c673cde7de
merge Feature into master ( #29758 )
* feat: add onCancel and onEnd option for editable (#29615 )
* feature: add onCancel and onEnd option for editable
* doc: editable
* doc: add EN doc
* optimize: code
Co-authored-by: chenliang <chenliang9@xiaomi.com>
* feat: add parent class for different notification types (#29634 )
close #29417
* refactor: Upload use origin behavior (#29737 )
* refactor: Fallback of events
* test: Fix test case
* fix: Start file update logic
* fix: remove status update
* test: Remove wrapTest
* test: Fix test case
* chore: bump rc-upload
* docs: About desc
* feat: tab support moreIcon (#29744 )
* feat: Tabs support moreIcon
* docs: Tabs support moreIcon
* style: lint
* docs: add english document
* Update components/tabs/index.zh-CN.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
* Update components/tabs/index.en-US.md
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
* Update components/tabs/index.zh-CN.md
* Update components/tabs/index.en-US.md
Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: jueinin <1014397160@qq.com>
Co-authored-by: chenliang <chenliang9@xiaomi.com>
Co-authored-by: 不吃猫的鱼 <michael2ib1989@gmail.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: Tianyuan Zhang <tianyuan233.zhang@gmail.com>
Co-authored-by: zty <zty.dev@outlook.com>
Co-authored-by: zty <zty.dev@icloud.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
4 years ago
Eric Lee
02e0611412
docs: Update Upload Docs
4 years ago
二货机器人
37bff5d5fd
refactor: Upload use origin behavior ( #29737 )
* refactor: Fallback of events
* test: Fix test case
* fix: Start file update logic
* fix: remove status update
* test: Remove wrapTest
* test: Fix test case
* chore: bump rc-upload
* docs: About desc
4 years ago
zombiej
1c461ecab4
docs: Update upload faq
4 years ago
Tom Xu
e5d908a078
docs: format api ( #29537 )
4 years ago
二货机器人
38bead8724
chore: Auto fill uid ( #28832 )
* chore: Auto fill uid
* docs: More desc
4 years ago
二货机器人
e63856ba9c
docs: Remove Upload `transformFile` prop ( #28365 )
* chore: Remove `transformFile` in doc
* clean up
* update snapshot
4 years ago
Tom Xu
d44f404eae
docs: sort api ( #27251 )
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
4 years ago
Kermit Xuan
7f7fe176e1
feat(upload): support itemRender ( #26333 )
4 years ago
Michael Waddell
add02767f0
Feat: Support callbacks for removeIcon and downloadIcon in Upload ( #26684 )
* updated to support callback function
* fixing compilation errors
* feat: add support for per-file callbacks in Upload removeIcon and downloadIcon
* Update components/upload/index.en-US.md
Added version
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
* docs: Changed `React.ReactNode` to `ReactNode`
* docs: Added version in CN documentation
Co-authored-by: Tom Xu <ycxzhkx@gmail.com>
4 years ago
afc163
fa9316f78c
docs: info about Upload file.status
4 years ago
xrkffgg
1503a58aee
docs: format api timepicker/transfer/upload ( #25351 )
4 years ago
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
* docs: Update components cover
#24629
* docs: Update components cover
5 years ago
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
5 years ago
Kermit Xuan
9b8e0bb908
feat(upload): data support return Promise( #22529 ) ( #24546 )
5 years ago
Tom Xu
cea0e45671
docs: improve upload ( #24482 )
5 years ago
Teng YANG
b264589b77
fix: enhance upload custom progress bar ( #24339 )
* enhance customize progress bar in upload
- fix progress bar `type` could be overridden
- update demo
* update docs in upload customize progress bar
* update docs in upload
5 years ago
Teng YANG
ac50fa147c
feat: resolve #24213 customize progress bar in upload ( #24319 )
* feat #24213 : customize progress bar in upload
* update doc for customize progress bar in upload
5 years ago
Amazing Turtle
5c1257d726
docs: Remove deprecated supportServerRender doc
5 years ago
chenlei
b57c000678
docs: Fix Upload index.en-US.md ( #23781 )
* docs: fix Upload index.en-US.md
* docs: update Upload index.zh-CN.md
5 years ago
nick
87da7bfe67
feat: add custom isImgurl prop to Upload Component ( #23248 )
* feat: customize isImageUrl support
* docs: Update Upload doc
* docs: Add isImgUrl default implement link
* docs: update default link address
5 years ago
Clair Duan
a875bfd28c
feat: custom Upload action icons removeIcon and downloadIcon ( #21363 )
* feat: add removeIcon and uploadIcon in API showUploadList
* test: test for removeIcon and downloadIcon
* docs: Upload docs and demo of downloadIcon and removeIcon
* test: update snapshot of uploadlist
* test: update Upload demo test snapshots
* fix: remove className of Upload custom action icons
* test: upldate Upload snapshot
* test: add trailing comma in upload-custom-action-icon.md
* fix: render Upload custom action icons with React.cloneElement
* test: update Uploadlist tests
* test: use string in Upload custom icon test
* fix: remove unused-var SmileOutlined in Upload demo
* fix: fix mouseEvent param missing in Upload ActionIconRender
* fix: fix mouseEvent type in Upload ActionIconRender
* fix: test mouseEvent in upload-custom-action-icon demo
* fix: fix the missing props spread in Upload custom icon
* test: add test for custom onClick in custom Upload icon
* fix: add remove test for custom Upload icon
5 years ago
叶枫
6c3d6e7247
feat: upload add icon ( #20034 )
* feat: add custom icon
* chore: test
* fix: eye style
* fix: anticon style
* fix: stylelint
* Update Form.tsx
* Update Form.tsx
* feat: 26
* feat: fiie-type
* Update basic.md
* Update debug.md
* Update target.md
* Update Steps.tsx
* Update element.md
* chore: clearn up
* chore: clearn up
* chore: clearn up
* fix: handleIconRender
* fix: iconNode
5 years ago
偏右
7dea548551
refactor: 🗑 remove deprecated or compatibility css code ( #20547 )
* 🗑️ remove deprecated or compatibility css code
* ✅ update snapshots
* ✅ fix test case and compile error
* ✅ fix stylelint
5 years ago
wangxingkang
336fb41ec2
docs: Removed version column in 4.0 ( #19821 )
Issue #19815
5 years ago
Hossein Ahmadian-Yazdi
214458931d
Gets the XMLHttpRequest Object in Onchange function ( #19539 )
5 years ago