Skip to content

Commit

Permalink
Updated component to version 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Semantic-Pusher-Robot committed Jun 26, 2016
1 parent 4db7ab1 commit 464e714
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 19 deletions.
12 changes: 12 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
### Version 2.2.0 - June 26, 2016

- **Dropdown** - All dropdowns, not just `selection dropdown`, will now select the first `menu item` that starts with a pressed keyboard key, for example "N" will select "New"
- **Dropdown** - Dropdown will now automatically focus on `search` inside of a dropdown menu after it is opened.
- **Dropdown** - Added new setting for search selection `hideAdditions` this will remove showing user additions inside the menu, making for a more intuitive adding process. Dropdowns now have a new state `empty` which will format an active dropdown with empty results. [#3791](https://github.com/Semantic-Org/Semantic-UI/issues/3791)
- **Search** - Fixed an issue where `onResult` returning `false` would not prevent the search menu from hiding. Clicking on an empty results message will also no longer close the search results. [#3856](https://github.com/Semantic-Org/Semantic-UI/issues/3856) [#3870](https://github.com/Semantic-Org/Semantic-UI/issues/3870)
- **Dropdown** - Dropdowns with sub-menus would not properly activate on mobile [#3183](https://github.com/Semantic-Org/Semantic-UI/issues/3183)
- **Menu** - `stackable` menu with `left/right` `menu` or `item` would incorrectly be floated when stacked. [#3604](https://github.com/Semantic-Org/Semantic-UI/issues/3604)
- **Menu** - `tabular menu` now has correct bottom margin [#4167](https://github.com/Semantic-Org/Semantic-UI/issues/4167)
- **Menu** - `@dividerSize` was not being used in `vertical menu` [#3781](https://github.com/Semantic-Org/Semantic-UI/issues/3781)
- **Menu** - `vertical text menu` no longer includes `left` or `right` padding, but will now sit flush with content.

### Version 2.1.7 - Dec 19, 2015

- **Menu** - Fixed `1px` offset when `attached segment` follows `tabular menu` (max of 2 consecutive segments) [#3479](https://github.com/Semantic-Org/Semantic-UI/issues/3479)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@
"framework"
],
"license": "MIT",
"version": "2.1.7"
"version": "2.2.0"
}
74 changes: 59 additions & 15 deletions menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@
position: relative;
top: 0em;
margin: -0.5em 0em;
padding-bottom: 0.71428571em;
padding-top: 0.71428571em;
padding-bottom: 0.78571429em;
padding-top: 0.78571429em;
font-size: 1em;
}

Expand Down Expand Up @@ -254,7 +254,7 @@
margin: 0;
text-align: left;
font-size: 1em !important;
padding: 0.71428571em 1.14285714em !important;
padding: 0.78571429em 1.14285714em !important;
background: transparent !important;
color: rgba(0, 0, 0, 0.87) !important;
text-transform: none !important;
Expand Down Expand Up @@ -339,17 +339,17 @@
background: #999999;
color: #FFFFFF;
margin-left: 1em;
padding: 0.3em 0.71428571em;
padding: 0.3em 0.78571429em;
}
.ui.vertical.menu .item > .label {
background: #999999;
color: #FFFFFF;
margin-top: -0.15em;
margin-bottom: -0.15em;
padding: 0.3em 0.71428571em;
padding: 0.3em 0.78571429em;
}
.ui.menu .item > .floating.label {
padding: 0.3em 0.71428571em;
padding: 0.3em 0.78571429em;
}

/*--------------
Expand Down Expand Up @@ -565,8 +565,8 @@ Floated Menu / Item
top: 0%;
left: 0px;
width: 100%;
background: rgba(34, 36, 38, 0.1);
height: 1px;
background: rgba(34, 36, 38, 0.1);
}
.ui.vertical.menu .item:first-child:before {
display: none !important;
Expand Down Expand Up @@ -664,7 +664,9 @@ Floated Menu / Item
.ui.tabular.menu + .attached:not(.top).segment,
.ui.tabular.menu + .attached:not(.top).segment + .attached:not(.top).segment {
border-top: none;
margin: 0px;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
width: 100%;
}
.top.attached.segment + .ui.bottom.tabular.menu {
Expand Down Expand Up @@ -810,7 +812,7 @@ Floated Menu / Item
align-self: center;
box-shadow: none;
border: none;
padding: 0.71428571em 0.92857143em;
padding: 0.78571429em 0.92857143em;
margin: 0em 0.35714286em;
background: none;
-webkit-transition: color 0.1s ease;
Expand Down Expand Up @@ -1025,7 +1027,8 @@ Floated Menu / Item
}

/* Hover */
.ui.secondary.inverted.pointing.menu .item:hover {
.ui.secondary.inverted.pointing.menu .link.item:hover,
.ui.secondary.inverted.pointing.menu a.item:hover {
color: rgba(0, 0, 0, 0.95);
}

Expand Down Expand Up @@ -1100,6 +1103,8 @@ Floated Menu / Item
}
.ui.vertical.text.menu .item {
margin: 0.57142857em 0em;
padding-left: 0em;
padding-right: 0em;
}
.ui.vertical.text.menu .item > i.icon {
float: none;
Expand Down Expand Up @@ -1272,8 +1277,16 @@ Floated Menu / Item
bottom: 0px;
left: 0px;
width: 100%;
background: rgba(34, 36, 38, 0.1);
height: 1px;
background: rgba(34, 36, 38, 0.1);
}
.ui.stackable.menu .left.menu,
.ui.stackable.menu .left.item {
margin-right: 0 !important;
}
.ui.stackable.menu .right.menu,
.ui.stackable.menu .right.item {
margin-left: 0 !important;
}
}

Expand Down Expand Up @@ -1411,8 +1424,7 @@ Floated Menu / Item
/*--- Pressed ---*/

.ui.inverted.menu a.item:active,
.ui.inverted.menu .link.item:active,
.ui.inverted.menu a.item:active {
.ui.inverted.menu .link.item:active {
background: rgba(255, 255, 255, 0.08);
color: #ffffff;
}
Expand Down Expand Up @@ -1939,6 +1951,22 @@ Floated Menu / Item
---------------*/


/* Mini */
.ui.mini.menu {
font-size: 0.78571429rem;
}
.ui.mini.vertical.menu {
width: 9rem;
}

/* Tiny */
.ui.tiny.menu {
font-size: 0.85714286rem;
}
.ui.tiny.vertical.menu {
width: 11rem;
}

/* Small */
.ui.small.menu {
font-size: 0.92857143rem;
Expand All @@ -1957,20 +1985,36 @@ Floated Menu / Item

/* Large */
.ui.large.menu {
font-size: 1.14285714rem;
font-size: 1.07142857rem;
}
.ui.large.vertical.menu {
width: 18rem;
}

/* Huge */
.ui.huge.menu {
font-size: 1.42857143rem;
font-size: 1.14285714rem;
}
.ui.huge.vertical.menu {
width: 20rem;
}

/* Big */
.ui.big.menu {
font-size: 1.21428571rem;
}
.ui.big.vertical.menu {
width: 22rem;
}

/* Massive */
.ui.massive.menu {
font-size: 1.28571429rem;
}
.ui.massive.vertical.menu {
width: 25rem;
}


/*******************************
Theme Overrides
Expand Down
2 changes: 1 addition & 1 deletion menu.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Package.describe({
name : 'semantic:ui-menu',
summary : 'Semantic UI - Menu: Single component release',
version : '2.1.7',
version : '2.2.0',
git : 'git://github.com/Semantic-Org/UI-Menu.git',
});

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "semantic-ui-menu",
"version": "2.1.7",
"version": "2.2.0",
"title": "Semantic UI - Menu",
"description": "Single component release of menu",
"homepage": "http://www.semantic-ui.com",
Expand Down

0 comments on commit 464e714

Please sign in to comment.