二货机器人
bb1f157645
feat: ConfigProvider support getTargetContainer ( #23751 )
...
* add getTargetContainer
* support affix
* test case
* anchor use new context api
* Anchor support getTargetContainer
* doc it
* update patch
2020-04-29 20:22:16 +08:00
Eric Wang
64cb9584ce
fix: include tests in type check ( #23452 )
...
* fix: include tests in type check
* Do lint *.md
* Improve types in tests
2020-04-22 13:37:23 +08:00
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
2020-04-22 11:59:56 +08:00
Eric Wang
95f6f0f14a
Chore: Refactor affix test to typescript ( #23364 )
2020-04-18 00:31:31 +08:00
偏右
9e44b97436
fix: 🐛 Affix state update on unmounted component ( #22790 )
...
close #22683
2020-03-31 21:25:40 +08:00
偏右
ed6e8760e5
✅ fix snapshot ( #22445 )
2020-03-20 18:43:47 +08:00
偏右
66f67051af
test: ✅ improve test for requestAnimationFrame ( #22433 )
...
* test: improve test for requestAnimationFrame
* ✅ fix test coverage
* fix test case
* fix test case
2020-03-20 15:07:47 +08:00
偏右
f4961411c7
🐛 Fix Affix throws Cannot read property getBoundingClientRect ( #21350 )
...
close #21348
2020-02-12 13:03:32 +08:00
二货机器人
58133bcabd
update demo ( #21069 )
2020-01-22 12:11:49 +08:00
xiaohuoni
fa14546a40
chore: code style
2020-01-21 17:14:58 +08:00
xiaohuoni
623e83f643
docs: remove repeated definition
2020-01-21 16:26:47 +08:00
xiaohuoni
1c1c30e99c
docs: a demo use typescript
2020-01-21 16:21:37 +08:00
zombiej
e38a88181d
chore: Merge 4.0-prepare
2020-01-06 11:13:39 +08:00
只捱宅
9913f992b7
docs: update demo of Affix whth hooks ( #20124 )
...
* chore: update for basic.md
* chore: update for debug.md
* chore: update for target.md
* chore: import react
* chore: update for debug.md with hooks
* chore: refactor with typescript
2020-01-03 11:55:35 +08:00
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>
2020-01-02 19:10:16 +08:00
偏右
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
2019-12-31 11:54:39 +08:00
偏右
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
2019-12-23 18:33:08 +08:00
鬼厉
209e293fae
docs: Layout and Affix clean version ( #19844 )
2019-11-21 10:24:22 +08:00
Aaron Cawte
2b46a232db
Navigation components doc tweaks ( #19447 )
...
* Documentation - Affix Component
* Documentation - Dropdown component
* Documentation - Menu component
* Documentation - Pagination component
* Documentation - PageHeader component
* Documentation - Steps component
2019-10-28 09:09:22 +08:00
二货机器人
e07bba91fa
chore: replace resizeObserver with rc-resize-observer
( #19057 )
...
* replace resizeObserver with rc-resize-observer
* fix affix lint
* fix es lint
2019-09-29 04:56:56 -05:00
zombieJ
fd284ecc47
fix: ResizeObserver should ignore shaking ( #18289 )
...
* fix: ResizeObserver should ignore shaking
* fix lint
* fix domHook
2019-08-15 15:52:36 +08:00
afc163
760853e239
💄 eslint for all
2019-08-14 18:21:24 +08:00
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
2019-08-06 15:36:12 +08:00
zombiej
56166f6901
chore: fix docs only mark of affix
2019-07-17 11:11:55 +08:00
zombiej
6b422814de
fix lint
2019-07-16 23:50:21 +08:00
zombiej
a9dbee97f0
fix container
2019-07-16 20:48:03 +08:00
MuYu
fb0b4f0fc9
docs: show version Number features were added ( #17373 )
...
* docs: add api first appearance
* docs: fix auto-complete doc
* docs: replace Version Added with Version
* docs: date picker common method
* docs: date picker common method
* docs: tree
* docs: remove meaningless 3.0.0
2019-07-11 14:14:33 +08:00
afc163
e3565ac110
🚨 Fix lgtm errors
...
https://lgtm.com/projects/g/ant-design/ant-design/alerts/?mode=list
2019-06-16 17:41:25 +08:00
afc163
b780070351
💄 prittier all files
2019-05-07 14:57:32 +08:00
陈帅
785c132262
meger feature to master ( #16421 )
...
* use ul in list
* update snapshot
* update comment
* feat: TreeSelect support `showSearch` in multiple mode (#15933 )
* update rc-tree-select
* typo
* update desc & snapshot
* update desc & snapshot
* check default showSearch
* feat: table customizing variable (#15971 )
* feat: added table selected row color variable
* fix: @table-selected-row-color default is inherit
* feat: Upload support customize previewFile (#15984 )
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
* feat: form customizing variables (#15954 )
* fix: added styling form input background-color
* feat: added '@form-warning-input-bg' variable
* feat: added '@form-error-input-bg' variable
* use li wrap with comment
* feat: Support append theme less file with less-variable (#16118 )
* add override
* add override support
* update doc
* feat: dropdown support set right icon
* docs: update doc of dropdown component
* style: format dropdown-button.md
* test: update updateSnapshot
* style: format dropdown-button.md
* test: update updateSnapshot
* test: update updateSnapshot
* style: change style of dropdown-button demo
* fix: fix document table order
* feat: Support SkeletonAvatarProps.size accept number (#16078 ) (#16128 )
* chore:update style of demo
* feat: Notification functions accept top, bottom and getContainer as arguments
* drawer: add afterVisibleChange
* rm onVisibleChange
* update
* feat: 🇭🇷 hr_HR locale (#16258 )
* Added Croatian locale
* fixed lint error
* ✅ Add test cases for hr_HR
* 📝 update i18n documentation
* feat: add `htmlFor` in Form.Item (#16278 )
* add htmlFor in Form.Item
* update doc
* feat: Button support `link` type (#16289 )
close #15892
* feat: Add Timeline.Item.position (#16148 ) (#16193 )
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177 )
* feat: Add Timeline.Item.position (#16148 )
* doc: add version infomation for Timeline.Item.position
* refactor: Update Tree & TreeSelect deps (#16330 )
* use CSSMotion
* update snapshot
* feat: Collapse support `expandIconPosition` (#16365 )
* update doc
* support expandIconPosition
* update snapshot
* feat: Breadcrumb support DropDown (#16315 )
* breadcrumbs support drop down menu
* update doc
* add require less
* fix test
* fix md doc
* less code
* fix style warning
* update snap
* add children render test
* feat: TreeNode support checkable
* feat: add optional to support top and left slick dots (#16186 ) (#16225 )
* add optional to support top and left slick dots
* update carousel snapshot
* Update doc, add placement demo
* update carousel placement demo snapshots
* rename dots placement to position
* update vertical as deprecated
* rename dotsPosition to dotPosition
* refine code
* add warning testcase for vertical
* remove unused warning
* update expression
* Additional test case for dotPosition
* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402 )
* upgrade `rc-tree-select`
* update snapshot
* 3.17.0 changelog
* fix warning
* fix review warning
2019-05-06 12:04:39 +08:00
zombieJ
8f0bf39348
add check prepare to make Affix smooth in Safari ( #16281 )
2019-04-24 19:53:53 +08:00
zombieJ
9dbca667d6
fix: Affix dynamic change target should work ( #16146 )
...
* fix target not refreshed
* add comment
2019-04-18 01:33:05 +08:00
zombieJ
df141914e9
docs: Add FAQ of Affix window scroll ( #16125 )
...
* update doc
* Update index.en-US.md
* update desc
2019-04-17 10:19:57 +08:00
zombiej
d81ce6ee99
add test
2019-04-07 10:06:49 +08:00
zy410419243
c1bfa0d901
fix: conflicts
2019-03-25 21:48:18 +08:00
zy410419243
cc8d8b05aa
pref: call setProps rathor than componentDidUpdate
2019-03-25 21:48:18 +08:00
zy410419243
8eec4a801a
chore: remove eslint-disable => add function name
2019-03-25 21:48:18 +08:00
zy410419243
a5016a2a1f
test: update cases for Affix
2019-03-25 21:48:18 +08:00
afc163
f95d8e616d
⚡ Remove core-js from devDeps
2019-03-20 18:32:39 +08:00
afc163
bd27b6b836
📝 Optimize some docs
2019-03-19 11:44:00 +08:00
zombiej
fd0bea7332
fix size
2019-03-03 23:25:52 +08:00
zombiej
439053e4f7
update snapshot
2019-03-03 23:19:07 +08:00
zombiej
d0c2f8b05f
remove debug
2019-03-03 11:40:10 +08:00
zombiej
2eb4ecfedd
refactory
2019-03-03 10:04:21 +08:00
ycjcl868
28986d00e0
📝 fix className ts definition
2019-01-31 16:14:54 +08:00
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
2019-01-06 13:25:59 +08:00
afc163
879784c665
Merge branch "master" into "feature"
2018-12-20 17:43:00 +08:00
徐新航
e0c74501f4
feat: The <Affix> run update-position when first mounted, to get the actual styles.
2018-12-20 17:27:32 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
陈帅
dca9715186
support prettier
2018-12-07 18:27:30 +08:00
zombieJ
1a0a06fca9
ConfigProvider support prefixCls ( #13389 )
...
Basic support prefixCls.
2018-12-05 19:12:18 +08:00
afc163
83c192ea3e
💄 fix eslint problems
2018-11-28 15:11:02 +08:00
ztplz
6ad23c370e
Fix CI
2018-11-10 22:09:29 +08:00
afc163
213693e333
🌐 site: transition component category, close #11629
2018-11-04 16:20:35 +08:00
ztplz
8dc98dd690
Improve Affix
2018-11-01 14:55:41 +08:00
Wei Zhu
064bfaf554
Add @types/prop-types
2018-08-07 21:09:05 +08:00
afc163
009ed08580
upgrade eslint-config-airbnb
2018-06-27 16:09:58 +08:00
afc163
9f16d066af
Fix lint problems from eslint-config-airbnb@17
2018-06-22 21:05:13 +08:00
愚道
5903fdb19f
fix: Affix does not refix on offset prop changes
2018-06-19 10:04:15 +08:00
afc163
5fd4139661
Fix Affix offsetBottom not working, close #10674
2018-05-28 17:49:11 +08:00
afc163
6d8df2ac25
test: improve affix test case
2018-05-23 21:03:32 +08:00
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
2018-05-18 10:18:19 +08:00
afc163
37506b238f
sync placeholder node size when node is sticky by Affix, close #9536
2018-03-14 16:22:45 +08:00
afc163
8fb285fce9
Move maxHeight code into anchor, close #8606
2017-12-28 13:20:12 +08:00
afc163
31a0654ef9
Avoid affix element is higher than view port
2017-12-10 16:50:39 +08:00
Wei Zhu
d2b59938b8
Fix code style
2017-11-22 12:16:19 +08:00
Wei Zhu
b8a08f6e1d
Fix implicit any error for Affix
2017-11-22 11:49:35 +08:00
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
2017-11-17 14:38:54 +08:00
afc163
bf36ebdf5e
Merge branch 'master' into antd-3.0
2017-11-13 21:24:32 +08:00
Wei Zhu
645be586f3
Run jest.useFakeTimers in beforeAll
2017-11-13 10:46:54 +08:00
afc163
b53e76cbd5
Merge branch 'master' into antd-3.0
2017-11-09 20:37:30 +08:00
afc163
54188b8e97
Reset timer in test
2017-11-09 20:33:25 +08:00
Wei Zhu
bbb1a3a828
Merge branch 'master' into antd-3.0
2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db
docs: sort api table
2017-10-25 10:25:44 +08:00
Wei Zhu
c5487ad1eb
React 16 + Enzyme 3
2017-10-09 19:18:04 +08:00
afc163
4eb9d5ef56
Merge branch 'master' into antd-3.0
2017-10-09 13:33:59 +08:00
afc163
475e4ff23d
upgrade eslint-config-airbnb
2017-10-09 13:27:35 +08:00
afc163
2f7b75562c
Merge branch 'master' into antd-3.0
2017-09-20 17:13:32 +08:00
Benjy Cui
f46a87d3e0
fix: should use fixedNode's height to reset placeholder, close : #2349
2017-09-19 16:31:37 +08:00
Wei Zhu
047f62e9b4
Mark refs to private ( #7600 )
2017-09-17 15:48:44 +08:00
afc163
7bee69a9df
Merge from master
2017-09-08 16:49:58 +08:00
Khalifa Lame
0a583afc5c
docs: update Affix English doc ( #7488 )
...
Fixed minor typos.
2017-09-08 09:40:40 +08:00
Wei Zhu
581ddb2b49
refactor: affix string refs to callback ( #7482 )
2017-09-08 09:31:07 +08:00
afc163
01d4acb7a9
Attach more events for Affix display
2017-08-17 11:45:46 +08:00
Benjy Cui
0e5431d21b
deps: upgrade antd-tools and code style
2017-05-25 16:54:15 +08:00
Manjit Kumar
4e055ed5d0
use PropTypes from 'prop-types' mdoule instead of React
...
- as React.PropTypes is being deprecated
- Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
- Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
afc163
9414a9cbea
docs: fix target API of Affix and Badge
2017-03-30 14:23:25 +08:00
偏右
674255bd14
[WIP] upgrade deps ( #5455 )
...
* upgrade deps
* autofix some tslint problems
* Fix tslint problems manually
2017-03-23 21:15:49 +08:00
Wei Zhu
f6b1e942e3
Jest 19 ( #5361 )
...
* Upgeade to jest 19
* Use jest.spyOn
2017-03-17 18:56:30 +08:00
ddcat1115
7ab95b7eae
- fix ts error ( #5145 )
...
- typescript upgrade to 2.2.1
2017-03-06 15:48:03 +08:00
陆离
7d982ddfd4
Calc width of Affix
using getBoundingClientRect ( #4989 )
...
+ close #4986
2017-02-21 22:17:48 +08:00
乔奕轩
030127e93c
fix: Affix should not pass onChange to div ( #4982 )
2017-02-21 18:07:58 +08:00
Benjy Cui
200b88246f
docs: update docs format
2017-02-13 10:55:53 +08:00
陆离
3789e0cbbb
Affix listener bug fix ( #4756 )
...
* Affix listener bug fix
+ close #4755
+ close #4760
+ clearScrollEventListeners before setTargetEventListeners
+ add tests for throttle
+ append affix test case
* genMockFn -> fn()
2017-02-08 14:44:43 +08:00
陆离
340385d34d
pass style props to Affix
( #4715 )
...
+ close #4701
2017-01-26 12:08:40 +08:00
陆离
5cd111d486
recalculate width while resize ( #4676 )
...
+ close #4645
+ throttleByAnimationFrameDecorator as a function decorator
2017-01-26 11:23:54 +08:00
Wei Zhu
77b78a9389
docs: Unify type naming ( #4636 )
...
* Unify name of ReactNode type in document
* Lowser all string type name
* Lowercase all number type name
* Lowercase all boolean type name
* Unify array type
* Lowercase all object type name
* Unify mutilple types
2017-01-20 20:10:50 +08:00
Benjy Cui
3e17551b7e
site: improve build speed
2017-01-19 15:22:53 +08:00
Wei Zhu
07103b9fb6
Don't ignore test files.
2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283
Restructure tests.
2016-12-14 14:41:39 +08:00
afc163
c7c886fda6
Improve Affix target demo code style, close #4037
2016-12-03 16:20:53 +08:00
Will Chen
6b774a1343
docs: improve docs' detail ( #4050 )
2016-11-29 17:13:24 +08:00
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
...
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
Benjy Cui
746790a44e
docs: update Affix demos
2016-10-30 15:11:22 +08:00
Benjy Cui
8268bfdd9e
refactor: udpate Affix to work with strictNullCheck
2016-10-21 17:44:34 +08:00
Benjy Cui
61910bc2cb
fix: SSR for Affix and BackTop, close : #3283
2016-10-02 08:21:10 +08:00
Benjy Cui
9685d06f45
fix: should test if window exist, close : #3216
2016-09-29 18:00:23 +08:00
Benjy Cui
bd7e9f00c0
style: update code style
2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f
docs: update docs details
2016-09-21 11:28:38 +08:00
feng zhi hao
cad2d19be2
fix: complete loss declaration ( #3068 )
...
* complete loss declaration
* fix error in ts-lint
* fix Icon name error
2016-09-19 10:17:07 +08:00
Benjy Cui
59093a6586
fix: should pass prefixCls correctly
2016-09-14 16:59:45 +08:00
马斯特
a25ec29fb8
refactor: 保证所有的tsx和less都正确使用prefix ( #3024 )
...
* refactor: extract prefix cls as less variable
* refactor: apply ant icon prefix cls in less files
* refactor: all components support prefixCls props
2016-09-14 16:18:33 +08:00
afc163
0e1be22785
Merge branch 'master' of github.com:ant-design/ant-design
2016-09-10 14:11:10 +08:00
afc163
0e6f677ff9
Fix doc headings
2016-09-10 13:43:30 +08:00
Benjy Cui
17cadbb3fa
docs: update docs of Affix
2016-09-10 12:45:33 +08:00
Benjy Cui
14fb2c78ba
chore: remove deprecated code ( #2920 )
...
* chore: remove deprecated code
* chore: add warning for Breadcrumb
2016-09-09 13:55:46 +08:00
Benjy Cui
5a4ebe535f
deps: update rc-form and form's docs ( #2873 )
2016-09-01 11:48:38 +08:00
Shawn Sit
04e8f062c7
translated doc of affix target demo ( #2817 )
...
* translated doc of affix target demo
* fixs: misspell
* enhancement
2016-09-01 11:04:34 +08:00
afc163
363f610d8b
Fix tsc errors beside DatePicker
2016-08-24 16:09:55 +08:00
afc163
77949bb9e3
upgrade eslint-config, close #2811
2016-08-23 21:00:35 +08:00
Benjy Cui
5d39bd9c54
fix: resolve merge conflict
2016-08-22 17:18:26 +08:00
Benjy Cui
e6280a7ea6
Merge branch '1.x-stable'
2016-08-22 17:05:37 +08:00
Benjy Cui
d28e193382
feat: support Affix[target], ref: #2718 ( #2734 )
2016-08-18 11:27:37 +08:00
afc163
4f18cf0658
fix types
2016-08-01 13:30:13 +08:00
afc163
2e41e35cc6
Fix more tslint problems
2016-07-13 17:22:23 +08:00
偏右
de359d2cf7
fix tslint problems ( #2360 )
2016-07-13 11:14:24 +08:00
afc163
ce7e7c77f0
Fix ts error in Affix ( #1846 )
2016-07-12 16:07:12 +08:00
afc163
6dad2b2987
Merge branch '1.x-stable'
2016-07-11 14:57:38 +08:00
afc163
1f82c573bf
Add placeholder for Affix, close #1987
2016-07-11 14:52:21 +08:00
偏右
1cf55c2b16
docs: translate affix to english ( #1471 ) ( #2219 )
2016-07-10 08:56:02 +08:00
afc163
28c470cb37
Merge 1.x-stable
2016-07-09 16:03:47 +08:00
afc163
4ac775212f
Improve code for #2247
2016-07-09 16:00:05 +08:00
djorkaeff
f687c95bd9
change offset when window resize
2016-07-09 15:40:30 +08:00
afc163
4e0956f3e3
should use assign in ts
2016-07-05 10:46:00 +08:00
afc163
d280cba481
Merge 1.x-stable
2016-07-04 15:19:35 +08:00
afc163
09d00f1f30
Fix props warning, close #2253
...
https://fb.me/react-unknown-prop
2016-07-04 12:13:05 +08:00
yiminghe
9a0d751f94
refactor to typescript
2016-06-22 13:19:48 +08:00
afc163
90c2d7ee12
downgrade rc-util
2016-06-16 22:34:54 +08:00
ddcat1115
37e376df11
fix #1777
2016-05-26 16:07:30 +08:00
RaoHai
b8e196f178
Restore width
props in affixStyle
of <Affix />
( #1854 )
...
+ close #1820
2016-05-26 11:07:02 +08:00
Benjy Cui
8842d9342a
site: update components' type
2016-05-16 15:41:55 +08:00
afc163
5e21853e8b
Add deprecated warning for Affix offset
2016-05-09 21:49:31 +08:00
afc163
0ca6a1c24a
css modularize ( #1448 )
...
* css modularize
* Add alert style
* Move more component style
* Move iconfont to common style
* Move layout style
* Move more component style
* Move all components
* Fix lots of mixin deps
* remove css-prefix from less
* fix a button icon style bug
* restructure
* fix index
* add dist
* fix jest
* fix some components style
* clean webpack config
* check more components style
* update tabs
* update scripts
* update scripts
* fix form style
* fix more style
* Fix select width
* Fix form and tabs style
2016-04-27 20:44:36 +08:00
afc163
91e690282d
update site markdown style
2016-04-18 13:43:33 +08:00
Benjy Cui
df3ba36720
docs: remove useless newline in documentation
2016-04-01 10:08:19 +08:00
Benjy Cui
d5a6932c15
docs: update documentation format
2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8
docs: update demo format
2016-03-31 09:40:55 +08:00
Bruce Mitchener
0acce38f08
Convert more createClass over to extending Component.
2016-03-29 16:33:37 +07:00
Bruce Mitchener
89561b0b3e
Favor 'export default' over 'module.exports'.
2016-03-14 14:17:48 +07:00
Benjy Cui
cc0bad9ef9
chore: update UI
2016-03-10 10:50:39 +08:00