anchor_view_components 0.16.0 → 0.18.0
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3053188ff15b4f007f12d237316404dfe391896cf3e88c52badf3a8409b036db
|
4
|
+
data.tar.gz: 39289d7346d27ba0b7790dca65cacb12bc7a249448273c0191022f1a181aff44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e9efea5de49570cd16cfed25f76c0dcd69cfd1472ac8bd13c66c4556aa25d58826abb9357f9edef2667a633fcdd3ceb224e32661aa873441c1f7a007c0be365
|
7
|
+
data.tar.gz: 1832cc07a50402e5f70fd0e84c70994cc0f88587fa780c7520bd08485c1561258eb65aef447b489d7322adc66df353c5775a1c753aeaf813e1fa9d859e63c3a8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.18.0 - 2023-09-21
|
4
|
+
|
5
|
+
### Changed
|
6
|
+
|
7
|
+
- Button component now receives `id:` and `title:` html attributes.
|
8
|
+
|
9
|
+
## 0.17.0 - 2023-09-21
|
10
|
+
|
11
|
+
### Added
|
12
|
+
|
13
|
+
- Prose now renders passed in `data` and `classes` arguments.
|
14
|
+
|
3
15
|
## 0.16.0 - 2023-09-20
|
4
16
|
|
5
17
|
### Added
|
@@ -47,6 +47,8 @@ module Anchor
|
|
47
47
|
popovertargetaction: nil,
|
48
48
|
disabled: false,
|
49
49
|
full_width: false,
|
50
|
+
title: nil,
|
51
|
+
id: nil,
|
50
52
|
**kwargs
|
51
53
|
)
|
52
54
|
@tag = fetch_or_fallback(TAG_OPTIONS, tag, TAG_DEFAULT)
|
@@ -65,6 +67,8 @@ module Anchor
|
|
65
67
|
@popovertargetaction = popovertargetaction
|
66
68
|
@disabled = disabled unless @tag == :a
|
67
69
|
@full_width = full_width
|
70
|
+
@title = title
|
71
|
+
@id = id
|
68
72
|
|
69
73
|
super
|
70
74
|
end
|
@@ -72,7 +76,7 @@ module Anchor
|
|
72
76
|
private
|
73
77
|
|
74
78
|
attr_reader :tag, :type, :href, :size, :variant, :form, :popovertarget,
|
75
|
-
:popovertargetaction, :disabled, :full_width
|
79
|
+
:popovertargetaction, :disabled, :full_width, :title, :id
|
76
80
|
|
77
81
|
def render?
|
78
82
|
content.present?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: anchor_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Buoy Software
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09-
|
11
|
+
date: 2023-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -193,7 +193,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: '0'
|
195
195
|
requirements: []
|
196
|
-
rubygems_version: 3.4.
|
196
|
+
rubygems_version: 3.4.18
|
197
197
|
signing_key:
|
198
198
|
specification_version: 4
|
199
199
|
summary: ViewComponents for Buoy’s design system, Anchor
|