optics_view_components 0.1.4 → 0.1.5

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: ffe52b98369672a1d6eed1b8243910a5e407ac98deb91b0d85d01838b2d008ba
4
- data.tar.gz: b200545febaac7348d8c12489c7d5e5baad3781bd4af61f2ba644f50a640940e
3
+ metadata.gz: 54fb6a68b7cdd5b3ccd449bca62f7011af24f36fc541a92d7da7d8254b26047b
4
+ data.tar.gz: aa821b1b78cabd2f2f2f78aa9aecefa4b40590fe76be411cafb6ec9b5675fb8c
5
5
  SHA512:
6
- metadata.gz: 6a821b4466922983f0dcbd589beac2e16fd6134440f1b8d3746198c3ef3852e8bdf088a86ea7d612a0a35d3218d80aef3d9e086df0d0a7e6d4d4137819dd6aa0
7
- data.tar.gz: 9c42b42d99b2c36586d27ffc3c20dc56249b388360cb804ee13ae359abb81b3712acc879621ebeef99c39536e42458400ee279ce8b00e4715c982b4da8c4cc6f
6
+ metadata.gz: 172d34c022dcd91ac936ada62fb622c3836c14d22528f98a89e8eaf25cdf5539e496523e9dcc95303abf6f8c54c4ceba3b5bd0f2a3bb30eccf1380da80c7ba10
7
+ data.tar.gz: 34faf6863d961a9c7d12ad5a3ce12a49d35718a9b30abb7a912929181988777e72bf945fa97769756b614a756a555653914da72f9cd31967543b2f58d939c587
@@ -21,7 +21,8 @@ module Optics
21
21
  class: classes,
22
22
  'aria-label': title,
23
23
  title:,
24
- data:
24
+ data:,
25
+ **@attributes.except(:class)
25
26
  ) do
26
27
  name
27
28
  end
@@ -30,6 +31,7 @@ module Optics
30
31
  def classes
31
32
  class_names(
32
33
  'material-symbols-outlined',
34
+ @attributes[:class],
33
35
  size_class,
34
36
  weight_class,
35
37
  emphasis_class,
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Optics
4
4
  module ViewComponents
5
- VERSION = '0.1.4'
5
+ VERSION = '0.1.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: optics_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Reed Law
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-07 00:00:00.000000000 Z
11
+ date: 2023-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: view_component