anchor_view_components 0.47.0 → 0.48.0
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 +4 -4
- data/CHANGELOG.md +8 -0
- data/app/assets/images/icons/open-new-window.svg +5 -0
- data/app/components/anchor/banner_component.html.erb +1 -0
- data/app/components/anchor/banner_component.rb +4 -0
- data/app/components/anchor/button_component.html.erb +1 -1
- data/app/components/anchor/button_component.rb +3 -3
- data/app/components/anchor/filter_component.html.erb +1 -1
- data/app/components/anchor/filter_component.rb +1 -1
- data/app/components/anchor/panel_component.html.erb +1 -0
- data/app/components/anchor/panel_component.rb +4 -0
- data/app/components/anchor/toast_component.html.erb +1 -1
- data/app/components/anchor/toast_component.rb +1 -1
- data/lib/anchor/view_components/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: da98942975137fa343cc58ad7fb08de5d92470a8f6a287924dda11562d7d6ebf
|
|
4
|
+
data.tar.gz: e4d301b64276b42c52732ee10aba4f4c6a54e53495c24920ec8341e73d52b0fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1614e7d9ee23d0c32a56d7fa3c2e4d396045de15e4cedc8f2ea19f23b70877d9009a59c8709e1471220b35c11101816d86d2f7e851160c713e74c1aae5fb9e66
|
|
7
|
+
data.tar.gz: 1bebc7268fde9116e11a2684ea58b0cda6d9d6a44de32ca9b51e7284eb816584cb064eff682e0b299321c808624e6135b661dc8cc26cd4864e0c0ae2caa12835
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.48.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 49a05e0: added data testids to banner component
|
|
8
|
+
- d9925cb: Added a test ID to the panel component (`panel-component`) with the option to pass in a custom ID.
|
|
9
|
+
- f55a733: Add open-new-window icon
|
|
10
|
+
|
|
3
11
|
## 0.47.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!-- Source: Iconoir, added via `bin/add_icon` -->
|
|
2
|
+
<svg width="24" height="24" viewBox="0 0 24 24" stroke-width="1.5" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path d="M21 3L15 3M21 3L12 12M21 3V9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>
|
|
4
|
+
<path d="M21 13V19C21 20.1046 20.1046 21 19 21H5C3.89543 21 3 20.1046 3 19V5C3 3.89543 3.89543 3 5 3H11" stroke="currentColor" stroke-linecap="round"/>
|
|
5
|
+
</svg>
|
|
@@ -76,14 +76,14 @@ module Anchor
|
|
|
76
76
|
element == :a ? nil : @disabled
|
|
77
77
|
end
|
|
78
78
|
|
|
79
|
-
def
|
|
79
|
+
def testid
|
|
80
80
|
wrapper_options.dig(
|
|
81
81
|
:data,
|
|
82
82
|
:testid
|
|
83
|
-
) ||
|
|
83
|
+
) || generated_testid
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
def
|
|
86
|
+
def generated_testid
|
|
87
87
|
"#{strip_tags(content).to_s.parameterize}-button"
|
|
88
88
|
end
|
|
89
89
|
end
|
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.48.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: 2024-02-
|
|
11
|
+
date: 2024-02-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -67,6 +67,7 @@ files:
|
|
|
67
67
|
- app/assets/images/icons/nav-arrow-down.svg
|
|
68
68
|
- app/assets/images/icons/nav-arrow-left.svg
|
|
69
69
|
- app/assets/images/icons/nav-arrow-right.svg
|
|
70
|
+
- app/assets/images/icons/open-new-window.svg
|
|
70
71
|
- app/assets/images/icons/paste-clipboard.svg
|
|
71
72
|
- app/assets/images/icons/percentage.svg
|
|
72
73
|
- app/assets/images/icons/plus.svg
|