Browse Source

Build next dist

pull/4454/merge
Jack Lukic 8 years ago
parent
commit
b848ce9a38
23 changed files with 3119 additions and 739 deletions
  1. 2
      dist/components/button.css
  2. 2
      dist/components/button.min.css
  3. 8
      dist/components/comment.css
  4. 2
      dist/components/comment.min.css
  5. 15
      dist/components/dropdown.js
  6. 4
      dist/components/dropdown.min.js
  7. 2
      dist/components/flag.css
  8. 2
      dist/components/flag.min.css
  9. 158
      dist/components/icon.css
  10. 2
      dist/components/icon.min.css
  11. 7
      dist/components/search.js
  12. 2
      dist/components/search.min.js
  13. 18
      dist/components/tab.js
  14. 2
      dist/components/tab.min.js
  15. 222
      dist/semantic.css
  16. 40
      dist/semantic.js
  17. 2
      dist/semantic.min.css
  18. 18
      dist/semantic.min.js
  19. BIN
      dist/themes/default/assets/fonts/icons.eot
  20. 3350
      dist/themes/default/assets/fonts/icons.svg
  21. BIN
      dist/themes/default/assets/fonts/icons.ttf
  22. BIN
      dist/themes/default/assets/fonts/icons.woff
  23. BIN
      dist/themes/default/assets/fonts/icons.woff2

2
dist/components/button.css

@ -708,7 +708,7 @@
.ui.icon.buttons .button > .icon,
.ui.icon.button > .icon {
opacity: 0.9;
margin: 0em;
margin: 0em !important;
vertical-align: top;
}

2
dist/components/button.min.css
File diff suppressed because it is too large
View File

8
dist/components/comment.css

