zoomdong
a3f1de3293
refactor(Grid): rewrite with hook ( #24976 )
* refactor: hooks
* fix: lint
* update hooks
* update ref
4 years ago
zhangchen
26fa36083e
fix: ResponsiveObserve unsubscribe ( #25309 ) ( #25319 )
* fix: ResponsiveObserve unsubscribe (#25309 )
* fix: ResponsiveObserve unsubscribe (#25309 )
* fix: ResponsiveObserve unsubscribe
* test: add responsiveObserve.test.js
4 years ago
dolfje
fd0038e9e0
Reduce unnecesary render with gutter={[7,9]} #22474 ( #22475 )
5 years ago
偏右
37b61c1ada
🐛 Fix Grid initial gutter ( #20762 )
like SSR situation
5 years ago
二货机器人
d6cb50b4fd
revert: "refactor: Remove duplicated less loop" ( #20636 )
* Revert "refactor: Remove duplicated less loop (#20590 )"
This reverts commit af2d803829
.
* Update package.json
5 years ago
二货机器人
af2d803829
refactor: Remove duplicated less loop ( #20590 )
* refactor: Remove duplicated less loop
* update snapshot
* add more test case
5 years ago
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>
5 years ago
二货机器人
efd3b35830
feat: Col support `flex` prop ( #16635 )
* feat: Col support `flex` prop
* update snapshot
* update doc
* row component use flex type by default
* revert grid flex layout doc
* remove float style
* remove doc old FAQ
* revert .make-row
* col style use flex and max-width
* remove useless Col style and imorove base doc for a single Col
* update snapshots
* fix flex mode pseudo
* update snapshots
* back to old flex mode demo gray background color
* set default col flex => 1 auto
* change grid about flex mode description
* update snapshots
* improve grid introduce and fix with gutter bug
* update snapshots
* remove version
5 years ago
afc163
0d7d837c3f
🐛 fix wrong responsive gutter
close #19307
5 years ago
afc163
0cadae921a
💄 format getGutter code style
5 years ago
sosohime
a2edbc326f
feat: Grid support row vertical gutter ( #18979 )
* row vertical gutter
* run test
5 years ago
handy
133577f45e
RowAligns add 'stretch' value
5 years ago
orzyyyy
63b33d4020
fix: unexpected changes of snapshots
5 years ago
陈帅
3e32364dc0
New component Descriptions ( #14645 )
* add new component: DescriptionList
* add warning message
* docs: fix doc typo
* feat: implement the size attribute
* docs: fix doc typo
* refactor: use new name Descriptions
* test: snapshots updated
* feat: support react15
* style: fix code style warring
* style: better var name
* style: better code style
* style: merge css class
* feat: add responsive config
* fix: fix error title
* style: use @border-radius-base
* update snapshot
* feat: set default column
* test: add test script
* style: fix property defaultProps is useless error
* style: more robust code
* style: fix codereview warning
* style: fix review warning
* use responsiveObserveserve
* fix review warning
* bug: add childrenArray copy,prevent changes to incoming parameters
* fix dom error
* fix typo
* fix test
* don't use this
* snapshot updated
* prettier md
* remove descriptions md text
* new rendering method
* doc :add dot
* style: add right border
6 years ago
ztplz
5de03a5c18
Fix assert usage ( #14957 )
* Fix assert usage
* Update
6 years ago
frezc
5f9b376456
[type] make type of components compatible with ComponentType<P>
6 years ago
Sam Lanning
843056e58e
[chore] fix off-by-one error in loop
This fixes an alert that was found on LGTM.com
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
Wei Zhu
ee84f4ce0a
fix: some type definitions
6 years ago
Wei Zhu
ca7d265b2b
Refactor Grid with new context API ( #12320 )
* Refactor Grid with new context API
* Update snapshots of List
6 years ago
Wei Zhu
064bfaf554
Add @types/prop-types
6 years ago
Junbin Huang
bbf5cb75c3
chore: update typescript@~2.9.1 ( #10748 )
7 years ago
Wei Zhu
b7d508e166
Fix Row gutter type
7 years ago
Wei Zhu
518c424ca4
Improve Grid and Layout type definition
7 years ago
Wei Zhu
bebc57978d
Fix implicit any error for Grid
7 years ago
Wei Zhu
479a5cb743
Remove allowSyntheticDefaultImports ( #8218 )
7 years ago
afc163
9b2c40cdd7
avoid triggering unmatch when unregister
7 years ago
afc163
05c56553a2
Fix gutter PropTypes
7 years ago
afc163
b4bd906bf0
Fix responsive grid gutter
7 years ago
afc163
dd8b6347c7
Fix enquire in server render
7 years ago
afc163
09c2df4093
Fix test case
7 years ago
afc163
692efefe31
Support responsively grid gutter
7 years ago
afc163
1c8fbb8899
update code style
7 years ago
ravirambles
8ccd02139c
update row to remove implicit any ( #7803 )
7 years ago
paranoidjk
ba168b826f
refactor: use spread operator replace object-assign ( #6677 )
8 years ago
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
8 years ago
Tan Shaohui
804efbfbde
code optimize ( #5314 )
8 years ago
ddcat1115
7ab95b7eae
- fix ts error ( #5145 )
- typescript upgrade to 2.2.1
8 years ago
Chikara Chan
64f6a71cc9
fix: should not render useless className when type is undefined ( #4784 )
8 years ago
Benjy Cui
1351b5da5d
refactor: remove splitObject
8 years ago
Andrey G
a307a7acf7
refactor: remove unnecessary computed props for classNames ( #4055 )
* remove unnecessary computed props for classNames
* rollback autocomplete optimization for possible css style order issue
* update snapshots
* remove more unnecessary computed props at Input
8 years ago
ddcat1115
0baef0627e
docs: 调整组件导航结构 ( #3758 )
- Layout 更名为 Grid
8 years ago
Benjy Cui
bd7e9f00c0
style: update code style
8 years ago
马斯特
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
8 years ago
afc163
363f610d8b
Fix tsc errors beside DatePicker
8 years ago
Benjy Cui
5dcce12c2c
fix: some tsc errors ( #2804 )
8 years ago
Benjy Cui
3411765ce9
Refactor ts ( #2760 )
* refactor: add interface form Calendar
* refactor: add interface for layout
* refactor: add interface for DatePicker
* refactor: add interface for Icon
* refactor: add interface for InputNumber
* refactor: add interface for Input
8 years ago
偏右
de359d2cf7
fix tslint problems ( #2360 )
8 years ago