ariadne_view_components 0.0.68 → 0.0.70

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: 2c1c6ce26063b99def7c171185947bcadfc6ab4a01217570bd70ead0ac48fced
4
- data.tar.gz: 2c77caa134f149e3b32d9c1e9e767177e00aeb9c9cd51924ad955fa81f974f2b
3
+ metadata.gz: '00283730c0b81a03a514e4ee26dc7ff6f0d060781405895ad94cf61b9b35f3cd'
4
+ data.tar.gz: afc31ddbf34e20dfe289efcdfd431a67ca24bb12e4b4524ed22e984e39a95ffd
5
5
  SHA512:
6
- metadata.gz: 1a362bbcf743922eec8195d821f17b68d94d78d493f988b12f18994d3fa24efc4328451ff9a03e5f7ec17fe4e21754f322ac42756ca9f85de583dd3b351acd67
7
- data.tar.gz: fe2e8da4c9af0221e781a2f11ea920a7a96971c6f0be2326c4e4f9065ed45f49c4b5f2a9086989cc85339a8b3af259c516e223cc3c89a188f001d685c232351a
6
+ metadata.gz: cff1a33a7041099d972c23067b9dd68660bc4f4e72332fec09e281e8de684e3178db2c98d998883f3a0e2faf3c4c69505fc39d759b3ae7668aba5090763a2b47
7
+ data.tar.gz: 968d3b24a57eeb5a44c1652066fd4632c6af3910f75a3093de93cc65926a14bff08ea16e642cff108db9e2b9eba0c6019a560cd9203ce135a130058e4105d033
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [v0.0.69] - 05-04-2024
2
+ **Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.68...v0.0.69
3
+ ## [v0.0.68] - 05-04-2024
4
+ **Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.67...v0.0.68
1
5
  ## [v0.0.67] - 05-04-2024
2
6
  **Full Changelog**: https://github.com/yettoapp/ariadne/compare/v0.0.66...v0.0.67
3
7
  ## [v0.0.66] - 05-04-2024
@@ -11,6 +11,8 @@ module Ariadne
11
11
 
12
12
  include Ariadne::AttributesHelper
13
13
 
14
+ include Ariadne::ViewHelper
15
+
14
16
  extend Dry::Initializer[undefined: false]
15
17
 
16
18
  accepts_html_attributes
@@ -29,81 +29,6 @@ module Ariadne
29
29
  include IconHelper
30
30
  include HeroiconsHelper
31
31
 
32
- PRELOADED_ICONS = [
33
- {
34
- name: "bell",
35
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
36
- },
37
- {
38
- name: "check",
39
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
40
- },
41
- {
42
- name: "chevron-down",
43
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
44
- },
45
- {
46
- name: "clipboard",
47
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
48
- },
49
- {
50
- name: "clock",
51
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
52
- },
53
- {
54
- name: "information-circle",
55
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
56
- },
57
- {
58
- name: "dots-horizontal",
59
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
60
- },
61
- {
62
- name: "link",
63
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
64
- },
65
- {
66
- name: "lock-closed",
67
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
68
- },
69
- {
70
- name: "mail",
71
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
72
- },
73
- {
74
- name: "menu",
75
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
76
- },
77
- {
78
- name: "pencil",
79
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
80
- },
81
- {
82
- name: "plus-sm",
83
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
84
- },
85
- {
86
- name: "question-mark-circle",
87
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
88
- },
89
- {
90
- name: "search",
91
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
92
- },
93
- {
94
- name: "search",
95
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
96
- },
97
- {
98
- name: "trash",
99
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
100
- },
101
- {
102
- name: "x-mark",
103
- variant: HeroiconsHelper::Icon::VARIANT_OUTLINE,
104
- },
105
- ].freeze
106
-
107
32
  accepts_html_attributes do |html_attrs|
108
33
  html_attrs[:class] = Ariadne::ViewComponents.tailwind_merger.merge([@heroicon.attributes["class"], style(size: @size), html_attrs[:class]].join(" "))
109
34
  end
@@ -121,7 +46,7 @@ module Ariadne
121
46
  end
122
47
 
123
48
  def inner
124
- ActiveSupport::SafeBuffer.new(@heroicon.path)
49
+ ActiveSupport::SafeBuffer.new(@heroicon.inner)
125
50
  end
126
51
 
127
52
  style do
@@ -34,8 +34,7 @@ module Ariadne
34
34
  if Rails.application.config.eager_load
35
35
  Ariadne::Forms::Base.compile!
36
36
  Ariadne::Forms::Base.descendants.each(&:compile!)
37
- Ariadne::Forms::BaseComponent.descendants.each(&:compile!)
38
- Ariadne::Heroicon::Cache.preload!
37
+ Ariadne::Form::BaseComponent.descendants.each(&:compile!)
39
38
  end
40
39
  end
41
40
  end
@@ -3,6 +3,6 @@
3
3
  # :nocov:
4
4
  module Ariadne
5
5
  module ViewComponents
6
- VERSION = "0.0.68"
6
+ VERSION = "0.0.70"
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.68
4
+ version: 0.0.70
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-04-05 00:00:00.000000000 Z
11
+ date: 2024-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tailwind_merge