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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 53ecce6959e5da23d6b64ca5159fc54d272e20494f766079438ef5fb2a745045
4
- data.tar.gz: 5d4b7274ec858ffd130b0f6885c754f7883b4cc823fbca3ab71d6e4a5421287e
3
+ metadata.gz: 73cbc23a749bfcadf2f86ab72273ef0221fd57d2e4a6c34b7112eae0491d56a1
4
+ data.tar.gz: 7b62a4b53bd59b5be42824d5ec1504fc86978f72bfcb4021b2307d28c277d226
5
5
  SHA512:
6
- metadata.gz: '0251218ee06f1cb289edb045080a25b803cbfc3a4d2ee8521b9b3ccf0afb5e248798ae3a21c8c40ef8fe6a92eae6f731172be2373846c94cfd61fba903b7ae4e'
7
- data.tar.gz: cd030f0015c3fc9d4bc2452ff7eb00a1f9a7fe5136dd1c4d1a1c1b3affd8f4ae20812b18f7e5d766a2afcaf03278500f4b73718e7b2d5f16cf2dbbb9f8c068c5
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
- <p id="<%= @name %>-description" class="<%= style(:caption, theme:, size:, width:) %>"><%= @caption %></p>
22
+ <p id="<%= @name %>-description" class="<%= style(:caption, theme:, size:, width:) %>"><%= @caption %></p>
25
23
  <% end %>
26
24
  </div>
@@ -1,4 +1,4 @@
1
- <clipboard-copy class="<%= style(size:) %>" <%= html_attributes %>>
1
+ <clipboard-copy class="<%= html_attrs[:class] %>" <%= html_attributes %>>
2
2
  <% if content.present? %>
3
3
  <%= content %>
4
4
  <% else %>
@@ -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
@@ -3,6 +3,6 @@
3
3
  # :nocov:
4
4
  module Ariadne
5
5
  module ViewComponents
6
- VERSION = "0.0.83.1"
6
+ VERSION = "0.0.83.3"
7
7
  end
8
8
  end
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.1
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-07 00:00:00.000000000 Z
11
+ date: 2024-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tailwind_merge