anchor_view_components 0.25.0 → 0.26.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 277d5cfd61ec813382b93a17757f437dd8f0d709c643e29169fef518b311bf28
|
|
4
|
+
data.tar.gz: 5ce8b8533e925ff202f1ab5228712eca10ba7d7ec1b2edf8dac15d2e659b598b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0a4d3c3971d81845b935dadc09759a349ee79bba5259d7b71b62f0d729dc3e8ed3aff8261d8536792e422167be7c1f23b64a8fac3acb216e998f17eb6e786d99
|
|
7
|
+
data.tar.gz: 6c08142d5163de480fed9ddeec6b6349c1826755f44d93eb9ca222d16302154262745dbda5df2df0b64fa95c1407e94991aa3b6dd865f18b7b3dc0a432aeeae3
|
data/CHANGELOG.md
CHANGED
|
@@ -98,6 +98,11 @@ module Anchor
|
|
|
98
98
|
end
|
|
99
99
|
|
|
100
100
|
# The following methods are pending to be replaced with ViewComponents.
|
|
101
|
+
def check_box(attribute, options = {})
|
|
102
|
+
super attribute, options.merge(
|
|
103
|
+
data: { testid: "checkbox-#{attribute.to_s.dasherize}" }
|
|
104
|
+
)
|
|
105
|
+
end
|
|
101
106
|
|
|
102
107
|
def datetime_field(attribute, options = {})
|
|
103
108
|
super attribute, options.merge(class: Anchor::InputComponent::INPUT_CLASSES)
|