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 +4 -4
- data/assets/stylesheets/shipyard/_utilities.sass +6 -3
- data/assets/stylesheets/shipyard/components/_hamburger.sass +0 -1
- data/assets/stylesheets/shipyard/mixins/_utility.sass +8 -4
- data/assets/stylesheets/shipyard/utilities/_width.sass +1 -0
- data/assets/stylesheets/shipyard/variables/_options.scss +19 -4
- data/lib/shipyard-framework/rails/railtie.rb +0 -2
- data/lib/shipyard-framework/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7819241469f9a3769e8fb5e347dc91ba73fb4a1dfc635e8fb4ceb0505ce4e4be
|
4
|
+
data.tar.gz: e47e95a9a5838f9c2c0e9265e8e6b1de25b206a9ff014a5524380620336173f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"
|
@@ -18,8 +18,10 @@
|
|
18
18
|
.#{utility-class($prefix, $class)}
|
19
19
|
#{$name}: $value
|
20
20
|
|
21
|
-
|
22
|
-
|
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
|
-
|
42
|
-
|
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
|
-
|
24
|
-
|
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
|
-
|
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
|
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.
|
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-
|
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
|