shipyard-framework 0.5.65 → 0.5.66

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
  SHA256:
3
- metadata.gz: 28257278527d28ac7bfa6a17b6fad4f761b49be7415e4e239e10f199d8a66a95
4
- data.tar.gz: fb8374282a6d5fafcf50ca66dc4f4d6547a86c3684ff3c29bee295b83971e8aa
3
+ metadata.gz: 7385bdd1b30504d3021f2f2ff64c396f658df9e544e690bf972490d48b841c64
4
+ data.tar.gz: a523952e1980259ea5a4c31a50eacc7c9aa7ce3d0e63a146f4ec36c2c5db040e
5
5
  SHA512:
6
- metadata.gz: 2a633ceca2754e2a2082395656b05efc6d6129786a1ba310bd68dcfc45e588c3865ab80ad5d247c77d3ab8ac00923091be06d75a3f0b343ca1f22fd98349084f
7
- data.tar.gz: ce5de89de4541af246e89f83f9b6c9fcdff061224156f9d215ebe9d64c978bc974a023eb9ae7db377c77a3276a7cb31afecedc97d23a53544a6764733fe36053
6
+ metadata.gz: 6402d598fbf839d3041d2dad3a0172eb19794686d6daae33d3db8bca44709283922f9e70411ba52464305fbd5477ed2f2069ec76928e73c1a450f5949827d24d
7
+ data.tar.gz: 318e0e0eb33276703ed3577c777cccbe35d3b51ff1a1e5f53d8c293a621161abfe6ede8c9b573f03951919c68ae755409d29d7d3fab4366391125d62351ad177
@@ -4,3 +4,4 @@
4
4
  @import shipyard/utilities/positioning
5
5
  @import shipyard/utilities/typography
6
6
  @import shipyard/utilities/margin-padding
7
+ @import shipyard/utilities/border-radius
@@ -0,0 +1,17 @@
1
+ +component('rds')
2
+ +border-radius
3
+
4
+ &-0
5
+ border-radius: 0
6
+
7
+ &-t
8
+ border-radius: $border-radius $border-radius 0 0
9
+
10
+ &-b
11
+ border-radius: 0 0 $border-radius $border-radius
12
+
13
+ &-l
14
+ border-radius: $border-radius 0 0 $border-radius
15
+
16
+ &-r
17
+ border-radius: 0 $border-radius $border-radius 0
@@ -1,3 +1,3 @@
1
1
  module Shipyard
2
- VERSION = '0.5.65'
2
+ VERSION = '0.5.66'
3
3
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- shipyard-framework (0.5.65)
4
+ shipyard-framework (0.5.66)
5
5
  actionview (~> 5.0)
6
6
  sprockets-es6 (~> 0.9.2)
7
7
 
@@ -0,0 +1,40 @@
1
+ ---
2
+ title: Border-Radius Utilities
3
+ description: Shipyard's border-radius utilities are useful for connecting components together.
4
+ col_classes: col col-50 col-x1-0 margin-bottom-xs
5
+ box_classes: padding-top-xs padding-bottom-xs text-sm strong align-center bg-gray-light gray-dark
6
+ directions:
7
+ none: 0
8
+ top: t
9
+ bottom: b
10
+ left: l
11
+ right: r
12
+ ---
13
+
14
+ {% include page-heading.html page=page %}
15
+
16
+ ---
17
+
18
+ <div class="col-container">
19
+ <div class="{{ page.col_classes }}">
20
+ <div class="{{ page.box_classes }} rds" tooltip=".rds">
21
+ all
22
+ </div>
23
+ </div>
24
+ {% for direction in page.directions %}
25
+ <div class="{{ page.col_classes }}">
26
+ <div class="{{ page.box_classes }} box-secondary rds-{{ direction[1] }}" tooltip=".rds-{{ direction[1] }}">
27
+ {{ direction[0] }}
28
+ </div>
29
+ </div>
30
+ {% endfor %}
31
+ </div>
32
+
33
+ ```html
34
+ <div class="rds"><!-- border-radius: all corners --></div>
35
+ <div class="rds-0"><!-- border-radius: 0 --></div>
36
+ <div class="rds-t"><!-- border-radius: top --></div>
37
+ <div class="rds-b"><!-- border-radius: bottom --></div>
38
+ <div class="rds-l"><!-- border-radius: left --></div>
39
+ <div class="rds-r"><!-- border-radius: right --></div>
40
+ ```
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  title: Shipyard Utilities
3
3
  description: The utility classes below can be applied to any component to override or extend the base styles of the component.
4
- utilities: [Responsive, Grid, Typography, Margin & Padding, Colors]
4
+ utilities: [Responsive, Grid, Typography, Margin & Padding, Colors, Border Radius]
5
5
  ---
6
6
 
7
7
  {% include page-heading.html page=page %}
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.5.65
4
+ version: 0.5.66
5
5
  platform: ruby
6
6
  authors:
7
7
  - Codeship
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-09 00:00:00.000000000 Z
11
+ date: 2017-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -239,6 +239,7 @@ files:
239
239
  - assets/stylesheets/shipyard/mixins/_prefixed.sass
240
240
  - assets/stylesheets/shipyard/mixins/_responsive.sass
241
241
  - assets/stylesheets/shipyard/mixins/_selectors.sass
242
+ - assets/stylesheets/shipyard/utilities/_border-radius.sass
242
243
  - assets/stylesheets/shipyard/utilities/_colors.sass
243
244
  - assets/stylesheets/shipyard/utilities/_display.sass
244
245
  - assets/stylesheets/shipyard/utilities/_grid.sass
@@ -323,6 +324,7 @@ files:
323
324
  - styleguide/components/tables.md
324
325
  - styleguide/components/tooltips.md
325
326
  - styleguide/index.md
327
+ - styleguide/utilities/border-radius.md
326
328
  - styleguide/utilities/colors.md
327
329
  - styleguide/utilities/grid.md
328
330
  - styleguide/utilities/index.md