bootstrap-cells 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b42c4d64ec3ea10052e487cdd29c72ca19ee4be4
4
- data.tar.gz: 32a7944ebdec8e1477f31e1755af2481d2cf800d
3
+ metadata.gz: a6c3f3649785f74749120e714463dd925ce18301
4
+ data.tar.gz: c808bdc8ef9ccba7bec264ba01f78e34fa111c5c
5
5
  SHA512:
6
- metadata.gz: 5927d0e5401c79924328dfd73c6a35c6703d717652a90fa5f0dc93f64f0eada8b322b3fb5d68620ec7e6f1be11b514694f7fbb19c1fc2f48c2b322df7fff2fc4
7
- data.tar.gz: a4ea0c1a8a2bd69fb4c5246fb89a8de2b9fdf83e937e52726472b7620fc28660e5faade5040ebae3af8acf4ba854b18a2d2fb3f8b0aaffbb883379ab38090ef3
6
+ metadata.gz: 20fcf498bfcc1e7629441e6333d66a61496d0734cb251b9ca209ae648d635701b69c0bf4ef40e33c2553fd195e9999fe32d10d8b6da32441bb45fd63979d3af9
7
+ data.tar.gz: cef4c5c418d990e56424542485467f4df0400b6487cda65f562c4b8acaf7d281026960c629dc3436d63465c657427779c863eafb74f1f6bfefd161d37d636287
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ v0.1.6
2
+ - Fix bug where nested rows didn't toggle the icon of the button
1
3
  v0.1.5
2
4
  - Allow callers to put a table caption at the head of the table
3
5
  - Ensure that the `type` attribute is put on the buttons used for nested rows in the table cell
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bootstrap-cells (0.1.4)
4
+ bootstrap-cells (0.1.6)
5
5
  cells (~> 4.0)
6
6
  cells-erb (>= 0.1.0)
7
7
  cells-rails (>= 0.0.8)
@@ -4,4 +4,5 @@
4
4
  @import 'table/nubbin';
5
5
  @import 'table/table_striped_nested';
6
6
  @import 'table/table_sort';
7
+ @import 'table/table_nested_row_button';
7
8
  @import 'pages/pages';
@@ -6,7 +6,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
6
 
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = 'bootstrap-cells'
9
- spec.version = '0.1.5'
9
+ spec.version = '0.1.6'
10
10
  spec.authors = ['Stephen Margheim']
11
11
  spec.email = ['margheim@mail.med.upenn.edu']
12
12
 
@@ -0,0 +1,7 @@
1
+ button.btn.toggle-btn::after {
2
+ content: "+";
3
+ }
4
+
5
+ button.btn.toggle-btn[aria-expanded="true"]::after {
6
+ content: "-";
7
+ }
@@ -1,9 +1,7 @@
1
1
  <td>
2
2
  <button type="button"
3
- class="btn btn-outline btn-primary p0 m0 mono h2 w2 m-0 p-0"
3
+ class="btn toggle-btn btn-outline btn-primary p0 m0 mono h2 w2 m-0 p-0"
4
4
  style="line-height: 0px;height:2rem;width:2rem;"
5
5
  data-toggle="collapse"
6
- data-target="#<%= item.id %>_nested_row_<%= table_uuid %>">
7
- +
8
- </button>
6
+ data-target="#<%= item.id %>_nested_row_<%= table_uuid %>"/>
9
7
  </td>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootstrap-cells
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Margheim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-31 00:00:00.000000000 Z
11
+ date: 2018-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cells
@@ -268,6 +268,7 @@ files:
268
268
  - lib/bootstrap-cells/cells/pages_cell.rb
269
269
  - lib/bootstrap-cells/cells/table/nubbin.scss
270
270
  - lib/bootstrap-cells/cells/table/show.erb
271
+ - lib/bootstrap-cells/cells/table/table_nested_row_button.scss
271
272
  - lib/bootstrap-cells/cells/table/table_sort.scss
272
273
  - lib/bootstrap-cells/cells/table/table_striped_nested.scss
273
274
  - lib/bootstrap-cells/cells/table/tbody.erb