偏右
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
偏右
69549a8648
🐛 fix menu link color inside badge ( #19810 )
...
close #19809
2019-11-19 20:30:44 +08:00
Amumu
39d452ca77
use menu icon less variable ( #19553 )
2019-11-04 16:47:26 +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
afc163
7a964a075d
🐛 Fix Button text color inside Menu
...
close #18752
2019-09-16 13:48:02 +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
Alexander.Kosov
6428840c50
create variable for customize size of icon on menu
2019-07-17 13:54:31 +03:00
afc163
20e6bed8a1
💄 Keep submenu selected style
2019-06-11 12:00:52 +08:00
陈帅
785c132262
meger feature to master ( #16421 )
...
* use ul in list
* update snapshot
* update comment
* feat: TreeSelect support `showSearch` in multiple mode (#15933 )
* update rc-tree-select
* typo
* update desc & snapshot
* update desc & snapshot
* check default showSearch
* feat: table customizing variable (#15971 )
* feat: added table selected row color variable
* fix: @table-selected-row-color default is inherit
* feat: Upload support customize previewFile (#15984 )
* support preview file
* use promise
* dealy load
* use canvas of render
* use domHook of test
* update demo
* add snapshot
* update types
* update testcase
* feat: form customizing variables (#15954 )
* fix: added styling form input background-color
* feat: added '@form-warning-input-bg' variable
* feat: added '@form-error-input-bg' variable
* use li wrap with comment
* feat: Support append theme less file with less-variable (#16118 )
* add override
* add override support
* update doc
* feat: dropdown support set right icon
* docs: update doc of dropdown component
* style: format dropdown-button.md
* test: update updateSnapshot
* style: format dropdown-button.md
* test: update updateSnapshot
* test: update updateSnapshot
* style: change style of dropdown-button demo
* fix: fix document table order
* feat: Support SkeletonAvatarProps.size accept number (#16078 ) (#16128 )
* chore:update style of demo
* feat: Notification functions accept top, bottom and getContainer as arguments
* drawer: add afterVisibleChange
* rm onVisibleChange
* update
* feat: 🇭🇷 hr_HR locale (#16258 )
* Added Croatian locale
* fixed lint error
* ✅ Add test cases for hr_HR
* 📝 update i18n documentation
* feat: add `htmlFor` in Form.Item (#16278 )
* add htmlFor in Form.Item
* update doc
* feat: Button support `link` type (#16289 )
close #15892
* feat: Add Timeline.Item.position (#16148 ) (#16193 )
* fix: Timeline.pendingDot interface documentation there is a small problem (#16177 )
* feat: Add Timeline.Item.position (#16148 )
* doc: add version infomation for Timeline.Item.position
* refactor: Update Tree & TreeSelect deps (#16330 )
* use CSSMotion
* update snapshot
* feat: Collapse support `expandIconPosition` (#16365 )
* update doc
* support expandIconPosition
* update snapshot
* feat: Breadcrumb support DropDown (#16315 )
* breadcrumbs support drop down menu
* update doc
* add require less
* fix test
* fix md doc
* less code
* fix style warning
* update snap
* add children render test
* feat: TreeNode support checkable
* feat: add optional to support top and left slick dots (#16186 ) (#16225 )
* add optional to support top and left slick dots
* update carousel snapshot
* Update doc, add placement demo
* update carousel placement demo snapshots
* rename dots placement to position
* update vertical as deprecated
* rename dotsPosition to dotPosition
* refine code
* add warning testcase for vertical
* remove unused warning
* update expression
* Additional test case for dotPosition
* refactor: Upgrade `rc-tree-select` to support pure React motion (#16402 )
* upgrade `rc-tree-select`
* update snapshot
* 3.17.0 changelog
* fix warning
* fix review warning
2019-05-06 12:04:39 +08:00
afc163
a2a9831abb
💄 Fix less code style
2019-04-15 11:05:06 +08:00
zombieJ
97d6f79ce4
fix: Menu arrow not display in old version of IE ( #15932 )
2019-04-08 18:26:31 +08:00
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
2019-04-05 16:15:01 +08:00
Benjamin Amelot
f55ccfe81e
Remove underlines from focused links ( #15759 )
2019-03-31 13:46:38 +08:00
afc163
447a8df724
🐛 Fix horizontal submenu wider then menu title in most case
...
https://codesandbox.io/s/qvpwm6mk66
2019-02-26 10:35:08 +08:00
米老朱
6936599aef
Enhance stylelint rules ( #14803 )
...
* rename .stylelintrc to .stylelintrc.json for explicit file type
* add new npm script lint-fix:style
* fix pseudo-element with double colon
* function name should be lower except ignored functions
* support stylelint declaration-block-no-ignored-properties rule
* support sorted CSS properties order for readability and consistency
* autofix order of all styles by lint-fix:style script
* remove double slash comments after selector
* replace .stylelintignore with ignoreFiles in .stylelintrc.json
2019-02-15 10:48:07 +08:00
陈帅
8e11f0bdb9
merge support prettier
2018-12-07 20:02:01 +08:00
amedora
0aeb9a356b
use color definitions insted of numbers
2018-12-05 19:45:22 +08:00
afc163
03d3b08315
🐛 Fix popup menu background transparent bug
2018-11-12 15:34:10 +08:00
afc163
a616f89a1b
🔥 update less code style
2018-11-12 12:02:30 +08:00
afc163
00c65b046b
site: update icon doc translation
2018-11-05 19:04:28 +08:00
afc163
298fc0f426
Fix extra scrollbar when popup menu, close #12152
2018-09-10 11:39:03 +08:00
afc163
bdcf4342fe
tweak icon size and design
2018-09-08 15:46:26 +08:00
picodoth
054d249f13
fix : #12019
2018-09-03 14:54:12 +08:00
afc163
4c1ca1b3cd
tweak menu icon size
2018-09-03 13:15:22 +08:00
picodoth
6237511c04
feat: use menu with 7.4.0-beta, supporting menu overflow collapsing. Currently React >= 16.0 only
2018-09-02 19:21:03 +08:00
Chandler Moisen
ce4a4bacaa
add @menu-item-active-border-width to Menu.Item ( #11934 )
2018-08-29 11:20:13 +08:00
afc163
e3aa2aaa84
fix submenu cannot hover
2018-08-23 21:14:16 +08:00
ohhoney1
a523706625
fix bug: If ItemGroup wraps the first menu, an error is displayed when the menu is collapsed
2018-08-22 11:26:07 +08:00
afc163
90b401e97b
Fix submenu lap between menu, close #11725
2018-08-22 00:49:53 +08:00
hongxuWei
f796618a15
Fix the style of horizontal menu on dark theme
2018-07-22 11:58:33 +08:00
Wei Zhu
e6c4c6667d
Revert rc-menu upgrade
...
Revert "use default hover trigger for horizontal menu demo"
This reverts commit 159b09342d
.
Revert "upgrade menu@7.2.0"
This reverts commit d4c9a1deea
.
Revert "feat: prevent horizontal menu items wrapping"
This reverts commit 5c7f9feecb
.
2018-07-17 21:59:16 +08:00
afc163
57c072d1b8
Fix dark menu small style issue, close #11299
2018-07-17 15:29:23 +08:00
picodoth
5c7f9feecb
feat: prevent horizontal menu items wrapping
2018-07-14 13:05:36 +08:00
afc163
09d5e36cfa
style: fix hightlight link color in menu item
2018-05-17 21:17:20 +08:00
Jiabin Peng
bb720aaab9
Fix menu item's clickable region in dark theme ( #10187 )
...
* remove redundant style for submenu
* Fix menu item's clickable region in dark theme
2018-04-23 00:31:36 +08:00
afc163
04b3aad451
Fix menu arrow style of disabled, close #10113
2018-04-18 13:47:40 +08:00
Jiabin Peng
6c77d336d9
Fix menu item clickable region ( #9666 )
2018-03-22 15:14:53 +08:00
George Gray
d19fa740c7
use highlight var on vertical menu ( #9169 )
2018-01-29 20:18:54 +08:00
George Gray
7d9a93e7ed
vars to theme Menu ( #9115 )
2018-01-25 10:59:49 +08:00
afc163
8c442cfaf0
Fix submenu title padding
2018-01-23 21:00:11 +08:00
afc163
927853a1f1
seperate dark style of menu
2017-11-29 21:08:44 +08:00
偏右
b531de3fee
Upgrade dev deps and fix lints ( #8358 )
...
* upgrade devDeps and fix lint
* Fix stylelint problems
2017-11-29 21:00:16 +08:00
afc163
dada590d2d
Fix dark menu popup animation
2017-11-22 17:29:58 +08:00
afc163
3406c6598a
Fix submenu z-index
2017-11-20 14:58:03 +08:00
afc163
7049a45d8e
Fix submenu width, close #8236
2017-11-20 14:37:14 +08:00
afc163
8e6e91b932
Fix menu active style
...
close ant-design/ant-design-pro#222
2017-11-20 10:56:56 +08:00
afc163
0627d9a3a0
Fix MenuItem margin
2017-11-18 17:49:33 +08:00
Wei Zhu
55c85f77a1
Update dependendies ( #8150 )
...
* deps: upgrade rc-menu, and close : #2837
* test: update snapshots
* Update rc-calendar
* Update rc-cascader
* Update rc-dialog
* Update dropdown
* Update rc-select@7.1.0
* Update rc-slider
* Update rc-time-picker
* Update rc-tooltip
* Update rc-tree-select
* Mock rc-trigger and Portal
* Fix animation warning when inlineCollapsed changes
* fix: should use SubMenu[popupClassName]
* Fix typescript error
* Fix lint
* fix: style for menu
* Mock rc-trigger for React 15
* Remvoe allow_failures
2017-11-11 00:07:03 +08:00
偏右
bdceb5f083
Review fix ( #8125 )
...
* Fix style
* Fix style
* fix lint
* Fix more styles
* Fix more styles
* update snap
2017-11-06 21:28:51 +08:00
afc163
cbcc073aca
Fix menu style
2017-10-26 13:38:18 +08:00
afc163
0e5155567c
Fix menu active border
2017-10-26 11:59:18 +08:00
afc163
89a3b22791
Fix menu style
2017-10-24 15:56:28 +08:00
afc163
9ddbad1088
Unify menu item height
2017-10-12 18:14:23 +08:00
偏右
9053192ae9
Fix component style ( #7848 )
...
* fix components style
* fix snapshot
* update travis node version
* change upload action in ci
2017-10-11 12:01:27 +08:00
偏右
2bced36f0c
New component styles ( #7731 )
...
* Tweak button padding
* upgrade input and button size
* update form controls size
* update components size
* Add lemon color and update rate color
* Add new icons
* update layout style
* breadcrumb and dropdown
* update menu arrow width
* update layout and menu
* update steps
* fix var name
* update cascasder style
* Update DatePicker
* update InputNumber and Mention
* radio and switch
* select and transfer
* TimePicker & Upload
* more components
* calendar and list
* Tree Timeline Popover Tag
* divider modal popover
* update search input
* update card style
* update switch disabled opacity
* update shoadow and mask
* Add v2-compatible-reset.less
* Fix undefined className
* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
偏右
759b0bb821
seperate reset styles ( #7682 )
...
* seperate reset styles
* not reset ul/ol/p/heading
* revert reset.less idea
* move label style into ant-form-item, #5851
* revert reset.less idea
* update base.less
* Better typography from bootstrap@4
use reboot replace normalize
ref:
b4d84b9cdf/scss/_reboot.scss
close #6162
2017-09-22 18:33:29 +08:00
afc163
df69320fc2
Fix arrow position
2017-09-21 20:43:13 +08:00
afc163
823e07bc75
Merge branch 'master' into antd-3.0
2017-09-15 21:44:39 +08:00
afc163
6236641c74
Fix broken collapsed MenuGroup, close #7109
2017-09-15 20:37:11 +08:00
jljsj
aea18c3627
add padding !important, restore menu retraction animate
...
Conflicts:
components/menu/style/index.less
2017-09-12 16:51:17 +08:00
jiang
2570ba8fe6
Menu anim ( #7567 )
...
* update menu icon animate
* add padding !important, restore menu retraction animate
* update dropdown arrow
2017-09-12 16:46:33 +08:00
Benjy Cui
070b2696ba
chore: remove hacks for IE8-, close : #7447 ( #7512 )
2017-09-08 13:08:46 +08:00
afc163
696b4252a8
tweak collpse animation easing
2017-09-06 13:46:45 +08:00
afc163
6654a4220d
Fix submenu hover style
2017-09-05 11:31:00 +08:00
afc163
a51a37cbd8
tweak detail of inline collapse menu
2017-08-22 18:37:08 +08:00
lvren
a93cb09e15
将sider收起时的宽度变量放到themes中控制 ( #7238 )
2017-08-17 16:09:04 +08:00
jiang
24f58c20e1
fix menu-anim ( #6955 )
...
* fix menu-anim
* fix menu-anim
* update
* remove space
* fix test
* Improve code style
* submeu-title use color transition
* sync motion-collapse time
* snyc padding
2017-07-27 19:43:45 +08:00
afc163
d90e1b2a9e
Fix extra ... in firefox
2017-07-25 14:15:13 +08:00
afc163
4f85be834c
Tweak menu text align again
2017-07-25 10:31:05 +08:00
afc163
3d71d980a7
Adjust menu icon and text vertical align
2017-07-19 17:44:02 +08:00
afc163
44b3dad12f
tweak style
2017-07-14 12:18:02 +08:00
afc163
2b2e962738
tweak menu style
2017-07-13 20:28:23 +08:00
afc163
46ffda9c93
fix vertical menu item border radius
2017-07-12 16:43:53 +08:00
afc163
6c5a11a363
Fix inlineCollapsed Menu styledetails
2017-07-08 16:15:00 +08:00
afc163
6e145bfad3
Add tooltip for collapsed menu item
2017-06-30 21:07:01 +08:00
afc163
63daf8d0a3
Add Menu[inlineCollapsed] prop
2017-06-30 18:08:30 +08:00
afc163
0ed75caeac
fix dark menu style
2017-06-21 16:44:13 +08:00
afc163
fa88477886
tweak vertical menu selected style
2017-06-19 16:07:47 +08:00
Benjy Cui
aab3daa1ea
fix: broken style of SubMenu[disabled], close : #6062
2017-05-15 18:24:27 +08:00
Graeme Yeates
d8d17a6401
Seperate @active-item-bg into 2 variables
2017-05-03 10:57:14 -04:00
Graeme Yeates
4eb2855871
Add @active-item-bg to control hover and active states
2017-05-02 11:05:28 -04:00
pinggod
01f0e07835
fix issue 5707: override the default a:focus style when it nested in the menu component
2017-04-12 14:42:07 +08:00
afc163
6864fea0cb
Improve inline menu active style
2017-04-02 14:43:34 +08:00
afc163
0cb3259570
tweak menu style code
2017-03-25 20:31:53 +08:00
afc163
85a32c79f4
Fix menu icon transition delay in Chrome, close #5495
2017-03-25 20:30:35 +08:00
afc163
1c4407b60c
fix popup menu z-index problem
2017-02-22 18:30:50 +08:00
afc163
fbeccb7be5
fix inline submenu open style
2017-02-22 14:47:01 +08:00
afc163
989792ed9b
simplify less code
2017-02-16 21:24:17 +08:00
afc163
74028f6e48
Fix pop menu padding
2017-02-16 17:56:27 +08:00
afc163
477e150075
Fix some SubMenu style bug, close #4906
2017-02-16 17:31:08 +08:00
Benjy Cui
c4ac919067
fix: Menu.Item border width should not show animation
2017-02-16 16:32:03 +08:00
afc163
d22ce9cd50
Improve menu and collapse style details
2017-02-16 15:38:24 +08:00
afc163
32e10784e1
Fix submenu active style in controlled mode
2017-02-15 17:14:40 +08:00
Benjy Cui
d2b8d65c87
style: update code style to please lint, close : #2179
2017-02-06 12:09:58 +08:00
Graeme Yeates
1006015ef0
Add border customization variables ( #4734 )
...
* Add border customization variables (#4712 )
* Make border styles customizable (fixes #4712 )
2017-01-31 16:05:10 +08:00
afc163
0d38fefb00
Fix Menu[theme=dark] selected and disabled style, #4440
2017-01-06 11:36:54 +08:00
afc163
d0df37ed42
Fix Menu[theme="dark"] text color, close #4440
2017-01-03 00:12:23 +08:00
偏右
d811ebee5c
New color system ( #4426 )
...
* Add new color patterns algorithm
* Add color palettes
* update other colors
* fix gray color
* update more tint/shade to colorPalette
* new font color
* Update doc for new color system
* improve doc style
2017-01-01 22:20:06 +08:00
偏右
0062867274
Feature 2.6 ( #4429 )
...
* new Layout Component (#4087 )
* change Anchor type
* new Layout
* Component update && add snap
* Revert "new Layout Component" (#4131 )
* add Layout (#4169 )
* add Layout
* update
* fix snapshot
* Improve layout component
1. update demo code
2. drop `position` of Sider
3. improve demo style
2016-12-30 21:41:28 +08:00
afc163
662b213137
Fix Menu[dark] item background, close #4414 again
2016-12-30 13:16:30 +08:00