Commit Graph

628 Commits

Author SHA1 Message Date
二货机器人
b837ecd950
fix: Menu overflow with horizontal should not affect by float element (#30879)
* fix: Menu horizontal layout style

* test: Update snapshot

* fix: lint
2021-06-06 17:31:59 +08:00
afc163
9f0dbf2b4d
chore: upgrade to jest 27 (#30783)
* chore: upgrade devDeps

* upgrade @ant-design/tools

* support  CSS Minification

* test: jsdom as testEnvironment

* fix setImmediate

* update snapshot

* fix test

* fix test

* fix test

* fix test
2021-06-01 10:11:24 +08:00
二货机器人
6ae00431a9
docs: rm only mark (#30751) 2021-05-28 12:04:47 +08:00
zombiej
737c172c2b test: Update snapshot 2021-05-28 11:44:16 +08:00
二货机器人
0a0fa61cb5
fix: Long text of menu ellipsis issue (#30682)
* fix: menu item long text ellipsis

* test: Update snapshot

* test: Update snapshot
2021-05-25 20:52:52 +08:00
二货机器人
c542aad9d6
fix: Menu collection error message (#30678) 2021-05-25 18:38:17 +08:00
二货机器人
feeebdc1e5
fix: Menu overflow measure style (#30672)
* fix: Menu overflow checker

* docs: Fix site style

* test: Update snapshot

* fix: dark menu hover style
2021-05-25 17:24:18 +08:00
afc163
414192436c
fix: Menu.SubMenu icon margin with other icon libs (#30642)
close #30605
2021-05-24 19:13:23 +08:00
二货机器人
47efa3e4a4
fix: Menu SubMenu (#30638)
* chore: fix level issue

* test: coverage

* chore: clean up

* chore: miss children defition
2021-05-24 17:36:18 +08:00
陈帅
0d1b1c40a6
merge featrue into master (#30636)
* feat: add Table expandable fixed (#29959)

* fix: Use flex gap of space (#30023)

* fix: use flex gap when supported

* test: update snapshot

* refactor: Use single hooks

* feat: Allow breadcrumb component in PageHeader (#30019)

* Allow breadcrumb component in PageHeader

* Allow breadcrumb component in PageHeader

* Allow breadcrumb component in PageHeader

* Rename variable

rename var from _breadcrumbRender to breadcrumbRenderDomFromProps

* feat: add onChange for Statistic.Countdown (#30265)

* feat: add onChange for countdown

* update the demo

* feat(upload): add onDrop (#30319)

* feat(upload): Add onDrop

* Replace "if prop" logic with existential operator

* Remove redundant conditional

* feat(upload): itemRender add actions params (#30236)

* feat(upload): itemRender add actions params

* chore: optimize type definition

* chore: update doc

* chore: rename actions

* chore: trigger ci

* chore: rename method name of actions

* feat: Add missing dutch translations (#30389)

* feat: Add missing dutch translations

* fix: Translate remaining english values

* fix: Update snapshot for ui tests

* test: increase code coverage to 100% (#30415)

* test: fix Space code coverage

* test: should use nl_BE locale for DatePicker

* fix: Switch tabIndex type (#30416)

* feat: updated Romanian internationalization (#30419)

* feat: updated Romanian internationalization

* fixed lint error

* feat: Menu support accessibility & keyboard access (#30382)

* chore: Use focus style

* fix: prefixCls

* fix: prefixCls

* fix: inline tooltip

* fix: inlineCollapse logic

* fix: ts definition

* test: Update snapshot

* test: Update snapshot

* fix: dropdown logic

* test: Update snapshot

* test: Fix some test  case

* bump rc-menu

* test: More test case

* fix test finder

* test: fix test case

* test: Update snapshot

* test: Update snapshot

* chore: Update ssr effect

* test: Update ConfigProvider snapshot

* test: Fix Table Filter test case

* test: Fix table test case

* chore: Update style

* chore: beauti css

* bump rc-menu

* test: update snapshot

* test: update snapshot

* test: Fix menu test

* test: Fix test case

* test: Coverage

* chore: clean up

* bump rc-menu

* ehance accessibility style

* feat(radioGroup): support data-* and aria-* props (#30507)

close #30501

* feat: Typography add italic type (#30458)

* Typography增加斜体字支持

* update snapshot

* 文档添加版本号

Co-authored-by: lidahao <lidahao@sisyphe.com.cn>

* chore: alpha Menu fix merge (#30546)

* chore: Update script

* bump alpha version

* chore: Update script desc

* chore: bump rc-tabs & rc-mentions

* chore: Adjust style

* chore: 4.16.0-alpha.1

* test: Fix mention test case

* fix: sider of layout width style

* chore: bump 4.16.0-alpha.2

* fix: Tabs tabBarGutter should work as expected (#30545)

close #30526

* feat: Table summary support sticky mode (#30631)

* chore: Bump rc-table

* feat: Patch summary fixed color

* fix: style className

* test: Update snapshot

Co-authored-by: xrkffgg <xrkffgg@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: 二货机器人 <smith3816@gmail.com>
Co-authored-by: gepd <guillermoepd@hotmail.com>
Co-authored-by: appleshell <appleshell@outlook.com>
Co-authored-by: Eric Bonow <ebonow@hotmail.com>
Co-authored-by: xrkffgg <xrkffgg@vip.qq.com>
Co-authored-by: Kermit <kermitlx@outlook.com>
Co-authored-by: Lewis <lewisfidlers@gmail.com>
Co-authored-by: afc163 <afc163@gmail.com>
Co-authored-by: Ștefan Filip <stefy.filip@gmail.com>
Co-authored-by: vldh <alwaysloseall@sina.com>
Co-authored-by: lidahao <lidahao@sisyphe.com.cn>
2021-05-24 16:24:00 +08:00
Map1en_
a39e51a8c1
fix(layout-sider): menu-item width is wrong when collapsedWidth is set (#30357)
close #30355
2021-04-30 15:15:40 +08:00
二货机器人
fa80ae5a0a
test: more test case (#30340) 2021-04-28 15:12:54 +08:00
Seba Kerckhof
67377f2735
fix(menu): Fix submenu padding inside an itemgroup (#30218)
* fix(menu): Fix submenu padding inside an itemgroup

* Use prefix variable

Co-authored-by: afc163 <afc163@gmail.com>

Co-authored-by: afc163 <afc163@gmail.com>
2021-04-21 13:14:03 +08:00
Tom Xu
e5d908a078
docs: format api (#29537) 2021-03-01 19:20:48 +08:00
叶枫
6e89866694
feat: 动画样式添加 prefix (#29268)
* feat: add prefix

* fix: 剩余

* fix: test

* fix: test

* fix: test

* fix: test

* fix: 传了 name 则使用传的

* fix: pop 添加 prefix

* fix: Ok OK ?

* fix: modal confirm

* fix: select

* fix: test
2021-02-08 17:09:13 +08:00
陈帅
0afdbe4d4a
fix: exporting common types (#28963)
* exporting common types

* no use importype

* fix test

* try fix test

* Update components/index.tsx

Co-authored-by: 偏右 <afc163@gmail.com>

* remove typo

* fix test

Co-authored-by: 偏右 <afc163@gmail.com>
2021-01-24 23:24:06 +08:00
二货机器人
1ca28baa5c
chore: Add light menu background color (#28842)
* chore: Add light menu background color

* fix lint

* rename
2021-01-15 17:29:33 +08:00
二货机器人
4315ac567c
chore: replace omit (#28846)
* chore: Replace omit.js with rc-util omit

* chore: Replace omit.js with rc-util omit

* fix ts

* fix ts

* fix ts
2021-01-13 21:00:30 +08:00
einq7
fa376f9c82
docs: prettier markdown (#28510) 2020-12-24 12:02:57 +08:00
Chan Qin Liang
263d8ec8e8
Include parenthesis on mixin calls to support less 4.0.0 (#28465) 2020-12-22 11:08:12 +08:00
偏右
80c2f3ee3e
fix: Menu title hover transition bug in Chrome (#28372)
close #28361
2020-12-15 20:22:15 +08:00
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>
2020-12-09 17:12:32 +08:00
二货机器人
6fcebabd8b
Merge pull request #27738 from ant-design/feature
chore: merge feature into master
2020-11-30 16:17:12 +08:00
偏右
05a82f2d48
fix: Menu custom icon style (#27983)
* fix: Menu custom icon style

close #27973

* fix snapshot
2020-11-25 14:31:51 +08:00
偏右
c464f61f39
Merge pull request #27822 from ant-design/master
chore: merge master into feature
2020-11-17 13:03:46 +08:00
afc163
a60ce663fe docs(📖): improve Menu doc
close #27820
2020-11-17 10:59:08 +08:00
zombiej
7af0cb0d9f chore: Feature merge master 2020-11-16 16:17:42 +08:00
偏右
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>
2020-11-14 00:43:12 +08:00
Tom Xu
5b7811f2ee Merge branch 'feature' into merge 2020-11-12 15:24:00 +08:00
二货机器人
a987f7f3ed
chore: UPDATE menu version (#27663)
* chore: UPDATE menu version

* test: Fix part test

* test: Fix menu test case

* Update package.json

* fix: popup position style

* test: Fix test case

* style: fix ltr transition-origin

* fix: multiple dropdown

* fix: RTL menu arrow pos

* Update package.json

* force re-build

* force re-build
2020-11-11 19:05:01 +08:00
偏右
8a3e271386
style: revert menu animation easing functions (#27651) 2020-11-10 11:18:39 +08:00
偏右
0e6e185da2
Merge pull request #27644 from ant-design/master
chore: merge master into feature
2020-11-09 12:47:52 +08:00
Tom Xu
e9591e858f
docs(menu): sider demo change to hook (#27643) 2020-11-09 10:20:26 +08:00
二货机器人
6b01e2b2fb
fix: Menu bg style flickering (#27640)
* fix: Menu bg style

* fix lint
2020-11-09 10:13:06 +08:00
Tom Xu
a2acc56235
docs(menu): switch mode demo change to hook (#27638)
* Update switch-mode.md

* Update switch-mode.md
2020-11-09 08:57:24 +08:00
偏右
b9bf8c223e
fix: submenu icon style (#27625) 2020-11-08 15:29:37 +08:00
einq7
3357fccf0e
docs: format inline code (#27634) 2020-11-08 15:04:02 +08:00
偏右
756a1dffea
feat: Menu support expandIcon (#27565)
* style: optimize menu expand icon color

close #20035

* feat: 🆕 support Menu expandIcon

* revert arrow color
2020-11-06 15:25:43 +08:00
xrkffgg
36cdf0a129
refactor: direction type define (#27540) 2020-11-04 14:12:45 +08:00
骗你是小猫咪
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
2020-10-23 18:50:46 +08:00
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
2020-10-21 10:33:43 +08:00
偏右
35fb8ee91d
fix: horizontal Menu in flex layout (#27253)
close #27240
2020-10-20 11:42:44 +08:00
偏右
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
2020-10-15 10:42:15 +08:00
xrk
852b28c235
docs: update menu api (#27096)
* docs: update menu api

* perf
2020-10-12 12:00:00 +08:00
Tom Xu
5f2588ffd1
docs: improve api type docs (#27038) 2020-10-09 10:08:52 +08:00
偏右
c979850a5b
test: Motion for Collpase and Menu (#26828)
* test:  test menu and collapse motion

* chore: move openAnimation into collapse

* add test case

* rm extra openAnimation.tsx

* remove unused code
2020-09-20 21:13:43 +08:00
偏右
b04d97cde2
fix: 🐛 SubMenu unexpected scrollbar (#26817)
close #26812
2020-09-18 19:44:56 +08:00
偏右
83ddfb807e
test: Enable transition and animation in jest (#26571)
* test:  add test cases to increase coverage

* test: fix snapshot

* fix: test node envioronment

* fix: test node envioronment

* fix test case

* test: refactor menu test cases

* test: update test code style

* test: add more menu test cases

* add comment

* test: update snapshot

* fix: alert test case

* fix: form onLeaveEnd test cov

* test: fix button click wave test cases

* chore: clean up snapshots
2020-09-18 16:53:18 +08:00
偏右
39b40b573d
fix: Menu not support React.Fragment (#26656)
* fix: Menu support React.Fragment

* chore: tweak menu demo

* fix: React key warning
2020-09-09 16:52:04 +08:00
Alex
bf45c4c1b0
style: 💄 className prop ordering #26594 (#26602)
close #26594
2020-09-06 13:07:39 +08:00