qramilq
9f0e5e5e2f
feat: added ref support to Sider component ( #29169 )
* feat: added ref support to Sider component
* test: updated Layout tests (check for ref)
Co-authored-by: Аюпов Рамиль Ильдарович <RAyupov@stream.ru>
4 years ago
二货机器人
e19d0e0357
fix: zeroWidth trigger sider not collapsible ( #28000 )
* test: Test driven
* fix: Hooks for reuse
* test: More test case
4 years ago
偏右
05a82f2d48
fix: Menu custom icon style ( #27983 )
* fix: Menu custom icon style
close #27973
* fix snapshot
4 years ago
Tom Xu
050185bce1
refactor(layout.sider): rewrite with hook ( #27719 )
* refactor(sider): rewrite with hook
* Update layout.tsx
* Update layout.tsx
4 years ago
偏右
e7bed7cff7
perf( 📦 ): upgrade @ant-design/colors and remove rc-trigger from deps ( #27761 )
* perf(📦 ): upgrade @ant-design/colors
* move rc-trigger to devDeps
* fix lint
* update snapshot
* update snapshot
Co-authored-by: 二货机器人 <smith3816@gmail.com>
4 years ago
骗你是小猫咪
6fba4d1136
test: demo -> ui test ( #24475 )
* test: demo -> ui test
* improve comment image width
* use argos-ci
* use by cicleci
* fix circle run
* rebase master
* try pipeline var
* use another branch var
* fix commit id
* ignore image test file
* remove useless report
* fix test coverage
4 years ago
偏右
0a3af0b2e2
fix: 💄 Layout.Sider collapsedWidth cannot work without @menu-collapsed-width ( #27154 )
* fix: collapsedWidth do not work on Sider
* fix test case
* fix test case
* fix extra trigger div
* fix lint
4 years ago
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 ( #26602 )
close #26594
4 years ago
偏右
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
偏右
7bdd4fc1d7
fix: Layout trigger ( #25653 )
* refactor: layout code
* fix: Layout `trigger` could customize zero width trigger
close #25433
4 years ago
afc163
258d335450
docs: 📝 fix layout demo
4 years ago
xrk
2a051bac64
docs: fix layout demo ( #25602 )
4 years ago
xrkffgg
ff0c00d624
docs: reduce layout demo ( #25003 )
5 years ago
MengZhaoFly
a534e4a56a
doc: fix layout demo ( #23683 )
5 years ago
偏右
fc98ab7222
test: increase test cov for Layout and Typography ( #23407 )
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
afc163
e03209c7d4
✅ update snapshot
close #20779
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
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
偏右
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
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
5e4697e38b
test: update cases
5 years ago
afc163
a51f7a0508
✅ test unmount
5 years ago
vagusX
149729e524
use ant design icons 4.0 ( #18217 )
* feat: use @ant-design/icons@4.0
* feat: use createFromIconfontCN to make site works
* feat: update doc for Icon
* feat: use icon in component Alert
* feat: use icon in component Avatar
* feat: use icon in component Breadcrumb
* feat: use icon in component Button
* feat: use icon in component Cascader
* feat: use icon in component Collapse
* feat: use icon in component Datepicker
* feat: use icon in component Dropdown
* feat: use icon in component Form
* feat: use icon in component Input
* feat: use icon in component InputNumber
* feat: use icon in component Layout
* feat: use icon in component Mention
* feat: use icon in component Message
* feat: use icon in component Modal
* feat: use icon in component Notification
* feat: use icon in component PageHeader
* feat: use icon in component Pagination
* feat: use icon in component Popconfirm
* feat: use icon in component Progress
* feat: use icon in component Rate
* feat: use icon in component Result
* feat: use icon in component Select
* feat: use icon in component Step
* feat: use icon in component Switch
* feat: use icon in component Table
* feat: use icon in component Tab
* feat: use icon in component Tag
* feat: handle rest component which using Icon
* fix: remove unused vars
* feat: use latest alpha ant design icons
* fix: failed test in uploadlist.test.js
* test: update snapshot for icons
* doc: add Icon for site
* doc: use @ant-design/icons in site
* chore: use latest icons
* fix: tslint issue
* fix: test cases
* fix: types for react
* fix: lint rules for import orders
* fix: use @ant-design/icons@4.0.0-alpha.5 to avoid insert css in server render
* fix: eslint error in demo/**.md
* inject antd icons
* update snapshot
* fix site
* doc: update docs
* fix: code snippets icon in site
* feat: use latest @ant-design/icons
* fix: icon props in message
5 years ago
lhyt
b2f0a97a2c
test: update snapshots
6 years ago
afc163
e8ab26b641
✅ update snapshots
6 years ago
zombieJ
93887e1380
chore: Add warning if use `inlineCollapsed` under Sider ( #16826 )
6 years ago
zombieJ
41316e69e8
update snapshot ( #16017 )
6 years ago
zombiej
9f3c357053
add test case
6 years ago
zombieJ
89dd827b7f
fix: Refactor Menu related components life cycle methods ( #15868 )
* use state instead
* rollback demo markdown
* clean test
* sider context should be clean
* update test case
* fix test
* update debug desc
* add siderCollapsed into omit
* rm useless code
6 years ago
偏右
ad99b4322d
test: ✅ Add eslint-plugin-jest ( #15825 )
6 years ago
SoraYama
2b7fce3ce2
fix(Layout): disable `hasSider` when specifically declared
In some situation `Sider` is deeply rendered in Children of `Layout`,
and if we don't want to judge whether `Layout` has sider, the attr `hasSider`
set to `false` should properly work. However `hasSider || this.state.siders.length > 0`
will ignore `hasSider` when it is `false`.
6 years ago
偏右
2bacd0614c
⚡ Use semantic tag names in Layout ( #14806 )
close #14801
6 years ago
zombiej
0a67272ae4
add locale update
6 years ago
zombiej
12af9a9dca
icon add aria-label support
6 years ago
陈帅
8e11f0bdb9
merge support prettier
6 years ago
陈帅
dca9715186
support prettier
6 years ago
afc163
83c192ea3e
💄 fix eslint problems
6 years ago
zombiej
176a8dfcda
update test snapshot
6 years ago
HeskeyBaozi
976f6969f4
update test snapshot
6 years ago
HeskeyBaozi
2f8a56fa78
fix test case & update test snapshot
6 years ago