Skip to content

Commit

Permalink
Updated distribution to version 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Semantic-Pusher-Robot committed Mar 19, 2018
1 parent cbd1f34 commit b235c6c
Show file tree
Hide file tree
Showing 135 changed files with 8,962 additions and 6,865 deletions.
2 changes: 1 addition & 1 deletion components/accordion.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Accordion
* # Semantic UI 2.3.1 - Accordion
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
4 changes: 2 additions & 2 deletions components/accordion.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Accordion
* # Semantic UI 2.3.1 - Accordion
* http://github.com/semantic-org/semantic-ui/
*
*
Expand All @@ -10,7 +10,7 @@

;(function ($, window, document, undefined) {

"use strict";
'use strict';

window = (typeof window != 'undefined' && window.Math == Math)
? window
Expand Down
2 changes: 1 addition & 1 deletion components/accordion.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/ad.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Ad
* # Semantic UI 2.3.1 - Ad
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion components/ad.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions components/api.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - API
* # Semantic UI 2.3.1 - API
* http://github.com/semantic-org/semantic-ui/
*
*
Expand All @@ -10,7 +10,7 @@

;(function ($, window, document, undefined) {

"use strict";
'use strict';

var
window = (typeof window != 'undefined' && window.Math == Math)
Expand Down
2 changes: 1 addition & 1 deletion components/breadcrumb.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Breadcrumb
* # Semantic UI 2.3.1 - Breadcrumb
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion components/breadcrumb.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/button.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Button
* # Semantic UI 2.3.1 - Button
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion components/button.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/card.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Item
* # Semantic UI 2.3.1 - Item
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion components/card.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/checkbox.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Checkbox
* # Semantic UI 2.3.1 - Checkbox
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
4 changes: 2 additions & 2 deletions components/checkbox.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Checkbox
* # Semantic UI 2.3.1 - Checkbox
* http://github.com/semantic-org/semantic-ui/
*
*
Expand All @@ -10,7 +10,7 @@

;(function ($, window, document, undefined) {

"use strict";
'use strict';

window = (typeof window != 'undefined' && window.Math == Math)
? window
Expand Down
2 changes: 1 addition & 1 deletion components/checkbox.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/comment.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Comment
* # Semantic UI 2.3.1 - Comment
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion components/comment.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/container.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Container
* # Semantic UI 2.3.1 - Container
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion components/container.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/dimmer.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Dimmer
* # Semantic UI 2.3.1 - Dimmer
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
4 changes: 2 additions & 2 deletions components/dimmer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Dimmer
* # Semantic UI 2.3.1 - Dimmer
* http://github.com/semantic-org/semantic-ui/
*
*
Expand All @@ -10,7 +10,7 @@

;(function ($, window, document, undefined) {

"use strict";
'use strict';

window = (typeof window != 'undefined' && window.Math == Math)
? window
Expand Down
2 changes: 1 addition & 1 deletion components/dimmer.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/divider.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Divider
* # Semantic UI 2.3.1 - Divider
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion components/divider.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/dropdown.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Dropdown
* # Semantic UI 2.3.1 - Dropdown
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
18 changes: 12 additions & 6 deletions components/dropdown.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Dropdown
* # Semantic UI 2.3.1 - Dropdown
* http://github.com/semantic-org/semantic-ui/
*
*
Expand All @@ -10,7 +10,7 @@

;(function ($, window, document, undefined) {

"use strict";
'use strict';

window = (typeof window != 'undefined' && window.Math == Math)
? window
Expand Down Expand Up @@ -1617,7 +1617,7 @@ $.fn.dropdown = function(parameters) {
: text
;
if( module.can.activate( $(element) ) ) {
module.set.value(value, $(element));
module.set.value(value, text, $(element));
if(module.is.multiple() && !module.is.allFiltered()) {
return;
}
Expand Down Expand Up @@ -2283,7 +2283,7 @@ $.fn.dropdown = function(parameters) {
var
length = module.get.query().length
;
$search.val( text.substr(0 , length));
$search.val( text.substr(0, length));
},
scrollPosition: function($item, forceScroll) {
var
Expand Down Expand Up @@ -2579,14 +2579,17 @@ $.fn.dropdown = function(parameters) {
escapedValue = module.escape.value(value),
$label
;
if(settings.ignoreCase) {
escapedValue = escapedValue.toLowerCase();
}
$label = $('<a />')
.addClass(className.label)
.attr('data-' + metadata.value, escapedValue)
.html(templates.label(escapedValue, text))
;
$label = settings.onLabelCreate.call($label, escapedValue, text);

if(module.has.value(value)) {
if(module.has.label(value)) {
module.debug('User selection already exists, skipping', escapedValue);
return;
}
Expand Down Expand Up @@ -3043,6 +3046,9 @@ $.fn.dropdown = function(parameters) {
escapedValue = module.escape.value(value),
$labels = $module.find(selector.label)
;
if(settings.ignoreCase) {
escapedValue = escapedValue.toLowerCase();
}
return ($labels.filter('[data-' + metadata.value + '="' + module.escape.string(escapedValue) +'"]').length > 0);
},
maxSelections: function() {
Expand Down Expand Up @@ -3889,7 +3895,7 @@ $.fn.dropdown.settings.templates = {
? 'disabled '
: ''
;
html += '<div class="'+ maybeDisabled +'item" data-value="' + option[fields.value] + '"' + maybeText + '>'
html += '<div class="'+ maybeDisabled +'item" data-value="' + option[fields.value] + '"' + maybeText + '>';
html += option[fields.name];
html += '</div>';
});
Expand Down
2 changes: 1 addition & 1 deletion components/dropdown.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/dropdown.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/embed.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Video
* # Semantic UI 2.3.1 - Video
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
4 changes: 2 additions & 2 deletions components/embed.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Embed
* # Semantic UI 2.3.1 - Embed
* http://github.com/semantic-org/semantic-ui/
*
*
Expand All @@ -10,7 +10,7 @@

;(function ($, window, document, undefined) {

"use strict";
'use strict';

window = (typeof window != 'undefined' && window.Math == Math)
? window
Expand Down
2 changes: 1 addition & 1 deletion components/embed.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/feed.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Feed
* # Semantic UI 2.3.1 - Feed
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion components/feed.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/flag.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Flag
* # Semantic UI 2.3.1 - Flag
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
2 changes: 1 addition & 1 deletion components/flag.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion components/form.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Form
* # Semantic UI 2.3.1 - Form
* http://github.com/semantic-org/semantic-ui/
*
*
Expand Down
14 changes: 7 additions & 7 deletions components/form.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* # Semantic UI 2.3.0 - Form Validation
* # Semantic UI 2.3.1 - Form Validation
* http://github.com/semantic-org/semantic-ui/
*
*
Expand All @@ -10,7 +10,7 @@

;(function ($, window, document, undefined) {

"use strict";
'use strict';

window = (typeof window != 'undefined' && window.Math == Math)
? window
Expand Down Expand Up @@ -435,16 +435,16 @@ $.fn.form = function(parameters) {
var
ruleName = module.get.ruleName(rule),
ancillary = module.get.ancillaryValue(rule),
prompt = rule.prompt || settings.prompt[ruleName] || settings.text.unspecifiedRule,
$field = module.get.field(field.identifier),
value = $field.val(),
prompt = $.isFunction(rule.prompt)
? rule.prompt(value)
: rule.prompt || settings.prompt[ruleName] || settings.text.unspecifiedRule,
requiresValue = (prompt.search('{value}') !== -1),
requiresName = (prompt.search('{name}') !== -1),
$label,
$field,
name
;
if(requiresName || requiresValue) {
$field = module.get.field(field.identifier);
}
if(requiresValue) {
prompt = prompt.replace('{value}', $field.val());
}
Expand Down
2 changes: 1 addition & 1 deletion components/form.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b235c6c

Please sign in to comment.