tungsten 0.1.6 → 0.1.7

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
  SHA1:
3
- metadata.gz: 754d0087329a54803363e3010c6c44627e3140a0
4
- data.tar.gz: b92140a653ff73d04e74442d26a771d01d3f6392
3
+ metadata.gz: 74904e9679088e796ea8f360c45dfb30a4d5c06e
4
+ data.tar.gz: b7343b4a8c6d32847a75c2567d9b7a033d11dace
5
5
  SHA512:
6
- metadata.gz: e29d2c63ec6cc1ca1d7255245c2f4869282d94eccc6f9dc7c9ee5c32fb46a7a9e1524264251e2d3e847f6f105d40b0aeeefc901335daaccd48696fb5c85e5571
7
- data.tar.gz: ede5f894ca413649c27743b26755d8161f0c44946f19ffa5e05e6cc461222322f11342927c7d2ed3e7333901081cfde9b3aae029452c0d630ea452bee6a9df61
6
+ metadata.gz: d86460494a1260972fcacd861d41aa0184c10adb40c0e2fd19193aa426b39d4a287b2905399cb19ed4c93dfcdb83485e28182240a5829a88534fc7f8d881acd4
7
+ data.tar.gz: 0f1a338d1b373449b90741ca4fd2d8fae99c451f63890319873dad27ca0bb43fcf1369882fbf01fa8de328738c5e80012b6286ab7c82072747ef6604f1670357
@@ -109,7 +109,3 @@
109
109
  table.card {
110
110
  display: table;
111
111
  }
112
-
113
- .demo-card {
114
- background: rgba($gray-01, .5);
115
- }
@@ -3,8 +3,13 @@ module Tungsten
3
3
  class Card < Tungsten::Helper
4
4
 
5
5
  def initialize( title = nil, options = {} )
6
- @options = options
7
- @title = title
6
+ if title && title.is_a?(Hash)
7
+ @options = title
8
+ @title = nil
9
+ else
10
+ @options = options
11
+ @title = title
12
+ end
8
13
  end
9
14
 
10
15
  def display( body )
@@ -29,7 +29,7 @@ html
29
29
  = yield :head
30
30
 
31
31
  body
32
-
32
+ = render "shared/tungsten/flash-messages"
33
33
  = render "shared/tungsten/defs"
34
34
 
35
35
  - if content_for?(:blank)
@@ -0,0 +1,6 @@
1
+ - if flash[:notice]
2
+ .flash-message.hidden data-type="action"= flash[:notice]
3
+ - if flash[:success]
4
+ .flash-message.hidden data-type="success"= flash[:success]
5
+ - if flash[:error]
6
+ .flash-message.hidden data-type="error"= flash[:error]
@@ -1,3 +1,3 @@
1
1
  module Tungsten
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
@@ -89,4 +89,4 @@ function move(o){document.documentElement.scrollTop=o,document.body.parentNode.s
89
89
  });
90
90
 
91
91
 
92
- //# sourceMappingURL=/assets/tungsten/code-0.1.6.map.json
92
+ //# sourceMappingURL=/assets/tungsten/code-0.1.7.map.json
File without changes
@@ -985,9 +985,6 @@ table.filled th:last-child, table.filled td:last-child {
985
985
  table.card {
986
986
  display: table; }
987
987
 
988
- .demo-card {
989
- background: rgba(247, 250, 251, 0.5); }
990
-
991
988
  /* ========================================================================== *
992
989
  * Sections module
993
990
  * -------------------------------------------------------------------------- */
Binary file
@@ -78,4 +78,4 @@ function request(e,n,t){return"function"==typeof t?new e("GET",n).end(t):2==argu
78
78
  });
79
79
 
80
80
 
81
- //# sourceMappingURL=/assets/tungsten/tungsten-0.1.6.map.json
81
+ //# sourceMappingURL=/assets/tungsten/tungsten-0.1.7.map.json
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tungsten
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-08-17 00:00:00.000000000 Z
12
+ date: 2017-08-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -127,14 +127,14 @@ dependencies:
127
127
  name: rake
128
128
  requirement: !ruby/object:Gem::Requirement
129
129
  requirements:
130
- - - "~>"
130
+ - - ">"
131
131
  - !ruby/object:Gem::Version
132
132
  version: '10.0'
133
133
  type: :development
134
134
  prerelease: false
135
135
  version_requirements: !ruby/object:Gem::Requirement
136
136
  requirements:
137
- - - "~>"
137
+ - - ">"
138
138
  - !ruby/object:Gem::Version
139
139
  version: '10.0'
140
140
  description: The Tungsten Design System powers the front-end for Compose applications.
@@ -152,6 +152,7 @@ files:
152
152
  - app/assets/javascripts/tungsten/_icons.js
153
153
  - app/assets/javascripts/tungsten/code.js
154
154
  - app/assets/javascripts/tungsten/enhancements/clipboard.js
155
+ - app/assets/javascripts/tungsten/enhancements/form-flash.js
155
156
  - app/assets/javascripts/tungsten/tungsten.js
156
157
  - app/assets/stylesheets/tungsten/_code-color.scss
157
158
  - app/assets/stylesheets/tungsten/_colors.yml
@@ -191,6 +192,7 @@ files:
191
192
  - app/helpers/tungsten/toggle_nav_helper.rb
192
193
  - app/views/layouts/tungsten/default.html.slim
193
194
  - app/views/shared/tungsten/_defs.html.slim
195
+ - app/views/shared/tungsten/_flash-messages.html.slim
194
196
  - app/views/shared/tungsten/_footer.html.slim
195
197
  - app/views/shared/tungsten/_header.html.slim
196
198
  - config/data/deployments.yml
@@ -198,14 +200,14 @@ files:
198
200
  - lib/tungsten.rb
199
201
  - lib/tungsten/helper.rb
200
202
  - lib/tungsten/version.rb
201
- - public/code-0.1.6.js
202
- - public/code-0.1.6.js.gz
203
- - public/code-0.1.6.map.json
204
- - public/tungsten-0.1.6.css
205
- - public/tungsten-0.1.6.css.gz
206
- - public/tungsten-0.1.6.js
207
- - public/tungsten-0.1.6.js.gz
208
- - public/tungsten-0.1.6.map.json
203
+ - public/code-0.1.7.js
204
+ - public/code-0.1.7.js.gz
205
+ - public/code-0.1.7.map.json
206
+ - public/tungsten-0.1.7.css
207
+ - public/tungsten-0.1.7.css.gz
208
+ - public/tungsten-0.1.7.js
209
+ - public/tungsten-0.1.7.js.gz
210
+ - public/tungsten-0.1.7.map.json
209
211
  homepage:
210
212
  licenses:
211
213
  - MIT
Binary file