lijianan
65224d357d
🦄 ️ refactor: use React.useMemo replace function ( #41550 )
* 🦄 ️ refactor: use React.useMemo replace function
* add
* fix
* add
* add
2 years ago
二货爱吃白萝卜
1fc374495f
chore: patch for missing rootClassName ( #40217 )
* chore: init test
* test: rootClassName inject
* test: part of test
* chore: patch qrcode rootCls
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* test: more test
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* test: more test
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: part rootClassName
* chore: fix lint
* chore: fix lint
* chore: ignore part of lint
* test: update snapshot
* test: fix test case
* chore: fix node test
* chore: adjust render logic
* fix: test
* test: update snapshot
* test: update
* refactor
* chore: fix require module logic
2 years ago
MadCcc
642bb582eb
refactor: TextArea ( #40045 )
* refactor: TextArea
* chore: update snapshot
* chore: update snapshot
* chore: fix lint
* chore: classes
* refactor: mentions
* chore: bump rc-textarea
* chore: code clean
* chore: code clean
* chore: UPDATE SNAPSHOT
* chore: code clean
* test: cov
* fix: textarea size
2 years ago
lijianan
6b4f94785c
chore: use React.useContext replace <Context.ConfigConsumer /> ( #40091 )
* chore: use React.useContext replace <Context.ConfigConsumer />
* add
2 years ago
afc163
06bd9d1852
perf: Remove IE11 from browserslist and babel targets ( #38779 )
* Update package.json
* chore: bump antd-tools
* Update package.json
* fix: browserslist in codesandbox
* chore: upgrade antd tools
* chore: upgrade antd tools
* test: fix Cannot access mockCanUseDom before initialization
* upgrade @ant-design/tools
* upgrade @ant-design/tools
* upgrade @ant-design/tools
* upgrade @ant-design/tools
* Update package.json
Co-authored-by: 二货机器人 <smith3816@gmail.com>
2 years ago
黑雨
8fd6ae54e9
feat: fix support options ( #38968 )
* feat: fix support options
* feat: update package
2 years ago
黑雨
67ee019478
Mentions data driven ( #38630 )
* feat: reset and force update
* feat: update package
* feat: reset
* feat: update for viewer
* feat: update for viewer
* feat: update for viewer
* feat: update for viewer
* feat: update for viewer
* update doc
* feat: add waring
* feat: update doc
* feat: add test case
2 years ago
Dave
d32a1fe274
fix(types): external module type error (CompoundedComponent) ( #38666 )
* fix(types): external module type error (CompoundedComponent)
* refactor(types): rename and replace internal CompoundedComponent type
2 years ago
Tom Xu
77ea4038d1
chore: remo format and remove prettierrc arrowParens ( #38722 )
2 years ago
Simon
51662df37d
fix(mentions): align type MentionsRef with rc-mentions ( #38028 )
2 years ago
黑雨
9b3a4dab70
feat: replace dropdownClassName to popupClassName ( #37122 )
2 years ago
二货机器人
8a0764dd69
feat: Tooltip support pure render ( #36512 )
* chore: init
* feat: Pure Panel Tooltip
* test: snapshot
* chore: clean up
2 years ago
二货机器人
5cc54947a1
feat: Mentions support Pure Render ( #36487 )
* feat: Dropdown support PurePanel
* chore: clean up
* docs: init
* feat: Mentions PurePanel
* test: Update snapshot
* chore: clean up
2 years ago
龙风
1cec18e8eb
fix: component.displayName To distinguish the environment ( #36126 )
Co-authored-by: afc163 <afc163@gmail.com>
2 years ago
二货机器人
3d21ec54e2
refactor: reduce empty cycling deps ( #35570 )
* chore: rm in root
* chore: fix ts
* test: Update snapshot
* chore: ignore part
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
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
7c4e12f99e
refactor: feedbackIcon provided by form ( #34712 )
* refactor: feedbackIcon migration
* test: update snapshot
3 years ago
Zack Chang
c8b2b28c95
Refactor/spin cssinjs ( #34653 )
* TODO: fix test case
* TODO: 样式、test文件的import
* TODO: 伪类不生效
* temp changed
* fix: disable eslint
* chore: update snapshots
* chore: 解决伪类不生效
* chore: update token prop name
* TODO: mark FIXME
* fix: recover snapshot
* fix: recover snapshot again
* chore: update snapshot
Co-authored-by: Zack Chang <zackchangjx@foxmail.com>
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
fbf9311100
refactor: mentions cssinjs ( #34536 )
* refactor: mentions cssinjs
* chore: add fixme
* chore: code clean
3 years ago
MadCcc
65bf6550b1
feat: mentions support status ( #34071 )
* test: skip form deps-lint
* perf: remove useless has-feedback classname
* test: raise test coverage
* style: recover import arrangement
3 years ago
dependabot[bot]
20d5502193
chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0 ( #32824 )
* chore(deps-dev): bump eslint-config-airbnb from 18.2.1 to 19.0.0
Bumps [eslint-config-airbnb](https://github.com/airbnb/javascript ) from 18.2.1 to 19.0.0.
- [Release notes](https://github.com/airbnb/javascript/releases )
- [Commits](https://github.com/airbnb/javascript/compare/eslint-config-airbnb-v18.2.1...eslint-config-airbnb-v19.0.0 )
---
updated-dependencies:
- dependency-name: eslint-config-airbnb
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* chore: code style
* memoize-one
* add comment
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* fix lint
* improve useMemo deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
dependabot[bot]
8a264baf67
chore(deps-dev): bump typescript from 4.2.4 to 4.3.2 ( #30724 )
* chore(deps-dev): bump typescript from 4.2.4 to 4.3.2
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.2.4 to 4.3.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.2.4...v4.3.2 )
Signed-off-by: dependabot[bot] <support@github.com>
* fix tsc
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
Hossein Mohammadi
8a1dfe8af1
chore: use rc-util istead of ref.ts ( #27920 )
ref.ts remove
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
Tom Xu
5a1ffb7894
refactor(mentions): rewrite with hook ( #24476 )
* refactor(mentions): rewrite with hook
* Update index.tsx
* Update index.tsx
* Update index.tsx
5 years ago
xrkffgg
192146d2a2
style: optimize mentions dropdown in RTL ( #23076 )
5 years ago
xrkffgg
e652eef04c
style: add rtl base ( #22857 )
* style: add rtl base
* fix: add test snap
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
Amumu
814cbd013c
fix: add focus and blur for Mentions ( #18132 )
* add focus and blur
* fix lint
* add test case
* use focusTest
* 恢复原始测试用例,查看focus的测试结果
* order
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
afc163
57c28def68
revert unknown to any
6 years ago
陈帅
82b85709be
style: run lint-fix ( #17172 )
6 years ago
Zzzen
f1ee189bd2
eliminate `any` type in exported interfaces.#14044
6 years ago
zombieJ
c5aaeb80fc
fix: mentions ts definition update ( #16814 )
* fix mentions ts definition
* adjust logic of Mentions
6 years ago
zombieJ
ecb2eb6ede
feat: Add Mentions component ( #16532 )
* init
* first demo
* support empty
* add loading support
* add form sample
* update form sample
* omit value & defaultValue
* add 2 rest demo
* placement support
* update docs
* fix test
* update docs
* add test case
* fix lint
* follow textarea style
* update docs style
6 years ago