ariadne_view_components 0.0.68 → 0.0.69
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ea95398dc37c037489d83c7df796efa07358b63e5ad265db31ff497c7f3fab7
|
4
|
+
data.tar.gz: 268aba20f7c246554ded76254471c4496a659bbf4364e469138413d27138bf59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc4cbf3d71140d80c85a1dd9cd9e8c0046df890fb9c06404da089aea6850dc7325c2fb4812986cbe8d60234bcc3eb0a4ab7b5d1e2079825b7403175061d62571
|
7
|
+
data.tar.gz: f8308ec755858f998dfc30c79f52082fd3ab56c16c059d8295669e446db62464ffcf33c03c34e5172efb9a25a3a7edfd8afe4fc2ab32043bcea1529b0e4c9af0
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -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::
|
38
|
-
Ariadne::Heroicon::Cache.preload!
|
37
|
+
Ariadne::Form::BaseComponent.descendants.each(&:compile!)
|
39
38
|
end
|
40
39
|
end
|
41
40
|
end
|