grip-grid-rails 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 385352d1b2aada07fc9437646043174eaff6698e
4
- data.tar.gz: cfaf4bc5c0f221b0aa5f0635643ec76ba6a87657
3
+ metadata.gz: 44a59dea21b49afc6295786c539901225e2d92a1
4
+ data.tar.gz: 5ee387ad6ae4893583fae02134557eb3d4f3d59c
5
5
  SHA512:
6
- metadata.gz: b9e69497496195b70380d3271b71295a46bb1af621b0428ec83f98ddc6c54360dc24b9dec4001aa6df5c6ea6784029e95d69ccf69453cdd30c509b543858669f
7
- data.tar.gz: 095c2c1be9060aa325e0a30f29ce964b272f5f91e114638f01f6107b915ab831c588d62190380ba7cc46ec1328b0f667bbb5450d810c770fc3247cb8257a6b4b
6
+ metadata.gz: 39463cc9159348f38ef6ede05b05e290b4e8ddf5ff8af44ad4dfe64837ef65f780bcd59036bed7691bd88d3775162bc679c4e173e2d600b66d51addee97456b6
7
+ data.tar.gz: 1f645f9b2b83672b63e9a968c6727a13b47ce04fa9da5493af5088679464e05627f927243e69420362ecccf4bc6c63c23edede343f11dfb11e179ddf2a414968
@@ -1,5 +1,5 @@
1
1
  module GripGridRails
2
2
  module Rails
3
- VERSION = '0.2.0'
3
+ VERSION = '0.2.1'
4
4
  end
5
5
  end
@@ -130,29 +130,6 @@ $grip-enable-grid-cell-content-right: false !default;
130
130
  }
131
131
 
132
132
 
133
- ////////////////////////////////////////
134
- // #RESPOND-TO-MIXIN
135
- ////////////////////////////////////////
136
- //
137
- // Provides a way to hook into the breakpoints defined in `$grip-breakpoints`.
138
- //
139
- // 1. search breakpoint for alias
140
- // 2. if alias exists, print out media query
141
- //
142
- @mixin grip-respond-to($alias) {
143
- $query: map-get($grip-breakpoints, $alias); // [1]
144
-
145
- @if ($query) { // [2]
146
- @media #{$query} {
147
- @content;
148
- }
149
- }
150
- @else{
151
- @error "No breakpoint found for #{$alias}";
152
- }
153
- }
154
-
155
-
156
133
 
157
134
 
158
135
 
@@ -317,3 +294,24 @@ $grip-enable-grid-cell-content-right: false !default;
317
294
  text-align: right;
318
295
  }
319
296
  }
297
+
298
+
299
+
300
+
301
+
302
+ ////////////////////////////////////////
303
+ // #GRID-WIDTHS
304
+ ////////////////////////////////////////
305
+ //
306
+ // 1. output default width modifiers
307
+ // 2. if responsive flag is enabled, add responsive width modifiers
308
+ //
309
+ @include grip-create-widths($grip-widths); // [1]
310
+
311
+ @if $grip-enable-responsive { // [2]
312
+ @each $alias, $query in $grip-breakpoints {
313
+ @media #{$query} {
314
+ @include grip-create-widths($grip-widths, -at-#{$alias});
315
+ }
316
+ }
317
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grip-grid-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Curt Howard