xrkffgg
be72d1762a
fix: upload disabled hover border ( #23522 )
5 years ago
xrkffgg
eb5c7ffc7e
style: complete upload rtl ( #23520 )
5 years ago
Eric Wang
55265ac4ef
chore: Replace domhook with jest.spyon ( #23469 )
* chore: Replace domhook with jest.spyon
* use mockreturn value when possible
* Update tests/shared/focusTest.js
5 years ago
xrkffgg
6c451865eb
site: add title upload picture-card ( #23312 )
* style: fix modal body padding without header
* change demo
* add url
5 years ago
Evan Charlton
58c6900175
chore: Fix console warning typo (validate -> valid) ( #23240 )
Clean up the typos in the helpful console warning messages which get
emitted if the incorrect prop is passed to certain components.
5 years ago
xrkffgg
e652eef04c
style: add rtl base ( #22857 )
* style: add rtl base
* fix: add test snap
5 years ago
dpyzo0o
69daa6fea7
fix: improve typing of upload component ( #22921 )
5 years ago
偏右
b369717181
chore: 🦄 Add eslint-plugin-unicorn ( #22883 )
* 🦄 Add eslint-plugin-unicorn
* fix eslint errors
* fix eslint errors
* fix lint demo
* fix lint demo
5 years ago
偏右
aca2656721
fix: ⬆️ BackTop not working in iframe ( #22788 )
* docs: 🎬 improve BackTop demo
* fix Backtop not working in iframe
* fix lint
* fix ci
* fix ci
* ✅ add more test case
* ✅ add more test cases
* fix ci
5 years ago
xrkffgg
d0dee05c28
style: optimize upload rtl style ( #22630 )
5 years ago
zefeng
dda45e4796
feat: support compact theme ( #22126 )
* feat: support narrow theme mode
* chore: rename narrow to compact
* chore: height part
* chore: preview compact mode
* chore: to make site corrected
* chore: preview site
* docs: 📖 document compact theme usage
* docs: tweak theme doc
* docs: 📖 Add description about double css bundle size
* chore: preview
* chore: for preview
* chore: adjust pagination
* chore: compact mode done!
* chore: remove useless todo
* chore: fix review bug
* chore: fix review bug
* chore: fix card margin
* chore: fix review bug
* chore: fix review bug
* chore: improve i18n and transition
* Update site/theme/static/common.less
Co-Authored-By: 偏右 <afc163@gmail.com>
* chore: fix button size and description padding
* chore: update snapshots
* chore: add compact css bundlesize limit
* chore: compact dist support
Co-authored-by: afc163 <afc163@gmail.com>
5 years ago
二货机器人
56aabf3966
chore: make bundle size smaller ( #22693 )
* update rc-resize-observer deps
* clean icons
* rm lodash/findIndex
* rm isPlainObject
* rm lodash uniqueBy
* rollback of icons
* clean up
5 years ago
xrkffgg
7f4c7b5978
style: fix rtl.less place and name ( #22384 )
5 years ago
二货机器人
8453cb7b2d
fix: Upload onChange immutable ( #22322 )
* refactor tree dir
* Upload onChange immutable
* update test case
* fix lint
5 years ago
xrkffgg
862cbbceec
style: add rtl.less of Select\Transfer\Upload ( #22307 )
5 years ago
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
* alert
* more icons
* another grouping
* all done
5 years ago
二货机器人
afedb4127f
docs: Site with single paging ( #21360 )
* patch route
* use data for promise
* rename Article file
* Article in TS
* clean up
* use collect
* adjust css
* card it
* listing
* res
* hiring
* add footer
* english it
* rm others
* fix lint
* fix navigation
* add dropdown button
* Header with TS
* split input & logo
* navigation out
* use flex
* flex everything
* stretch
* hide search when narrow
* init category
* global rules
* more cat
* pages
* level 2 width
* level 3
* level 4
* skip before ready
* clean up
* unqiue shadow variable
* update eslintignore
* update ignore
* fix ssr
* fix location param
* replace images
* shake more
* fix top of navigation
* remove home
* reorder nav & adjust padding style
* narrow res style
* Update research-form-page.zh-CN.md (#21426 )
Co-authored-by: Golevka <huangsamfisher@163.com>
* rm skip
* narrow merge in
* reset p style
* update svg
* fix lint
* update ignore
* update lint ignore
* Update research-result-page.zh-CN.md (#21432 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* Update research-result-page.zh-CN.md
* Update research-workbench.zh-CN.md (#21438 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-workbench.zh-CN.md
* Update research-list-page.zh-CN.md (#21441 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-list-page.zh-CN.md
* padding use 40px
* add responsive of ref
* fix p margin
* Update research-workbench.zh-CN.md
* Update buttons.md (#21456 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update resources.en-US.md (#21457 )
* Update research-navigation.zh-CN.md (#21453 )
* Update research-navigation.zh-CN.md
* Update research-navigation.zh-CN.md
* Update research-navigation.zh-CN.md
* Update research-empty.zh-CN.md (#21451 )
* Update research-empty.zh-CN.md
* Update research-empty.zh-CN.md
* Update research-empty.zh-CN.md
* Update research-empty.zh-CN.md
Co-authored-by: 二货机器人 <smith3816@gmail.com>
* Update research-exception-page.zh-CN.md (#21452 )
* Update research-exception-page.zh-CN.md
* Update research-exception-page.zh-CN.md
* Update research-message-and-feedback.zh-CN.md (#21463 )
* Update research-message-and-feedback.zh-CN.md (#21467 )
* Update research-message-and-feedback.zh-CN.md
* Update research-message-and-feedback.zh-CN.md
* Update research-message-and-feedback.zh-CN.md
* Update research-message-and-feedback.zh-CN.md
* replace background
* fix lines margin
* home padding
* patch minTilda doc
* Update resources.zh-CN.md (#21503 )
* clean up
* Update research-workbench.zh-CN.md (#21512 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-overview.zh-CN.md (#21513 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-result-page.zh-CN.md (#21514 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* Update research-list-page.zh-CN.md (#21515 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* fix doc
* Update research-message-and-feedback.zh-CN.md (#21516 )
* adjust home nav width
* Update research-message-and-feedback.zh-CN.md (#21535 )
* Update research-form-page.zh-CN.md (#21554 )
Co-authored-by: Golevka <huangsamfisher@163.com>
* patch file
* clean up
* update shadow.zh-CN
update shadow.zh-CN
* add shadow table
* Update visual.zh-CN.md (#21577 )
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* Update docs/spec/shadow.zh-CN.md
Co-Authored-By: 偏右 <afc163@gmail.com>
* patch docs
* fix doc
* rm page suffix
* fix style
* mobile it
* Update resources.en-US.md (#21561 )
* chart res
* add qr code
* adjust qr
* Update visual.zh-CN.md (#21603 )
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
* fix site qr
* mobile height of it
* book update
* 3.x site link
* isMobile is new cnotext
* Update research-form.zh-CN.md (#21604 )
Co-authored-by: Golevka <huangsamfisher@163.com>
* adjust form doc
* mobile use link
* adjust order
* flush
* fix ts
* Update research-navigation.zh-CN.md (#21606 )
* Update research-navigation.zh-CN.md (#21609 )
* rm useless lines
* add mobile icon
* Update research-exception.zh-CN.md (#21612 )
* Update research-empty.zh-CN.md (#21610 )
* Update research-workbench.zh-CN.md
* Update visual.zh-CN.md
* adjust mobile icon
* Update research-message-and-feedback.zh-CN.md (#21613 )
* Update research-list.zh-CN.md (#21617 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-workbench.zh-CN.md (#21618 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update visual.zh-CN.md (#21619 )
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
* Update research-result.zh-CN.md (#21620 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* Update research-form.zh-CN.md (#21615 )
* Update research-message-and-feedback.zh-CN.md (#21616 )
* Update research-list.zh-CN.md (#21621 )
Co-authored-by: yingxirz <inseeing@gmail.com>
* Update research-result.zh-CN.md (#21624 )
Co-authored-by: mihaideyu <zxy1010414746@163.com>
* update ref color
* update zip file
* fix mobile icon
* rm skip dark
* fix cat
* update zip link
* update zip link
Co-authored-by: Golevka <huangsamfisher@163.com>
Co-authored-by: mihaideyu <zxy1010414746@163.com>
Co-authored-by: yingxirz <inseeing@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: myeunhyuk <39618466+myeunhyuk@users.noreply.github.com>
Co-authored-by: minTilda <31951290+minTilda@users.noreply.github.com>
Co-authored-by: ziyuan-174774 <61226089+ziyuan-174774@users.noreply.github.com>
Co-authored-by: 竹尔 <54707870+AntDesigners@users.noreply.github.com>
Co-authored-by: shuwenliu0116 <33922479+shuwenliu0116@users.noreply.github.com>
5 years ago
afc163
b4636ab2df
💄 tweak Upload showDownloadIcon default value
it should be false
5 years ago
二货机器人
9f26e7a85e
fix: Form item has default height align with form size ( #21476 )
* fix: Form item has default height align with form size
* fix lint
* update snapshot
5 years ago
程成
c968184348
fix: upload 识别图片类型逻辑错误 ( #21473 )
* fix: upload 识别图片类型逻辑错误
当 uploadFile 有类型时,直接对 类型 进行判断即可
* test: 增加识别文件类型的测试用例
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
tae
88642f6048
refactor: Progress use `React.Fragment` to remove unused div ( #21170 )
5 years ago
琚致远
b9dca84e78
docs: Update fileList.md ( #21144 )
* Update fileList.md
* Update fileList.md
5 years ago
zombiej
7c8d942034
chore: Add missing test snapshot
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
二货机器人
d6cb50b4fd
revert: "refactor: Remove duplicated less loop" ( #20636 )
* Revert "refactor: Remove duplicated less loop (#20590 )"
This reverts commit af2d803829
.
* Update package.json
5 years ago
二货机器人
af2d803829
refactor: Remove duplicated less loop ( #20590 )
* refactor: Remove duplicated less loop
* update snapshot
* add more test case
5 years ago
Saeed Rahimi
676de29eb4
feat: added rtl direction to all of ant-design components ( #19380 )
* rtl demo change en-us description
* change bundlesize css limit
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* fix select component arrow issue
* RTL: form component
* add pagination rtl test
* fix test lint error
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* some fixes to RTL components
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* fix switch component text rtl issue
* fix table grouped header text-align
* add rtl support to whole demo with RTL button
* Update rtl demo responsive
* RTL: page-header component
* RTL: typography component
* RTL: Dropdown (Partial)
* update config-provider doc
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* fix lost changes after rebase
* fix lint errors
* RTL: Transfer Component
* RTL: upload component
* RTL: update avatar demo
* RTL: comment component
* RTL: collapse component
* RTL: carousel component
* update snapshots
* RTL: Card component
* RTL: descriptions component
* RTL: Empty component
* RTL: list component
* RTL: slider component
* slider component import/order
* add shared rtlTest
* RTL: Statistic component
* RTL: tooltip components
* RTL: popover component
* RTL: timeline component
* RTL: tag component
* RTL: alert component
* RTL: drawer component
* RTL: Tab component
* change direction definition
* RTL: progress component
* input.tsx, remove duplicate after rebase
* fix demo.less after rebase
* fix ant-row-rtl after rebase
* fix upload issues in rtl
* badge rtl demo margin fix
* fix: tabs with icon margin
* fix: radio-wrapper margin
* fix: table component after rebase
* fix: centered modal text-align
* update slider snapshot
* RTL: popconfirm component
* RTL: back-top component
* RTL: spin component
* RTL: result component
* RTL: skeleton component
* RTL: menu component
* RTL: time-picker component
* RTL: calendar component
* RTL: date-picker component
* RTL: home page
* update snapshots
* test: add auto-complete rtl test
* test: add avatar component rtl tests
* test: add badge component rtl tests
* test: add breadcrumb component rtl tests
* test: add button components rtl tests
* test: add card component rtl tests
* test: add carousel component rtl tests
* test: add cascader component rtl tests
* test: add checkbox component rtl tests
* test: add collapse component rtl tests
* test: add comment component rtl tests
* test: add dropdown component rtl tests
* test: add empty component rtl tests
* test: add form component rtl tests
* test: add grid component rtl tests
* test: add input component rtl tests
* test: add search component rtl tests
* test: add input-number component rtl tests
* test: add layout component rtl tests
* test: add list component rtl tests
* test: add mentions component rtl tests
* test: add modal component rtl tests
* test: add page-header component rtl tests
* test: add pagination component rtl tests
* test: add radio component rtl tests
* test: add rate component rtl tests
* test: add select component rtl tests
* test: add slider component rtl tests
* test: add steps component rtl tests
* test: add switch component rtl tests
* test: add table component rtl tests
* test: add transfer component rtl tests
* test: add tree component rtl tests
* test: add tree-select component rtl tests
* test: add typography component rtl tests
* test: add upload component rtl tests
* test: add affix component rtl tests
* update calendar tests
* increase css file maxSize
* update snapshots
* remove workflows to allow push
* remove duplicate reverse prop from slider
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* Added direction property to ConfigProvider
* cascader rtl tests added
* update config-provider doc
* RTL: grid system
* RTL: input component
* RTL: switch component
* fix rtl demo lint
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* fix pagination.tsx compile error
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* RTL: form component
* add pagination rtl test
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* RTL: input component
* RTL: select component
* RTL: switch component
* RTL: tree component
* fix rtl demo lint
* rtl demo change en-us description
* RTL: modal component (exclude confirm)
* RTL: table component
* RTL: pagination component
* cleanup rtl demo
* RTL: button and button-group
* RTL: Steps component
* fix rtl demo style
* fix input suffix icon alignment
* RTL: form component
* RTL: rate component
* RTL: radio and radio group components
* RTL: tree-select component
* RTL: badge component
* fix rtl issue in inline form
* fix input component rtl padding issue
* add rtl support to whole demo with RTL button
* input.tsx, remove duplicate after rebase
* fix ant-row-rtl after rebase
* update snapshots
* test: add cascader component rtl tests
* test: add pagination component rtl tests
* update calendar tests
* update snapshots
* fix: remove table demo from config-provider
* fix: remove table demo from config-provider
* fix lint error
* update direction.md icons
* dropdown and cascader default placement in rtl
* update snapshots
* fix lint errors
* remove duplicate import
* update snapshots
* update snapshot
* update calendar snapshot
* update snapshots
* integrate with new rc-picker
* update snapshots
* fix lint errors
* update snapshot
* update snapshots
* update snapshots
* update snapshots :|
* update snapshots
* fix compile error.
* fix typo after rebase
* update snapshots
* remove workflows to allow push
* update snapshots
* update snapshots
* fix dist error
* front-page css fix
* update snapshots
* fix lint and test issues
* restore cascader index.less
* update snapshots
* fix logo in rtl and demo controls
* ci errors
* resolve steps/index.tsx conflicts
* tooltip family demo remove inline style
* resolve table/Table.tsx conflicts
* resolve modal/Modal.tsx conflicts
* resolve cascader/index.tsx conflicts
* add workflows from upstream
* update snapshots
* revert logo to default
* fix codebox demo direction of placements
* resolve tooltip overlayClassName conflicts
* update snapshots
* update popover test
* fix: cascader miss popupClassName
* fix: fix select missing dropdownClassName
* chore: Update snapshot
* chore: Adjust menu use rtl logic
* docs: Update demo line color
Co-authored-by: 二货机器人 <smith3816@gmail.com>
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
偏右
8501b708ea
refactor: 📦 smaller bundlesize limit ( #20356 )
* 📦 samller bundlesize limit
* 🗑️ remove React static PropTypes
* 🗑️ remove react-lifecycles-compat
* 🗑️ remove matchMedia polyfill
* 🗑️ remove Transfer buggy lazy prop
* 🗑️ remove enquire.js dep
* 🗑️ remove Transfer lazy related code and fix ci
* 🗑️ remove used dom-closest
* ⚡ replace dom-scroll-into-view to scroll-into-view for bundle size
* ✅ fix eslint
* 🆙 upgrade browserslist
* ✅ fix test cases
* 🗑️ remove @ant-design/create-react-context
* 🆙 upgrade @ant-design/bisheng-plugin
* 🆙 upgrade rc-slider
* ✅ fix ci
* 🆙 upgrade rc-tabs and rc-mentions
* 📦 scroll-into-view -> scroll-into-view-if-needed
* remove unused devDep
* docs: 📝 update instruction about IE9/10
* 📦 reduce css bundle size by drop IE9/10 support
* 🆙 upgrade rc-upload
* 🗑️ drop unused swing motion css
* ✅ update upload snapshots
* 📦 lift css bundlesize limit to 55kb
5 years ago
Rustin
92169c4853
upload: fix upload not support ico file type issue( #20360 ) ( #20375 )
5 years ago
叶枫
b022eaf9c2
fix: fix upload long picture style ( #20008 )
* fix: fix upload long picture style
* feat: add config-provider test
* fix: stylelint
5 years ago
ycjcl868
aedea846fc
feat: add @upload-actions-color
5 years ago
Amumu
c824569ea0
move className and style to ant-upload-drag ( #19987 )
5 years ago
二货机器人
64b905e9bd
chore: Update `@ant-design/icons` deps ( #19979 )
* update icons deps
* update all icon ref
* fix lint
* update snapshot
5 years ago
wangxingkang
336fb41ec2
docs: Removed version column in 4.0 ( #19821 )
Issue #19815
5 years ago
二货机器人
efd3b35830
feat: Col support `flex` prop ( #16635 )
* feat: Col support `flex` prop
* update snapshot
* update doc
* row component use flex type by default
* revert grid flex layout doc
* remove float style
* remove doc old FAQ
* revert .make-row
* col style use flex and max-width
* remove useless Col style and imorove base doc for a single Col
* update snapshots
* fix flex mode pseudo
* update snapshots
* back to old flex mode demo gray background color
* set default col flex => 1 auto
* change grid about flex mode description
* update snapshots
* improve grid introduce and fix with gutter bug
* update snapshots
* remove version
5 years ago
叶枫
d2e98b1bb9
fix: style ( #19783 )
5 years ago
叶枫
f4051d8efc
fix: fix upload error style ( #19689 )
* fix: fix upload error style
* feat: demo
* feat: test
* fix: tooltip
5 years ago
Hossein Ahmadian-Yazdi
214458931d
Gets the XMLHttpRequest Object in Onchange function ( #19539 )
5 years ago
afc163
53efaa89a5
⚡ support Upload method
5 years ago
Ender Lee
593cfe8950
fix(Upload): add interface field ( #19485 ) ( #19496 )
5 years ago
Sagar Jain
25927c6a41
Improve typing of `UploadFile` interface
UploadFile interface made generic type so that a user can define a strongly typed response object if needed
5 years ago
David Broder-Rodgers
3f037b6d71
Improve types for customRequest prop on Upload component
5 years ago
叶枫
a31deb7f5d
fix: 修复点击下载按钮会执行预览方法 ( #19268 )
* fix: 修复点击下载按钮会执行预览方法
* chore: test
* chore: test
5 years ago
zombiej
5229d69bdc
chore: Fix demo lint
5 years ago
骗你是小猫咪
8ffaeb8cba
Docs: upload with aliyun oss ( #19054 )
* docs: upload with aliyun oss
* add before upload relate data
* test: lint fail
* test: update Snapshot
* docs: review change
* test: lint fail
* handle oss policy expired
* fix: lint fail
* optimize docs
* test: lint fail
* test: upload snapshot
5 years ago
orzyyyy
c4283e4fff
test: update snapshots for rc-upload bump to 2.8.0
5 years ago
啸生
71b53b7175
master to feature ( #19062 )
* ✅ increase upload test cov
* chore: replace resizeObserver with `rc-resize-observer` (#19057 )
* replace resizeObserver with rc-resize-observer
* fix affix lint
* fix es lint
* changelog (#19056 )
* Release 3.23.5
5 years ago
afc163
e5aea71b99
✅ increase upload test cov
5 years ago