kamiflex 0.11.5 → 0.11.6

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: fdc532b8b57c2c2feb9765e020f0c96d7111450c42f4c0ee6657a945563f87e6
4
- data.tar.gz: f107b735b908a530d74f856422ea46f1df7276a540cdbcb43fbf1d40a304961d
3
+ metadata.gz: b93057c00b4e2f4a10384f1477293d1712adf5bf152a89f596eb0d3ce98f2531
4
+ data.tar.gz: da305a4a5127a4f0db58dffa8515c9c6db26edf3ee79b1cf17bf38d495db1f0d
5
5
  SHA512:
6
- metadata.gz: dfa3ff1b250be7a3598a010ba835e3b727330812c3a56897143a1f0b532aba43dd420362cb0ef991d9ff23a3ee61b7f477cdaab41213a3ec33d82a83ac6f2f98
7
- data.tar.gz: 85933782a6736580e0bcacf0f0ac283d2c57884cc9d205f7265f096f4231822dcc2065d903671c23e3dcff8a2d0871c7abbc71388c582c8bcf93ea953e1e6354
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, :style, :action))
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, :style, :action))
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 style(params)
85
- @flex_attributes[:style] = params
84
+ def styles(params)
85
+ @flex_attributes[:styles] = params
86
86
  end
87
87
 
88
88
  def vertical_box(resources = [nil], **params, &block)
@@ -1,3 +1,3 @@
1
1
  module Kamiflex
2
- VERSION = '0.11.5'
2
+ VERSION = '0.11.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kamiflex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.5
4
+ version: 0.11.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - etrex kuo