ariadne_view_components 0.0.10-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +49 -0
- data/README.md +73 -0
- data/app/assets/config/manifest.js +2 -0
- data/app/assets/javascripts/ariadne-form-with.d.ts +20 -0
- data/app/assets/javascripts/ariadne-form.d.ts +22 -0
- data/app/assets/javascripts/ariadne.d.ts +1 -0
- data/app/assets/javascripts/ariadne_view_components.js +8 -0
- data/app/assets/javascripts/ariadne_view_components.js.map +1 -0
- data/app/assets/javascripts/clipboard-copy-component.d.ts +4 -0
- data/app/assets/javascripts/comment-component.d.ts +13 -0
- data/app/assets/javascripts/rich-text-area-component.d.ts +4 -0
- data/app/assets/javascripts/slideover-component.d.ts +9 -0
- data/app/assets/javascripts/time-ago-component.d.ts +1 -0
- data/app/assets/javascripts/time_ago_component.d.ts +1 -0
- data/app/assets/javascripts/tooltip-component.d.ts +24 -0
- data/app/assets/stylesheets/ariadne_view_components.css +6 -0
- data/app/assets/stylesheets/prosemirror.css +323 -0
- data/app/assets/stylesheets/tooltip-component.css +37 -0
- data/app/components/ariadne/ariadne-form.ts +96 -0
- data/app/components/ariadne/ariadne.ts +20 -0
- data/app/components/ariadne/base_button.rb +61 -0
- data/app/components/ariadne/base_component.rb +37 -0
- data/app/components/ariadne/blankslate_component.html.erb +26 -0
- data/app/components/ariadne/blankslate_component.rb +146 -0
- data/app/components/ariadne/body_component.rb +30 -0
- data/app/components/ariadne/button_component.html.erb +4 -0
- data/app/components/ariadne/button_component.rb +157 -0
- data/app/components/ariadne/clipboard-copy-component.ts +19 -0
- data/app/components/ariadne/clipboard_copy_component.html.erb +9 -0
- data/app/components/ariadne/clipboard_copy_component.rb +90 -0
- data/app/components/ariadne/comment-component.ts +55 -0
- data/app/components/ariadne/comment_component.html.erb +22 -0
- data/app/components/ariadne/comment_component.rb +57 -0
- data/app/components/ariadne/component.rb +128 -0
- data/app/components/ariadne/container_component.html.erb +3 -0
- data/app/components/ariadne/container_component.rb +25 -0
- data/app/components/ariadne/content.rb +12 -0
- data/app/components/ariadne/counter_component.rb +100 -0
- data/app/components/ariadne/flash_component.html.erb +31 -0
- data/app/components/ariadne/flash_component.rb +125 -0
- data/app/components/ariadne/flex_component.rb +49 -0
- data/app/components/ariadne/footer_component.html.erb +7 -0
- data/app/components/ariadne/footer_component.rb +23 -0
- data/app/components/ariadne/grid_component.html.erb +26 -0
- data/app/components/ariadne/grid_component.rb +66 -0
- data/app/components/ariadne/header_component.html.erb +29 -0
- data/app/components/ariadne/header_component.rb +114 -0
- data/app/components/ariadne/heading_component.rb +49 -0
- data/app/components/ariadne/heroicon_component.html.erb +4 -0
- data/app/components/ariadne/heroicon_component.rb +129 -0
- data/app/components/ariadne/image_component.rb +53 -0
- data/app/components/ariadne/inline_flex_component.html.erb +5 -0
- data/app/components/ariadne/inline_flex_component.rb +65 -0
- data/app/components/ariadne/link_component.rb +65 -0
- data/app/components/ariadne/list_component.html.erb +15 -0
- data/app/components/ariadne/list_component.rb +68 -0
- data/app/components/ariadne/main_component.rb +32 -0
- data/app/components/ariadne/narrow_container_component.html.erb +3 -0
- data/app/components/ariadne/narrow_container_component.rb +30 -0
- data/app/components/ariadne/panel_bar_component.html.erb +20 -0
- data/app/components/ariadne/panel_bar_component.rb +79 -0
- data/app/components/ariadne/pill_component.html.erb +3 -0
- data/app/components/ariadne/pill_component.rb +30 -0
- data/app/components/ariadne/rich-text-area-component.ts +32 -0
- data/app/components/ariadne/rich_text_area_component.html.erb +6 -0
- data/app/components/ariadne/rich_text_area_component.rb +35 -0
- data/app/components/ariadne/slideover-component.ts +26 -0
- data/app/components/ariadne/slideover_component.html.erb +11 -0
- data/app/components/ariadne/slideover_component.rb +81 -0
- data/app/components/ariadne/tab_bar_component.html.erb +3 -0
- data/app/components/ariadne/tab_bar_component.rb +45 -0
- data/app/components/ariadne/tab_component.html.erb +7 -0
- data/app/components/ariadne/tab_component.rb +43 -0
- data/app/components/ariadne/text.rb +25 -0
- data/app/components/ariadne/time-ago-component.ts +1 -0
- data/app/components/ariadne/time_ago_component.rb +56 -0
- data/app/components/ariadne/timeline_component.html.erb +19 -0
- data/app/components/ariadne/timeline_component.rb +34 -0
- data/app/components/ariadne/tooltip-component.ts +57 -0
- data/app/components/ariadne/tooltip_component.html.erb +4 -0
- data/app/components/ariadne/tooltip_component.rb +108 -0
- data/app/lib/ariadne/action_view_extensions/form_helper.rb +26 -0
- data/app/lib/ariadne/audited/dsl.rb +32 -0
- data/app/lib/ariadne/class_name_helper.rb +22 -0
- data/app/lib/ariadne/fetch_or_fallback_helper.rb +102 -0
- data/app/lib/ariadne/form_builder.rb +71 -0
- data/app/lib/ariadne/icon_helper.rb +47 -0
- data/app/lib/ariadne/join_style_arguments_helper.rb +14 -0
- data/app/lib/ariadne/logger_helper.rb +23 -0
- data/app/lib/ariadne/status/dsl.rb +41 -0
- data/app/lib/ariadne/tab_nav_helper.rb +35 -0
- data/app/lib/ariadne/tabbed_component_helper.rb +39 -0
- data/app/lib/ariadne/test_selector_helper.rb +20 -0
- data/app/lib/ariadne/underline_nav_helper.rb +44 -0
- data/app/lib/ariadne/view_helper.rb +22 -0
- data/exe/tailwindcss +21 -0
- data/exe/x64-mingw-ucrt/tailwindcss +0 -0
- data/lib/ariadne/view_components/commands.rb +90 -0
- data/lib/ariadne/view_components/constants.rb +53 -0
- data/lib/ariadne/view_components/engine.rb +75 -0
- data/lib/ariadne/view_components/linters.rb +3 -0
- data/lib/ariadne/view_components/statuses.rb +14 -0
- data/lib/ariadne/view_components/upstream.rb +20 -0
- data/lib/ariadne/view_components/version.rb +7 -0
- data/lib/ariadne/view_components.rb +61 -0
- data/lib/rubocop/config/default.yml +8 -0
- data/lib/rubocop/cop/ariadne/base_cop.rb +26 -0
- data/lib/rubocop/cop/ariadne/no_tag_memoize.rb +44 -0
- data/lib/rubocop/cop/ariadne.rb +3 -0
- data/lib/tasks/ariadne_view_components.rake +48 -0
- data/lib/tasks/build.rake +30 -0
- data/lib/tasks/coverage.rake +19 -0
- data/lib/tasks/custom_utilities.yml +310 -0
- data/lib/tasks/docs.rake +524 -0
- data/lib/tasks/helpers/ast_processor.rb +44 -0
- data/lib/tasks/helpers/ast_traverser.rb +77 -0
- data/lib/tasks/static.rake +15 -0
- data/lib/yard/docs_helper.rb +83 -0
- data/lib/yard/renders_many_handler.rb +19 -0
- data/lib/yard/renders_one_handler.rb +19 -0
- data/static/arguments.yml +619 -0
- data/static/assets/view-components.svg +18 -0
- data/static/audited_at.json +38 -0
- data/static/classes.yml +291 -0
- data/static/constants.json +426 -0
- data/static/statuses.json +38 -0
- data/static/tailwindcss.yml +727 -0
- data/tailwind.config.js +65 -0
- metadata +264 -0
data/static/classes.yml
ADDED
@@ -0,0 +1,291 @@
|
|
1
|
+
---
|
2
|
+
- ".-"
|
3
|
+
- ".a"
|
4
|
+
- ".all"
|
5
|
+
- ".alt:"
|
6
|
+
- ".and"
|
7
|
+
- ".ariadne--mb-8"
|
8
|
+
- ".ariadne--mb-px"
|
9
|
+
- ".ariadne--mr-px"
|
10
|
+
- ".ariadne--mx-1.5"
|
11
|
+
- ".ariadne--mx-2"
|
12
|
+
- ".ariadne--my-1.5"
|
13
|
+
- ".ariadne-absolute"
|
14
|
+
- ".ariadne-antialiased"
|
15
|
+
- ".ariadne-bg-blue-50"
|
16
|
+
- ".ariadne-bg-button-bg-color"
|
17
|
+
- ".ariadne-bg-green-50"
|
18
|
+
- ".ariadne-bg-purple-50"
|
19
|
+
- ".ariadne-bg-red-50"
|
20
|
+
- ".ariadne-bg-slate-900"
|
21
|
+
- ".ariadne-bg-transparent"
|
22
|
+
- ".ariadne-bg-white"
|
23
|
+
- ".ariadne-bg-yellow-50"
|
24
|
+
- ".ariadne-block"
|
25
|
+
- ".ariadne-border"
|
26
|
+
- ".ariadne-border-0"
|
27
|
+
- ".ariadne-border-b"
|
28
|
+
- ".ariadne-border-b-2"
|
29
|
+
- ".ariadne-border-black"
|
30
|
+
- ".ariadne-border-blue-300"
|
31
|
+
- ".ariadne-border-gray-200"
|
32
|
+
- ".ariadne-border-gray-300"
|
33
|
+
- ".ariadne-border-green-300"
|
34
|
+
- ".ariadne-border-purple-300"
|
35
|
+
- ".ariadne-border-red-300"
|
36
|
+
- ".ariadne-border-transparent"
|
37
|
+
- ".ariadne-border-x"
|
38
|
+
- ".ariadne-border-yellow-300"
|
39
|
+
- ".ariadne-cursor-pointer"
|
40
|
+
- ".ariadne-decoration-double"
|
41
|
+
- ".ariadne-divide-gray-200"
|
42
|
+
- ".ariadne-divide-gray-300"
|
43
|
+
- ".ariadne-divide-y"
|
44
|
+
- ".ariadne-duration-500"
|
45
|
+
- ".ariadne-flex"
|
46
|
+
- ".ariadne-flex-1"
|
47
|
+
- ".ariadne-flex-auto"
|
48
|
+
- ".ariadne-flex-col"
|
49
|
+
- ".ariadne-flex-shrink-0"
|
50
|
+
- ".ariadne-flow-root"
|
51
|
+
- ".ariadne-font-bold"
|
52
|
+
- ".ariadne-font-extrabold"
|
53
|
+
- ".ariadne-font-medium"
|
54
|
+
- ".ariadne-font-semibold"
|
55
|
+
- ".ariadne-gap-6"
|
56
|
+
- ".ariadne-grid"
|
57
|
+
- ".ariadne-h-10"
|
58
|
+
- ".ariadne-h-full"
|
59
|
+
- ".ariadne-h-screen"
|
60
|
+
- ".ariadne-hidden"
|
61
|
+
- ".ariadne-inline-block"
|
62
|
+
- ".ariadne-inline-flex"
|
63
|
+
- ".ariadne-invisible"
|
64
|
+
- ".ariadne-items-baseline"
|
65
|
+
- ".ariadne-items-center"
|
66
|
+
- ".ariadne-justify-between"
|
67
|
+
- ".ariadne-justify-center"
|
68
|
+
- ".ariadne-justify-end"
|
69
|
+
- ".ariadne-leading-4"
|
70
|
+
- ".ariadne-leading-5"
|
71
|
+
- ".ariadne-leading-7"
|
72
|
+
- ".ariadne-max-w-7xl"
|
73
|
+
- ".ariadne-max-w-xs"
|
74
|
+
- ".ariadne-min-h-screen"
|
75
|
+
- ".ariadne-ml-3"
|
76
|
+
- ".ariadne-mt-2"
|
77
|
+
- ".ariadne-mt-4"
|
78
|
+
- ".ariadne-mt-6"
|
79
|
+
- ".ariadne-mt-8"
|
80
|
+
- ".ariadne-mx-auto"
|
81
|
+
- ".ariadne-my-4"
|
82
|
+
- ".ariadne-overflow-hidden"
|
83
|
+
- ".ariadne-p-1"
|
84
|
+
- ".ariadne-p-1.5"
|
85
|
+
- ".ariadne-p-4"
|
86
|
+
- ".ariadne-p-8"
|
87
|
+
- ".ariadne-pb-2"
|
88
|
+
- ".ariadne-pb-4"
|
89
|
+
- ".ariadne-pl-2"
|
90
|
+
- ".ariadne-pl-3"
|
91
|
+
- ".ariadne-pt-5"
|
92
|
+
- ".ariadne-pt-6"
|
93
|
+
- ".ariadne-px-1"
|
94
|
+
- ".ariadne-px-2"
|
95
|
+
- ".ariadne-px-2.5"
|
96
|
+
- ".ariadne-px-3"
|
97
|
+
- ".ariadne-px-4"
|
98
|
+
- ".ariadne-px-5"
|
99
|
+
- ".ariadne-px-6"
|
100
|
+
- ".ariadne-py-0.5"
|
101
|
+
- ".ariadne-py-1"
|
102
|
+
- ".ariadne-py-1.5"
|
103
|
+
- ".ariadne-py-12"
|
104
|
+
- ".ariadne-py-2"
|
105
|
+
- ".ariadne-py-3"
|
106
|
+
- ".ariadne-py-4"
|
107
|
+
- ".ariadne-py-5"
|
108
|
+
- ".ariadne-relative"
|
109
|
+
- ".ariadne-rounded"
|
110
|
+
- ".ariadne-rounded-bl-lg"
|
111
|
+
- ".ariadne-rounded-full"
|
112
|
+
- ".ariadne-rounded-lg"
|
113
|
+
- ".ariadne-rounded-m"
|
114
|
+
- ".ariadne-rounded-md"
|
115
|
+
- ".ariadne-shadow"
|
116
|
+
- ".ariadne-shadow-sm"
|
117
|
+
- ".ariadne-space-x-8"
|
118
|
+
- ".ariadne-sr-only"
|
119
|
+
- ".ariadne-sticky"
|
120
|
+
- ".ariadne-stroke-state-open"
|
121
|
+
- ".ariadne-text-2xl"
|
122
|
+
- ".ariadne-text-3xl"
|
123
|
+
- ".ariadne-text-base"
|
124
|
+
- ".ariadne-text-blue-500"
|
125
|
+
- ".ariadne-text-blue-700"
|
126
|
+
- ".ariadne-text-blue-800"
|
127
|
+
- ".ariadne-text-button-text-color"
|
128
|
+
- ".ariadne-text-center"
|
129
|
+
- ".ariadne-text-gray-900"
|
130
|
+
- ".ariadne-text-green-500"
|
131
|
+
- ".ariadne-text-green-600"
|
132
|
+
- ".ariadne-text-green-700"
|
133
|
+
- ".ariadne-text-green-800"
|
134
|
+
- ".ariadne-text-lg"
|
135
|
+
- ".ariadne-text-purple-800"
|
136
|
+
- ".ariadne-text-red-500"
|
137
|
+
- ".ariadne-text-red-700"
|
138
|
+
- ".ariadne-text-red-800"
|
139
|
+
- ".ariadne-text-sm"
|
140
|
+
- ".ariadne-text-state-closed"
|
141
|
+
- ".ariadne-text-state-open"
|
142
|
+
- ".ariadne-text-white"
|
143
|
+
- ".ariadne-text-xl"
|
144
|
+
- ".ariadne-text-xs"
|
145
|
+
- ".ariadne-text-yellow-500"
|
146
|
+
- ".ariadne-text-yellow-700"
|
147
|
+
- ".ariadne-text-yellow-800"
|
148
|
+
- ".ariadne-top-0"
|
149
|
+
- ".ariadne-transition"
|
150
|
+
- ".ariadne-underline"
|
151
|
+
- ".ariadne-w-0"
|
152
|
+
- ".ariadne-w-auto"
|
153
|
+
- ".ariadne-w-full"
|
154
|
+
- ".ariadne-whitespace-nowrap"
|
155
|
+
- ".ariadne-z-10"
|
156
|
+
- ".ariadne-z-50"
|
157
|
+
- ".as"
|
158
|
+
- ".attributes:"
|
159
|
+
- ".bell"
|
160
|
+
- ".bg-billy-purple"
|
161
|
+
- ".bg-filter-panel"
|
162
|
+
- ".bg-state-closed"
|
163
|
+
- ".bg-state-open"
|
164
|
+
- ".billion:"
|
165
|
+
- ".bold"
|
166
|
+
- ".bold-button-0"
|
167
|
+
- ".border-billy-purple"
|
168
|
+
- ".border-state-closed"
|
169
|
+
- ".border-state-open"
|
170
|
+
- ".button-with-tooltip"
|
171
|
+
- ".check"
|
172
|
+
- ".chevron-down"
|
173
|
+
- ".classes:"
|
174
|
+
- ".clipboard"
|
175
|
+
- ".clipboard-copy-component"
|
176
|
+
- ".clock"
|
177
|
+
- ".delivery"
|
178
|
+
- ".divide-gray-200"
|
179
|
+
- ".divide-y"
|
180
|
+
- ".dots-horizontal"
|
181
|
+
- ".fill-billy-purple"
|
182
|
+
- ".fill-state-closed"
|
183
|
+
- ".fill-state-open"
|
184
|
+
- ".flex"
|
185
|
+
- ".flex-auto"
|
186
|
+
- ".focus-visible:outline-2"
|
187
|
+
- ".focus-visible:outline-offset-2"
|
188
|
+
- ".focus-within:ariadne-border-indigo-500"
|
189
|
+
- ".focus-within:ariadne-ring-1"
|
190
|
+
- ".focus-within:ariadne-ring-indigo-500"
|
191
|
+
- ".focus:ariadne-outline-none"
|
192
|
+
- ".focus:ariadne-ring-0"
|
193
|
+
- ".focus:ariadne-ring-2"
|
194
|
+
- ".focus:ariadne-ring-blue-600"
|
195
|
+
- ".focus:ariadne-ring-green-600"
|
196
|
+
- ".focus:ariadne-ring-offset-2"
|
197
|
+
- ".focus:ariadne-ring-offset-blue-50"
|
198
|
+
- ".focus:ariadne-ring-offset-green-50"
|
199
|
+
- ".focus:ariadne-ring-offset-purple-50"
|
200
|
+
- ".focus:ariadne-ring-offset-red-50"
|
201
|
+
- ".focus:ariadne-ring-offset-yellow-50"
|
202
|
+
- ".focus:ariadne-ring-purple-500"
|
203
|
+
- ".focus:ariadne-ring-purple-600"
|
204
|
+
- ".focus:ariadne-ring-red-600"
|
205
|
+
- ".focus:ariadne-ring-yellow-600"
|
206
|
+
- ".font-extrabold"
|
207
|
+
- ".full"
|
208
|
+
- ".group"
|
209
|
+
- ".hover:ariadne-bg-blue-100"
|
210
|
+
- ".hover:ariadne-bg-button-hover-color"
|
211
|
+
- ".hover:ariadne-bg-green-100"
|
212
|
+
- ".hover:ariadne-bg-purple-100"
|
213
|
+
- ".hover:ariadne-bg-red-100"
|
214
|
+
- ".hover:ariadne-bg-yellow-100"
|
215
|
+
- ".hover:ariadne-text-button-text-color"
|
216
|
+
- ".hover:ariadne-text-gray-500"
|
217
|
+
- ".hover:bg-slate-100"
|
218
|
+
- ".hover:text-slate-900"
|
219
|
+
- ".id:"
|
220
|
+
- ".immediately"
|
221
|
+
- ".impact"
|
222
|
+
- ".information-circle"
|
223
|
+
- ".is"
|
224
|
+
- ".lg:ariadne-grid-cols-3"
|
225
|
+
- ".lg:ariadne-px-8"
|
226
|
+
- ".lg:ariadne-py-16"
|
227
|
+
- ".link"
|
228
|
+
- ".list"
|
229
|
+
- ".lock-closed"
|
230
|
+
- ".m:"
|
231
|
+
- ".mail"
|
232
|
+
- ".md:ariadne-divide-y-0"
|
233
|
+
- ".md:ariadne-flex"
|
234
|
+
- ".md:ariadne-flex-1"
|
235
|
+
- ".members"
|
236
|
+
- ".menu"
|
237
|
+
- ".message"
|
238
|
+
- ".method:"
|
239
|
+
- ".million:"
|
240
|
+
- ".organization"
|
241
|
+
- ".pencil"
|
242
|
+
- ".plus-sm"
|
243
|
+
- ".pt:"
|
244
|
+
- ".question-mark-circle"
|
245
|
+
- ".scheme:"
|
246
|
+
- ".scroll-smooth"
|
247
|
+
- ".search"
|
248
|
+
- ".secure"
|
249
|
+
- ".should"
|
250
|
+
- ".sm:ariadne-block"
|
251
|
+
- ".sm:ariadne-grid-cols-2"
|
252
|
+
- ".sm:ariadne-mt-0"
|
253
|
+
- ".sm:ariadne-px-6"
|
254
|
+
- ".sm:ariadne-text-3xl"
|
255
|
+
- ".sm:ariadne-text-sm"
|
256
|
+
- ".sm:space-y-5"
|
257
|
+
- ".sm:text-4xl"
|
258
|
+
- ".space-y-8"
|
259
|
+
- ".stroke-billy-purple"
|
260
|
+
- ".stroke-state-closed"
|
261
|
+
- ".stroke-state-open"
|
262
|
+
- ".system"
|
263
|
+
- ".take"
|
264
|
+
- ".text"
|
265
|
+
- ".text-3xl"
|
266
|
+
- ".text-billy-purple"
|
267
|
+
- ".text-black-700"
|
268
|
+
- ".text-button-text-color"
|
269
|
+
- ".text-gray-900"
|
270
|
+
- ".text-slate-500"
|
271
|
+
- ".text-slate-700"
|
272
|
+
- ".text-state-closed"
|
273
|
+
- ".text-state-open"
|
274
|
+
- ".text-yellow-600"
|
275
|
+
- ".text:"
|
276
|
+
- ".the"
|
277
|
+
- ".tiptap-editor"
|
278
|
+
- ".to"
|
279
|
+
- ".tooltip"
|
280
|
+
- ".tooltip-arrow"
|
281
|
+
- ".tooltip-component"
|
282
|
+
- ".tracking-tight"
|
283
|
+
- ".trash"
|
284
|
+
- ".trigger"
|
285
|
+
- ".type:"
|
286
|
+
- ".up"
|
287
|
+
- ".vault"
|
288
|
+
- ".width"
|
289
|
+
- ".will"
|
290
|
+
- ".x-mark"
|
291
|
+
- ".z-max"
|