Skip to content

Commit

Permalink
Release v5.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nadangergeo committed Jul 14, 2016
1 parent 34d3986 commit 18db778
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 24 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "RWD-Table-Patterns",
"description": "This is an awesome solution for responsive tables with complex data.",
"version": "5.0.4",
"version": "5.1.0",
"keywords": [
"RWD",
"responsive",
Expand Down
4 changes: 2 additions & 2 deletions dist/css/rwd-table.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Responsive Tables v5.0.4 (http://gergeo.se/RWD-Table-Patterns)
* Responsive Tables v5.1.0 (http://gergeo.se/RWD-Table-Patterns)
* This is an awesome solution for responsive tables with complex data.
* Authors: Nadan Gergeo <[email protected]> (www.gergeo.se) & Maggie Wachs (www.filamentgroup.com)
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT)
Expand Down Expand Up @@ -213,7 +213,7 @@ table.focus-on tbody tr:hover {
}
table.focus-on tbody tr.unfocused th,
table.focus-on tbody tr.unfocused td {
color: #999999;
color: #777777;
color: rgba(0, 0, 0, 0.4);
}
table.focus-on tbody tr.focused th,
Expand Down
4 changes: 2 additions & 2 deletions dist/css/rwd-table.min.css

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions dist/js/rwd-table.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Responsive Tables v5.0.4 (http://gergeo.se/RWD-Table-Patterns)
* Responsive Tables v5.1.0 (http://gergeo.se/RWD-Table-Patterns)
* This is an awesome solution for responsive tables with complex data.
* Authors: Nadan Gergeo <[email protected]> (www.gergeo.se) & Maggie Wachs (www.filamentgroup.com)
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT)
Expand Down Expand Up @@ -107,7 +107,12 @@
fixedNavbar: '.navbar-fixed-top', // Is there a fixed navbar? The stickyTableHeader needs to know about it!
addDisplayAllBtn: true, // should it have a display-all button?
addFocusBtn: true, // should it have a focus button?
focusBtnIcon: 'glyphicon glyphicon-screenshot'
focusBtnIcon: 'glyphicon glyphicon-screenshot',
i18n: {
focus : 'Focus',
display : 'Display',
displayAll: 'Display all'
}
};

// Wrap table
Expand All @@ -123,7 +128,7 @@
this.$btnToolbar = $('<div class="btn-toolbar" />');

this.$dropdownGroup = $('<div class="btn-group dropdown-btn-group pull-right" />');
this.$dropdownBtn = $('<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">Display <span class="caret"></span></button>');
this.$dropdownBtn = $('<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">' + this.options.i18n.display + ' <span class="caret"></span></button>');
this.$dropdownContainer = $('<ul class="dropdown-menu"/>');

// Focus btn
Expand All @@ -132,7 +137,7 @@
this.$focusGroup = $('<div class="btn-group focus-btn-group" />');

// Create focus btn
this.$focusBtn = $('<button class="btn btn-default">Focus</button>');
this.$focusBtn = $('<button class="btn btn-default">' + this.options.i18n.focus + '</button>');

if(this.options.focusBtnIcon) {
this.$focusBtn.prepend('<span class="' + this.options.focusBtnIcon + '"></span> ');
Expand All @@ -157,7 +162,7 @@
// Display-all btn
if(this.options.addDisplayAllBtn) {
// Create display-all btn
this.$displayAllBtn = $('<button class="btn btn-default">Display all</button>');
this.$displayAllBtn = $('<button class="btn btn-default">' + this.options.i18n.displayAll + '</button>');
// Add display-all btn to dropdown-btn-group
this.$dropdownGroup.append(this.$displayAllBtn);

Expand Down
4 changes: 2 additions & 2 deletions dist/js/rwd-table.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/css/rwd-table.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Responsive Tables v5.0.4 (http://gergeo.se/RWD-Table-Patterns)
* Responsive Tables v5.1.0 (http://gergeo.se/RWD-Table-Patterns)
* This is an awesome solution for responsive tables with complex data.
* Authors: Nadan Gergeo <[email protected]> (www.gergeo.se) & Maggie Wachs (www.filamentgroup.com)
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT)
Expand Down Expand Up @@ -213,7 +213,7 @@ table.focus-on tbody tr:hover {
}
table.focus-on tbody tr.unfocused th,
table.focus-on tbody tr.unfocused td {
color: #999999;
color: #777777;
color: rgba(0, 0, 0, 0.4);
}
table.focus-on tbody tr.focused th,
Expand Down
4 changes: 2 additions & 2 deletions docs/css/rwd-table.min.css

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions docs/js/rwd-table.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Responsive Tables v5.0.4 (http://gergeo.se/RWD-Table-Patterns)
* Responsive Tables v5.1.0 (http://gergeo.se/RWD-Table-Patterns)
* This is an awesome solution for responsive tables with complex data.
* Authors: Nadan Gergeo <[email protected]> (www.gergeo.se) & Maggie Wachs (www.filamentgroup.com)
* Licensed under MIT (https://github.com/nadangergeo/RWD-Table-Patterns/blob/master/LICENSE-MIT)
Expand Down Expand Up @@ -107,7 +107,12 @@
fixedNavbar: '.navbar-fixed-top', // Is there a fixed navbar? The stickyTableHeader needs to know about it!
addDisplayAllBtn: true, // should it have a display-all button?
addFocusBtn: true, // should it have a focus button?
focusBtnIcon: 'glyphicon glyphicon-screenshot'
focusBtnIcon: 'glyphicon glyphicon-screenshot',
i18n: {
focus : 'Focus',
display : 'Display',
displayAll: 'Display all'
}
};

// Wrap table
Expand All @@ -123,7 +128,7 @@
this.$btnToolbar = $('<div class="btn-toolbar" />');

this.$dropdownGroup = $('<div class="btn-group dropdown-btn-group pull-right" />');
this.$dropdownBtn = $('<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">Display <span class="caret"></span></button>');
this.$dropdownBtn = $('<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">' + this.options.i18n.display + ' <span class="caret"></span></button>');
this.$dropdownContainer = $('<ul class="dropdown-menu"/>');

// Focus btn
Expand All @@ -132,7 +137,7 @@
this.$focusGroup = $('<div class="btn-group focus-btn-group" />');

// Create focus btn
this.$focusBtn = $('<button class="btn btn-default">Focus</button>');
this.$focusBtn = $('<button class="btn btn-default">' + this.options.i18n.focus + '</button>');

if(this.options.focusBtnIcon) {
this.$focusBtn.prepend('<span class="' + this.options.focusBtnIcon + '"></span> ');
Expand All @@ -157,7 +162,7 @@
// Display-all btn
if(this.options.addDisplayAllBtn) {
// Create display-all btn
this.$displayAllBtn = $('<button class="btn btn-default">Display all</button>');
this.$displayAllBtn = $('<button class="btn btn-default">' + this.options.i18n.displayAll + '</button>');
// Add display-all btn to dropdown-btn-group
this.$dropdownGroup.append(this.$displayAllBtn);

Expand Down
4 changes: 2 additions & 2 deletions docs/js/rwd-table.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "RWD-Table-Patterns",
"description": "This is an awesome solution for responsive tables with complex data.",
"version": "5.0.4",
"version": "5.1.0",
"keywords": [
"RWD",
"responsive",
Expand Down

0 comments on commit 18db778

Please sign in to comment.