diff --git a/RELEASE NOTES.md b/RELEASE NOTES.md index f20f92901..db04d5833 100755 --- a/RELEASE NOTES.md +++ b/RELEASE NOTES.md @@ -1,10 +1,17 @@ ## RELEASE NOTES +### Version 0.3.5 - Oct 2, 2013 + +**Fixes** +- Fixes radio checkboxes (again) +- Fixes header content display in icon headers + ### Version 0.3.4 - Oct 2, 2013 **Fixes** - Transitions now work in Safari versinos that do not support animation-direction - Fixes accordion in safari styles getting stuck +- Centering of content in icon header ### Version 0.3.3 - Oct 2, 2013 diff --git a/build/less/elements/header.less b/build/less/elements/header.less index e6104f889..721a00095 100644 --- a/build/less/elements/header.less +++ b/build/less/elements/header.less @@ -132,6 +132,9 @@ h5.ui.header { margin: 0em auto 0.2em; padding: 0em; } +.ui.icon.header .content { + display: block; +} .ui.icon.header .circular.icon, .ui.icon.header .square.icon { font-size: 2em; diff --git a/build/less/modules/checkbox.js b/build/less/modules/checkbox.js index f60b80652..bac0594c9 100644 --- a/build/less/modules/checkbox.js +++ b/build/less/modules/checkbox.js @@ -334,7 +334,7 @@ $.fn.checkbox.settings = { }, selector : { - input : 'input[type=checkbox]', + input : 'input[type=checkbox], input[type=radio]', label : 'label' }, diff --git a/build/minified/elements/header.min.css b/build/minified/elements/header.min.css index 83021e96e..9fc37cfab 100644 --- a/build/minified/elements/header.min.css +++ b/build/minified/elements/header.min.css @@ -1 +1 @@ -.ui.header{border:0;margin:1em 0 1rem;padding:0;font-size:1.33em;font-weight:700;line-height:1.33}.ui.header .sub.header{font-size:1rem;font-weight:400;margin:0;padding:0;line-height:1.2;color:rgba(0,0,0,.5)}.ui.header .icon{display:table-cell;vertical-align:middle;padding-right:.5em}.ui.header .icon:only-child{display:inline-block}.ui.header .content{display:inline-block;vertical-align:top}.ui.header .icon+.content{padding-left:.5em;display:table-cell}.ui.header:first-child{margin-top:0}.ui.header:last-child{margin-bottom:0}.ui.header+p{margin-top:0}h1.ui.header{min-height:1rem;line-height:1.33;font-size:2rem}h2.ui.header{line-height:1.33;font-size:1.75rem}h3.ui.header{line-height:1.33;font-size:1.33rem}h4.ui.header{line-height:1.33;font-size:1.1rem}h5.ui.header{line-height:1.2;font-size:1rem}.ui.huge.header{min-height:1em;font-size:2em}.ui.large.header{font-size:1.75em}.ui.medium.header{font-size:1.33em}.ui.small.header{font-size:1.1em}.ui.tiny.header{font-size:1em}.ui.icon.header{display:inline-block;text-align:center}.ui.icon.header .icon{float:none;display:block;font-size:3em;margin:0 auto .2em;padding:0}.ui.icon.header .circular.icon,.ui.icon.header .square.icon{font-size:2em}.ui.block.icon.header .icon{margin-bottom:0}.ui.icon.header.aligned{margin-left:auto;margin-right:auto;display:block}.ui.disabled.header{opacity:.5}.ui.blue.header{color:#6ECFF5!important}.ui.black.header{color:#5C6166!important}.ui.green.header{color:#A1CF64!important}.ui.red.header{color:#D95C5C!important}.ui.purple.header{color:#564F8A!important}.ui.teal.header{color:#00B5AD!important}.ui.blue.dividing.header{border-bottom:3px solid #6ECFF5}.ui.black.dividing.header{border-bottom:3px solid #5C6166}.ui.green.dividing.header{border-bottom:3px solid #A1CF64}.ui.red.dividing.header{border-bottom:3px solid #D95C5C}.ui.purple.dividing.header{border-bottom:3px solid #564F8A}.ui.teal.dividing.header{border-bottom:3px solid #00B5AD}.ui.inverted.header{color:#FFF}.ui.inverted.header .sub.header{color:rgba(255,255,255,.85)}.ui.inverted.black.header{background-color:#5C6166!important;color:#FFF!important}.ui.inverted.blue.header{background-color:#6ECFF5!important;color:#FFF!important}.ui.inverted.green.header{background-color:#A1CF64!important;color:#FFF!important}.ui.inverted.red.header{background-color:#D95C5C!important;color:#FFF!important}.ui.inverted.purple.header{background-color:#564F8A!important;color:#FFF!important}.ui.inverted.teal.header{background-color:#00B5AD!important;color:#FFF!important}.ui.inverted.block.header{border-bottom:0}.ui.left.aligned.header{text-align:left}.ui.right.aligned.header{text-align:right}.ui.center.aligned.header{text-align:center}.ui.floated.header,.ui.left.floated.header{float:left;margin-top:0;margin-right:.5em}.ui.right.floated.header{float:right;margin-top:0;margin-left:.5em}.ui.fitted.header{padding:0}.ui.dividing.header{padding-bottom:.2rem;border-bottom:1px solid rgba(0,0,0,.1)}.ui.dividing.header .sub.header{padding-bottom:.5em}.ui.dividing.header .icon{margin-bottom:.2em}.ui.block.header{background-color:#F5F5F5;padding:.5em 1em}.ui.attached.header{background-color:#E0E0E0;padding:.5em 1rem;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.1);-moz-box-shadow:0 0 0 1px rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(0,0,0,.1)}.ui.top.attached.header{margin-bottom:0;-webkit-border-radius:.3125em .3125em 0 0;-moz-border-radius:.3125em .3125em 0 0;border-radius:.3125em .3125em 0 0}.ui.bottom.attached.header{margin-top:0;-webkit-border-radius:0 0 .3125em .3125em;-moz-border-radius:0 0 .3125em .3125em;border-radius:0 0 .3125em .3125em} \ No newline at end of file +.ui.header{border:0;margin:1em 0 1rem;padding:0;font-size:1.33em;font-weight:700;line-height:1.33}.ui.header .sub.header{font-size:1rem;font-weight:400;margin:0;padding:0;line-height:1.2;color:rgba(0,0,0,.5)}.ui.header .icon{display:table-cell;vertical-align:middle;padding-right:.5em}.ui.header .icon:only-child{display:inline-block}.ui.header .content{display:inline-block;vertical-align:top}.ui.header .icon+.content{padding-left:.5em;display:table-cell}.ui.header:first-child{margin-top:0}.ui.header:last-child{margin-bottom:0}.ui.header+p{margin-top:0}h1.ui.header{min-height:1rem;line-height:1.33;font-size:2rem}h2.ui.header{line-height:1.33;font-size:1.75rem}h3.ui.header{line-height:1.33;font-size:1.33rem}h4.ui.header{line-height:1.33;font-size:1.1rem}h5.ui.header{line-height:1.2;font-size:1rem}.ui.huge.header{min-height:1em;font-size:2em}.ui.large.header{font-size:1.75em}.ui.medium.header{font-size:1.33em}.ui.small.header{font-size:1.1em}.ui.tiny.header{font-size:1em}.ui.icon.header{display:inline-block;text-align:center}.ui.icon.header .icon{float:none;display:block;font-size:3em;margin:0 auto .2em;padding:0}.ui.icon.header .content{display:block}.ui.icon.header .circular.icon,.ui.icon.header .square.icon{font-size:2em}.ui.block.icon.header .icon{margin-bottom:0}.ui.icon.header.aligned{margin-left:auto;margin-right:auto;display:block}.ui.disabled.header{opacity:.5}.ui.blue.header{color:#6ECFF5!important}.ui.black.header{color:#5C6166!important}.ui.green.header{color:#A1CF64!important}.ui.red.header{color:#D95C5C!important}.ui.purple.header{color:#564F8A!important}.ui.teal.header{color:#00B5AD!important}.ui.blue.dividing.header{border-bottom:3px solid #6ECFF5}.ui.black.dividing.header{border-bottom:3px solid #5C6166}.ui.green.dividing.header{border-bottom:3px solid #A1CF64}.ui.red.dividing.header{border-bottom:3px solid #D95C5C}.ui.purple.dividing.header{border-bottom:3px solid #564F8A}.ui.teal.dividing.header{border-bottom:3px solid #00B5AD}.ui.inverted.header{color:#FFF}.ui.inverted.header .sub.header{color:rgba(255,255,255,.85)}.ui.inverted.black.header{background-color:#5C6166!important;color:#FFF!important}.ui.inverted.blue.header{background-color:#6ECFF5!important;color:#FFF!important}.ui.inverted.green.header{background-color:#A1CF64!important;color:#FFF!important}.ui.inverted.red.header{background-color:#D95C5C!important;color:#FFF!important}.ui.inverted.purple.header{background-color:#564F8A!important;color:#FFF!important}.ui.inverted.teal.header{background-color:#00B5AD!important;color:#FFF!important}.ui.inverted.block.header{border-bottom:0}.ui.left.aligned.header{text-align:left}.ui.right.aligned.header{text-align:right}.ui.center.aligned.header{text-align:center}.ui.floated.header,.ui.left.floated.header{float:left;margin-top:0;margin-right:.5em}.ui.right.floated.header{float:right;margin-top:0;margin-left:.5em}.ui.fitted.header{padding:0}.ui.dividing.header{padding-bottom:.2rem;border-bottom:1px solid rgba(0,0,0,.1)}.ui.dividing.header .sub.header{padding-bottom:.5em}.ui.dividing.header .icon{margin-bottom:.2em}.ui.block.header{background-color:#F5F5F5;padding:.5em 1em}.ui.attached.header{background-color:#E0E0E0;padding:.5em 1rem;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.1);-moz-box-shadow:0 0 0 1px rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(0,0,0,.1)}.ui.top.attached.header{margin-bottom:0;-webkit-border-radius:.3125em .3125em 0 0;-moz-border-radius:.3125em .3125em 0 0;border-radius:.3125em .3125em 0 0}.ui.bottom.attached.header{margin-top:0;-webkit-border-radius:0 0 .3125em .3125em;-moz-border-radius:0 0 .3125em .3125em;border-radius:0 0 .3125em .3125em} \ No newline at end of file diff --git a/build/minified/modules/checkbox.js b/build/minified/modules/checkbox.js index f60b80652..bac0594c9 100644 --- a/build/minified/modules/checkbox.js +++ b/build/minified/modules/checkbox.js @@ -334,7 +334,7 @@ $.fn.checkbox.settings = { }, selector : { - input : 'input[type=checkbox]', + input : 'input[type=checkbox], input[type=radio]', label : 'label' }, diff --git a/build/minified/modules/checkbox.min.js b/build/minified/modules/checkbox.min.js index 1aa89f457..683da984c 100644 --- a/build/minified/modules/checkbox.min.js +++ b/build/minified/modules/checkbox.min.js @@ -1 +1 @@ -!function(a,b,c,d){a.fn.checkbox=function(b){var c,e=a(this),f=a.extend(!0,{},a.fn.checkbox.settings,b),g=f.className,h=f.namespace,i=f.error,j="."+h,k="module-"+h,l=e.selector||"",m=(new Date).getTime(),n=[],o=arguments[0],p="string"==typeof o,q=[].slice.call(arguments,1);return e.each(function(){var b,h=a(this),r=a(this).next(f.selector.label).first(),s=a(this).find(f.selector.input),t=h.selector||"",u=h.data(k),v=this;b={initialize:function(){b.verbose("Initializing checkbox",f),f.context&&""!==t?(b.verbose("Adding delegated events"),a(v,f.context).on(t,"click"+j,b.toggle).on(t+" + "+f.selector.label,"click"+j,b.toggle)):(h.on("click"+j,b.toggle).data(k,b),r.on("click"+j,b.toggle)),b.instantiate()},instantiate:function(){b.verbose("Storing instance of module",b),u=b,h.data(k,b)},destroy:function(){b.verbose("Destroying previous module"),h.off(j).removeData(k)},is:{radio:function(){return h.hasClass(g.radio)}},can:{disable:function(){return"boolean"==typeof f.required?f.required:!b.is.radio()}},enable:function(){b.debug("Enabling checkbox"),s.prop("checked",!0),a.proxy(f.onChange,s.get())(),a.proxy(f.onEnable,s.get())()},disable:function(){b.debug("Disabling checkbox"),s.prop("checked",!1),a.proxy(f.onChange,s.get())(),a.proxy(f.onDisable,s.get())()},toggle:function(){b.verbose("Determining new checkbox state"),s.prop("checked")!==d&&s.prop("checked")?b.can.disable()&&b.disable():b.enable()},setting:function(b,c){return c===d?f[b]:(a.isPlainObject(b)?a.extend(!0,f,b):f[b]=c,void 0)},internal:function(c,e){return e===d?b[c]:(a.isPlainObject(c)?a.extend(!0,b,c):b[c]=e,void 0)},debug:function(){f.debug&&(f.performance?b.performance.log(arguments):(b.debug=Function.prototype.bind.call(console.info,console,f.name+":"),b.debug.apply(console,arguments)))},verbose:function(){f.verbose&&f.debug&&(f.performance?b.performance.log(arguments):(b.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),b.verbose.apply(console,arguments)))},error:function(){b.error=Function.prototype.bind.call(console.error,console,f.name+":"),b.error.apply(console,arguments)},performance:{log:function(a){var c,d,e;f.performance&&(c=(new Date).getTime(),e=m||c,d=c-e,m=c,n.push({Element:v,Name:a[0],Arguments:[].slice.call(a,1)||"","Execution Time":d})),clearTimeout(b.performance.timer),b.performance.timer=setTimeout(b.performance.display,100)},display:function(){var c=f.name+":",g=0;m=!1,clearTimeout(b.performance.timer),a.each(n,function(a,b){g+=b["Execution Time"]}),c+=" "+g+"ms",l&&(c+=" '"+l+"'"),e.size()>1&&(c+=" ("+e.size()+")"),(console.group!==d||console.table!==d)&&n.length>0&&(console.groupCollapsed(c),console.table?console.table(n):a.each(n,function(a,b){console.log(b.Name+": "+b["Execution Time"]+"ms")}),console.groupEnd()),n=[]}},invoke:function(e,f,g){var h,j,k;return f=f||q,g=v||g,"string"==typeof e&&u!==d&&(e=e.split(/[\. ]/),h=e.length-1,a.each(e,function(c,f){var g=c!=h?f+e[c+1].charAt(0).toUpperCase()+e[c+1].slice(1):e;if(a.isPlainObject(u[f])&&c!=h)u=u[f];else{if(!a.isPlainObject(u[g])||c==h)return u[f]!==d?(j=u[f],!1):u[g]!==d?(j=u[g],!1):(b.error(i.method),!1);u=u[g]}})),a.isFunction(j)?k=j.apply(g,f):j!==d&&(k=j),a.isArray(c)?c.push(k):"string"==typeof c?c=[c,k]:k!==d&&(c=k),j}},p?(u===d&&b.initialize(),b.invoke(o)):(u!==d&&b.destroy(),b.initialize())}),c!==d?c:this},a.fn.checkbox.settings={name:"Checkbox",namespace:"checkbox",verbose:!0,debug:!0,performance:!0,context:!1,required:"auto",onChange:function(){},onEnable:function(){},onDisable:function(){},error:{method:"The method you called is not defined."},selector:{input:"input[type=checkbox]",label:"label"},className:{radio:"radio"}}}(jQuery,window,document); \ No newline at end of file +!function(a,b,c,d){a.fn.checkbox=function(b){var c,e=a(this),f=a.extend(!0,{},a.fn.checkbox.settings,b),g=f.className,h=f.namespace,i=f.error,j="."+h,k="module-"+h,l=e.selector||"",m=(new Date).getTime(),n=[],o=arguments[0],p="string"==typeof o,q=[].slice.call(arguments,1);return e.each(function(){var b,h=a(this),r=a(this).next(f.selector.label).first(),s=a(this).find(f.selector.input),t=h.selector||"",u=h.data(k),v=this;b={initialize:function(){b.verbose("Initializing checkbox",f),f.context&&""!==t?(b.verbose("Adding delegated events"),a(v,f.context).on(t,"click"+j,b.toggle).on(t+" + "+f.selector.label,"click"+j,b.toggle)):(h.on("click"+j,b.toggle).data(k,b),r.on("click"+j,b.toggle)),b.instantiate()},instantiate:function(){b.verbose("Storing instance of module",b),u=b,h.data(k,b)},destroy:function(){b.verbose("Destroying previous module"),h.off(j).removeData(k)},is:{radio:function(){return h.hasClass(g.radio)}},can:{disable:function(){return"boolean"==typeof f.required?f.required:!b.is.radio()}},enable:function(){b.debug("Enabling checkbox"),s.prop("checked",!0),a.proxy(f.onChange,s.get())(),a.proxy(f.onEnable,s.get())()},disable:function(){b.debug("Disabling checkbox"),s.prop("checked",!1),a.proxy(f.onChange,s.get())(),a.proxy(f.onDisable,s.get())()},toggle:function(){b.verbose("Determining new checkbox state"),s.prop("checked")!==d&&s.prop("checked")?b.can.disable()&&b.disable():b.enable()},setting:function(b,c){return c===d?f[b]:(a.isPlainObject(b)?a.extend(!0,f,b):f[b]=c,void 0)},internal:function(c,e){return e===d?b[c]:(a.isPlainObject(c)?a.extend(!0,b,c):b[c]=e,void 0)},debug:function(){f.debug&&(f.performance?b.performance.log(arguments):(b.debug=Function.prototype.bind.call(console.info,console,f.name+":"),b.debug.apply(console,arguments)))},verbose:function(){f.verbose&&f.debug&&(f.performance?b.performance.log(arguments):(b.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),b.verbose.apply(console,arguments)))},error:function(){b.error=Function.prototype.bind.call(console.error,console,f.name+":"),b.error.apply(console,arguments)},performance:{log:function(a){var c,d,e;f.performance&&(c=(new Date).getTime(),e=m||c,d=c-e,m=c,n.push({Element:v,Name:a[0],Arguments:[].slice.call(a,1)||"","Execution Time":d})),clearTimeout(b.performance.timer),b.performance.timer=setTimeout(b.performance.display,100)},display:function(){var c=f.name+":",g=0;m=!1,clearTimeout(b.performance.timer),a.each(n,function(a,b){g+=b["Execution Time"]}),c+=" "+g+"ms",l&&(c+=" '"+l+"'"),e.size()>1&&(c+=" ("+e.size()+")"),(console.group!==d||console.table!==d)&&n.length>0&&(console.groupCollapsed(c),console.table?console.table(n):a.each(n,function(a,b){console.log(b.Name+": "+b["Execution Time"]+"ms")}),console.groupEnd()),n=[]}},invoke:function(e,f,g){var h,j,k;return f=f||q,g=v||g,"string"==typeof e&&u!==d&&(e=e.split(/[\. ]/),h=e.length-1,a.each(e,function(c,f){var g=c!=h?f+e[c+1].charAt(0).toUpperCase()+e[c+1].slice(1):e;if(a.isPlainObject(u[f])&&c!=h)u=u[f];else{if(!a.isPlainObject(u[g])||c==h)return u[f]!==d?(j=u[f],!1):u[g]!==d?(j=u[g],!1):(b.error(i.method),!1);u=u[g]}})),a.isFunction(j)?k=j.apply(g,f):j!==d&&(k=j),a.isArray(c)?c.push(k):"string"==typeof c?c=[c,k]:k!==d&&(c=k),j}},p?(u===d&&b.initialize(),b.invoke(o)):(u!==d&&b.destroy(),b.initialize())}),c!==d?c:this},a.fn.checkbox.settings={name:"Checkbox",namespace:"checkbox",verbose:!0,debug:!0,performance:!0,context:!1,required:"auto",onChange:function(){},onEnable:function(){},onDisable:function(){},error:{method:"The method you called is not defined."},selector:{input:"input[type=checkbox], input[type=radio]",label:"label"},className:{radio:"radio"}}}(jQuery,window,document); \ No newline at end of file diff --git a/build/packaged/css/semantic.css.REMOVED.git-id b/build/packaged/css/semantic.css.REMOVED.git-id index a686efa87..ba9031a22 100644 --- a/build/packaged/css/semantic.css.REMOVED.git-id +++ b/build/packaged/css/semantic.css.REMOVED.git-id @@ -1 +1 @@ -42d01cc5e428be3c7b004af7041536f0c593aae4 \ No newline at end of file +e22bb6d8b61291357a9618c0fa220b3691c16601 \ No newline at end of file diff --git a/build/packaged/css/semantic.min.css.REMOVED.git-id b/build/packaged/css/semantic.min.css.REMOVED.git-id index cb3e4d2a1..f45adfa55 100644 --- a/build/packaged/css/semantic.min.css.REMOVED.git-id +++ b/build/packaged/css/semantic.min.css.REMOVED.git-id @@ -1 +1 @@ -1b8d26d10c187063a05007cd786da77673071256 \ No newline at end of file +36ed0d70800f453e0b03a58d9c8b57f1c777a01c \ No newline at end of file diff --git a/build/packaged/javascript/semantic.js.REMOVED.git-id b/build/packaged/javascript/semantic.js.REMOVED.git-id index ace4c5f88..ae54d1320 100644 --- a/build/packaged/javascript/semantic.js.REMOVED.git-id +++ b/build/packaged/javascript/semantic.js.REMOVED.git-id @@ -1 +1 @@ -3b767889426b0b18c14296f8570d6673ebd3b83d \ No newline at end of file +aaf56e2a560b5bb1ce0e219dbd3de2f713f67f17 \ No newline at end of file diff --git a/build/packaged/javascript/semantic.min.js.REMOVED.git-id b/build/packaged/javascript/semantic.min.js.REMOVED.git-id index 5b01d39fb..85320f91b 100644 --- a/build/packaged/javascript/semantic.min.js.REMOVED.git-id +++ b/build/packaged/javascript/semantic.min.js.REMOVED.git-id @@ -1 +1 @@ -8d3392fa536b6f696a0d042f82b72488cbc5f2d2 \ No newline at end of file +e08ff88312951b8a568362a59c1f8e4f59c146d1 \ No newline at end of file diff --git a/build/uncompressed/elements/header.css b/build/uncompressed/elements/header.css index 195ab6b54..b2507e15c 100644 --- a/build/uncompressed/elements/header.css +++ b/build/uncompressed/elements/header.css @@ -114,6 +114,9 @@ h5.ui.header { margin: 0em auto 0.2em; padding: 0em; } +.ui.icon.header .content { + display: block; +} .ui.icon.header .circular.icon, .ui.icon.header .square.icon { font-size: 2em; diff --git a/build/uncompressed/modules/checkbox.js b/build/uncompressed/modules/checkbox.js index f60b80652..bac0594c9 100644 --- a/build/uncompressed/modules/checkbox.js +++ b/build/uncompressed/modules/checkbox.js @@ -334,7 +334,7 @@ $.fn.checkbox.settings = { }, selector : { - input : 'input[type=checkbox]', + input : 'input[type=checkbox], input[type=radio]', label : 'label' }, diff --git a/node/package.json b/node/package.json index fc15905e5..e445622e3 100755 --- a/node/package.json +++ b/node/package.json @@ -1,7 +1,7 @@ { "semantic": { "name": "Semantic UI", - "version": "0.3.4" + "version": "0.3.5" }, "dependencies": { "docpad": "~6.53.0", diff --git a/node/src/documents/index.html.eco b/node/src/documents/index.html.eco index 2a21c7a71..33ba19ba6 100755 --- a/node/src/documents/index.html.eco +++ b/node/src/documents/index.html.eco @@ -14,7 +14,7 @@ type : 'Semantic'
Semantic empowers designers and developers by creating a language for sharing UI.
View UI diff --git a/node/src/files/build/less/elements/header.less b/node/src/files/build/less/elements/header.less index e6104f889..721a00095 100644 --- a/node/src/files/build/less/elements/header.less +++ b/node/src/files/build/less/elements/header.less @@ -132,6 +132,9 @@ h5.ui.header { margin: 0em auto 0.2em; padding: 0em; } +.ui.icon.header .content { + display: block; +} .ui.icon.header .circular.icon, .ui.icon.header .square.icon { font-size: 2em; diff --git a/node/src/files/build/less/modules/checkbox.js b/node/src/files/build/less/modules/checkbox.js index f60b80652..bac0594c9 100644 --- a/node/src/files/build/less/modules/checkbox.js +++ b/node/src/files/build/less/modules/checkbox.js @@ -334,7 +334,7 @@ $.fn.checkbox.settings = { }, selector : { - input : 'input[type=checkbox]', + input : 'input[type=checkbox], input[type=radio]', label : 'label' }, diff --git a/node/src/files/build/minified/elements/header.min.css b/node/src/files/build/minified/elements/header.min.css index 83021e96e..9fc37cfab 100644 --- a/node/src/files/build/minified/elements/header.min.css +++ b/node/src/files/build/minified/elements/header.min.css @@ -1 +1 @@ -.ui.header{border:0;margin:1em 0 1rem;padding:0;font-size:1.33em;font-weight:700;line-height:1.33}.ui.header .sub.header{font-size:1rem;font-weight:400;margin:0;padding:0;line-height:1.2;color:rgba(0,0,0,.5)}.ui.header .icon{display:table-cell;vertical-align:middle;padding-right:.5em}.ui.header .icon:only-child{display:inline-block}.ui.header .content{display:inline-block;vertical-align:top}.ui.header .icon+.content{padding-left:.5em;display:table-cell}.ui.header:first-child{margin-top:0}.ui.header:last-child{margin-bottom:0}.ui.header+p{margin-top:0}h1.ui.header{min-height:1rem;line-height:1.33;font-size:2rem}h2.ui.header{line-height:1.33;font-size:1.75rem}h3.ui.header{line-height:1.33;font-size:1.33rem}h4.ui.header{line-height:1.33;font-size:1.1rem}h5.ui.header{line-height:1.2;font-size:1rem}.ui.huge.header{min-height:1em;font-size:2em}.ui.large.header{font-size:1.75em}.ui.medium.header{font-size:1.33em}.ui.small.header{font-size:1.1em}.ui.tiny.header{font-size:1em}.ui.icon.header{display:inline-block;text-align:center}.ui.icon.header .icon{float:none;display:block;font-size:3em;margin:0 auto .2em;padding:0}.ui.icon.header .circular.icon,.ui.icon.header .square.icon{font-size:2em}.ui.block.icon.header .icon{margin-bottom:0}.ui.icon.header.aligned{margin-left:auto;margin-right:auto;display:block}.ui.disabled.header{opacity:.5}.ui.blue.header{color:#6ECFF5!important}.ui.black.header{color:#5C6166!important}.ui.green.header{color:#A1CF64!important}.ui.red.header{color:#D95C5C!important}.ui.purple.header{color:#564F8A!important}.ui.teal.header{color:#00B5AD!important}.ui.blue.dividing.header{border-bottom:3px solid #6ECFF5}.ui.black.dividing.header{border-bottom:3px solid #5C6166}.ui.green.dividing.header{border-bottom:3px solid #A1CF64}.ui.red.dividing.header{border-bottom:3px solid #D95C5C}.ui.purple.dividing.header{border-bottom:3px solid #564F8A}.ui.teal.dividing.header{border-bottom:3px solid #00B5AD}.ui.inverted.header{color:#FFF}.ui.inverted.header .sub.header{color:rgba(255,255,255,.85)}.ui.inverted.black.header{background-color:#5C6166!important;color:#FFF!important}.ui.inverted.blue.header{background-color:#6ECFF5!important;color:#FFF!important}.ui.inverted.green.header{background-color:#A1CF64!important;color:#FFF!important}.ui.inverted.red.header{background-color:#D95C5C!important;color:#FFF!important}.ui.inverted.purple.header{background-color:#564F8A!important;color:#FFF!important}.ui.inverted.teal.header{background-color:#00B5AD!important;color:#FFF!important}.ui.inverted.block.header{border-bottom:0}.ui.left.aligned.header{text-align:left}.ui.right.aligned.header{text-align:right}.ui.center.aligned.header{text-align:center}.ui.floated.header,.ui.left.floated.header{float:left;margin-top:0;margin-right:.5em}.ui.right.floated.header{float:right;margin-top:0;margin-left:.5em}.ui.fitted.header{padding:0}.ui.dividing.header{padding-bottom:.2rem;border-bottom:1px solid rgba(0,0,0,.1)}.ui.dividing.header .sub.header{padding-bottom:.5em}.ui.dividing.header .icon{margin-bottom:.2em}.ui.block.header{background-color:#F5F5F5;padding:.5em 1em}.ui.attached.header{background-color:#E0E0E0;padding:.5em 1rem;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.1);-moz-box-shadow:0 0 0 1px rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(0,0,0,.1)}.ui.top.attached.header{margin-bottom:0;-webkit-border-radius:.3125em .3125em 0 0;-moz-border-radius:.3125em .3125em 0 0;border-radius:.3125em .3125em 0 0}.ui.bottom.attached.header{margin-top:0;-webkit-border-radius:0 0 .3125em .3125em;-moz-border-radius:0 0 .3125em .3125em;border-radius:0 0 .3125em .3125em} \ No newline at end of file +.ui.header{border:0;margin:1em 0 1rem;padding:0;font-size:1.33em;font-weight:700;line-height:1.33}.ui.header .sub.header{font-size:1rem;font-weight:400;margin:0;padding:0;line-height:1.2;color:rgba(0,0,0,.5)}.ui.header .icon{display:table-cell;vertical-align:middle;padding-right:.5em}.ui.header .icon:only-child{display:inline-block}.ui.header .content{display:inline-block;vertical-align:top}.ui.header .icon+.content{padding-left:.5em;display:table-cell}.ui.header:first-child{margin-top:0}.ui.header:last-child{margin-bottom:0}.ui.header+p{margin-top:0}h1.ui.header{min-height:1rem;line-height:1.33;font-size:2rem}h2.ui.header{line-height:1.33;font-size:1.75rem}h3.ui.header{line-height:1.33;font-size:1.33rem}h4.ui.header{line-height:1.33;font-size:1.1rem}h5.ui.header{line-height:1.2;font-size:1rem}.ui.huge.header{min-height:1em;font-size:2em}.ui.large.header{font-size:1.75em}.ui.medium.header{font-size:1.33em}.ui.small.header{font-size:1.1em}.ui.tiny.header{font-size:1em}.ui.icon.header{display:inline-block;text-align:center}.ui.icon.header .icon{float:none;display:block;font-size:3em;margin:0 auto .2em;padding:0}.ui.icon.header .content{display:block}.ui.icon.header .circular.icon,.ui.icon.header .square.icon{font-size:2em}.ui.block.icon.header .icon{margin-bottom:0}.ui.icon.header.aligned{margin-left:auto;margin-right:auto;display:block}.ui.disabled.header{opacity:.5}.ui.blue.header{color:#6ECFF5!important}.ui.black.header{color:#5C6166!important}.ui.green.header{color:#A1CF64!important}.ui.red.header{color:#D95C5C!important}.ui.purple.header{color:#564F8A!important}.ui.teal.header{color:#00B5AD!important}.ui.blue.dividing.header{border-bottom:3px solid #6ECFF5}.ui.black.dividing.header{border-bottom:3px solid #5C6166}.ui.green.dividing.header{border-bottom:3px solid #A1CF64}.ui.red.dividing.header{border-bottom:3px solid #D95C5C}.ui.purple.dividing.header{border-bottom:3px solid #564F8A}.ui.teal.dividing.header{border-bottom:3px solid #00B5AD}.ui.inverted.header{color:#FFF}.ui.inverted.header .sub.header{color:rgba(255,255,255,.85)}.ui.inverted.black.header{background-color:#5C6166!important;color:#FFF!important}.ui.inverted.blue.header{background-color:#6ECFF5!important;color:#FFF!important}.ui.inverted.green.header{background-color:#A1CF64!important;color:#FFF!important}.ui.inverted.red.header{background-color:#D95C5C!important;color:#FFF!important}.ui.inverted.purple.header{background-color:#564F8A!important;color:#FFF!important}.ui.inverted.teal.header{background-color:#00B5AD!important;color:#FFF!important}.ui.inverted.block.header{border-bottom:0}.ui.left.aligned.header{text-align:left}.ui.right.aligned.header{text-align:right}.ui.center.aligned.header{text-align:center}.ui.floated.header,.ui.left.floated.header{float:left;margin-top:0;margin-right:.5em}.ui.right.floated.header{float:right;margin-top:0;margin-left:.5em}.ui.fitted.header{padding:0}.ui.dividing.header{padding-bottom:.2rem;border-bottom:1px solid rgba(0,0,0,.1)}.ui.dividing.header .sub.header{padding-bottom:.5em}.ui.dividing.header .icon{margin-bottom:.2em}.ui.block.header{background-color:#F5F5F5;padding:.5em 1em}.ui.attached.header{background-color:#E0E0E0;padding:.5em 1rem;-webkit-box-shadow:0 0 0 1px rgba(0,0,0,.1);-moz-box-shadow:0 0 0 1px rgba(0,0,0,.1);box-shadow:0 0 0 1px rgba(0,0,0,.1)}.ui.top.attached.header{margin-bottom:0;-webkit-border-radius:.3125em .3125em 0 0;-moz-border-radius:.3125em .3125em 0 0;border-radius:.3125em .3125em 0 0}.ui.bottom.attached.header{margin-top:0;-webkit-border-radius:0 0 .3125em .3125em;-moz-border-radius:0 0 .3125em .3125em;border-radius:0 0 .3125em .3125em} \ No newline at end of file diff --git a/node/src/files/build/minified/modules/checkbox.js b/node/src/files/build/minified/modules/checkbox.js index f60b80652..bac0594c9 100644 --- a/node/src/files/build/minified/modules/checkbox.js +++ b/node/src/files/build/minified/modules/checkbox.js @@ -334,7 +334,7 @@ $.fn.checkbox.settings = { }, selector : { - input : 'input[type=checkbox]', + input : 'input[type=checkbox], input[type=radio]', label : 'label' }, diff --git a/node/src/files/build/minified/modules/checkbox.min.js b/node/src/files/build/minified/modules/checkbox.min.js index 1aa89f457..683da984c 100644 --- a/node/src/files/build/minified/modules/checkbox.min.js +++ b/node/src/files/build/minified/modules/checkbox.min.js @@ -1 +1 @@ -!function(a,b,c,d){a.fn.checkbox=function(b){var c,e=a(this),f=a.extend(!0,{},a.fn.checkbox.settings,b),g=f.className,h=f.namespace,i=f.error,j="."+h,k="module-"+h,l=e.selector||"",m=(new Date).getTime(),n=[],o=arguments[0],p="string"==typeof o,q=[].slice.call(arguments,1);return e.each(function(){var b,h=a(this),r=a(this).next(f.selector.label).first(),s=a(this).find(f.selector.input),t=h.selector||"",u=h.data(k),v=this;b={initialize:function(){b.verbose("Initializing checkbox",f),f.context&&""!==t?(b.verbose("Adding delegated events"),a(v,f.context).on(t,"click"+j,b.toggle).on(t+" + "+f.selector.label,"click"+j,b.toggle)):(h.on("click"+j,b.toggle).data(k,b),r.on("click"+j,b.toggle)),b.instantiate()},instantiate:function(){b.verbose("Storing instance of module",b),u=b,h.data(k,b)},destroy:function(){b.verbose("Destroying previous module"),h.off(j).removeData(k)},is:{radio:function(){return h.hasClass(g.radio)}},can:{disable:function(){return"boolean"==typeof f.required?f.required:!b.is.radio()}},enable:function(){b.debug("Enabling checkbox"),s.prop("checked",!0),a.proxy(f.onChange,s.get())(),a.proxy(f.onEnable,s.get())()},disable:function(){b.debug("Disabling checkbox"),s.prop("checked",!1),a.proxy(f.onChange,s.get())(),a.proxy(f.onDisable,s.get())()},toggle:function(){b.verbose("Determining new checkbox state"),s.prop("checked")!==d&&s.prop("checked")?b.can.disable()&&b.disable():b.enable()},setting:function(b,c){return c===d?f[b]:(a.isPlainObject(b)?a.extend(!0,f,b):f[b]=c,void 0)},internal:function(c,e){return e===d?b[c]:(a.isPlainObject(c)?a.extend(!0,b,c):b[c]=e,void 0)},debug:function(){f.debug&&(f.performance?b.performance.log(arguments):(b.debug=Function.prototype.bind.call(console.info,console,f.name+":"),b.debug.apply(console,arguments)))},verbose:function(){f.verbose&&f.debug&&(f.performance?b.performance.log(arguments):(b.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),b.verbose.apply(console,arguments)))},error:function(){b.error=Function.prototype.bind.call(console.error,console,f.name+":"),b.error.apply(console,arguments)},performance:{log:function(a){var c,d,e;f.performance&&(c=(new Date).getTime(),e=m||c,d=c-e,m=c,n.push({Element:v,Name:a[0],Arguments:[].slice.call(a,1)||"","Execution Time":d})),clearTimeout(b.performance.timer),b.performance.timer=setTimeout(b.performance.display,100)},display:function(){var c=f.name+":",g=0;m=!1,clearTimeout(b.performance.timer),a.each(n,function(a,b){g+=b["Execution Time"]}),c+=" "+g+"ms",l&&(c+=" '"+l+"'"),e.size()>1&&(c+=" ("+e.size()+")"),(console.group!==d||console.table!==d)&&n.length>0&&(console.groupCollapsed(c),console.table?console.table(n):a.each(n,function(a,b){console.log(b.Name+": "+b["Execution Time"]+"ms")}),console.groupEnd()),n=[]}},invoke:function(e,f,g){var h,j,k;return f=f||q,g=v||g,"string"==typeof e&&u!==d&&(e=e.split(/[\. ]/),h=e.length-1,a.each(e,function(c,f){var g=c!=h?f+e[c+1].charAt(0).toUpperCase()+e[c+1].slice(1):e;if(a.isPlainObject(u[f])&&c!=h)u=u[f];else{if(!a.isPlainObject(u[g])||c==h)return u[f]!==d?(j=u[f],!1):u[g]!==d?(j=u[g],!1):(b.error(i.method),!1);u=u[g]}})),a.isFunction(j)?k=j.apply(g,f):j!==d&&(k=j),a.isArray(c)?c.push(k):"string"==typeof c?c=[c,k]:k!==d&&(c=k),j}},p?(u===d&&b.initialize(),b.invoke(o)):(u!==d&&b.destroy(),b.initialize())}),c!==d?c:this},a.fn.checkbox.settings={name:"Checkbox",namespace:"checkbox",verbose:!0,debug:!0,performance:!0,context:!1,required:"auto",onChange:function(){},onEnable:function(){},onDisable:function(){},error:{method:"The method you called is not defined."},selector:{input:"input[type=checkbox]",label:"label"},className:{radio:"radio"}}}(jQuery,window,document); \ No newline at end of file +!function(a,b,c,d){a.fn.checkbox=function(b){var c,e=a(this),f=a.extend(!0,{},a.fn.checkbox.settings,b),g=f.className,h=f.namespace,i=f.error,j="."+h,k="module-"+h,l=e.selector||"",m=(new Date).getTime(),n=[],o=arguments[0],p="string"==typeof o,q=[].slice.call(arguments,1);return e.each(function(){var b,h=a(this),r=a(this).next(f.selector.label).first(),s=a(this).find(f.selector.input),t=h.selector||"",u=h.data(k),v=this;b={initialize:function(){b.verbose("Initializing checkbox",f),f.context&&""!==t?(b.verbose("Adding delegated events"),a(v,f.context).on(t,"click"+j,b.toggle).on(t+" + "+f.selector.label,"click"+j,b.toggle)):(h.on("click"+j,b.toggle).data(k,b),r.on("click"+j,b.toggle)),b.instantiate()},instantiate:function(){b.verbose("Storing instance of module",b),u=b,h.data(k,b)},destroy:function(){b.verbose("Destroying previous module"),h.off(j).removeData(k)},is:{radio:function(){return h.hasClass(g.radio)}},can:{disable:function(){return"boolean"==typeof f.required?f.required:!b.is.radio()}},enable:function(){b.debug("Enabling checkbox"),s.prop("checked",!0),a.proxy(f.onChange,s.get())(),a.proxy(f.onEnable,s.get())()},disable:function(){b.debug("Disabling checkbox"),s.prop("checked",!1),a.proxy(f.onChange,s.get())(),a.proxy(f.onDisable,s.get())()},toggle:function(){b.verbose("Determining new checkbox state"),s.prop("checked")!==d&&s.prop("checked")?b.can.disable()&&b.disable():b.enable()},setting:function(b,c){return c===d?f[b]:(a.isPlainObject(b)?a.extend(!0,f,b):f[b]=c,void 0)},internal:function(c,e){return e===d?b[c]:(a.isPlainObject(c)?a.extend(!0,b,c):b[c]=e,void 0)},debug:function(){f.debug&&(f.performance?b.performance.log(arguments):(b.debug=Function.prototype.bind.call(console.info,console,f.name+":"),b.debug.apply(console,arguments)))},verbose:function(){f.verbose&&f.debug&&(f.performance?b.performance.log(arguments):(b.verbose=Function.prototype.bind.call(console.info,console,f.name+":"),b.verbose.apply(console,arguments)))},error:function(){b.error=Function.prototype.bind.call(console.error,console,f.name+":"),b.error.apply(console,arguments)},performance:{log:function(a){var c,d,e;f.performance&&(c=(new Date).getTime(),e=m||c,d=c-e,m=c,n.push({Element:v,Name:a[0],Arguments:[].slice.call(a,1)||"","Execution Time":d})),clearTimeout(b.performance.timer),b.performance.timer=setTimeout(b.performance.display,100)},display:function(){var c=f.name+":",g=0;m=!1,clearTimeout(b.performance.timer),a.each(n,function(a,b){g+=b["Execution Time"]}),c+=" "+g+"ms",l&&(c+=" '"+l+"'"),e.size()>1&&(c+=" ("+e.size()+")"),(console.group!==d||console.table!==d)&&n.length>0&&(console.groupCollapsed(c),console.table?console.table(n):a.each(n,function(a,b){console.log(b.Name+": "+b["Execution Time"]+"ms")}),console.groupEnd()),n=[]}},invoke:function(e,f,g){var h,j,k;return f=f||q,g=v||g,"string"==typeof e&&u!==d&&(e=e.split(/[\. ]/),h=e.length-1,a.each(e,function(c,f){var g=c!=h?f+e[c+1].charAt(0).toUpperCase()+e[c+1].slice(1):e;if(a.isPlainObject(u[f])&&c!=h)u=u[f];else{if(!a.isPlainObject(u[g])||c==h)return u[f]!==d?(j=u[f],!1):u[g]!==d?(j=u[g],!1):(b.error(i.method),!1);u=u[g]}})),a.isFunction(j)?k=j.apply(g,f):j!==d&&(k=j),a.isArray(c)?c.push(k):"string"==typeof c?c=[c,k]:k!==d&&(c=k),j}},p?(u===d&&b.initialize(),b.invoke(o)):(u!==d&&b.destroy(),b.initialize())}),c!==d?c:this},a.fn.checkbox.settings={name:"Checkbox",namespace:"checkbox",verbose:!0,debug:!0,performance:!0,context:!1,required:"auto",onChange:function(){},onEnable:function(){},onDisable:function(){},error:{method:"The method you called is not defined."},selector:{input:"input[type=checkbox], input[type=radio]",label:"label"},className:{radio:"radio"}}}(jQuery,window,document); \ No newline at end of file diff --git a/node/src/files/build/packaged/css/semantic.css.REMOVED.git-id b/node/src/files/build/packaged/css/semantic.css.REMOVED.git-id index a686efa87..ba9031a22 100644 --- a/node/src/files/build/packaged/css/semantic.css.REMOVED.git-id +++ b/node/src/files/build/packaged/css/semantic.css.REMOVED.git-id @@ -1 +1 @@ -42d01cc5e428be3c7b004af7041536f0c593aae4 \ No newline at end of file +e22bb6d8b61291357a9618c0fa220b3691c16601 \ No newline at end of file diff --git a/node/src/files/build/packaged/css/semantic.min.css.REMOVED.git-id b/node/src/files/build/packaged/css/semantic.min.css.REMOVED.git-id index cb3e4d2a1..f45adfa55 100644 --- a/node/src/files/build/packaged/css/semantic.min.css.REMOVED.git-id +++ b/node/src/files/build/packaged/css/semantic.min.css.REMOVED.git-id @@ -1 +1 @@ -1b8d26d10c187063a05007cd786da77673071256 \ No newline at end of file +36ed0d70800f453e0b03a58d9c8b57f1c777a01c \ No newline at end of file diff --git a/node/src/files/build/packaged/javascript/semantic.js.REMOVED.git-id b/node/src/files/build/packaged/javascript/semantic.js.REMOVED.git-id index ace4c5f88..ae54d1320 100644 --- a/node/src/files/build/packaged/javascript/semantic.js.REMOVED.git-id +++ b/node/src/files/build/packaged/javascript/semantic.js.REMOVED.git-id @@ -1 +1 @@ -3b767889426b0b18c14296f8570d6673ebd3b83d \ No newline at end of file +aaf56e2a560b5bb1ce0e219dbd3de2f713f67f17 \ No newline at end of file diff --git a/node/src/files/build/packaged/javascript/semantic.min.js.REMOVED.git-id b/node/src/files/build/packaged/javascript/semantic.min.js.REMOVED.git-id index 5b01d39fb..85320f91b 100644 --- a/node/src/files/build/packaged/javascript/semantic.min.js.REMOVED.git-id +++ b/node/src/files/build/packaged/javascript/semantic.min.js.REMOVED.git-id @@ -1 +1 @@ -8d3392fa536b6f696a0d042f82b72488cbc5f2d2 \ No newline at end of file +e08ff88312951b8a568362a59c1f8e4f59c146d1 \ No newline at end of file diff --git a/node/src/files/build/semantic.zip.REMOVED.git-id b/node/src/files/build/semantic.zip.REMOVED.git-id index 21cdd784b..4dc71c5fc 100644 --- a/node/src/files/build/semantic.zip.REMOVED.git-id +++ b/node/src/files/build/semantic.zip.REMOVED.git-id @@ -1 +1 @@ -c5f622130c2fd51cdf2cf34bba9641e89f34faad \ No newline at end of file +f5a5b8f2e0c31489cdd6091e5ebcf5418e79c0d4 \ No newline at end of file diff --git a/node/src/files/build/uncompressed/elements/header.css b/node/src/files/build/uncompressed/elements/header.css index 195ab6b54..b2507e15c 100644 --- a/node/src/files/build/uncompressed/elements/header.css +++ b/node/src/files/build/uncompressed/elements/header.css @@ -114,6 +114,9 @@ h5.ui.header { margin: 0em auto 0.2em; padding: 0em; } +.ui.icon.header .content { + display: block; +} .ui.icon.header .circular.icon, .ui.icon.header .square.icon { font-size: 2em; diff --git a/node/src/files/build/uncompressed/modules/checkbox.js b/node/src/files/build/uncompressed/modules/checkbox.js index f60b80652..bac0594c9 100644 --- a/node/src/files/build/uncompressed/modules/checkbox.js +++ b/node/src/files/build/uncompressed/modules/checkbox.js @@ -334,7 +334,7 @@ $.fn.checkbox.settings = { }, selector : { - input : 'input[type=checkbox]', + input : 'input[type=checkbox], input[type=radio]', label : 'label' },