Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
kiner-tang(文辉)
6d253369d4
fix: when we apply style resize: none, TextArea should be not resizable when showCount is applied ( #37855 )
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
2 years ago
二货爱吃白萝卜
c436bd6f4f
fix: Textarea blink on first mount ( #37847 )
* fix: Textarea blink on first mount
* chore: Update ts def
* test: Update test case
* chore: bump rc-mentions
* test: Update snapshot
* test: Update test case
2 years ago
kiner-tang(文辉)
92a3c719dc
feat: Components under Form support custom disabled to override disabled of Form ( #37628 )
* feat: 当表单组件处于一个禁用的表单时, 该表单组件的禁用状态应该优先取决于表单组件本身的禁用状态
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: reset mergedSize change
* feat: reset mergedSize change
* Update components/checkbox/Checkbox.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: 优化 Checkbox 组件 disabled 逻辑判断
* Update components/switch/index.tsx
Co-authored-by: MadCcc <1075746765@qq.com>
* feat: remove upload default value
Co-authored-by: tangwenhui <tangwenhui@rd.netease.com>
Co-authored-by: MadCcc <1075746765@qq.com>
2 years ago
JarvisArt
549a2f956f
feat: add value parameter to textarea showCount.formatter ( #36793 )
2 years ago
Humble
0e6e1c047d
fix:when props.value is not undefined, can't reset value and focus ( #34728 )
* fix: when props.value is not undefined, can't reset value and focus
* test: add test case
Co-authored-by: MadCcc <1075746765@qq.com>
2 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
黑雨
b0a652580a
feat: Form disabled ( #35210 )
* feat: add form disabled
* feat: add form disabled
* feat: add radio disabled
* feat: update snap
* feat: add test case
3 years ago
MadCcc
e5efbee968
refactor: Components based on Input migrate to genHook ( #34884 )
* refactor: Input base components use genHook
* chore: code style
* chore: code clean
3 years ago
MadCcc
833ff22728
refactor: form cssinjs ( #34679 )
* refactor: form cssinjs
* fix: use rootPrefixCls
* feat: enhance
* test: update snapshot
* chore: code clean
* refactor: code enhance
* chore: code clean
* feat: add feedback icon style
* fix: padding
* feat: add motion easeout
* fix: explain padding
* fix: style
* chore: code clean
* test: update snapshot
3 years ago
MadCcc
0d4cc5ed33
refactor: adjust TextArea in form ( #34714 )
3 years ago
MadCcc
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
* refactor: feedbackIcon migration
* test: update snapshot
3 years ago
MadCcc
0de1e66ff1
refactor: move override code in form ( #34694 )
* refactor: move override code in form
* refactor: radio and checkbox
* chore: code clean
* test: fix lint
* test: fix lint
3 years ago
MadCcc
d446bafc6b
refactor: cssinjs for textarea ( #34484 )
* refactor: cssinjs for textarea
* chore: code clean
* refactor: better code style
* test: fix lint
* chore: code clean
* test: fix rtl warning
3 years ago
MadCcc
6a7acfbf6e
feat: inputNumber support status ( #34042 )
* feat: inputNumber support status
* test: fix test
* feat: custom status first
* refactor: getMergedStatus pass status in params
3 years ago
MadCcc
37e042358d
feat: Input support status ( #33995 )
* feat: remove form status style && input support status
* test: update snapshot
* feat: update status prop in config provider
* fix: form item validateStatus support
* chore: code clean
* feat: status classname change
* test: update snapshot
* refactor: move formItemStatusContext to form folder
* refactor: merge utils
* refactor: rename statusUtils
* chore: code clean
* test: fix coverage
* chore: remove status prop of Form.Item
* chore: code clean
* docs: update demo
* test: fix lint
* feat: status only success and warning
* test: fix lint
* docs: update deamo
3 years ago
chenyizhongx
38b4a03c56
fix textarea maxlength issue ( #33910 )
* fix: textarea maxlength
* refactor: delete some useless code
* refactor: fix ci
* refactor and fix test case fall
* update snapshot
* add testcase
* refactor type defined
3 years ago
zhenfan.yu
0092253460
fix Input及相关组件设置 hidden 时展示问题 ( #33735 )
* fix: Image 图片底部空白 #30825
* feat: Input、Input.search、Input.Textarea、Input.password 设置 hidden 时 所有 prefix or suffix or showCount or allowClear or addonBefore or addonAfter 都应该隐藏
* fix: lint
* fix: test
* fix: test ui
3 years ago
afc163
b1642233e8
fix: Revert "fix: TextArea missing maxLength attr." ( #33312 )
* Revert "fix: TextArea missing maxLength attribute (#32448 )"
This reverts commit ee703c187e
.
* fix: snapshot
3 years ago
Mohammad Arsalan
ee703c187e
fix: TextArea missing maxLength attribute ( #32448 )
3 years ago
二货机器人
3a1a829708
fix: TextArea style missing ( #31391 )
3 years ago
二货机器人
3cfda1042e
fix: TextArea onChange event obj ( #30124 )
4 years ago
二货机器人
793abf4284
fix: TextArea control with maxLenght ( #30070 )
* fix: Textarea control missing maxLength
* docs: Clean up
4 years ago
二货机器人
5f38753f6c
fix: align TextArea `maxLength` logic ( #29867 )
* fix composition
* fix input
* update doc
* fix tst
* more test case
* more test case
4 years ago
Homyee King
dd2cbe0336
fix: showCount ( #29057 )
* fix: showCount
* Update components/input/__tests__/textarea.test.js
Co-authored-by: 偏右 <afc163@gmail.com>
Co-authored-by: 偏右 <afc163@gmail.com>
4 years ago
二货机器人
4315ac567c
chore: replace omit ( #28846 )
* chore: Replace omit.js with rc-util omit
* chore: Replace omit.js with rc-util omit
* fix ts
* fix ts
* fix ts
4 years ago
二货机器人
6ae70059c9
feat: Input focus support cursor ( #28602 )
* feat: Input focus support cursor
* docs: clean up
* test: Fix lint
4 years ago
zombiej
a10a30ff60
fix: miss merge logic
4 years ago
einq7
fa376f9c82
docs: prettier markdown ( #28510 )
4 years ago
偏右
8f1466a30f
fix: TextArea value get cut if ime mode ( #28456 )
close #27686
close #28417
close #27116
4 years ago
He Linming
9d216d7cef
feat: add showCount.formatter for TextArea ( #28145 )
* feat: add countFormatter for TextArea
closing #28105
* test: add unit test
* refactor: update api
* docs: fix api docs
4 years ago
Tom Xu
30372ffad3
refactor(textarea): rewirte with hook ( #27693 )
* refactor(textarea): rewirte with hook
* Update TextArea.tsx
* Update TextArea.tsx
* Update TextArea.tsx
* Update ClearableLabeledInput.tsx
* fix
* improve
* Update TextArea.tsx
4 years ago
jiang.he
9881be97fd
fix: update the slice rule when the TextArea component limits maxLength ( #27679 )
4 years ago
appleshell
8f18328aad
feat: add setSelectionRange for the ref of Input and TextArea ( #27584 )
Co-authored-by: lvpansen <pansen.lv@atzuche.com>
4 years ago
Tom Xu
605bb2ffdf
fix conflict
4 years ago
二货机器人
8ea1e52d4d
fix: TextArea wrapper with div when `!showCount` ( #27216 )
* fix: TextArea layout
* test: Update snapshot
* fix: value logic
* fix: className & style logic
* chore: rm uesless code
* chore: Clean up
4 years ago
zoomdong
e6cc0009c3
feat: Input.Textarea support size props ( #27110 )
* feat: Input.Textarea add size props
* update snapshot
* update snapshot
* add case
* fix code
4 years ago
xrk
f0f39895b5
style: optimize Input.TextArea count style in rtl ( #27098 )
4 years ago
zhangchen
138b953afd
feat: TextArea showCount ( #26952 )
* feat: TextArea showCount
* update: TextArea showCount test
* update: TextArea showCount test
* update: test
* update: test
* update: test
* update: interface
* revert: interface change
4 years ago
偏右
6fc11830d6
fix: Textarea value works differently as Input ( #26652 )
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
Kermit Xuan
63816fa6ba
🐛 fix(textarea): should display defaultValue when value is undefined ( #26327 )
close #26308
4 years ago
07akioni
f937a7fffe
feat: Input & Input.TextArea support bordered prop ( #25617 )
* feat: Input bordered prop
* fix: snapshot
* fix: borderless Input background-color -> transparent
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
Kermit Xuan
294fc8a7ea
chore: replace textarea with rc-textarea ( #24966 )
5 years ago
xrkffgg
dd6c855028
style: fix input clear icon in rtl ( #23999 )
5 years ago
二货机器人
ed1959c13e
fix: Input click should get focus ( #21413 )
* fix: Click border should also focus
* update snapshot
* update snapshot
* fix TextArea
* update snapshot
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
Amumu
9120ff8c42
feat: TextArea add support onResize ( #20408 )
* textarea add support onresize
* add test case
* Improve code coverage
* improve
* snapshot
* improve test case
* none
* update docs
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