afc163
99c2c2ff0b
refactor: use optional chaining instead of if ( #29368 )
* refactor: use optional chaining instead of if
* revert some code
4 years ago
xrkffgg
dcc0ffa016
chore : prettier code ( #29123 )
* style: prettier code
* update
* Update index.less
4 years ago
陈帅
91c22a1e64
feat: Breadcrumb support breadcrumbRender ( #28999 )
* feat: Breadcrumb support breadcrumbRender
* add version info
4 years ago
偏右
914fe4c3f6
Revert "feat: PageHeader support breadcrumbRender props ( #28723 )" ( #28994 )
This reverts commit 2d476f7fb2
.
4 years ago
陈帅
2d476f7fb2
feat: PageHeader support breadcrumbRender props ( #28723 )
* feat: PageHeader support breadcrumbRender props
* add doc
* less code
* breadcrumb support jsx.element
* add new test
4 years ago
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 ( #28465 )
4 years ago
Andrey Zhukov
27df2d96a0
fix: PageHeader title as not required property ( #28374 )
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
偏右
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
xrkffgg
36cdf0a129
refactor: direction type define ( #27540 )
4 years ago
chenshuai2144
d6c11fa901
less code
4 years ago
chenshuai2144
04658fa0a4
fix ci warning
4 years ago
chenshuai2144
ef5e6603c2
fix(pageHeader): if title is null,no render title view
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
Tom Xu
d44f404eae
docs: sort api ( #27251 )
* chore: improve sort api table scripts
* sort api
* add ignore
* Revert "sort api"
This reverts commit 343505d5f0
.
* sort api
* Update package.json
* sort api
* Delete sort-api.js
* sort api
* sort api
* sort api
* fix
* Update index.zh-CN.md
* fix input-number
* fix input-number
* sort func
* fix
* Method moved to the end
* carousel method
4 years ago
zombiej
aec0f4517c
test: Fix resize related test case
4 years ago
James Yeung
802cc51c4c
docs(PageHeader): fix default value for onBack ( #25664 )
4 years ago
陈帅
f928baf52a
fix: Optimize the display of elements of the block type. ( #25903 )
* add flex style
* add new demo
* update snapshot
* Merge branch feature into fix-descriptions
* update snapshot
* update snapshot
4 years ago
xrkffgg
8ff35e818e
style: fix classnames to classNames ( #25697 )
4 years ago
zombiej
c26bb28ad1
chore: Update snapshot
4 years ago
xrkffgg
6f8e21b75f
docs: reduce demo pageheader/pagination/steps ( #25483 )
4 years ago
弘树@阿里
0a80ca75ad
fix:tabList bottom margin in page header ( #25340 )
fixes issue: https://github.com/ant-design/ant-design-pro/issues/6906
4 years ago
xrkffgg
d0181d1b4f
docs: format api menu/pageheader/pagination ( #25299 )
4 years ago
二货机器人
7ef283aab4
fix: IE11 can not close Tabs ( #25200 )
* fix: IE11 can not close Tabs
* update snapshot
* fix style lint
* move -remove icon clear
4 years ago
偏右
16d10bbe26
fix: PageHeader tabs style ( #25159 )
4 years ago
偏右
351c842015
fix: PageHeader tabs broken style since 4.3.0 ( #24991 )
close #24989
5 years ago
二货机器人
8e6667880f
fix: Tabs shaking of content ( #24873 )
* fix: Tabs shaking when component auto size
* update test case
* update snapshot
5 years ago
Arvin Xu
dda650cc7b
docs: Update components cover ( #24744 )
* docs: Update components cover
#24629
* docs: Update components cover
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
二货机器人
77c5adbe4d
feat: New Tabs ( #24552 )
* init style
* support size
* editable
* add shadow
* update demo
* fix nest style
* update rtl
* update snapshot
* bump
* fix hover
* fix test case
* fix style lint
* clean up
* updat docs
* add onTabScroll
* upgrade rc-dropdown
* update snapshot
* clean snapshot
* clean up
Co-authored-by: afc163 <afc163@gmail.com>
5 years ago
Tom Xu
d766472d94
feat: descriptions add less variable ( #24032 )
* feat: add less variable @descriptions-item-trailing-colon,@descriptions-it,@descriptions-item-label-colon-margin-leftem-label-colon-margin-right,
* fix
* Update demo.test.js.snap
5 years ago
Tom Xu
f0c82d5aa7
fix: PageHeader tag ts typo ( #23712 )
5 years ago
zefeng
14417f1614
feat(theme): adjust font-size in compact mode ( #23135 )
* feat(theme): adjust font-size in compact mode
With compact theme mode, we adjust default font-size from 14px to 12px.
Closes #23015
* patch: update docs min font-size
* patch
* patch
* patch
* patch
* patch
* patch
5 years ago
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
5 years ago
Tom Xu
cf3d611f59
refactor(tag): rewrite with hook ( #23466 )
* refactor(tag): rewrite with hook
* fix lint
5 years ago
xrkffgg
f748c4ef17
style: optimize pageheader rtl style ( #23401 )
5 years ago
kenve
edcd1b2609
docs(components): improve link ( #23355 )
5 years ago
偏右
ff509bccd0
fix: optimize PageHeader responsive behavior ( #23277 )
* 💄 optimize PageHeader responsive behavior
close #23260
* ✅ add test case
* remove console
5 years ago
偏右
bfd5d7c910
fix: PageHeader style breaks when title is too long ( #23133 )
* fix: PageHeader style breaks when title is too long
close #15664
* ✅ update snapshot
* 💄 Improve PageHeader responsive design
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
Rustin
7b94e0bfb2
refactoring: replace deprecated React.SFC with React.FunctionComponent ( #22691 )
* refactor: replace deprecated React.SFC with React.FunctionComponent
* refactoring: use typedef FC
5 years ago
Naveen
a57760041c
Page Header's `backIcon` is also accept the boolean value ( #22470 )
* Fix `backIcon` type in chinese page
* Page Header's `backIcon` is also accept the boolean value
5 years ago
xrkffgg
7f4c7b5978
style: fix rtl.less place and name ( #22384 )
5 years ago
偏右
4d1f37fbbb
test: add test case for collapse ( #22362 )
* ✅ add test case
* ✅ update snapshots
5 years ago
Saeed Rahimi
7e06f028e1
style: page-header-demo-content rtl ( #22352 )
5 years ago
偏右
96bc5df2c4
feat: 🆕 Add keyboard prop to Tabs ( #22287 )
* 🆕 Add keyboard prop to Tabs
* ✅ update snapshots
* fix Tabs keyboard tsd
* fix active tab outline style
5 years ago
xrkffgg
5dde517836
style: add rtl.less of Menu\Pagination\PageHeader ( #22271 )
5 years ago
afc163
412efba9c5
✅ update snapshots
5 years ago
afc163
b0b13cf512
💄 fix PageHeader overflow hidden and responsive style
close #22020
5 years ago
二货机器人
adb323cec2
chore: icons save bundle size without treeShaking ( #21752 )
* alert
* more icons
* another grouping
* all done
5 years ago