Commit Graph

497 Commits

Author SHA1 Message Date
ycjcl868
057c4a6745 fix: menu pop submenu theme 2019-12-25 10:23:01 +08:00
偏右
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
2019-12-23 18:33:08 +08:00
骗你是小猫咪
114fdd9333
fix: upgrade rc-tooltip lint fail (#19408)
* fix: upgrade rc-tooltip lint fail

* fix tooltip typescript type

* rebase and update snapshots

* update tests

* change trigger mock export

* upgrade rc-trigger

* fix type error

* upgrade dependencies

* update snapshots

* upgrade rc-calendar and test use sleep

* update snapshots

* fix test fail

* update snapshots
2019-12-05 16:15:10 +08:00
二货机器人
64b905e9bd
chore: Update @ant-design/icons deps (#19979)
* update icons deps

* update all icon ref

* fix lint

* update snapshot
2019-11-28 12:34:33 +08:00
zombiej
b37b317b69 chore: merge master 2019-11-25 15:16:59 +08:00
Ms. Wang
84c4e1e10f Removed version cloumn in 4.0 (#19872) 2019-11-22 10:33:34 +08:00
偏右
69549a8648
🐛 fix menu link color inside badge (#19810)
close #19809
2019-11-19 20:30:44 +08:00
Radomir Skrzepij
d744df5974 Fix Documentation for Menu API (#19757) 2019-11-16 02:00:56 +08:00
zombiej
3c26ac9a54 chore: merge master 2019-11-06 10:34:53 +08:00
Amumu
39d452ca77 use menu icon less variable (#19553) 2019-11-04 16:47:26 +08:00
zombiej
7a12b2b1ae merge master 2019-10-30 16:28:28 +08:00
wangweijun0418
d99d90b1fa Fix Menu menu collapsed in Chrome (#19476)
* Update index.less

修复margin重合样式问题,(次问题造成menu组件下拉不顺畅)

* Update index.less

解决margin重合问题,overflow方式会有副作用,采用padding解决margin重合现象。
2019-10-30 13:15:50 +08:00
Aaron Cawte
2b46a232db Navigation components doc tweaks (#19447)
* Documentation - Affix Component

* Documentation - Dropdown component

* Documentation - Menu component

* Documentation - Pagination component

* Documentation - PageHeader component

* Documentation - Steps component
2019-10-28 09:09:22 +08:00
zombiej
c75bbbd13d merge master 2019-10-16 10:44:56 +08:00
yoyo837
fb2bafbfdc upgrade snapshot 2019-10-15 19:13:38 +08:00
yoyo837
0522d55f26 snapshot 2019-10-15 16:33:17 +08:00
二货机器人
e75fa039ef
refactor: Use CSSMotion (#19205)
* refactor: Use CSSMotion

* fix lint

* update rc-menu deps

* fix test case

* clean up

* more test case

* fix lint
2019-10-14 15:01:16 +08:00
zombiej
28a6358439 merge master 2019-10-11 11:51:55 +08:00
afc163
d582ba351b update snapshot 2019-10-10 11:10:05 +08:00
vaytsel
d8526f43f6 Update theme.md 2019-10-10 10:58:45 +08:00
sosohime
9f78fd093a feat: Breadcrumb support data-* and aria-* attributes (#18941)
* add tree-select async demo

* breadcrumb support data against

* lint fix

* add ui test

* update ui test

* update ui test
2019-09-23 11:52:29 +08:00
zombiej
9051c7baee merge master 2019-09-23 10:08:32 +08:00
afc163
974fb1b96c add test case for #18825 2019-09-20 00:07:59 +08:00
afc163
54ffa2cea6 🐛 Fix Menu lost state when collapsed to 0px
close #18825
2019-09-20 00:07:59 +08:00
zombiej
f30b92ec21 merge master 2019-09-17 19:31:37 +08:00
afc163
7a964a075d 🐛 Fix Button text color inside Menu
close #18752
2019-09-16 13:48:02 +08:00
愚道
2f5537a65b Merge branch 'master' into chore/mergemaster 2019-09-02 10:47:32 +08:00
zombiej
3d8a4f3612 merge master 2019-08-29 23:41:46 +08:00
LaySent
b029e38705 feat: improve prop def for tooltip 2019-08-29 11:06:22 +08:00
afc163
a51f7a0508 test unmount 2019-08-27 18:31:01 +08:00
+v
b2bc511163 docs: typo(version not exist) (#18378) 2019-08-21 11:21:56 +08:00
+v
7ce3a58d47 docs: typo(version not exist) (#18377) 2019-08-21 11:21:32 +08:00
jiang
ced96b954c fix: submenu popupClassName and className chaos (#18290)
* Update SubMenu.tsx

* add popupClassName to api

* fix typo
2019-08-17 22:38:11 +08:00
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
2019-08-13 14:07:17 +08:00
zombiej
b30dc1c3bc merge master 2019-08-06 17:46:53 +08:00
orzyyyy
63b33d4020 fix: unexpected changes of snapshots 2019-08-06 15:36:12 +08:00
alxkosov
678f8a5c65 feat: menu component customization: create new variables for easy customization (#17273)
* new variable for customize margins and font-size on menu

* vars for icons size for menu items

* var for color of icon selected-item on dark menu

* menu selected item: vars for color text and icon

* var for background on hover item in dark menu

* rename variable

* deleted vars for icon size in menu

* change @menu-item-last-margin to @menu-item-boundary-margin
2019-08-02 22:51:34 +08:00
zombiej
514ee9bef9 Merge remote-tracking branch 'origin/master' into 4.0-prepare 2019-07-29 14:35:15 +08:00
zombieJ
bdea770670
Merge pull request #17804 from ant-design/master
chore: Merge master into feature
2019-07-23 10:23:55 +08:00
Hieu Pham
53ce81690e
Fix circular dependency in Menu
https://github.com/ant-design/ant-design/issues/17803

Co-authored-by: Hau Dao <hau.vdao@gmail.com>
2019-07-22 20:15:48 +07:00
偏右
1147ae6949
Merge pull request #17732 from ant-design/master
Merge master into feature
2019-07-19 12:20:08 +08:00
zombiej
ef66edd0c2 merge master 2019-07-19 11:54:08 +08:00
Alexander.Kosov
6428840c50 create variable for customize size of icon on menu 2019-07-17 13:54:31 +03:00
zombiej
735996ce35 merge master 2019-07-16 11:42:55 +08:00
afc163
67e027a41c 🐛 Fix Cannot update during an existing state transition
close #17147
2019-07-16 11:25:35 +08:00
偏右
e4e2641d6d
Merge pull request #17653 from ant-design/master
chore: merge master into feature
2019-07-15 22:22:41 +08:00
Ivan
9fdf41740d Extend MenuItemProps from HTMLAttributes<HTMLLIElement> (#17629) 2019-07-15 15:43:11 +08:00
诸岳
3f47b2cac0 Merge master branch and fix conflicts 2019-07-15 10:01:37 +08:00
Sanghyeon Lee
430117288d
docs: fix tag name in the API example 2019-07-11 18:09:00 +09:00
Sanghyeon Lee
559682df23
docs: fix tag name in the API example 2019-07-11 18:06:37 +09:00