偏右
d5eda4f87e
test: ✅ add more test cases ( #26350 )
* test: add more test to Layout
* test: add more test to DatePicker
* refactor: remove unused code in Menu
4 years ago
xrkffgg
cbdd2f5703
docs: perfect website ( #26198 )
4 years ago
偏右
7bdd4fc1d7
fix: Layout trigger ( #25653 )
* refactor: layout code
* fix: Layout `trigger` could customize zero width trigger
close #25433
4 years ago
xrk
acd3fe58d2
docs: fix layout demo style ( #25645 )
4 years ago
xrkffgg
96cbed4356
docs: fix layout demo style
4 years ago
afc163
258d335450
docs: 📝 fix layout demo
4 years ago
xrk
2a051bac64
docs: fix layout demo ( #25602 )
4 years ago
xrkffgg
2321cc6df5
docs: format api divider/grid/layout ( #25293 )
* docs: format api divider/grid/layout
* add the
4 years ago
小菜
542547932c
docs: fix breakpoints url in index.zn-CN.md ( #25097 )
* fix: fix layout breakpoints link 404
* fix: fix layout breakpoints link 404
Co-authored-by: lijie.clj <lijie.clj@alibaba-inc.com>
5 years ago
xrkffgg
ff0c00d624
docs: reduce layout demo ( #25003 )
5 years ago
偏右
882cec62d6
docs: 🌈 Add Components overview page ( #24491 )
* docs: Add components overview page
* fix detail
* remove ContributorsList form overview page
* fix components url
* improve code style
* remove extra file
* fix detail
* fix lint
* fix lint
* docs: Finish components overview page
* fix lint
* docs: Update cover
* fix lint
* update cover
* update menu
* improve overview page
* refactor code
* fix order
* update title
* add components count
* fix overview page ssr bug
* move less file
* update title margin
Co-authored-by: arvinxx <arvinx@foxmail.com>
5 years ago
xrkffgg
ee80a2f710
style: optimize layout rtl ( #23921 )
5 years ago
Tom Xu
f5153ab950
docs: improve style type ( #23700 )
5 years ago
MengZhaoFly
a534e4a56a
doc: fix layout demo ( #23683 )
5 years ago
偏右
8934bbfffa
feat: Menu.Item support icon ( #23629 )
* feat: Menu.Item support icon
* docs: update menu item usage
* docs: remove span wrap,when use icon
* fix: Collapsed depends on the span
* ✅ fix demo snapshot
* do not wrap children when it is span
* Menu.SubMenu support icon prop
* fix sub menu title
* fix eslint
* update dropdown demo
* fix extra icon attribute on li
Co-authored-by: MengZhaoFly <1424254461@qq.com>
5 years ago
偏右
c3e263f2f2
chore: 🚮 remove console ( #23431 )
5 years ago
偏右
fc98ab7222
test: increase test cov for Layout and Typography ( #23407 )
5 years ago
zefeng
dda45e4796
feat: support compact theme ( #22126 )
* feat: support narrow theme mode
* chore: rename narrow to compact
* chore: height part
* chore: preview compact mode
* chore: to make site corrected
* chore: preview site
* docs: 📖 document compact theme usage
* docs: tweak theme doc
* docs: 📖 Add description about double css bundle size
* chore: preview
* chore: for preview
* chore: adjust pagination
* chore: compact mode done!
* chore: remove useless todo
* chore: fix review bug
* chore: fix review bug
* chore: fix card margin
* chore: fix review bug
* chore: fix review bug
* chore: improve i18n and transition
* Update site/theme/static/common.less
Co-Authored-By: 偏右 <afc163@gmail.com>
* chore: fix button size and description padding
* chore: update snapshots
* chore: add compact css bundlesize limit
* chore: compact dist support
Co-authored-by: afc163 <afc163@gmail.com>
5 years ago
Adam Stankiewicz
f69ff7eff5
Inherit menu line-height from header ( #16142 )
5 years ago
二货机器人
e8876d5817
fix: MenuItem with icon only will still have additional margin ( #21925 )
* fix: MenuItem with icon only will still have additional margin
* update snapshot
* fix snapshot
5 years ago
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
* alert
* more icons
* another grouping
* all done
5 years ago
afc163
e03209c7d4
✅ update snapshot
close #20779
5 years ago
Felix
db99fe752f
Phrasing ( #21142 )
Small edit that I believe may be more appropriate for what this paragraph is trying to convey.
5 years ago
Teng YANG
8cf8c16142
update display names for layout components ( #21123 )
5 years ago
Amumu
3513c3493f
className to be the last ( #21074 )
5 years ago
yoyo837
ca8ea41118
Revert "change the prop className of the Header, Footer and Content to the last"
This reverts commit e728f406d8
.
5 years ago
yoyo837
e728f406d8
change the prop className of the Header, Footer and Content to the last
5 years ago
Amumu
f783ddabf4
fix: change the prop className of the Layout and others to the last ( #21041 )
* className to be the last
* snapshot
5 years ago
Amumu
f4806ef9da
fix: add less variable to fix Layout.Header font color ( #21033 )
* add less variable to fix Layout.Header font color
* fix lint
5 years ago
xrkffgg
4388a96c32
docs: Format string notation of all components ( #20970 )
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
信鑫-King
f88f383be6
fix: dark site in Form and iframe change ( #20573 )
* fix: suggestion dark bg
* fix: demo use autoComplete="off"
* feat: support iframe theme change
* fix: iframe dark theme
* upd: test snapshot
* fix: lint
* fix: lint
* tweak: use theme-switcher to handle iframe and parent
* feat: support iframe theme change
* fix: dark shadow
* fix: layout style
* fix: dark site style
* fix: snapshot
5 years ago
ycjcl868
0306096356
chore: update snapshot
5 years ago
ycjcl868
6c318d85c9
fix: layout demo
5 years ago
ycjcl868
589750dbd6
fix: dark.css theme in site
5 years ago
ycjcl868
c352a1786b
fix: steps custom icon style
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
二货机器人
64b905e9bd
chore: Update `@ant-design/icons` deps ( #19979 )
* update icons deps
* update all icon ref
* fix lint
* update snapshot
5 years ago
鬼厉
209e293fae
docs: Layout and Affix clean version ( #19844 )
5 years ago
chenshuai2144
0189244ebc
fix: fix remove url
5 years ago
chenshuai2144
dc2ba553e7
doc fix layout breakpoints url
5 years ago
yoyo837
fb2bafbfdc
upgrade snapshot
5 years ago
yoyo837
0522d55f26
snapshot
5 years ago
二货机器人
e75fa039ef
refactor: Use CSSMotion ( #19205 )
* refactor: Use CSSMotion
* fix lint
* update rc-menu deps
* fix test case
* clean up
* more test case
* fix lint
5 years ago
orzyyyy
718a86d56b
chore: rename prop specialTriggerStyle to zeroWidthTriggerStyle
5 years ago
orzyyyy
4a29aaaf6b
docs: update
5 years ago
orzyyyy
5e4697e38b
test: update cases
5 years ago
orzyyyy
95710af9ef
feat(Layout): add prop specialTriggerStyle to controll the style of zeroWidthTrigger
5 years ago
ztplz
fe30adc18d
Improve code for better compatibility
5 years ago
Nikitenkova
04669002bf
fix(layoutSider): dimensionMap for max-width media query
According to visibility problem (on viewport breakpoints) with Sider menu in our App
And according to Bootstrap responsive breakpoints https://getbootstrap.com/docs/4.0/layout/overview/#responsive-breakpoints
We should use different values for `min-width` and `max-width`. For example, if we construct query with `min-width: 768px` then we MUST use `max-width: 767.98px` for proper breakpoint determination otherwise they conflict with each other when have similar values.
5 years ago