shift-ui-kit 0.0.43 → 0.0.44

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: c9b6860b8677412e21955c0b65a099034c595faa
4
- data.tar.gz: 554ed2de0a9505e3312940ffeae879056bff7d86
3
+ metadata.gz: 04c08eb334e5c660a96034f70b3e3c34f4025d5a
4
+ data.tar.gz: 8ea95a810c0b924e18b719a9a0db861b550849a5
5
5
  SHA512:
6
- metadata.gz: 1c4fef311ba3d42933744698d1f20201c16345635aeb65e272aa21432c1799e0f72559d68b63b29a18b5e19fc6707e0d3d9610e659c29730037a6770e3eb3196
7
- data.tar.gz: 377b006892dace5cfdd207e996fe5b528be203bce17c51672868d71a0e6631b5bbf7b665b3635a339be5f8fd0a8dbc9b7406b62aa82af42db6b49e195fb5fa20
6
+ metadata.gz: 418ca701dcbe64ee2dae97090b3a24e4b4db598b7309d2f408393790bc723519996047d180bbe1b7aa5ed7ddacc68c3ea7237cbd9279c6b6c2fd013a01dd5ea5
7
+ data.tar.gz: 58631b0a131373ace958b8278f596ef0d9d2d35af17fba7df3b1669a057ed95dc84f979ad7e6edc937c0a4c1e1c5be296361dbc76d8064cc607c13c7a8573a09
@@ -4,11 +4,50 @@
4
4
  justify-content: flex-start;
5
5
  align-items: stretch;
6
6
 
7
+ // forces grid to be single-line
8
+ &--inline {
9
+ flex-wrap: nowrap;
10
+ justify-content: space-between;
11
+ }
12
+
13
+ // defines an inner cell to the grid
7
14
  &__cell {
8
15
  min-width: 100%;
9
16
  max-width: 100%;
10
17
  flex: 1 1 100%;
11
18
 
19
+ // allows scaling to fill whatever space is available
20
+ &--expandable {
21
+ min-width: 0;
22
+ flex-basis: auto;
23
+
24
+ @each $key, $size in $breakpoints {
25
+ @media (min-width: $size) {
26
+ &\@#{$key} {
27
+ min-width: 0;
28
+ flex-basis: auto;
29
+ }
30
+ }
31
+ }
32
+ }
33
+
34
+ // take up only the room required
35
+ &--shrinkwrap {
36
+ flex-grow: 0;
37
+ flex-shrink: 0;
38
+ flex-basis: auto;
39
+
40
+ @each $key, $size in $breakpoints {
41
+ @media (min-width: $size) {
42
+ &\@#{$key} {
43
+ flex-grow: 0;
44
+ flex-shrink: 0;
45
+ flex-basis: auto;
46
+ }
47
+ }
48
+ }
49
+ }
50
+
12
51
  @mixin grid-size($numerator, $denominator) {
13
52
  $min-width: (100% / (($denominator + 1) / $numerator)) + 1%;
14
53
  $max-width: 100% / ($denominator / $numerator);
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shift-ui-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.43
4
+ version: 0.0.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Townsend