xrkffgg
22d4dbbe99
docs: reduce demo cascader/checkbox/form/inputno ( #25484 )
4 years ago
07akioni
a4712a8f67
docs: add debug on form/disabled-input-debug ( #25413 )
4 years ago
afc163
d2d8c67e5a
chore: update form demo
4 years ago
07akioni
7348baa6fb
fix: shouldn't set input-bg inside a error form item ( #25385 )
* fix: fix: shouldn't set input-bg inside a error form item
* chore
* test: update snapshots
* Update disabled-input-debug.md
Co-authored-by: 二货机器人 <smith3816@gmail.com>
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
xrkffgg
a754d9f60a
docs: fix form context demo rtl ( #25249 )
* docs: fix form context demo rtl
* fix
4 years ago
二货机器人
e46d414b11
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
5 years ago
zombiej
f263102500
docs: Update Form add usage desc
5 years ago
偏右
8497e54e39
docs: 📖 keep documentation up to date ( #24184 )
* docs: remove babel-plugin-import from docs
* docs: react-scripts-rewired + customize-cra => craco
* docs: remove babel-plugin-import
* fix remark link
5 years ago
二货机器人
72a846681a
chore: Fix Form.List render logic ( #24009 )
* update snapshot
* update nest logic
* clean up
5 years ago
偏右
4902c5a4f0
docs: 📖 update Form ts demo for createRef ( #23440 )
close #23417
5 years ago
xrkffgg
fd7e7d3695
style: optimization form rtl and demo ( #22621 )
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
二货机器人
f8a342f415
docs: Fix demo ( #22569 )
5 years ago
偏右
41e378a914
docs: 📖 better form demo code naming style ( #22490 )
5 years ago
Simon Knott
3dd2332549
Address diverse users without gender assumption ( #22464 )
Not all diverse users don't want to be addressed as "lady" - if they wanted to, they'd have put in "lady".
This commit fixes this potential offense and replaces it using a less specific "hi there".
5 years ago
二货机器人
d33784b813
docs: Update form demo ( #22483 )
5 years ago
二货机器人
6d9f010dc2
docs: Add dynamic multiple fields demo ( #22247 )
5 years ago
偏右
3c292b9d62
docs: 📝 instruction about useForm
close https://github.com/ant-design/codemod-v4/issues/90
5 years ago
二货机器人
661ff7921d
feat: Form `validateMessages` support `${label}` ( #21835 )
* update form deps
* update demo
* update test case
5 years ago
afc163
c928952a89
🎬 improve form demo
5 years ago
medayz
b617b41dcb
fix typos in messages ( #21594 )
5 years ago
偏右
2f91dd4925
🎬 fix Form demo warning ( #21576 )
close #21543
5 years ago
二货机器人
aa6ccda4ba
feat: Form support scrollToFirstError ( #21462 )
* feat: add scrollToFirstError support
* add test case
* clean up
* coverage
* feat: add scrollToFirstError support
* add test case
* clean up
* coverage
* update docs
5 years ago
二货机器人
0f1629b244
fix: Input suffix form validate error style ( #21121 )
* fix: Input suffix form validate error style
* update style
* update snapshot
5 years ago
Chris Frisina
1db1e57792
Update register.md ( #21093 )
English Grammar
5 years ago
二货机器人
58133bcabd
update demo ( #21069 )
5 years ago
Jichao Zhong
b60eb4d20d
Fix Documentation for Form API ( #20830 )
5 years ago
二货机器人
5ebac5f9d6
feat: Form & ConfigProvider support component size ( #20570 )
* feat: Support form & ConfigProvider set component size
* update snapshot
* fix lint
* rm only
* update doc
* Table & Card support sizing
* Update snapshot
* fix lint
* update snapshot
* flush rest snapshot
5 years ago
二货机器人
5f7ca16ed5
docs: Update form demo to remove defaultValue ( #20524 )
* docs: Update form demo to remove defaultValue
* update demo
* update styl
* add missing content
* update snapshot
5 years ago
二货机器人
0189ba61bf
docs: Update demo error message ( #20521 )
5 years ago
afc163
276a02dfe0
✅ fix test case
5 years ago
afc163
08ab82d17f
:clipper: Add complex form control demo for Form
https://github.com/ant-design/ant-design/issues/20481#issuecomment-569184410
5 years ago
ycjcl868
bd8564e53e
fix: form demo dark style
5 years ago
ycjcl868
c10a6f029c
fix: demo style
5 years ago
ycjcl868
3a38cfaa01
fix: card, form site dark theme
5 years ago
Hami Abdi
0a00c5e22a
Correct Grammar in Form Component's Documentation ( #20381 )
In a demo corresponding to the form component, a comment contains a grammatical mistake: an infinitive in this context requires the present instead of past tense.
5 years ago
骗你是小猫咪
74082defe9
fix(Form): feedback icon with input suffix display not correct ( #20363 )
* fix(From): feedback icon with input suffix display not correct
* update snapshots
* review change
* revert register.md and improve feedback example
5 years ago
Guichi Zhao
1958b78ecc
docs: copy state to props is a bad practice ( #20212 )
* Copy state to props is a bad practice
The original code copy the props the state which is not necessary at all, it will only confuse the reader!
Also, it considered being a bad practice: https://overreacted.io/writing-resilient-components/
* remove console
* fix indentation
* fix lint error
* improve js syntax
5 years ago
ycjcl868
e8dd412c84
fix: Avatar User icon
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
ycjcl868
ec0dba9323
fix: button group
5 years ago
ycjcl868
55e34f6ac1
fix: icon error
5 years ago
二货机器人
6396ddb4e7
fix: Omit useless props & fix icon missing ( #19833 )
5 years ago
zombiej
fa8ddb4104
merge master
5 years ago
afc163
4615c70d95
🎬 fix Dragger style in Form demo
5 years ago
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
5 years ago
afc163
d07b298ae4
✅ Fix eslint errors
5 years ago
Wendell
49c81322b2
docs: fix form doc typo ( #18160 )
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago