Skip to content

Commit b169005

Browse files
committed
Bump version 2.3.3.0
1 parent 68014cb commit b169005

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+291
-102
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.3.3.0
2+
3+
* Update Semantic UI to 2.3.3
4+
15
## 2.3.1.2
26

37
* update icons font

app/assets/javascripts/semantic-ui/dimmer.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,10 @@ $.fn.dimmer = function(parameters) {
114114

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

142146
unbind: {
143147
events: function() {
148+
if(module.is.page()) {
149+
$dimmable.get(0).removeEventListener('touchmove', module.event.preventScroll, { passive: false });
150+
}
144151
$module
145152
.removeData(moduleNamespace)
146153
;
@@ -157,6 +164,9 @@ $.fn.dimmer = function(parameters) {
157164
module.hide();
158165
event.stopImmediatePropagation();
159166
}
167+
},
168+
preventScroll: function(event) {
169+
event.preventDefault();
160170
}
161171
},
162172

app/assets/javascripts/semantic-ui/dropdown.js

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -754,10 +754,19 @@ $.fn.dropdown = function(parameters) {
754754
callback();
755755
},
756756
onSuccess : function(response) {
757-
module.remove.message();
758-
module.setup.menu({
759-
values: response[fields.remoteValues]
760-
});
757+
var
758+
values = response[fields.remoteValues],
759+
hasRemoteValues = ($.isArray(values) && values.length > 0)
760+
;
761+
if(hasRemoteValues) {
762+
module.remove.message();
763+
module.setup.menu({
764+
values: response[fields.remoteValues]
765+
});
766+
}
767+
else {
768+
module.add.message(message.noResults);
769+
}
761770
callback();
762771
}
763772
}

app/assets/javascripts/semantic-ui/search.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ $.fn.search = function(parameters) {
337337
apiSettings = {
338338
debug : settings.debug,
339339
on : false,
340-
cache : true,
340+
cache : settings.cache,
341341
action : 'search',
342342
urlData : {
343343
query : searchTerm

app/assets/stylesheets/semantic-ui/collections/_breadcrumb.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* # Semantic UI 2.3.1 - Breadcrumb
2+
* # Semantic UI 2.3.3 - Breadcrumb
33
* http://github.com/semantic-org/semantic-ui/
44
*
55
*

app/assets/stylesheets/semantic-ui/collections/_form.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* # Semantic UI 2.3.1 - Form
2+
* # Semantic UI 2.3.3 - Form
33
* http://github.com/semantic-org/semantic-ui/
44
*
55
*

app/assets/stylesheets/semantic-ui/collections/_grid.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* # Semantic UI 2.3.1 - Grid
2+
* # Semantic UI 2.3.3 - Grid
33
* http://github.com/semantic-org/semantic-ui/
44
*
55
*

app/assets/stylesheets/semantic-ui/collections/_message.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* # Semantic UI 2.3.1 - Message
2+
* # Semantic UI 2.3.3 - Message
33
* http://github.com/semantic-org/semantic-ui/
44
*
55
*

app/assets/stylesheets/semantic-ui/collections/_table.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* # Semantic UI 2.3.1 - Table
2+
* # Semantic UI 2.3.3 - Table
33
* http://github.com/semantic-org/semantic-ui/
44
*
55
*

app/assets/stylesheets/semantic-ui/elements/_button.scss

Lines changed: 151 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* # Semantic UI 2.3.1 - Button
2+
* # Semantic UI 2.3.3 - Button
33
* http://github.com/semantic-org/semantic-ui/
44
*
55
*
@@ -3341,6 +3341,81 @@
33413341
margin-left: -1px;
33423342
}
33433343

3344+
/* Inverted */
3345+
.ui.inverted.primary.buttons .button,
3346+
.ui.inverted.primary.button {
3347+
background-color: transparent;
3348+
-webkit-box-shadow: 0px 0px 0px 2px #54C8FF inset !important;
3349+
box-shadow: 0px 0px 0px 2px #54C8FF inset !important;
3350+
color: #54C8FF;
3351+
}
3352+
.ui.inverted.primary.buttons .button:hover,
3353+
.ui.inverted.primary.button:hover,
3354+
.ui.inverted.primary.buttons .button:focus,
3355+
.ui.inverted.primary.button:focus,
3356+
.ui.inverted.primary.buttons .button.active,
3357+
.ui.inverted.primary.button.active,
3358+
.ui.inverted.primary.buttons .button:active,
3359+
.ui.inverted.primary.button:active {
3360+
-webkit-box-shadow: none !important;
3361+
box-shadow: none !important;
3362+
color: #FFFFFF;
3363+
}
3364+
.ui.inverted.primary.buttons .button:hover,
3365+
.ui.inverted.primary.button:hover {
3366+
background-color: #3ac0ff;
3367+
}
3368+
.ui.inverted.primary.buttons .button:focus,
3369+
.ui.inverted.primary.button:focus {
3370+
background-color: #2bbbff;
3371+
}
3372+
.ui.inverted.primary.buttons .active.button,
3373+
.ui.inverted.primary.active.button {
3374+
background-color: #3ac0ff;
3375+
}
3376+
.ui.inverted.primary.buttons .button:active,
3377+
.ui.inverted.primary.button:active {
3378+
background-color: #21b8ff;
3379+
}
3380+
3381+
/* Inverted Basic */
3382+
.ui.inverted.primary.basic.buttons .button,
3383+
.ui.inverted.primary.buttons .basic.button,
3384+
.ui.inverted.primary.basic.button {
3385+
background-color: transparent;
3386+
-webkit-box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 0.5) inset !important;
3387+
box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 0.5) inset !important;
3388+
color: #FFFFFF !important;
3389+
}
3390+
.ui.inverted.primary.basic.buttons .button:hover,
3391+
.ui.inverted.primary.buttons .basic.button:hover,
3392+
.ui.inverted.primary.basic.button:hover {
3393+
-webkit-box-shadow: 0px 0px 0px 2px #3ac0ff inset !important;
3394+
box-shadow: 0px 0px 0px 2px #3ac0ff inset !important;
3395+
color: #54C8FF !important;
3396+
}
3397+
.ui.inverted.primary.basic.buttons .button:focus,
3398+
.ui.inverted.primary.basic.buttons .button:focus,
3399+
.ui.inverted.primary.basic.button:focus {
3400+
-webkit-box-shadow: 0px 0px 0px 2px #2bbbff inset !important;
3401+
box-shadow: 0px 0px 0px 2px #2bbbff inset !important;
3402+
color: #54C8FF !important;
3403+
}
3404+
.ui.inverted.primary.basic.buttons .active.button,
3405+
.ui.inverted.primary.buttons .basic.active.button,
3406+
.ui.inverted.primary.basic.active.button {
3407+
-webkit-box-shadow: 0px 0px 0px 2px #3ac0ff inset !important;
3408+
box-shadow: 0px 0px 0px 2px #3ac0ff inset !important;
3409+
color: #54C8FF !important;
3410+
}
3411+
.ui.inverted.primary.basic.buttons .button:active,
3412+
.ui.inverted.primary.buttons .basic.button:active,
3413+
.ui.inverted.primary.basic.button:active {
3414+
-webkit-box-shadow: 0px 0px 0px 2px #21b8ff inset !important;
3415+
box-shadow: 0px 0px 0px 2px #21b8ff inset !important;
3416+
color: #54C8FF !important;
3417+
}
3418+
33443419
/*-------------------
33453420
Secondary
33463421
--------------------*/
@@ -3423,6 +3498,81 @@
34233498
margin-left: -1px;
34243499
}
34253500

3501+
/* Inverted */
3502+
.ui.inverted.secondary.buttons .button,
3503+
.ui.inverted.secondary.button {
3504+
background-color: transparent;
3505+
-webkit-box-shadow: 0px 0px 0px 2px #545454 inset !important;
3506+
box-shadow: 0px 0px 0px 2px #545454 inset !important;
3507+
color: #545454;
3508+
}
3509+
.ui.inverted.secondary.buttons .button:hover,
3510+
.ui.inverted.secondary.button:hover,
3511+
.ui.inverted.secondary.buttons .button:focus,
3512+
.ui.inverted.secondary.button:focus,
3513+
.ui.inverted.secondary.buttons .button.active,
3514+
.ui.inverted.secondary.button.active,
3515+
.ui.inverted.secondary.buttons .button:active,
3516+
.ui.inverted.secondary.button:active {
3517+
-webkit-box-shadow: none !important;
3518+
box-shadow: none !important;
3519+
color: #FFFFFF;
3520+
}
3521+
.ui.inverted.secondary.buttons .button:hover,
3522+
.ui.inverted.secondary.button:hover {
3523+
background-color: #616161;
3524+
}
3525+
.ui.inverted.secondary.buttons .button:focus,
3526+
.ui.inverted.secondary.button:focus {
3527+
background-color: #686868;
3528+
}
3529+
.ui.inverted.secondary.buttons .active.button,
3530+
.ui.inverted.secondary.active.button {
3531+
background-color: #616161;
3532+
}
3533+
.ui.inverted.secondary.buttons .button:active,
3534+
.ui.inverted.secondary.button:active {
3535+
background-color: #6e6e6e;
3536+
}
3537+
3538+
/* Inverted Basic */
3539+
.ui.inverted.secondary.basic.buttons .button,
3540+
.ui.inverted.secondary.buttons .basic.button,
3541+
.ui.inverted.secondary.basic.button {
3542+
background-color: transparent;
3543+
-webkit-box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 0.5) inset !important;
3544+
box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 0.5) inset !important;
3545+
color: #FFFFFF !important;
3546+
}
3547+
.ui.inverted.secondary.basic.buttons .button:hover,
3548+
.ui.inverted.secondary.buttons .basic.button:hover,
3549+
.ui.inverted.secondary.basic.button:hover {
3550+
-webkit-box-shadow: 0px 0px 0px 2px #616161 inset !important;
3551+
box-shadow: 0px 0px 0px 2px #616161 inset !important;
3552+
color: #545454 !important;
3553+
}
3554+
.ui.inverted.secondary.basic.buttons .button:focus,
3555+
.ui.inverted.secondary.basic.buttons .button:focus,
3556+
.ui.inverted.secondary.basic.button:focus {
3557+
-webkit-box-shadow: 0px 0px 0px 2px #686868 inset !important;
3558+
box-shadow: 0px 0px 0px 2px #686868 inset !important;
3559+
color: #545454 !important;
3560+
}
3561+
.ui.inverted.secondary.basic.buttons .active.button,
3562+
.ui.inverted.secondary.buttons .basic.active.button,
3563+
.ui.inverted.secondary.basic.active.button {
3564+
-webkit-box-shadow: 0px 0px 0px 2px #616161 inset !important;
3565+
box-shadow: 0px 0px 0px 2px #616161 inset !important;
3566+
color: #545454 !important;
3567+
}
3568+
.ui.inverted.secondary.basic.buttons .button:active,
3569+
.ui.inverted.secondary.buttons .basic.button:active,
3570+
.ui.inverted.secondary.basic.button:active {
3571+
-webkit-box-shadow: 0px 0px 0px 2px #6e6e6e inset !important;
3572+
box-shadow: 0px 0px 0px 2px #6e6e6e inset !important;
3573+
color: #545454 !important;
3574+
}
3575+
34263576
/*---------------
34273577
Positive
34283578
----------------*/

0 commit comments

Comments
 (0)