From 7b736eb72f5045fcf200e79ace5271c5e750c9c1 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 12 May 2015 22:22:13 -0700 Subject: [PATCH 1/4] bower.json: main: semantic.css => semantic.less Per bower/bower.json-spec#43 : > Use source files with module exports and imports over pre-built distribution files. Also, the example in that PR includes /sass/motion.scss in and excludes /dist/movement.css & /dist/movement.min.css from its `main`. --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower.json b/bower.json index 2f82943b7..25f386f20 100644 --- a/bower.json +++ b/bower.json @@ -10,7 +10,7 @@ "jquery" : ">=1.8" }, "main": [ - "dist/semantic.css", + "src/semantic.less", "dist/semantic.js" ], "keywords": [ From eee2c968c676ea7947aea6c71078385852886a8b Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 20 May 2015 11:11:10 -0400 Subject: [PATCH 2/4] Commits dfa2e02 to 1.x, backports fix for column colors #2272 --- src/definitions/collections/grid.less | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/definitions/collections/grid.less b/src/definitions/collections/grid.less index 5c9da3182..0b4716213 100755 --- a/src/definitions/collections/grid.less +++ b/src/definitions/collections/grid.less @@ -1289,6 +1289,7 @@ -----------------------*/ .ui.grid > .white.row, +.ui.grid > .white.column, .ui.grid > .row > .white.column { background-color: @white !important; color: @textColor; @@ -1301,6 +1302,7 @@ } .ui.grid > .black.row, +.ui.grid > .black.column, .ui.grid > .row > .black.column { background-color: @black !important; color: @white; @@ -1313,6 +1315,7 @@ } .ui.grid > .blue.row, +.ui.grid > .blue.column, .ui.grid > .row > .blue.column { background-color: @blue !important; color: @white; @@ -1325,6 +1328,7 @@ } .ui.grid > .green.row, +.ui.grid > .green.column, .ui.grid > .row > .green.column { background-color: @green !important; color: @white; @@ -1337,6 +1341,7 @@ } .ui.grid > .orange.row, +.ui.grid > .orange.column, .ui.grid > .row > .orange.column { background-color: @orange !important; color: @white; @@ -1361,6 +1366,7 @@ } .ui.grid > .purple.row, +.ui.grid > .purple.column, .ui.grid > .row > .purple.column { background-color: @purple !important; color: @white; @@ -1373,6 +1379,7 @@ } .ui.grid > .red.row, +.ui.grid > .red.column, .ui.grid > .row > .red.column { background-color: @red !important; color: @white; @@ -1385,6 +1392,7 @@ } .ui.grid > .teal.row, +.ui.grid > .teal.column, .ui.grid > .row > .teal.column { background-color: @teal !important; color: @white; @@ -1397,6 +1405,7 @@ } .ui.grid > .yellow.row, +.ui.grid > .yellow.column, .ui.grid > .row > .yellow.column { background-color: @yellow !important; color: @white; From 069ea0aef47ce4f32c1c17b4f6a9a4effddc9600 Mon Sep 17 00:00:00 2001 From: jlukic Date: Wed, 20 May 2015 11:52:45 -0400 Subject: [PATCH 3/4] Build 1.12.3 --- RELEASE-NOTES.md | 9 +++ dist/components/accordion.css | 2 +- dist/components/accordion.js | 2 +- dist/components/accordion.min.css | 2 +- dist/components/accordion.min.js | 2 +- dist/components/ad.css | 2 +- dist/components/ad.min.css | 2 +- dist/components/api.js | 2 +- dist/components/api.min.js | 2 +- dist/components/breadcrumb.css | 2 +- dist/components/breadcrumb.min.css | 2 +- dist/components/button.css | 2 +- dist/components/button.min.css | 2 +- dist/components/card.css | 2 +- dist/components/card.min.css | 2 +- dist/components/checkbox.css | 2 +- dist/components/checkbox.js | 8 +-- dist/components/checkbox.min.css | 2 +- dist/components/checkbox.min.js | 4 +- dist/components/comment.css | 2 +- dist/components/comment.min.css | 2 +- dist/components/dimmer.css | 2 +- dist/components/dimmer.js | 2 +- dist/components/dimmer.min.css | 2 +- dist/components/dimmer.min.js | 2 +- dist/components/divider.css | 2 +- dist/components/divider.min.css | 2 +- dist/components/dropdown.css | 2 +- dist/components/dropdown.js | 2 +- dist/components/dropdown.min.css | 2 +- dist/components/dropdown.min.js | 2 +- dist/components/feed.css | 2 +- dist/components/feed.min.css | 2 +- dist/components/flag.css | 2 +- dist/components/flag.min.css | 2 +- dist/components/form.css | 2 +- dist/components/form.js | 2 +- dist/components/form.min.css | 2 +- dist/components/form.min.js | 2 +- dist/components/grid.css | 11 +++- dist/components/grid.min.css | 4 +- dist/components/header.css | 2 +- dist/components/header.min.css | 2 +- dist/components/icon.css | 2 +- dist/components/icon.min.css | 2 +- dist/components/image.css | 2 +- dist/components/image.min.css | 2 +- dist/components/input.css | 2 +- dist/components/input.min.css | 2 +- dist/components/item.css | 2 +- dist/components/item.min.css | 2 +- dist/components/label.css | 2 +- dist/components/label.min.css | 2 +- dist/components/list.css | 2 +- dist/components/list.min.css | 2 +- dist/components/loader.css | 2 +- dist/components/loader.min.css | 2 +- dist/components/menu.css | 2 +- dist/components/menu.min.css | 2 +- dist/components/message.css | 2 +- dist/components/message.min.css | 2 +- dist/components/modal.css | 2 +- dist/components/modal.js | 2 +- dist/components/modal.min.css | 2 +- dist/components/modal.min.js | 2 +- dist/components/nag.css | 2 +- dist/components/nag.js | 2 +- dist/components/nag.min.css | 2 +- dist/components/nag.min.js | 2 +- dist/components/popup.css | 2 +- dist/components/popup.js | 2 +- dist/components/popup.min.css | 2 +- dist/components/popup.min.js | 2 +- dist/components/progress.css | 2 +- dist/components/progress.js | 2 +- dist/components/progress.min.css | 2 +- dist/components/progress.min.js | 2 +- dist/components/rail.css | 2 +- dist/components/rail.min.css | 2 +- dist/components/rating.css | 2 +- dist/components/rating.js | 2 +- dist/components/rating.min.css | 2 +- dist/components/rating.min.js | 2 +- dist/components/reset.css | 2 +- dist/components/reset.min.css | 2 +- dist/components/reveal.css | 2 +- dist/components/reveal.min.css | 2 +- dist/components/search.css | 2 +- dist/components/search.js | 2 +- dist/components/search.min.css | 2 +- dist/components/search.min.js | 2 +- dist/components/segment.css | 2 +- dist/components/segment.min.css | 2 +- dist/components/shape.css | 2 +- dist/components/shape.js | 2 +- dist/components/shape.min.css | 2 +- dist/components/shape.min.js | 2 +- dist/components/sidebar.css | 2 +- dist/components/sidebar.js | 2 +- dist/components/sidebar.min.css | 2 +- dist/components/sidebar.min.js | 2 +- dist/components/site.css | 2 +- dist/components/site.js | 2 +- dist/components/site.min.css | 2 +- dist/components/site.min.js | 2 +- dist/components/state.js | 2 +- dist/components/state.min.js | 2 +- dist/components/statistic.css | 2 +- dist/components/statistic.min.css | 2 +- dist/components/step.css | 2 +- dist/components/step.min.css | 2 +- dist/components/sticky.css | 2 +- dist/components/sticky.js | 2 +- dist/components/sticky.min.css | 2 +- dist/components/sticky.min.js | 2 +- dist/components/tab.css | 2 +- dist/components/tab.js | 2 +- dist/components/tab.min.css | 2 +- dist/components/tab.min.js | 2 +- dist/components/table.css | 2 +- dist/components/table.min.css | 2 +- dist/components/transition.css | 2 +- dist/components/transition.js | 2 +- dist/components/transition.min.css | 2 +- dist/components/transition.min.js | 2 +- dist/components/video.css | 2 +- dist/components/video.js | 2 +- dist/components/video.min.css | 2 +- dist/components/video.min.js | 2 +- dist/components/visibility.js | 2 +- dist/components/visibility.min.js | 2 +- dist/semantic.css | 101 ++++++++++++++++------------- dist/semantic.js | 50 +++++++------- dist/semantic.min.css | 4 +- dist/semantic.min.js | 6 +- package.json | 2 +- 136 files changed, 239 insertions(+), 212 deletions(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index c1e0e1313..299af32cb 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -1,5 +1,14 @@ ## RELEASE NOTES + +### Version 1.12.3 - May 20, 2015 + +**Announcement** +Version 2.0 will be launching on June 1st, which will include 100+ bug fixes, enhancements, new ui, and default theme improvements. + +**Bugs** +- **Grid** - Fixes bug causing colored variations not to work on columns without row wrappers. Backport from `2.x` + ### Version 1.12.2 - May 4, 2015 **Bugs** diff --git a/dist/components/accordion.css b/dist/components/accordion.css index dc4e74a20..5c2b04464 100755 --- a/dist/components/accordion.css +++ b/dist/components/accordion.css @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Accordion + * # Semantic UI 1.12.3 - Accordion * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/accordion.js b/dist/components/accordion.js index 934ea34b8..eaccf97ce 100644 --- a/dist/components/accordion.js +++ b/dist/components/accordion.js @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Accordion + * # Semantic UI 1.12.3 - Accordion * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/accordion.min.css b/dist/components/accordion.min.css index b5e6a7e56..67cbf3509 100755 --- a/dist/components/accordion.min.css +++ b/dist/components/accordion.min.css @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Accordion + * # Semantic UI 1.12.3 - Accordion * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/accordion.min.js b/dist/components/accordion.min.js index 80277ca48..2cb43ae75 100644 --- a/dist/components/accordion.min.js +++ b/dist/components/accordion.min.js @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Accordion + * # Semantic UI 1.12.3 - Accordion * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/ad.css b/dist/components/ad.css index 5b6c005b7..c51da7ab9 100644 --- a/dist/components/ad.css +++ b/dist/components/ad.css @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Ad + * # Semantic UI 1.12.3 - Ad * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/ad.min.css b/dist/components/ad.min.css index 69b344536..68fb8a0b2 100644 --- a/dist/components/ad.min.css +++ b/dist/components/ad.min.css @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Ad + * # Semantic UI 1.12.3 - Ad * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/api.js b/dist/components/api.js index e4d0c793f..708954d67 100644 --- a/dist/components/api.js +++ b/dist/components/api.js @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - API + * # Semantic UI 1.12.3 - API * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/api.min.js b/dist/components/api.min.js index c17a6a75c..f6d6d1bc0 100644 --- a/dist/components/api.min.js +++ b/dist/components/api.min.js @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - API + * # Semantic UI 1.12.3 - API * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/breadcrumb.css b/dist/components/breadcrumb.css index 4b71b409e..c0cc3c460 100755 --- a/dist/components/breadcrumb.css +++ b/dist/components/breadcrumb.css @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Breadcrumb + * # Semantic UI 1.12.3 - Breadcrumb * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/breadcrumb.min.css b/dist/components/breadcrumb.min.css index 26f4ca69a..f1a358136 100755 --- a/dist/components/breadcrumb.min.css +++ b/dist/components/breadcrumb.min.css @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Breadcrumb + * # Semantic UI 1.12.3 - Breadcrumb * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/button.css b/dist/components/button.css index 0322eb9fd..ed7ad1ddd 100755 --- a/dist/components/button.css +++ b/dist/components/button.css @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Button + * # Semantic UI 1.12.3 - Button * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/button.min.css b/dist/components/button.min.css index 2821d2054..e11d0a08a 100755 --- a/dist/components/button.min.css +++ b/dist/components/button.min.css @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Button + * # Semantic UI 1.12.3 - Button * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/card.css b/dist/components/card.css index daf546183..ec1810917 100755 --- a/dist/components/card.css +++ b/dist/components/card.css @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Item + * # Semantic UI 1.12.3 - Item * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/card.min.css b/dist/components/card.min.css index 00d15999d..221f95ca6 100755 --- a/dist/components/card.min.css +++ b/dist/components/card.min.css @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Item + * # Semantic UI 1.12.3 - Item * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/checkbox.css b/dist/components/checkbox.css index e6061b870..8ae23a77c 100755 --- a/dist/components/checkbox.css +++ b/dist/components/checkbox.css @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Checkbox + * # Semantic UI 1.12.3 - Checkbox * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/checkbox.js b/dist/components/checkbox.js index 192f3241b..0791589de 100644 --- a/dist/components/checkbox.js +++ b/dist/components/checkbox.js @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Checkbox + * # Semantic UI 1.12.3 - Checkbox * http://github.com/semantic-org/semantic-ui/ * * @@ -93,9 +93,9 @@ $.fn.checkbox = function(parameters) { }, refresh: function() { - $module = $(this); - $label = $(this).find(selector.label).first(); - $input = $(this).find(selector.input); + $module = $(element); + $label = $(element).find(selector.label).first(); + $input = $(element).find(selector.input); }, observeChanges: function() { diff --git a/dist/components/checkbox.min.css b/dist/components/checkbox.min.css index 31a9ea940..d5516aaec 100755 --- a/dist/components/checkbox.min.css +++ b/dist/components/checkbox.min.css @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Checkbox + * # Semantic UI 1.12.3 - Checkbox * http://github.com/semantic-org/semantic-ui/ * * diff --git a/dist/components/checkbox.min.js b/dist/components/checkbox.min.js index cf46c185c..fae2ca9f1 100644 --- a/dist/components/checkbox.min.js +++ b/dist/components/checkbox.min.js @@ -1,5 +1,5 @@ /*! - * # Semantic UI 1.12.2 - Checkbox + * # Semantic UI 1.12.3 - Checkbox * http://github.com/semantic-org/semantic-ui/ * * @@ -8,4 +8,4 @@ * http://opensource.org/licenses/MIT * */ -!function(e,n,t,o){"use strict";e.fn.checkbox=function(t){var c,i=e(this),r=i.selector||"",a=(new Date).getTime(),l=[],s=arguments[0],u="string"==typeof s,d=[].slice.call(arguments,1);return i.each(function(){var i,b,g=e.extend(!0,{},e.fn.checkbox.settings,t),h=g.className,f=g.namespace,p=g.selector,m=g.error,k="."+f,v="module-"+f,y=e(this),x=e(this).find(p.label).first(),C=e(this).find(p.input),D=y.data(v),E=this;b={initialize:function(){b.verbose("Initializing checkbox",g),b.create.label(),b.add.events(),b.is.checked()?(b.set.checked(),g.fireOnInit&&g.onChecked.call(C.get())):(b.remove.checked(),g.fireOnInit&&g.onUnchecked.call(C.get())),b.observeChanges(),b.instantiate()},instantiate:function(){b.verbose("Storing instance of module",b),D=b,y.data(v,b)},destroy:function(){b.verbose("Destroying module"),b.remove.events(),y.removeData(v)},refresh:function(){y=e(this),x=e(this).find(p.label).first(),C=e(this).find(p.input)},observeChanges:function(){"MutationObserver"in n&&(i=new MutationObserver(function(e){b.debug("DOM tree modified, updating selector cache"),b.refresh()}),i.observe(E,{childList:!0,subtree:!0}),b.debug("Setting up mutation observer",i))},attachEvents:function(n,t){var o=e(n);t=e.isFunction(b[t])?b[t]:b.toggle,o.length>0?(b.debug("Attaching checkbox events to element",n,t),o.on("click"+k,t)):b.error(m.notFound)},event:{keydown:function(e){var n=e.which,t={enter:13,space:32,escape:27};n==t.escape&&(b.verbose("Escape key pressed blurring field"),y.blur()),e.ctrlKey||n!=t.enter&&n!=t.space||(b.verbose("Enter key pressed, toggling checkbox"),b.toggle.call(this),e.preventDefault())}},is:{radio:function(){return y.hasClass(h.radio)},checked:function(){return C.prop("checked")!==o&&C.prop("checked")},unchecked:function(){return!b.is.checked()}},can:{change:function(){return!(y.hasClass(h.disabled)||y.hasClass(h.readOnly)||C.prop("disabled"))},uncheck:function(){return"boolean"==typeof g.uncheckable?g.uncheckable:!b.is.radio()}},set:{checked:function(){y.addClass(h.checked)},tab:function(){C.attr("tabindex")===o&&C.attr("tabindex",0)}},create:{label:function(){C.prevAll(p.label).length>0?(C.prev(p.label).detach().insertAfter(C),b.debug("Moving existing label",x)):b.has.label()||(x=e("