Skip to content

Commit

Permalink
Bump version 2.3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
doabit committed Jul 19, 2018
1 parent 68014cb commit b169005
Show file tree
Hide file tree
Showing 49 changed files with 291 additions and 102 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.3.3.0

* Update Semantic UI to 2.3.3

## 2.3.1.2

* update icons font
Expand Down
10 changes: 10 additions & 0 deletions app/assets/javascripts/semantic-ui/dimmer.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ $.fn.dimmer = function(parameters) {

bind: {
events: function() {
if(module.is.page()) {
// touch events default to passive, due to changes in chrome to optimize mobile perf
$dimmable.get(0).addEventListener('touchmove', module.event.preventScroll, { passive: false });
}
if(settings.on == 'hover') {
$dimmable
.on('mouseenter' + eventNamespace, module.show)
Expand Down Expand Up @@ -141,6 +145,9 @@ $.fn.dimmer = function(parameters) {

unbind: {
events: function() {
if(module.is.page()) {
$dimmable.get(0).removeEventListener('touchmove', module.event.preventScroll, { passive: false });
}
$module
.removeData(moduleNamespace)
;
Expand All @@ -157,6 +164,9 @@ $.fn.dimmer = function(parameters) {
module.hide();
event.stopImmediatePropagation();
}
},
preventScroll: function(event) {
event.preventDefault();
}
},

Expand Down
17 changes: 13 additions & 4 deletions app/assets/javascripts/semantic-ui/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -754,10 +754,19 @@ $.fn.dropdown = function(parameters) {
callback();
},
onSuccess : function(response) {
module.remove.message();
module.setup.menu({
values: response[fields.remoteValues]
});
var
values = response[fields.remoteValues],
hasRemoteValues = ($.isArray(values) && values.length > 0)
;
if(hasRemoteValues) {
module.remove.message();
module.setup.menu({
values: response[fields.remoteValues]
});
}
else {
module.add.message(message.noResults);
}
callback();
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/semantic-ui/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ $.fn.search = function(parameters) {
apiSettings = {
debug : settings.debug,
on : false,
cache : true,
cache : settings.cache,
action : 'search',
urlData : {
query : searchTerm
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.1 - Breadcrumb
* # Semantic UI 2.3.3 - Breadcrumb
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/semantic-ui/collections/_form.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.1 - Form
* # Semantic UI 2.3.3 - Form
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/semantic-ui/collections/_grid.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.1 - Grid
* # Semantic UI 2.3.3 - Grid
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.1 - Message
* # Semantic UI 2.3.3 - Message
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/semantic-ui/collections/_table.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.1 - Table
* # Semantic UI 2.3.3 - Table
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
152 changes: 151 additions & 1 deletion app/assets/stylesheets/semantic-ui/elements/_button.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.1 - Button
* # Semantic UI 2.3.3 - Button
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down Expand Up @@ -3341,6 +3341,81 @@
margin-left: -1px;
}

/* Inverted */
.ui.inverted.primary.buttons .button,
.ui.inverted.primary.button {
background-color: transparent;
-webkit-box-shadow: 0px 0px 0px 2px #54C8FF inset !important;
box-shadow: 0px 0px 0px 2px #54C8FF inset !important;
color: #54C8FF;
}
.ui.inverted.primary.buttons .button:hover,
.ui.inverted.primary.button:hover,
.ui.inverted.primary.buttons .button:focus,
.ui.inverted.primary.button:focus,
.ui.inverted.primary.buttons .button.active,
.ui.inverted.primary.button.active,
.ui.inverted.primary.buttons .button:active,
.ui.inverted.primary.button:active {
-webkit-box-shadow: none !important;
box-shadow: none !important;
color: #FFFFFF;
}
.ui.inverted.primary.buttons .button:hover,
.ui.inverted.primary.button:hover {
background-color: #3ac0ff;
}
.ui.inverted.primary.buttons .button:focus,
.ui.inverted.primary.button:focus {
background-color: #2bbbff;
}
.ui.inverted.primary.buttons .active.button,
.ui.inverted.primary.active.button {
background-color: #3ac0ff;
}
.ui.inverted.primary.buttons .button:active,
.ui.inverted.primary.button:active {
background-color: #21b8ff;
}

/* Inverted Basic */
.ui.inverted.primary.basic.buttons .button,
.ui.inverted.primary.buttons .basic.button,
.ui.inverted.primary.basic.button {
background-color: transparent;
-webkit-box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 0.5) inset !important;
box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 0.5) inset !important;
color: #FFFFFF !important;
}
.ui.inverted.primary.basic.buttons .button:hover,
.ui.inverted.primary.buttons .basic.button:hover,
.ui.inverted.primary.basic.button:hover {
-webkit-box-shadow: 0px 0px 0px 2px #3ac0ff inset !important;
box-shadow: 0px 0px 0px 2px #3ac0ff inset !important;
color: #54C8FF !important;
}
.ui.inverted.primary.basic.buttons .button:focus,
.ui.inverted.primary.basic.buttons .button:focus,
.ui.inverted.primary.basic.button:focus {
-webkit-box-shadow: 0px 0px 0px 2px #2bbbff inset !important;
box-shadow: 0px 0px 0px 2px #2bbbff inset !important;
color: #54C8FF !important;
}
.ui.inverted.primary.basic.buttons .active.button,
.ui.inverted.primary.buttons .basic.active.button,
.ui.inverted.primary.basic.active.button {
-webkit-box-shadow: 0px 0px 0px 2px #3ac0ff inset !important;
box-shadow: 0px 0px 0px 2px #3ac0ff inset !important;
color: #54C8FF !important;
}
.ui.inverted.primary.basic.buttons .button:active,
.ui.inverted.primary.buttons .basic.button:active,
.ui.inverted.primary.basic.button:active {
-webkit-box-shadow: 0px 0px 0px 2px #21b8ff inset !important;
box-shadow: 0px 0px 0px 2px #21b8ff inset !important;
color: #54C8FF !important;
}

/*-------------------
Secondary
--------------------*/
Expand Down Expand Up @@ -3423,6 +3498,81 @@
margin-left: -1px;
}

/* Inverted */
.ui.inverted.secondary.buttons .button,
.ui.inverted.secondary.button {
background-color: transparent;
-webkit-box-shadow: 0px 0px 0px 2px #545454 inset !important;
box-shadow: 0px 0px 0px 2px #545454 inset !important;
color: #545454;
}
.ui.inverted.secondary.buttons .button:hover,
.ui.inverted.secondary.button:hover,
.ui.inverted.secondary.buttons .button:focus,
.ui.inverted.secondary.button:focus,
.ui.inverted.secondary.buttons .button.active,
.ui.inverted.secondary.button.active,
.ui.inverted.secondary.buttons .button:active,
.ui.inverted.secondary.button:active {
-webkit-box-shadow: none !important;
box-shadow: none !important;
color: #FFFFFF;
}
.ui.inverted.secondary.buttons .button:hover,
.ui.inverted.secondary.button:hover {
background-color: #616161;
}
.ui.inverted.secondary.buttons .button:focus,
.ui.inverted.secondary.button:focus {
background-color: #686868;
}
.ui.inverted.secondary.buttons .active.button,
.ui.inverted.secondary.active.button {
background-color: #616161;
}
.ui.inverted.secondary.buttons .button:active,
.ui.inverted.secondary.button:active {
background-color: #6e6e6e;
}

/* Inverted Basic */
.ui.inverted.secondary.basic.buttons .button,
.ui.inverted.secondary.buttons .basic.button,
.ui.inverted.secondary.basic.button {
background-color: transparent;
-webkit-box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 0.5) inset !important;
box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 0.5) inset !important;
color: #FFFFFF !important;
}
.ui.inverted.secondary.basic.buttons .button:hover,
.ui.inverted.secondary.buttons .basic.button:hover,
.ui.inverted.secondary.basic.button:hover {
-webkit-box-shadow: 0px 0px 0px 2px #616161 inset !important;
box-shadow: 0px 0px 0px 2px #616161 inset !important;
color: #545454 !important;
}
.ui.inverted.secondary.basic.buttons .button:focus,
.ui.inverted.secondary.basic.buttons .button:focus,
.ui.inverted.secondary.basic.button:focus {
-webkit-box-shadow: 0px 0px 0px 2px #686868 inset !important;
box-shadow: 0px 0px 0px 2px #686868 inset !important;
color: #545454 !important;
}
.ui.inverted.secondary.basic.buttons .active.button,
.ui.inverted.secondary.buttons .basic.active.button,
.ui.inverted.secondary.basic.active.button {
-webkit-box-shadow: 0px 0px 0px 2px #616161 inset !important;
box-shadow: 0px 0px 0px 2px #616161 inset !important;
color: #545454 !important;
}
.ui.inverted.secondary.basic.buttons .button:active,
.ui.inverted.secondary.buttons .basic.button:active,
.ui.inverted.secondary.basic.button:active {
-webkit-box-shadow: 0px 0px 0px 2px #6e6e6e inset !important;
box-shadow: 0px 0px 0px 2px #6e6e6e inset !important;
color: #545454 !important;
}

/*---------------
Positive
----------------*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.1 - Container
* # Semantic UI 2.3.3 - Container
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/semantic-ui/elements/_divider.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.1 - Divider
* # Semantic UI 2.3.3 - Divider
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/semantic-ui/elements/_flag.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.1 - Flag
* # Semantic UI 2.3.3 - Flag
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/semantic-ui/elements/_header.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.1 - Header
* # Semantic UI 2.3.3 - Header
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
Loading

0 comments on commit b169005

Please sign in to comment.