ariadne_view_components 0.0.83.1 → 0.0.83.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/app/components/ariadne/form/text_field/component.html.erb +2 -4
- data/app/components/ariadne/ui/clipboard_copy/component.html.erb +1 -1
- data/app/components/ariadne/ui/clipboard_copy/component.rb +4 -0
- data/lib/ariadne/view_components/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73cbc23a749bfcadf2f86ab72273ef0221fd57d2e4a6c34b7112eae0491d56a1
|
4
|
+
data.tar.gz: 7b62a4b53bd59b5be42824d5ec1504fc86978f72bfcb4021b2307d28c277d226
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e54747027043af37a5c71783142545e4ecf8e3b5aecf2a646f804b21720788adcab1573f81d5db0ffd645a7c343d8f76a03686fca0e5052312e01f885820a4a1
|
7
|
+
data.tar.gz: df8e94302675bd8d80cc69740cb19b05903d2cb9705d66663e5057033ad00bfe7038f02517976b3cd06ce66a8b34147df4926e437db8c4b0dee3e46316614b77
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
# [v0.0.83.3] - 08-07-2024
|
2
|
+
**Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.83.2...v0.0.83.3
|
3
|
+
# [v0.0.83.2] - 08-07-2024
|
4
|
+
## What's Changed
|
5
|
+
* [auto-browserslist] Update Browserslist db by @sisyphusbot in https://github.com/yettoapp/ariadne/pull/499
|
6
|
+
|
7
|
+
|
8
|
+
**Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.83.1...v0.0.83.2
|
1
9
|
# [v0.0.83.1] - 07-07-2024
|
2
10
|
**Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.83...v0.0.83.1
|
3
11
|
# [v0.0.83] - 03-07-2024
|
@@ -1,11 +1,10 @@
|
|
1
|
-
<div class="ariadne-space-y-2">
|
1
|
+
<div class="ariadne-space-y-2 w-full">
|
2
2
|
<label
|
3
3
|
class="<%= style(:label) %>"
|
4
4
|
for="<%= @name %>"><%= @label %></label>
|
5
5
|
<% if required? %>
|
6
6
|
<span aria-hidden="true">*</span>
|
7
7
|
<% end %>
|
8
|
-
|
9
8
|
<%= content_tag(
|
10
9
|
:input,
|
11
10
|
nil,
|
@@ -13,7 +12,6 @@
|
|
13
12
|
class: html_attrs[:class],
|
14
13
|
**html_attrs.except(:class)
|
15
14
|
) %>
|
16
|
-
|
17
15
|
<% if @validation_message %>
|
18
16
|
<%= render(Primer::BaseComponent.new(tag: :div, **@validation_arguments)) do %>
|
19
17
|
<span class="FormControl-inlineValidation--visual"><%= render(Primer::Beta::Octicon.new(icon: :"alert-fill", size: :xsmall, aria: { hidden: true })) %></span>
|
@@ -21,6 +19,6 @@
|
|
21
19
|
<% end %>
|
22
20
|
<% end %>
|
23
21
|
<% if caption? %>
|
24
|
-
|
22
|
+
<p id="<%= @name %>-description" class="<%= style(:caption, theme:, size:, width:) %>"><%= @caption %></p>
|
25
23
|
<% end %>
|
26
24
|
</div>
|
@@ -36,6 +36,10 @@ module Ariadne
|
|
36
36
|
prepend_action(html_attrs, "clipboard-copy->ariadne-ui-clipboard-copy#copy")
|
37
37
|
html_attrs[:value] = @value if @value.present?
|
38
38
|
html_attrs[:for] = @for if @for.present?
|
39
|
+
|
40
|
+
html_attrs[:class] = Ariadne::ViewComponents.tailwind_merger.merge([style(size:), html_attrs[:class]].join(" "))
|
41
|
+
|
42
|
+
html_attrs
|
39
43
|
end
|
40
44
|
|
41
45
|
def before_render
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ariadne_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.83.
|
4
|
+
version: 0.0.83.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Garen J. Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-07-
|
11
|
+
date: 2024-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tailwind_merge
|