@ -239,19 +239,19 @@
font-size: 0.85714286rem;
}
.ui.small.comments {
font-size: 0.9em;
font-size: 0.92857143rem;
}
.ui.comments {
font-size: 1em;
font-size: 1rem;
}
.ui.large.comments {
font-size: 1.1em;
font-size: 1.14285714rem;
}
.ui.big.comments {
font-size: 1.28571429rem;
}
.ui.huge.comments {
font-size: 1.2em;
font-size: 1.42857143rem;
}
.ui.massive.comments {
font-size: 1.71428571rem;

2
dist/components/comment.min.css

@ -6,4 +6,4 @@
* Released under the MIT license
* http://opensource.org/licenses/MIT
*
*/.ui.comments{margin:1.5em 0;max-width:650px}.ui.comments:first-child{margin-top:0}.ui.comments:last-child{margin-bottom:0}.ui.comments .comment{position:relative;background:0 0;margin:.5em 0 0;padding:.5em 0 0;border:none;border-top:none;line-height:1.2}.ui.comments .comment:first-child{margin-top:0;padding-top:0}.ui.comments .comment .comments{margin:0 0 .5em .5em;padding:1em 0 1em 1em}.ui.comments .comment .comments:before{position:absolute;top:0;left:0}.ui.comments .comment .comments .comment{border:none;border-top:none;background:0 0}.ui.comments .comment .avatar{display:block;width:2.5em;height:auto;float:left;margin:.2em 0 0}.ui.comments .comment .avatar img,.ui.comments .comment img.avatar{display:block;margin:0 auto;width:100%;height:100%;border-radius:.25rem}.ui.comments .comment>.content{display:block}.ui.comments .comment>.avatar~.content{margin-left:3.5em}.ui.comments .comment .author{font-size:1em;color:rgba(0,0,0,.87);font-weight:700}.ui.comments .comment a.author{cursor:pointer}.ui.comments .comment a.author:hover{color:#1e70bf}.ui.comments .comment .metadata{display:inline-block;margin-left:.5em;color:rgba(0,0,0,.4);font-size:.875em}.ui.comments .comment .metadata>*{display:inline-block;margin:0 .5em 0 0}.ui.comments .comment .metadata>:last-child{margin-right:0}.ui.comments .comment .text{margin:.25em 0 .5em;font-size:1em;word-wrap:break-word;color:rgba(0,0,0,.87);line-height:1.3}.ui.comments .comment .actions{font-size:.875em}.ui.comments .comment .actions a{cursor:pointer;display:inline-block;margin:0 .75em 0 0;color:rgba(0,0,0,.4)}.ui.comments .comment .actions a:last-child{margin-right:0}.ui.comments .comment .actions a.active,.ui.comments .comment .actions a:hover{color:rgba(0,0,0,.8)}.ui.comments>.reply.form{margin-top:1em}.ui.comments .comment .reply.form{width:100%;margin-top:1em}.ui.comments .reply.form textarea{font-size:1em;height:12em}.ui.collapsed.comments,.ui.comments .collapsed.comment,.ui.comments .collapsed.comments{display:none}.ui.threaded.comments .comment .comments{margin:-1.5em 0 -1em 1.25em;padding:3em 0 2em 2.25em;box-shadow:-1px 0 0 rgba(34,36,38,.15)}.ui.minimal.comments .comment .actions{opacity:0;position:absolute;top:0;right:0;left:auto;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;-webkit-transition-delay:.1s;transition-delay:.1s}.ui.minimal.comments .comment>.content:hover>.actions{opacity:1}.ui.mini.comments{font-size:.78571429rem}.ui.tiny.comments{font-size:.85714286rem}.ui.small.comments{font-size:.9em}.ui.comments{font-size:1em}.ui.large.comments{font-size:1.1em}.ui.big.comments{font-size:1.28571429rem}.ui.huge.comments{font-size:1.2em}.ui.massive.comments{font-size:1.71428571rem}
*/.ui.comments{margin:1.5em 0;max-width:650px}.ui.comments:first-child{margin-top:0}.ui.comments:last-child{margin-bottom:0}.ui.comments .comment{position:relative;background:0 0;margin:.5em 0 0;padding:.5em 0 0;border:none;border-top:none;line-height:1.2}.ui.comments .comment:first-child{margin-top:0;padding-top:0}.ui.comments .comment .comments{margin:0 0 .5em .5em;padding:1em 0 1em 1em}.ui.comments .comment .comments:before{position:absolute;top:0;left:0}.ui.comments .comment .comments .comment{border:none;border-top:none;background:0 0}.ui.comments .comment .avatar{display:block;width:2.5em;height:auto;float:left;margin:.2em 0 0}.ui.comments .comment .avatar img,.ui.comments .comment img.avatar{display:block;margin:0 auto;width:100%;height:100%;border-radius:.25rem}.ui.comments .comment>.content{display:block}.ui.comments .comment>.avatar~.content{margin-left:3.5em}.ui.comments .comment .author{font-size:1em;color:rgba(0,0,0,.87);font-weight:700}.ui.comments .comment a.author{cursor:pointer}.ui.comments .comment a.author:hover{color:#1e70bf}.ui.comments .comment .metadata{display:inline-block;margin-left:.5em;color:rgba(0,0,0,.4);font-size:.875em}.ui.comments .comment .metadata>*{display:inline-block;margin:0 .5em 0 0}.ui.comments .comment .metadata>:last-child{margin-right:0}.ui.comments .comment .text{margin:.25em 0 .5em;font-size:1em;word-wrap:break-word;color:rgba(0,0,0,.87);line-height:1.3}.ui.comments .comment .actions{font-size:.875em}.ui.comments .comment .actions a{cursor:pointer;display:inline-block;margin:0 .75em 0 0;color:rgba(0,0,0,.4)}.ui.comments .comment .actions a:last-child{margin-right:0}.ui.comments .comment .actions a.active,.ui.comments .comment .actions a:hover{color:rgba(0,0,0,.8)}.ui.comments>.reply.form{margin-top:1em}.ui.comments .comment .reply.form{width:100%;margin-top:1em}.ui.comments .reply.form textarea{font-size:1em;height:12em}.ui.collapsed.comments,.ui.comments .collapsed.comment,.ui.comments .collapsed.comments{display:none}.ui.threaded.comments .comment .comments{margin:-1.5em 0 -1em 1.25em;padding:3em 0 2em 2.25em;box-shadow:-1px 0 0 rgba(34,36,38,.15)}.ui.minimal.comments .comment .actions{opacity:0;position:absolute;top:0;right:0;left:auto;-webkit-transition:opacity .2s ease;transition:opacity .2s ease;-webkit-transition-delay:.1s;transition-delay:.1s}.ui.minimal.comments .comment>.content:hover>.actions{opacity:1}.ui.mini.comments{font-size:.78571429rem}.ui.tiny.comments{font-size:.85714286rem}.ui.small.comments{font-size:.92857143rem}.ui.comments{font-size:1rem}.ui.large.comments{font-size:1.14285714rem}.ui.big.comments{font-size:1.28571429rem}.ui.huge.comments{font-size:1.42857143rem}.ui.massive.comments{font-size:1.71428571rem}

15
dist/components/dropdown.js

@ -461,6 +461,10 @@ $.fn.dropdown = function(parameters) {
? callback
: function(){}
;
if(!module.can.show() && module.is.remote()) {
module.debug('No API results retrieved, searching before show');
module.queryRemote(module.get.query(), module.show);
}
if( module.can.show() && !module.is.active() ) {
module.debug('Showing dropdown');
if(module.has.message() && !(module.has.maxSelections() || module.has.allResultsFiltered()) ) {
@ -702,6 +706,9 @@ $.fn.dropdown = function(parameters) {
if(settings.apiSettings) {
if( module.can.useAPI() ) {
module.queryRemote(searchTerm, function() {
if(settings.filterRemoteData) {
module.filterItems(searchTerm);
}
afterFiltered();
});
}
@ -876,7 +883,7 @@ $.fn.dropdown = function(parameters) {
: $activeItem,
hasSelected = ($selectedItem.length > 0)
;
if(hasSelected) {
if(hasSelected && !module.is.multiple()) {
module.debug('Forcing partial selection to selected item', $selectedItem);
module.event.item.click.call($selectedItem, {}, true);
return;
@ -3083,6 +3090,9 @@ $.fn.dropdown = function(parameters) {
multiple: function() {
return $module.hasClass(className.multiple);
},
remote: function() {
return settings.apiSettings && module.can.useAPI();
},
single: function() {
return !module.is.multiple();
},
@ -3503,7 +3513,10 @@ $.fn.dropdown.settings = {
apiSettings : false,
selectOnKeydown : true, // Whether selection should occur automatically when keyboard shortcuts used
minCharacters : 0, // Minimum characters required to trigger API call
filterRemoteData : false, // Whether API results should be filtered after being returned for query term
saveRemoteData : true, // Whether remote name/value pairs should be stored in sessionStorage to allow remote data to be restored on page refresh
throttle : 200, // How long to wait after last user input to search remotely
context : window, // Context to use when determining if on screen

4
dist/components/dropdown.min.js
File diff suppressed because it is too large
View File

2
dist/components/flag.css

@ -607,7 +607,7 @@ i.flag.mali:before {
i.flag.mm:before,
i.flag.myanmar:before,
i.flag.burma:before {
background-position: -36px -1717px;
background-position: -73px -1821px;
}
i.flag.mn:before,
i.flag.mongolia:before {

2
dist/components/flag.min.css
File diff suppressed because it is too large
View File

158
dist/components/icon.css

@ -476,7 +476,7 @@ i.icons .inverted.corner.icon {
text-shadow: -1px -1px 0 #1B1C1D, 1px -1px 0 #1B1C1D, -1px 1px 0 #1B1C1D, 1px 1px 0 #1B1C1D;
}
/*
* Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
@ -647,9 +647,6 @@ i.icon.text.telephone:before {
i.icon.find:before {
content: "\f1e5";
}
i.icon.wifi:before {
content: "\f1eb";
}
i.icon.alarm.mute:before {
content: "\f1f6";
}
@ -728,6 +725,54 @@ i.icon.hashtag:before {
i.icon.percent:before {
content: "\f295";
}
i.icon.handshake:before {
content: "\f2b5";
}
i.icon.open.envelope:before {
content: "\f2b6";
}
i.icon.open.envelope.outline:before {
content: "\f2b7";
}
i.icon.address.book:before {
content: "\f2b9";
}
i.icon.address.book.outline:before {
content: "\f2ba";
}
i.icon.address.card:before {
content: "\f2bb";
}
i.icon.address.card.outline:before {
content: "\f2bc";
}
i.icon.id.badge:before {
content: "\f2c1";
}
i.icon.id.card:before {
content: "\f2c2";
}
i.icon.id.card.outline:before {
content: "\f2c3";
}
i.icon.podcast:before {
content: "\f2ce";
}
i.icon.window.maximize:before {
content: "\f2d0";
}
i.icon.window.minimize:before {
content: "\f2d1";
}
i.icon.window.restore:before {
content: "\f2d2";
}
i.icon.window.close:before {
content: "\f2d3";
}
i.icon.window.close.outline:before {
content: "\f2d4";
}
/* User Actions */
i.icon.wait:before {
@ -959,6 +1004,15 @@ i.icon.child:before {
i.icon.spy:before {
content: "\f21b";
}
i.icon.user.circle:before {
content: "\f2bd";
}
i.icon.user.circle.outline:before {
content: "\f2be";
}
i.icon.user.outline:before {
content: "\f2c0";
}
/* Gender & Sexuality */
i.icon.female:before {
@ -1207,6 +1261,30 @@ i.icon.hand.spock:before {
i.icon.tv:before {
content: "\f26c";
}
i.icon.thermometer.full:before {
content: "\f2c7";
}
i.icon.thermometer.three.quarters:before {
content: "\f2c8";
}
i.icon.thermometer.half:before {
content: "\f2c9";
}
i.icon.thermometer.quarter:before {
content: "\f2ca";
}
i.icon.thermometer.empty:before {
content: "\f2cb";
}
i.icon.shower:before {
content: "\f2cc";
}
i.icon.bathtub:before {
content: "\f2cd";
}
i.icon.snowflake:before {
content: "\f2dc";
}
/* Shapes */
i.icon.crosshairs:before {
@ -1622,6 +1700,9 @@ i.icon.openid:before {
i.icon.database:before {
content: "\f1c0";
}
i.icon.wifi:before {
content: "\f1eb";
}
i.icon.server:before {
content: "\f233";
}
@ -1634,6 +1715,9 @@ i.icon.bluetooth:before {
i.icon.bluetooth.alternative:before {
content: "\f294";
}
i.icon.microchip:before {
content: "\f2db";
}
/* Rating */
i.icon.heart:before {
@ -2471,6 +2555,45 @@ i.icon.google.plus.circle:before {
i.icon.font.awesome:before {
content: "\f2b4";
}
i.icon.linode:before {
content: "\f2b8";
}
i.icon.quora:before {
content: "\f2c4";
}
i.icon.free.code.camp:before {
content: "\f2c5";
}
i.icon.telegram:before {
content: "\f2c6";
}
i.icon.bandcamp:before {
content: "\f2d5";
}
i.icon.grav:before {
content: "\f2d6";
}
i.icon.etsy:before {
content: "\f2d7";
}
i.icon.imdb:before {
content: "\f2d8";
}
i.icon.ravelry:before {
content: "\f2d9";
}
i.icon.eercast:before {
content: "\f2da";
}
i.icon.superpowers:before {
content: "\f2dd";
}
i.icon.wpexplorer:before {
content: "\f2de";
}
i.icon.meetup:before {
content: "\f2e0";
}
/*******************************
@ -3134,6 +3257,33 @@ i.icon.google.plus.official:before {
i.icon.fa:before {
content: "\f2b4";
}
i.icon.vcard:before {
content: "\f2bb";
}
i.icon.vcard.outline:before {
content: "\f2bc";
}
i.icon.drivers.license:before {
content: "\f2c2";
}
i.icon.drivers.license.outline:before {
content: "\f2c3";
}
i.icon.thermometer:before {
content: "\f2c7";
}
i.icon.s15:before {
content: "\f2cd";
}
i.icon.bath:before {
content: "\f2cd";
}
i.icon.times.rectangle:before {
content: "\f2d3";
}
i.icon.times.rectangle.outline:before {
content: "\f2d4";
}
/*******************************

2
dist/components/icon.min.css
File diff suppressed because it is too large
View File

7
dist/components/search.js

@ -147,9 +147,9 @@ $.fn.search = function(parameters) {
},
focus: function() {
module.set.focus();
if( module.has.minimumCharacters() ) {
if(settings.searchOnFocus && module.has.minimumCharacters() ) {
module.query();
if( module.can.show() ) {
if(module.can.show() ) {
module.showResults();
}
}
@ -1144,6 +1144,9 @@ $.fn.search.settings = {
// object to search
source : false,
// Whether search should query current term on focus
searchOnFocus : true,
// fields to search
searchFields : [
'title',

2
dist/components/search.min.js
File diff suppressed because it is too large
View File

18
dist/components/tab.js

@ -476,7 +476,10 @@ $.fn.tab = function(parameters) {
settings.onFirstLoad.call($tab[0], tabPath, parameterArray, historyEvent);
settings.onLoad.call($tab[0], tabPath, parameterArray, historyEvent);
if(typeof settings.cacheType == 'string' && settings.cacheType.toLowerCase() == 'dom' && $tab.children().length > 0) {
if(settings.loadOnce) {
module.cache.add(fullTabPath, true);
}
else if(typeof settings.cacheType == 'string' && settings.cacheType.toLowerCase() == 'dom' && $tab.children().length > 0) {
setTimeout(function() {
var
$clone = $tab.children().clone(true)
@ -506,11 +509,13 @@ $.fn.tab = function(parameters) {
if(settings.cache && cachedContent) {
module.activate.tab(tabPath);
module.debug('Adding cached content', fullTabPath);
if(settings.evaluateScripts == 'once') {
module.update.content(tabPath, cachedContent, false);
}
else {
module.update.content(tabPath, cachedContent);
if(!settings.loadOnce) {
if(settings.evaluateScripts == 'once') {
module.update.content(tabPath, cachedContent, false);
}
else {
module.update.content(tabPath, cachedContent);
}
}
settings.onLoad.call($tab[0], tabPath, parameterArray, historyEvent);
}
@ -898,6 +903,7 @@ $.fn.tab.settings = {
alwaysRefresh : false, // load tab content new every tab click
cache : true, // cache the content requests to pull locally
loadOnce : false, // Whether tab data should only be loaded once when using remote content
cacheType : 'response', // Whether to cache exact response, or to html cache contents after scripts execute
ignoreFirstLoad : false, // don't load remote content on first load

2
dist/components/tab.min.js
File diff suppressed because it is too large
View File

222
dist/semantic.css

@ -1448,7 +1448,7 @@ input::selection {
.ui.icon.buttons .button > .icon,
.ui.icon.button > .icon {
opacity: 0.9;
margin: 0em;
margin: 0em !important;
vertical-align: top;
}
@ -5790,7 +5790,7 @@ i.flag.mali:before {
i.flag.mm:before,
i.flag.myanmar:before,
i.flag.burma:before {
background-position: -36px -1717px;
background-position: -73px -1821px;
}
i.flag.mn:before,
@ -7670,7 +7670,7 @@ i.icons .inverted.corner.icon {
}
/*
* Font Awesome 4.6.3 by @davegandy - http://fontawesome.io - @fontawesome
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
@ -7883,10 +7883,6 @@ i.icon.find:before {
content: "\f1e5";
}
i.icon.wifi:before {
content: "\f1eb";
}
i.icon.alarm.mute:before {
content: "\f1f6";
}
@ -7991,6 +7987,70 @@ i.icon.percent:before {
content: "\f295";
}
i.icon.handshake:before {
content: "\f2b5";
}
i.icon.open.envelope:before {
content: "\f2b6";
}
i.icon.open.envelope.outline:before {
content: "\f2b7";
}
i.icon.address.book:before {
content: "\f2b9";
}
i.icon.address.book.outline:before {
content: "\f2ba";
}
i.icon.address.card:before {
content: "\f2bb";
}
i.icon.address.card.outline:before {
content: "\f2bc";
}
i.icon.id.badge:before {
content: "\f2c1";
}
i.icon.id.card:before {
content: "\f2c2";
}
i.icon.id.card.outline:before {
content: "\f2c3";
}
i.icon.podcast:before {
content: "\f2ce";
}
i.icon.window.maximize:before {
content: "\f2d0";
}
i.icon.window.minimize:before {
content: "\f2d1";
}
i.icon.window.restore:before {
content: "\f2d2";
}
i.icon.window.close:before {
content: "\f2d3";
}
i.icon.window.close.outline:before {
content: "\f2d4";
}
/* User Actions */
i.icon.wait:before {
@ -8297,6 +8357,18 @@ i.icon.spy:before {
content: "\f21b";
}
i.icon.user.circle:before {
content: "\f2bd";
}
i.icon.user.circle.outline:before {
content: "\f2be";
}
i.icon.user.outline:before {
content: "\f2c0";
}
/* Gender & Sexuality */
i.icon.female:before {
@ -8625,6 +8697,38 @@ i.icon.tv:before {
content: "\f26c";
}
i.icon.thermometer.full:before {
content: "\f2c7";
}
i.icon.thermometer.three.quarters:before {
content: "\f2c8";
}
i.icon.thermometer.half:before {
content: "\f2c9";
}
i.icon.thermometer.quarter:before {
content: "\f2ca";
}
i.icon.thermometer.empty:before {
content: "\f2cb";
}
i.icon.shower:before {
content: "\f2cc";
}
i.icon.bathtub:before {
content: "\f2cd";
}
i.icon.snowflake:before {
content: "\f2dc";
}
/* Shapes */
i.icon.crosshairs:before {
@ -9173,6 +9277,10 @@ i.icon.database:before {
content: "\f1c0";
}
i.icon.wifi:before {
content: "\f1eb";
}
i.icon.server:before {
content: "\f233";
}
@ -9189,6 +9297,10 @@ i.icon.bluetooth.alternative:before {
content: "\f294";
}
i.icon.microchip:before {
content: "\f2db";
}
/* Rating */
i.icon.heart:before {
@ -10301,6 +10413,58 @@ i.icon.font.awesome:before {
content: "\f2b4";
}
i.icon.linode:before {
content: "\f2b8";
}
i.icon.quora:before {
content: "\f2c4";
}
i.icon.free.code.camp:before {
content: "\f2c5";
}
i.icon.telegram:before {
content: "\f2c6";
}
i.icon.bandcamp:before {
content: "\f2d5";
}
i.icon.grav:before {
content: "\f2d6";
}
i.icon.etsy:before {
content: "\f2d7";
}
i.icon.imdb:before {
content: "\f2d8";
}
i.icon.ravelry:before {
content: "\f2d9";
}
i.icon.eercast:before {
content: "\f2da";
}
i.icon.superpowers:before {
content: "\f2dd";
}
i.icon.wpexplorer:before {
content: "\f2de";
}
i.icon.meetup:before {
content: "\f2e0";
}
/*******************************
Aliases
*******************************/
@ -11181,6 +11345,42 @@ i.icon.fa:before {
content: "\f2b4";
}
i.icon.vcard:before {
content: "\f2bb";
}
i.icon.vcard.outline:before {
content: "\f2bc";
}
i.icon.drivers.license:before {
content: "\f2c2";
}
i.icon.drivers.license.outline:before {
content: "\f2c3";
}
i.icon.thermometer:before {
content: "\f2c7";
}
i.icon.s15:before {
content: "\f2cd";
}
i.icon.bath:before {
content: "\f2cd";
}
i.icon.times.rectangle:before {
content: "\f2d3";
}
i.icon.times.rectangle.outline:before {
content: "\f2d4";
}
/*******************************
Site Overrides
*******************************/
@ -26206,15 +26406,15 @@ a.ui.card:hover,
}
.ui.small.comments {
font-size: 0.9em;
font-size: 0.92857143rem;
}
.ui.comments {
font-size: 1em;
font-size: 1rem;
}
.ui.large.comments {
font-size: 1.1em;
font-size: 1.14285714rem;
}
.ui.big.comments {
@ -26222,7 +26422,7 @@ a.ui.card:hover,
}
.ui.huge.comments {
font-size: 1.2em;
font-size: 1.42857143rem;
}
.ui.massive.comments {

40
dist/semantic.js

@ -4670,6 +4670,10 @@ $.fn.dropdown = function(parameters) {
? callback
: function(){}
;
if(!module.can.show() && module.is.remote()) {
module.debug('No API results retrieved, searching before show');
module.queryRemote(module.get.query(), module.show);
}
if( module.can.show() && !module.is.active() ) {
module.debug('Showing dropdown');
if(module.has.message() && !(module.has.maxSelections() || module.has.allResultsFiltered()) ) {
@ -4911,6 +4915,9 @@ $.fn.dropdown = function(parameters) {
if(settings.apiSettings) {
if( module.can.useAPI() ) {
module.queryRemote(searchTerm, function() {
if(settings.filterRemoteData) {
module.filterItems(searchTerm);
}
afterFiltered();
});
}
@ -5085,7 +5092,7 @@ $.fn.dropdown = function(parameters) {
: $activeItem,
hasSelected = ($selectedItem.length > 0)
;
if(hasSelected) {
if(hasSelected && !module.is.multiple()) {
module.debug('Forcing partial selection to selected item', $selectedItem);
module.event.item.click.call($selectedItem, {}, true);
return;
@ -7292,6 +7299,9 @@ $.fn.dropdown = function(parameters) {
multiple: function() {
return $module.hasClass(className.multiple);
},
remote: function() {
return settings.apiSettings && module.can.useAPI();
},
single: function() {
return !module.is.multiple();
},
@ -7712,7 +7722,10 @@ $.fn.dropdown.settings = {
apiSettings : false,
selectOnKeydown : true, // Whether selection should occur automatically when keyboard shortcuts used
minCharacters : 0, // Minimum characters required to trigger API call
filterRemoteData : false, // Whether API results should be filtered after being returned for query term
saveRemoteData : true, // Whether remote name/value pairs should be stored in sessionStorage to allow remote data to be restored on page refresh
throttle : 200, // How long to wait after last user input to search remotely
context : window, // Context to use when determining if on screen
@ -13134,9 +13147,9 @@ $.fn.search = function(parameters) {
},
focus: function() {
module.set.focus();
if( module.has.minimumCharacters() ) {
if(settings.searchOnFocus && module.has.minimumCharacters() ) {
module.query();
if( module.can.show() ) {
if(module.can.show() ) {
module.showResults();
}
}
@ -14131,6 +14144,9 @@ $.fn.search.settings = {
// object to search
source : false,
// Whether search should query current term on focus
searchOnFocus : true,
// fields to search
searchFields : [
'title',
@ -17773,7 +17789,10 @@ $.fn.tab = function(parameters) {
settings.onFirstLoad.call($tab[0], tabPath, parameterArray, historyEvent);
settings.onLoad.call($tab[0], tabPath, parameterArray, historyEvent);
if(typeof settings.cacheType == 'string' && settings.cacheType.toLowerCase() == 'dom' && $tab.children().length > 0) {
if(settings.loadOnce) {
module.cache.add(fullTabPath, true);
}
else if(typeof settings.cacheType == 'string' && settings.cacheType.toLowerCase() == 'dom' && $tab.children().length > 0) {
setTimeout(function() {
var
$clone = $tab.children().clone(true)
@ -17803,11 +17822,13 @@ $.fn.tab = function(parameters) {
if(settings.cache && cachedContent) {
module.activate.tab(tabPath);
module.debug('Adding cached content', fullTabPath);
if(settings.evaluateScripts == 'once') {
module.update.content(tabPath, cachedContent, false);
}
else {
module.update.content(tabPath, cachedContent);
if(!settings.loadOnce) {
if(settings.evaluateScripts == 'once') {
module.update.content(tabPath, cachedContent, false);
}
else {
module.update.content(tabPath, cachedContent);
}
}
settings.onLoad.call($tab[0], tabPath, parameterArray, historyEvent);
}
@ -18195,6 +18216,7 @@ $.fn.tab.settings = {
alwaysRefresh : false, // load tab content new every tab click
cache : true, // cache the content requests to pull locally
loadOnce : false, // Whether tab data should only be loaded once when using remote content
cacheType : 'response', // Whether to cache exact response, or to html cache contents after scripts execute
ignoreFirstLoad : false, // don't load remote content on first load

2
dist/semantic.min.css
File diff suppressed because it is too large
View File

18
dist/semantic.min.js
File diff suppressed because it is too large
View File

BIN
dist/themes/default/assets/fonts/icons.eot

3350
dist/themes/default/assets/fonts/icons.svg
File diff suppressed because it is too large
View File

BIN
dist/themes/default/assets/fonts/icons.ttf

BIN
dist/themes/default/assets/fonts/icons.woff

BIN
dist/themes/default/assets/fonts/icons.woff2

Loading…
Cancel
Save