shipyard-framework 0.7.0 → 0.7.1

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
  SHA256:
3
- metadata.gz: 327ccadbf284c48439153c77a21a869e547dcc7c652030b54cbc93a30e143f24
4
- data.tar.gz: be43d5a69c118f8251a8587a7a8123c0e10d7dbc4817297957eff43e0fe8ff9b
3
+ metadata.gz: 7819241469f9a3769e8fb5e347dc91ba73fb4a1dfc635e8fb4ceb0505ce4e4be
4
+ data.tar.gz: e47e95a9a5838f9c2c0e9265e8e6b1de25b206a9ff014a5524380620336173f8
5
5
  SHA512:
6
- metadata.gz: 9efb830d33141a1dbbb1037cbcfaf44ba7f14c6bc7e00faa2ca9c58670d14eb2afca6bd4c424316077ef8b7f59f994fa38217501c22d934427c7db114c8178b8
7
- data.tar.gz: dda83882ab12be9ce76e9539aa4e0a93b3eb4f8fb768186a61d811e1665c4961338fc906366f9bc6ac9513344908c1641a5c70a2bb6cd41d27da1b8d89c03054
6
+ metadata.gz: e31d79754b6bcaab0bd9730e9a8cb7c4f505a0f19b1647b0e63bc98cfdff3fe70b10f237145b1113086114f26c3dd95a0a6f37a5da7ed1c1c671964fa723d7be
7
+ data.tar.gz: 24b47a43e2f5d56ba4c0af35c83e38f364bf341a8fc1243a5ead6efc150a306cc2626b87edd22b891283c75a515190e374c193b97daae9f7211f0c635aba7ee1
@@ -4,22 +4,25 @@
4
4
  @import "shipyard/utilities/colors"
5
5
  @import "shipyard/utilities/cursor"
6
6
  @import "shipyard/utilities/display"
7
+ @import "shipyard/utilities/flex-direction"
7
8
  @import "shipyard/utilities/float"
8
- @import "shipyard/utilities/font-size"
9
9
  @import "shipyard/utilities/font-family"
10
+ @import "shipyard/utilities/font-size"
11
+ @import "shipyard/utilities/font-style"
10
12
  @import "shipyard/utilities/font-weight"
11
13
  @import "shipyard/utilities/height"
12
14
  @import "shipyard/utilities/margin"
13
15
  @import "shipyard/utilities/opacity"
14
16
  @import "shipyard/utilities/overflow"
15
- @import "shipyard/utilities/position"
16
17
  @import "shipyard/utilities/padding"
18
+ @import "shipyard/utilities/position"
17
19
  @import "shipyard/utilities/text-align"
18
20
  @import "shipyard/utilities/text-decoration"
19
21
  @import "shipyard/utilities/text-overflow"
20
22
  @import "shipyard/utilities/text-shadow"
21
23
  @import "shipyard/utilities/text-transform"
22
- @import "shipyard/utilities/transition"
23
24
  @import "shipyard/utilities/transform"
25
+ @import "shipyard/utilities/transition"
26
+ @import "shipyard/utilities/width"
24
27
  @import "shipyard/utilities/white-space"
25
28
  @import "shipyard/utilities/z-index"
@@ -5,7 +5,6 @@
5
5
  top: 25px
6
6
  left: 10px
7
7
  outline: none
8
- +respond-to(display, (sm: none))
9
8
  .hamburger-button-clicked &
10
9
  background: transparent
11
10
 
@@ -18,8 +18,10 @@
18
18
  .#{utility-class($prefix, $class)}
19
19
  #{$name}: $value
20
20
 
21
- // Print out variants like: left, right, top, bottom
22
- @if $utility-variants
21
+ // Print out variants like: left, right, top, bottom
22
+ @if $utility-variants
23
+ @each $class, $value in $utility-values
24
+ $value: if($value, $value, $class)
23
25
  @each $v-class, $v-prop in $utility-variants
24
26
  .#{utility-class($prefix + $v-class, $class)}
25
27
  #{$name}-#{$v-prop}: $value
