Tom Xu
1719748a29
chore: eslint add consistent-type-imports ( #35419 )
* chore: eslint add consistent-type-imports
* fix avatar
* Update Item.tsx
3 years ago
Long Hao (龙濠)
18c4fe5fd9
refactor: next-affix change affix use cssinjs ( #34558 )
* refactor: next-affix
* fix: wrong spell
* fix: add fixme
* fix: prefixnam
* fix: change hash to classname
* fix: omit hashclassName
* fix: change name to rootclassName
* fix: rootClassName add
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
3 years ago
Long Hao (龙濠)
7c182926bc
fix: wrong word and cancel export inner interface ( #34643 )
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
3 years ago
Long Hao (龙濠)
bef910b9bc
refactor: move prefixCls to wrapper ( #34482 )
* refactor: move prefixCls to wrapper
* fix: name change
Co-authored-by: zengguhao.zgh <zengguhao.zgh@alibaba-inc.com>
3 years ago
二货机器人
a05a8674e9
refactor: Wrap affix with FC ( #34254 )
* test: fix
* chore: ts fix
* chore: update ts def
* test: fix test
3 years ago
Tom And Jerry
e0c777d5b4
refactor: replace let with const ( #33134 )
* refactor: replace let with const
* refactor: replace let with const
* refactor: replace let with const
* refactor: replace let with const new
* Update components/affix/index.tsx
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
renovate[bot]
94b21979e0
chore(deps): update dependency @typescript-eslint/parser to v5 ( #32500 )
* chore(deps): update dependency @typescript-eslint/parser to v5
* fix md lint
* fix eslint errors
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: afc163 <afc163@gmail.com>
3 years ago
afc163
13a829d20c
fix: classNames typing errors ( #30018 )
4 years ago
二货机器人
9e5e4c8743
chore: Fix ts ( #29383 )
4 years ago
afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
* refactor: use optional chaining instead of if
* revert some code
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
Hossein Mohammadi
04bfa3c54f
chore: add prettier-plugin-jsdoc ( #28551 )
4 years ago
dependabot[bot]
775d1800bb
chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0 ( #28253 )
* chore(deps-dev): bump eslint-config-prettier from 6.15.0 to 7.0.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 6.15.0 to 7.0.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases )
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.15.0...v7.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* chore: fix eslint style
* chore: prettier code style
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: afc163 <afc163@gmail.com>
4 years ago
偏右
637aa09bc5
chore: ✅ fix some eslint problems ( #24836 )
* 💄 fix lint
* 💄 fix lint
5 years ago
二货机器人
bb1f157645
feat: ConfigProvider support getTargetContainer ( #23751 )
* add getTargetContainer
* support affix
* test case
* anchor use new context api
* Anchor support getTargetContainer
* doc it
* update patch
5 years ago
Eric Wang
95f6f0f14a
Chore: Refactor affix test to typescript ( #23364 )
5 years ago
偏右
9e44b97436
fix: 🐛 Affix state update on unmounted component ( #22790 )
close #22683
5 years ago
偏右
f4961411c7
🐛 Fix Affix throws Cannot read property getBoundingClientRect ( #21350 )
close #21348
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
啸生
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
二货机器人
e07bba91fa
chore: replace resizeObserver with `rc-resize-observer` ( #19057 )
* replace resizeObserver with rc-resize-observer
* fix affix lint
* fix es lint
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
zombiej
a9dbee97f0
fix container
5 years ago
afc163
e3565ac110
🚨 Fix lgtm errors
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
6 years ago
zombieJ
8f0bf39348
add check prepare to make Affix smooth in Safari ( #16281 )
6 years ago
zombieJ
9dbca667d6
fix: Affix dynamic change target should work ( #16146 )
* fix target not refreshed
* add comment
6 years ago
zombiej
d81ce6ee99
add test
6 years ago
zy410419243
555af0a40d
Revert "refactor: update lifecycle method for Affix"
revert: related to #15150
6 years ago
zy410419243
ad30c02710
refactor: update lifecycle method for Affix
6 years ago
zombiej
fd0bea7332
fix size
6 years ago
zombiej
439053e4f7
update snapshot
6 years ago
zombiej
d0c2f8b05f
remove debug
6 years ago
zombiej
2eb4ecfedd
refactory
6 years ago
ycjcl868
28986d00e0
📝 fix className ts definition
6 years ago
Junbin Huang
d78c0f2707
Chore/fix master conflict ( #14126 )
* adjust table fixed column z-index (#14036 )
fix #13930
* 📝 Add instruction for one column without width left in fixed table
* Add full PR template link in template (#14061 )
* add full tmpl link
* adjust
* simplify it
* add cn link
* Fix Affix flickering when scrolling
* update
* fix: top border disappeared under some ie9
* fix calendar month range display (#14049 )
* Fix tslint warning
* Correct typescript usage (#14074 )
* 🐛 Fix steps style under IE9
close #14001
* 🐛 tweak style for not affecting vertical steps
* 📝 enhance upload documentation
* Input.Group with TimePicker disappear icon: https://codepen.io/mraiguo/pen/QzvvvE?editors=0010
* 🐛 Fix disabled button style in DatePicker panel
https://user-images.githubusercontent.com/507615/50693143-17505400-1071-11e9-9114-b150bef8f7f6.png
* 📝 site: fix BackTop been covered by footer
close #14093
* Update PULL_REQUEST_TEMPLATE.md
* Update pr_cn.md
* 🐛 Fix nested Timeline last item missing line (#14110 )
close #14108
* init Spin should also support delay trigger (#14105 )
fix #14100
* Update table docs
* bugfix
* Format
* update snapshot
* test: fix spin test
6 years ago
ztplz
1bdb8e5939
update
6 years ago
ztplz
a019c0033f
Fix Affix flickering when scrolling
6 years ago
徐新航
e0c74501f4
feat: The <Affix> run update-position when first mounted, to get the actual styles.
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
Basic support prefixCls.
6 years ago
ztplz
6ad23c370e
Fix CI
6 years ago
ztplz
8dc98dd690
Improve Affix
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
愚道
5903fdb19f
fix: Affix does not refix on offset prop changes
7 years ago
afc163
5fd4139661
Fix Affix offsetBottom not working, close #10674
7 years ago
afc163
6d8df2ac25
test: improve affix test case
7 years ago
qhxin
7404b7f36c
fix Affix/index.tsx while offsetTop === 0 and offsetBottom is numberic ( #10566 )
* Update index.tsx
Fix: if offsetTop === 0, it will get undefined, if offsetBottom is type of number, offsetMode will be { top: false, ... }
* Update index.tsx
7 years ago
afc163
37506b238f
sync placeholder node size when node is sticky by Affix, close #9536
7 years ago