kamiflex 0.11.5 → 0.11.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kamiflex/core.rb +4 -4
- data/lib/kamiflex/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b93057c00b4e2f4a10384f1477293d1712adf5bf152a89f596eb0d3ce98f2531
|
4
|
+
data.tar.gz: da305a4a5127a4f0db58dffa8515c9c6db26edf3ee79b1cf17bf38d495db1f0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0e492101a182aca203cb3dc70468a931ab0b559e7e58b7fb709716997c6283fd6c7480727fa1f56d10a1b153633a70158a2bd1ba38097cb1d083d240ad00c7c
|
7
|
+
data.tar.gz: 05104dbf1e2225a7b3639c25b55403a099d0c14ab75a35c2ef54cb9320fef560e290baf05e6df827f6645d4728b6318c29c3c8836745693e1ca8afaf5f2f23f2
|
data/lib/kamiflex/core.rb
CHANGED
@@ -13,7 +13,7 @@ module Kamiflex
|
|
13
13
|
attributes, _contents = flex_scope{ yield }
|
14
14
|
@flex_contents << {
|
15
15
|
type: "bubble"
|
16
|
-
}.merge(attributes.slice(:size, :direction, :header, :hero, :body, :footer, :
|
16
|
+
}.merge(attributes.slice(:size, :direction, :header, :hero, :body, :footer, :styles, :action))
|
17
17
|
end
|
18
18
|
|
19
19
|
def bubbles(resources)
|
@@ -21,7 +21,7 @@ module Kamiflex
|
|
21
21
|
attributes, _contents = flex_scope{ yield(resource, index) }
|
22
22
|
@flex_contents << {
|
23
23
|
type: "bubble",
|
24
|
-
}.merge(attributes.slice(:size, :direction, :header, :hero, :body, :footer, :
|
24
|
+
}.merge(attributes.slice(:size, :direction, :header, :hero, :body, :footer, :styles, :action))
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
@@ -81,8 +81,8 @@ module Kamiflex
|
|
81
81
|
end
|
82
82
|
|
83
83
|
# style
|
84
|
-
def
|
85
|
-
@flex_attributes[:
|
84
|
+
def styles(params)
|
85
|
+
@flex_attributes[:styles] = params
|
86
86
|
end
|
87
87
|
|
88
88
|
def vertical_box(resources = [nil], **params, &block)
|
data/lib/kamiflex/version.rb
CHANGED