@@ -38,8 +40,10 @@
38
40
  .#{$breakpoint + '\\:' + utility-class($prefix, $class)}
39
41
  #{$name}: $value
40
42
 
41
- // Print out variants like: left, right, top, bottom
42
- @if $utility-variants
43
+ // Print out variants like: left, right, top, bottom
44
+ @if $utility-variants
45
+ @each $class, $value in $utility-values
46
+ $value: if($value, $value, $class)
43
47
  @each $v-class, $v-prop in $utility-variants
44
48
  .#{$breakpoint + '\\:' + utility-class($prefix + $v-class, $class)}
45
49
  #{$name}-#{$v-prop}: $value
@@ -0,0 +1 @@
1
+ +utility(width)
@@ -20,8 +20,9 @@ $shipyard-defaults: (
20
20
  responsive: false,
21
21
  values: (
22
22
  '': 0 1px 2px rgba($gray-darkest, .08),
23
- hover: 0 0 4px 1px rgba($blue, .5),
24
- active: 0 0 4px 1px rgba($green, .75)
23
+ 'none': none,
24
+ 'hover': 0 0 4px 1px rgba($blue, .5),
25
+ 'active': 0 0 4px 1px rgba($green, .75)
25
26
  )
26
27
  ),
27
28
 
@@ -63,6 +64,20 @@ $shipyard-defaults: (
63
64
  )
64
65
  ),
65
66
 
67
+ // Shipyard: Width Component
68
+ width: (
69
+ prefix: 'w',
70
+ responsive: true,
71
+ values: (
72
+ '50': 50px,
73
+ '60': 60px,
74
+ '70': 70px,
75
+ '80': 80px,
76
+ '90': 90px,
77
+ '100': 100px
78
+ )
79
+ ),
80
+
66
81
  // Shipyard: Cursor Utility
67
82
  cursor: (
68
83
  prefix: 'cursor',
@@ -188,8 +203,8 @@ $shipyard-defaults: (
188
203
  prefix: 'text-shadow',
189
204
  responsive: false,
190
205
  values: (
191
- xs: 0 1px 0 rgba(#000,.1),
192
- sm: 0 1px 1px rgba(#000, .1)
206
+ '': 0 1px 0 rgba(#000,.1),
207
+ 'sm': 0 1px 1px rgba(#000, .1)
193
208
  )
194
209
  ),
195
210
 
@@ -1,6 +1,5 @@
1
1
  require 'shipyard-framework/helpers/alert_helper'
2
2
  require 'shipyard-framework/helpers/box_helper'
3
- require 'shipyard-framework/helpers/button_helper'
4
3
  require 'shipyard-framework/helpers/form_helper'
5
4
  require 'shipyard-framework/helpers/icon_helper'
6
5
  require 'shipyard-framework/helpers/layout_helper'
@@ -12,7 +11,6 @@ module Shipyard
12
11
  initializer 'shipyard.view_helpers' do
13
12
  ActionView::Base.send :include, Shipyard::AlertHelper
14
13
  ActionView::Base.send :include, Shipyard::BoxHelper
15
- ActionView::Base.send :include, Shipyard::ButtonHelper
16
14
  ActionView::Base.send :include, Shipyard::FormHelper
17
15
  ActionView::Base.send :include, Shipyard::IconHelper
18
16
  ActionView::Base.send :include, Shipyard::LayoutHelper
@@ -1,3 +1,3 @@
1
1
  module Shipyard
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipyard-framework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codeship
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-19 00:00:00.000000000 Z
11
+ date: 2018-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -284,6 +284,7 @@ files:
284
284
  - assets/stylesheets/shipyard/utilities/_transform.sass
285
285
  - assets/stylesheets/shipyard/utilities/_transition.sass
286
286
  - assets/stylesheets/shipyard/utilities/_white-space.sass
287
+ - assets/stylesheets/shipyard/utilities/_width.sass
287
288
  - assets/stylesheets/shipyard/utilities/_z-index.sass
288
289
  - assets/stylesheets/shipyard/variables/_color_utilities.sass
289
290
  - assets/stylesheets/shipyard/variables/_colors.scss