shipyard-framework 0.5.64 → 0.5.65
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 +4 -4
- data/assets/images/arrows/down.svg +3 -0
- data/assets/images/checkmark.svg +3 -0
- data/lib/shipyard-framework/rails/engine.rb +1 -1
- data/lib/shipyard-framework/version.rb +1 -1
- data/lib/shipyard-framework.rb +5 -0
- data/styleguide/Gemfile.lock +1 -1
- data/styleguide/_assets/css/syntax.css +209 -0
- data/styleguide/_layouts/application.html +1 -0
- data/styleguide/components/icons.md +3 -3
- metadata +4 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 28257278527d28ac7bfa6a17b6fad4f761b49be7415e4e239e10f199d8a66a95
|
|
4
|
+
data.tar.gz: fb8374282a6d5fafcf50ca66dc4f4d6547a86c3684ff3c29bee295b83971e8aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2a633ceca2754e2a2082395656b05efc6d6129786a1ba310bd68dcfc45e588c3865ab80ad5d247c77d3ab8ac00923091be06d75a3f0b343ca1f22fd98349084f
|
|
7
|
+
data.tar.gz: ce5de89de4541af246e89f83f9b6c9fcdff061224156f9d215ebe9d64c978bc974a023eb9ae7db377c77a3276a7cb31afecedc97d23a53544a6764733fe36053
|
|
@@ -2,7 +2,7 @@ module Shipyard
|
|
|
2
2
|
module Rails
|
|
3
3
|
class Engine < ::Rails::Engine
|
|
4
4
|
initializer 'shipyard-framework.assets.precompile' do |app|
|
|
5
|
-
%w(stylesheets javascripts icons).each do |sub|
|
|
5
|
+
%w(stylesheets javascripts images icons).each do |sub|
|
|
6
6
|
app.config.assets.paths << root.join('assets', sub).to_s
|
|
7
7
|
end
|
|
8
8
|
end
|
data/lib/shipyard-framework.rb
CHANGED
|
@@ -34,6 +34,10 @@ module Shipyard
|
|
|
34
34
|
File.join assets_path, 'javascripts'
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
+
def images_path
|
|
38
|
+
File.join assets_path, 'images'
|
|
39
|
+
end
|
|
40
|
+
|
|
37
41
|
def icons_path
|
|
38
42
|
File.join assets_path, 'icons'
|
|
39
43
|
end
|
|
@@ -77,6 +81,7 @@ module Shipyard
|
|
|
77
81
|
def register_sprockets
|
|
78
82
|
Sprockets.append_path(stylesheets_path)
|
|
79
83
|
Sprockets.append_path(javascripts_path)
|
|
84
|
+
Sprockets.append_path(images_path)
|
|
80
85
|
end
|
|
81
86
|
|
|
82
87
|
def register_jekyll_hooks
|
data/styleguide/Gemfile.lock
CHANGED
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
.highlight table td { padding: 5px; }
|
|
2
|
+
.highlight table pre { margin: 0; }
|
|
3
|
+
.highlight .cm {
|
|
4
|
+
color: #999988;
|
|
5
|
+
font-style: italic;
|
|
6
|
+
}
|
|
7
|
+
.highlight .cp {
|
|
8
|
+
color: #999999;
|
|
9
|
+
font-weight: bold;
|
|
10
|
+
}
|
|
11
|
+
.highlight .c1 {
|
|
12
|
+
color: #999988;
|
|
13
|
+
font-style: italic;
|
|
14
|
+
}
|
|
15
|
+
.highlight .cs {
|
|
16
|
+
color: #999999;
|
|
17
|
+
font-weight: bold;
|
|
18
|
+
font-style: italic;
|
|
19
|
+
}
|
|
20
|
+
.highlight .c, .highlight .cd {
|
|
21
|
+
color: #999988;
|
|
22
|
+
font-style: italic;
|
|
23
|
+
}
|
|
24
|
+
.highlight .err {
|
|
25
|
+
color: #a61717;
|
|
26
|
+
background-color: #e3d2d2;
|
|
27
|
+
}
|
|
28
|
+
.highlight .gd {
|
|
29
|
+
color: #000000;
|
|
30
|
+
background-color: #ffdddd;
|
|
31
|
+
}
|
|
32
|
+
.highlight .ge {
|
|
33
|
+
color: #000000;
|
|
34
|
+
font-style: italic;
|
|
35
|
+
}
|
|
36
|
+
.highlight .gr {
|
|
37
|
+
color: #aa0000;
|
|
38
|
+
}
|
|
39
|
+
.highlight .gh {
|
|
40
|
+
color: #999999;
|
|
41
|
+
}
|
|
42
|
+
.highlight .gi {
|
|
43
|
+
color: #000000;
|
|
44
|
+
background-color: #ddffdd;
|
|
45
|
+
}
|
|
46
|
+
.highlight .go {
|
|
47
|
+
color: #888888;
|
|
48
|
+
}
|
|
49
|
+
.highlight .gp {
|
|
50
|
+
color: #555555;
|
|
51
|
+
}
|
|
52
|
+
.highlight .gs {
|
|
53
|
+
font-weight: bold;
|
|
54
|
+
}
|
|
55
|
+
.highlight .gu {
|
|
56
|
+
color: #aaaaaa;
|
|
57
|
+
}
|
|
58
|
+
.highlight .gt {
|
|
59
|
+
color: #aa0000;
|
|
60
|
+
}
|
|
61
|
+
.highlight .kc {
|
|
62
|
+
color: #000000;
|
|
63
|
+
font-weight: bold;
|
|
64
|
+
}
|
|
65
|
+
.highlight .kd {
|
|
66
|
+
color: #000000;
|
|
67
|
+
font-weight: bold;
|
|
68
|
+
}
|
|
69
|
+
.highlight .kn {
|
|
70
|
+
color: #000000;
|
|
71
|
+
font-weight: bold;
|
|
72
|
+
}
|
|
73
|
+
.highlight .kp {
|
|
74
|
+
color: #000000;
|
|
75
|
+
font-weight: bold;
|
|
76
|
+
}
|
|
77
|
+
.highlight .kr {
|
|
78
|
+
color: #000000;
|
|
79
|
+
font-weight: bold;
|
|
80
|
+
}
|
|
81
|
+
.highlight .kt {
|
|
82
|
+
color: #445588;
|
|
83
|
+
font-weight: bold;
|
|
84
|
+
}
|
|
85
|
+
.highlight .k, .highlight .kv {
|
|
86
|
+
color: #000000;
|
|
87
|
+
font-weight: bold;
|
|
88
|
+
}
|
|
89
|
+
.highlight .mf {
|
|
90
|
+
color: #009999;
|
|
91
|
+
}
|
|
92
|
+
.highlight .mh {
|
|
93
|
+
color: #009999;
|
|
94
|
+
}
|
|
95
|
+
.highlight .il {
|
|
96
|
+
color: #009999;
|
|
97
|
+
}
|
|
98
|
+
.highlight .mi {
|
|
99
|
+
color: #009999;
|
|
100
|
+
}
|
|
101
|
+
.highlight .mo {
|
|
102
|
+
color: #009999;
|
|
103
|
+
}
|
|
104
|
+
.highlight .m, .highlight .mb, .highlight .mx {
|
|
105
|
+
color: #009999;
|
|
106
|
+
}
|
|
107
|
+
.highlight .sb {
|
|
108
|
+
color: #d14;
|
|
109
|
+
}
|
|
110
|
+
.highlight .sc {
|
|
111
|
+
color: #d14;
|
|
112
|
+
}
|
|
113
|
+
.highlight .sd {
|
|
114
|
+
color: #d14;
|
|
115
|
+
}
|
|
116
|
+
.highlight .s2 {
|
|
117
|
+
color: #d14;
|
|
118
|
+
}
|
|
119
|
+
.highlight .se {
|
|
120
|
+
color: #d14;
|
|
121
|
+
}
|
|
122
|
+
.highlight .sh {
|
|
123
|
+
color: #d14;
|
|
124
|
+
}
|
|
125
|
+
.highlight .si {
|
|
126
|
+
color: #d14;
|
|
127
|
+
}
|
|
128
|
+
.highlight .sx {
|
|
129
|
+
color: #d14;
|
|
130
|
+
}
|
|
131
|
+
.highlight .sr {
|
|
132
|
+
color: #009926;
|
|
133
|
+
}
|
|
134
|
+
.highlight .s1 {
|
|
135
|
+
color: #d14;
|
|
136
|
+
}
|
|
137
|
+
.highlight .ss {
|
|
138
|
+
color: #990073;
|
|
139
|
+
}
|
|
140
|
+
.highlight .s {
|
|
141
|
+
color: #d14;
|
|
142
|
+
}
|
|
143
|
+
.highlight .na {
|
|
144
|
+
color: #008080;
|
|
145
|
+
}
|
|
146
|
+
.highlight .bp {
|
|
147
|
+
color: #999999;
|
|
148
|
+
}
|
|
149
|
+
.highlight .nb {
|
|
150
|
+
color: #0086B3;
|
|
151
|
+
}
|
|
152
|
+
.highlight .nc {
|
|
153
|
+
color: #445588;
|
|
154
|
+
font-weight: bold;
|
|
155
|
+
}
|
|
156
|
+
.highlight .no {
|
|
157
|
+
color: #008080;
|
|
158
|
+
}
|
|
159
|
+
.highlight .nd {
|
|
160
|
+
color: #3c5d5d;
|
|
161
|
+
font-weight: bold;
|
|
162
|
+
}
|
|
163
|
+
.highlight .ni {
|
|
164
|
+
color: #800080;
|
|
165
|
+
}
|
|
166
|
+
.highlight .ne {
|
|
167
|
+
color: #990000;
|
|
168
|
+
font-weight: bold;
|
|
169
|
+
}
|
|
170
|
+
.highlight .nf {
|
|
171
|
+
color: #990000;
|
|
172
|
+
font-weight: bold;
|
|
173
|
+
}
|
|
174
|
+
.highlight .nl {
|
|
175
|
+
color: #990000;
|
|
176
|
+
font-weight: bold;
|
|
177
|
+
}
|
|
178
|
+
.highlight .nn {
|
|
179
|
+
color: #555555;
|
|
180
|
+
}
|
|
181
|
+
.highlight .nt {
|
|
182
|
+
color: #000080;
|
|
183
|
+
}
|
|
184
|
+
.highlight .vc {
|
|
185
|
+
color: #008080;
|
|
186
|
+
}
|
|
187
|
+
.highlight .vg {
|
|
188
|
+
color: #008080;
|
|
189
|
+
}
|
|
190
|
+
.highlight .vi {
|
|
191
|
+
color: #008080;
|
|
192
|
+
}
|
|
193
|
+
.highlight .nv {
|
|
194
|
+
color: #008080;
|
|
195
|
+
}
|
|
196
|
+
.highlight .ow {
|
|
197
|
+
color: #000000;
|
|
198
|
+
font-weight: bold;
|
|
199
|
+
}
|
|
200
|
+
.highlight .o {
|
|
201
|
+
color: #000000;
|
|
202
|
+
font-weight: bold;
|
|
203
|
+
}
|
|
204
|
+
.highlight .w {
|
|
205
|
+
color: #bbbbbb;
|
|
206
|
+
}
|
|
207
|
+
.highlight {
|
|
208
|
+
background-color: #f8f8f8;
|
|
209
|
+
}
|
|
@@ -14,6 +14,7 @@ navigation:
|
|
|
14
14
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
|
15
15
|
<meta name="theme-color" content="#20a5a8" />
|
|
16
16
|
{% css fonts media:screen rel:preload async %}
|
|
17
|
+
{% css syntax media:screen rel:preload async %}
|
|
17
18
|
{% css application media:screen %}
|
|
18
19
|
</head>
|
|
19
20
|
<body>
|
|
@@ -51,7 +51,7 @@ description: Shipyard comes with several default icons that you're welcome to us
|
|
|
51
51
|
<ul class="icon-list col-container">
|
|
52
52
|
{% iconitem 'email-color', class: 'icon-xl center' %}
|
|
53
53
|
</ul>
|
|
54
|
-
```
|
|
54
|
+
```erb
|
|
55
55
|
<%= icon 'email-color' %>
|
|
56
56
|
```
|
|
57
57
|
|
|
@@ -69,7 +69,7 @@ description: Shipyard comes with several default icons that you're welcome to us
|
|
|
69
69
|
{% iconitem :gear, class: 'center icon-xl' %}
|
|
70
70
|
</ul>
|
|
71
71
|
|
|
72
|
-
```
|
|
72
|
+
```erb
|
|
73
73
|
<%= icon :gear, class: 'icon-xxs' %>
|
|
74
74
|
<%= icon :gear, class: 'icon-xs' %>
|
|
75
75
|
<%= icon :gear, class: 'icon-sm' %>
|
|
@@ -87,7 +87,7 @@ description: Shipyard comes with several default icons that you're welcome to us
|
|
|
87
87
|
<button class="btn btn-secondary">{% icon :plus, class: 'icon-center icon-sm margin-right-xxs' %} Create</button>
|
|
88
88
|
</div>
|
|
89
89
|
|
|
90
|
-
```
|
|
90
|
+
```erb
|
|
91
91
|
<button class="btn btn-secondary">
|
|
92
92
|
<%= icon :plus, class: 'icon-center icon-sm' %>
|
|
93
93
|
Create
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: shipyard-framework
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.65
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Codeship
|
|
@@ -194,6 +194,8 @@ files:
|
|
|
194
194
|
- assets/icons/restart.svg
|
|
195
195
|
- assets/icons/tag.svg
|
|
196
196
|
- assets/icons/x.svg
|
|
197
|
+
- assets/images/arrows/down.svg
|
|
198
|
+
- assets/images/checkmark.svg
|
|
197
199
|
- assets/javascripts/shipyard.es6
|
|
198
200
|
- assets/javascripts/shipyard/alert.es6
|
|
199
201
|
- assets/javascripts/shipyard/core.es6
|
|
@@ -292,6 +294,7 @@ files:
|
|
|
292
294
|
- styleguide/_assets/css/application.sass
|
|
293
295
|
- styleguide/_assets/css/fonts.sass
|
|
294
296
|
- styleguide/_assets/css/layout.sass
|
|
297
|
+
- styleguide/_assets/css/syntax.css
|
|
295
298
|
- styleguide/_assets/css/vendor.sass
|
|
296
299
|
- styleguide/_assets/css/views.sass
|
|
297
300
|
- styleguide/_assets/img/arrows/down.svg
|