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.
Files changed (130) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +49 -0
  3. data/README.md +73 -0
  4. data/app/assets/config/manifest.js +2 -0
  5. data/app/assets/javascripts/ariadne-form-with.d.ts +20 -0
  6. data/app/assets/javascripts/ariadne-form.d.ts +22 -0
  7. data/app/assets/javascripts/ariadne.d.ts +1 -0
  8. data/app/assets/javascripts/ariadne_view_components.js +8 -0
  9. data/app/assets/javascripts/ariadne_view_components.js.map +1 -0
  10. data/app/assets/javascripts/clipboard-copy-component.d.ts +4 -0
  11. data/app/assets/javascripts/comment-component.d.ts +13 -0
  12. data/app/assets/javascripts/rich-text-area-component.d.ts +4 -0
  13. data/app/assets/javascripts/slideover-component.d.ts +9 -0
  14. data/app/assets/javascripts/time-ago-component.d.ts +1 -0
  15. data/app/assets/javascripts/time_ago_component.d.ts +1 -0
  16. data/app/assets/javascripts/tooltip-component.d.ts +24 -0
  17. data/app/assets/stylesheets/ariadne_view_components.css +6 -0
  18. data/app/assets/stylesheets/prosemirror.css +323 -0
  19. data/app/assets/stylesheets/tooltip-component.css +37 -0
  20. data/app/components/ariadne/ariadne-form.ts +96 -0
  21. data/app/components/ariadne/ariadne.ts +20 -0
  22. data/app/components/ariadne/base_button.rb +61 -0
  23. data/app/components/ariadne/base_component.rb +37 -0
  24. data/app/components/ariadne/blankslate_component.html.erb +26 -0
  25. data/app/components/ariadne/blankslate_component.rb +146 -0
  26. data/app/components/ariadne/body_component.rb +30 -0
  27. data/app/components/ariadne/button_component.html.erb +4 -0
  28. data/app/components/ariadne/button_component.rb +157 -0
  29. data/app/components/ariadne/clipboard-copy-component.ts +19 -0
  30. data/app/components/ariadne/clipboard_copy_component.html.erb +9 -0
  31. data/app/components/ariadne/clipboard_copy_component.rb +90 -0
  32. data/app/components/ariadne/comment-component.ts +55 -0
  33. data/app/components/ariadne/comment_component.html.erb +22 -0
  34. data/app/components/ariadne/comment_component.rb +57 -0
  35. data/app/components/ariadne/component.rb +128 -0
  36. data/app/components/ariadne/container_component.html.erb +3 -0
  37. data/app/components/ariadne/container_component.rb +25 -0
  38. data/app/components/ariadne/content.rb +12 -0
  39. data/app/components/ariadne/counter_component.rb +100 -0
  40. data/app/components/ariadne/flash_component.html.erb +31 -0
  41. data/app/components/ariadne/flash_component.rb +125 -0
  42. data/app/components/ariadne/flex_component.rb +49 -0
  43. data/app/components/ariadne/footer_component.html.erb +7 -0
  44. data/app/components/ariadne/footer_component.rb +23 -0
  45. data/app/components/ariadne/grid_component.html.erb +26 -0
  46. data/app/components/ariadne/grid_component.rb +66 -0
  47. data/app/components/ariadne/header_component.html.erb +29 -0
  48. data/app/components/ariadne/header_component.rb +114 -0
  49. data/app/components/ariadne/heading_component.rb +49 -0
  50. data/app/components/ariadne/heroicon_component.html.erb +4 -0
  51. data/app/components/ariadne/heroicon_component.rb +129 -0
  52. data/app/components/ariadne/image_component.rb +53 -0
  53. data/app/components/ariadne/inline_flex_component.html.erb +5 -0
  54. data/app/components/ariadne/inline_flex_component.rb +65 -0
  55. data/app/components/ariadne/link_component.rb +65 -0
  56. data/app/components/ariadne/list_component.html.erb +15 -0
  57. data/app/components/ariadne/list_component.rb +68 -0
  58. data/app/components/ariadne/main_component.rb +32 -0
  59. data/app/components/ariadne/narrow_container_component.html.erb +3 -0
  60. data/app/components/ariadne/narrow_container_component.rb +30 -0
  61. data/app/components/ariadne/panel_bar_component.html.erb +20 -0
  62. data/app/components/ariadne/panel_bar_component.rb +79 -0
  63. data/app/components/ariadne/pill_component.html.erb +3 -0
  64. data/app/components/ariadne/pill_component.rb +30 -0
  65. data/app/components/ariadne/rich-text-area-component.ts +32 -0
  66. data/app/components/ariadne/rich_text_area_component.html.erb +6 -0
  67. data/app/components/ariadne/rich_text_area_component.rb +35 -0
  68. data/app/components/ariadne/slideover-component.ts +26 -0
  69. data/app/components/ariadne/slideover_component.html.erb +11 -0
  70. data/app/components/ariadne/slideover_component.rb +81 -0
  71. data/app/components/ariadne/tab_bar_component.html.erb +3 -0
  72. data/app/components/ariadne/tab_bar_component.rb +45 -0
  73. data/app/components/ariadne/tab_component.html.erb +7 -0
  74. data/app/components/ariadne/tab_component.rb +43 -0
  75. data/app/components/ariadne/text.rb +25 -0
  76. data/app/components/ariadne/time-ago-component.ts +1 -0
  77. data/app/components/ariadne/time_ago_component.rb +56 -0
  78. data/app/components/ariadne/timeline_component.html.erb +19 -0
  79. data/app/components/ariadne/timeline_component.rb +34 -0
  80. data/app/components/ariadne/tooltip-component.ts +57 -0
  81. data/app/components/ariadne/tooltip_component.html.erb +4 -0
  82. data/app/components/ariadne/tooltip_component.rb +108 -0
  83. data/app/lib/ariadne/action_view_extensions/form_helper.rb +26 -0
  84. data/app/lib/ariadne/audited/dsl.rb +32 -0
  85. data/app/lib/ariadne/class_name_helper.rb +22 -0
  86. data/app/lib/ariadne/fetch_or_fallback_helper.rb +102 -0
  87. data/app/lib/ariadne/form_builder.rb +71 -0
  88. data/app/lib/ariadne/icon_helper.rb +47 -0
  89. data/app/lib/ariadne/join_style_arguments_helper.rb +14 -0
  90. data/app/lib/ariadne/logger_helper.rb +23 -0
  91. data/app/lib/ariadne/status/dsl.rb +41 -0
  92. data/app/lib/ariadne/tab_nav_helper.rb +35 -0
  93. data/app/lib/ariadne/tabbed_component_helper.rb +39 -0
  94. data/app/lib/ariadne/test_selector_helper.rb +20 -0
  95. data/app/lib/ariadne/underline_nav_helper.rb +44 -0
  96. data/app/lib/ariadne/view_helper.rb +22 -0
  97. data/exe/tailwindcss +21 -0
  98. data/exe/x64-mingw-ucrt/tailwindcss +0 -0
  99. data/lib/ariadne/view_components/commands.rb +90 -0
  100. data/lib/ariadne/view_components/constants.rb +53 -0
  101. data/lib/ariadne/view_components/engine.rb +75 -0
  102. data/lib/ariadne/view_components/linters.rb +3 -0
  103. data/lib/ariadne/view_components/statuses.rb +14 -0
  104. data/lib/ariadne/view_components/upstream.rb +20 -0
  105. data/lib/ariadne/view_components/version.rb +7 -0
  106. data/lib/ariadne/view_components.rb +61 -0
  107. data/lib/rubocop/config/default.yml +8 -0
  108. data/lib/rubocop/cop/ariadne/base_cop.rb +26 -0
  109. data/lib/rubocop/cop/ariadne/no_tag_memoize.rb +44 -0
  110. data/lib/rubocop/cop/ariadne.rb +3 -0
  111. data/lib/tasks/ariadne_view_components.rake +48 -0
  112. data/lib/tasks/build.rake +30 -0
  113. data/lib/tasks/coverage.rake +19 -0
  114. data/lib/tasks/custom_utilities.yml +310 -0
  115. data/lib/tasks/docs.rake +524 -0
  116. data/lib/tasks/helpers/ast_processor.rb +44 -0
  117. data/lib/tasks/helpers/ast_traverser.rb +77 -0
  118. data/lib/tasks/static.rake +15 -0
  119. data/lib/yard/docs_helper.rb +83 -0
  120. data/lib/yard/renders_many_handler.rb +19 -0
  121. data/lib/yard/renders_one_handler.rb +19 -0
  122. data/static/arguments.yml +619 -0
  123. data/static/assets/view-components.svg +18 -0
  124. data/static/audited_at.json +38 -0
  125. data/static/classes.yml +291 -0
  126. data/static/constants.json +426 -0
  127. data/static/statuses.json +38 -0
  128. data/static/tailwindcss.yml +727 -0
  129. data/tailwind.config.js +65 -0
  130. metadata +264 -0
@@ -0,0 +1,619 @@
1
+ ---
2
+ - component: BaseButton
3
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/base_button.rb
4
+ parameters:
5
+ - name: tag
6
+ type: Symbol
7
+ default: "`:button`"
8
+ description: One of `:a`, `:button`, or `:summary`.
9
+ - name: type
10
+ type: Symbol
11
+ default: "`:button`"
12
+ description: One of `:button`, `:reset`, or `:submit`.
13
+ - name: size
14
+ type: Symbol
15
+ default: "`:md`"
16
+ description: One of `:lg`, `:md`, `:sm`, `:xl`, or `:xs`.
17
+ - name: classes
18
+ type: String
19
+ default: '`""`'
20
+ description: "[Classes and attributes](/classes-attributes)"
21
+ - name: attributes
22
+ type: Hash
23
+ default: "`{}`"
24
+ description: "[Classes and attributes](/classes-attributes)"
25
+ - component: Blankslate
26
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/blankslate_component.rb
27
+ parameters:
28
+ - name: tag
29
+ type: Symbol, String
30
+ default: "`:div`"
31
+ description: The rendered tag name
32
+ - name: classes
33
+ type: String
34
+ default: '`""`'
35
+ description: "[Classes and attributes](/classes-attributes)"
36
+ - name: attributes
37
+ type: Hash
38
+ default: "`{}`"
39
+ description: "[Classes and attributes](/classes-attributes)"
40
+ - component: Body
41
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/body_component.rb
42
+ parameters:
43
+ - name: classes
44
+ type: String
45
+ default: '`""`'
46
+ description: "[Classes and attributes](/classes-attributes)"
47
+ - name: attributes
48
+ type: Hash
49
+ default: "`{}`"
50
+ description: "[Classes and attributes](/classes-attributes)"
51
+ - component: Button
52
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/button_component.rb
53
+ parameters:
54
+ - name: tag
55
+ type: Symbol
56
+ default: "`:button`"
57
+ description: One of `:a`, `:button`, or `:summary`.
58
+ - name: type
59
+ type: Symbol
60
+ default: "`:button`"
61
+ description: One of `:button`, `:reset`, or `:submit`.
62
+ - name: scheme
63
+ type: Symbol
64
+ default: "`:default`"
65
+ description: One of `:danger`, `:default`, `:info`, `:none`, `:success`, or `:warning`.
66
+ - name: size
67
+ type: Symbol
68
+ default: "`BaseButton::DEFAULT_SIZE`"
69
+ description: One of `:lg`, `:md`, `:sm`, `:xl`, or `:xs`.
70
+ - name: type
71
+ type: Symbol
72
+ default: "`:button`"
73
+ description: One of `:button`, `:reset`, or `:submit`.
74
+ - name: classes
75
+ type: String
76
+ default: '`""`'
77
+ description: "[Classes and attributes](/classes-attributes)"
78
+ - name: attributes
79
+ type: Hash
80
+ default: "`{}`"
81
+ description: "[Classes and attributes](/classes-attributes)"
82
+ - component: ClipboardCopy
83
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/clipboard_copy_component.rb
84
+ parameters:
85
+ - name: tag
86
+ type: Symbol, String
87
+ default: "`:clipboard-copy`"
88
+ description: The rendered tag name
89
+ - name: classes
90
+ type: String
91
+ default: '`""`'
92
+ description: "[Classes and attributes](/classes-attributes)"
93
+ - name: value
94
+ type: String
95
+ default: '`""`'
96
+ description: Text to copy into the users clipboard when they click the component.
97
+ - name: for_id
98
+ type: String
99
+ default: "`nil`"
100
+ description: If `value` is not provided, the element with this id will be copied.
101
+ - name: aria_label
102
+ type: String
103
+ default: '`""`'
104
+ description: Text for accessibility. Can also be passed in as part of `attributes`,
105
+ but it must be present.
106
+ - name: attributes
107
+ type: Hash
108
+ default: "`{}`"
109
+ description: "[Classes and attributes](/classes-attributes)"
110
+ - component: Comment
111
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/comment_component.rb
112
+ parameters:
113
+ - name: url
114
+ type: String
115
+ default: N/A
116
+ description: The URL to take action against.
117
+ - name: method
118
+ type: String
119
+ default: N/A
120
+ description: The method to use when submitting the form.
121
+ - name: sr_label
122
+ type: String
123
+ default: N/A
124
+ description: A label to introduce these tabs for screen readers.
125
+ - name: classes
126
+ type: String
127
+ default: '`""`'
128
+ description: "[Classes and attributes](/classes-attributes)"
129
+ - name: attributes
130
+ type: Hash
131
+ default: "`{}`"
132
+ description: "[Classes and attributes](/classes-attributes)"
133
+ - component: Container
134
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/container_component.rb
135
+ parameters:
136
+ - name: classes
137
+ type: String
138
+ default: '`""`'
139
+ description: "[Classes and attributes](/classes-attributes)"
140
+ - name: attributes
141
+ type: Hash
142
+ default: "`{}`"
143
+ description: "[Classes and attributes](/classes-attributes)"
144
+ - component: Counter
145
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/counter_component.rb
146
+ parameters:
147
+ - name: tag
148
+ type: Symbol, String
149
+ default: "`:span`"
150
+ description: The rendered tag name
151
+ - name: classes
152
+ type: String
153
+ default: '`""`'
154
+ description: "[Classes and attributes](/classes-attributes)"
155
+ - name: count
156
+ type: Integer, Float::INFINITY, nil
157
+ default: "`0`"
158
+ description: 'The number to be displayed (e.x. # of issues, pull requests)'
159
+ - name: limit
160
+ type: Integer, nil
161
+ default: "`9_000`"
162
+ description: Maximum value to display. Pass `nil` for no limit. (e.x. if `count`
163
+ == 6,000 and `limit` == 5000, counter will display "5,000+")
164
+ - name: hide_if_zero
165
+ type: Boolean
166
+ default: "`false`"
167
+ description: If true, a `hidden` attribute is added to the counter if `count`
168
+ is zero.
169
+ - name: text
170
+ type: String
171
+ default: '`""`'
172
+ description: Text to display instead of count.
173
+ - name: round
174
+ type: Boolean
175
+ default: "`false`"
176
+ description: Whether to apply rounding logic to value.
177
+ - name: attributes
178
+ type: Hash
179
+ default: "`{}`"
180
+ description: "[Classes and attributes](/classes-attributes)"
181
+ - component: Flash
182
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/flash_component.rb
183
+ parameters:
184
+ - name: tag
185
+ type: Symbol, String
186
+ default: "`:div`"
187
+ description: The rendered tag name.
188
+ - name: dismissible
189
+ type: Boolean
190
+ default: "`false`"
191
+ description: Whether the component can be dismissed with an X button.
192
+ - name: icon
193
+ type: Symbol, String
194
+ default: N/A
195
+ description: Name of [Heroicon](https://ariadne.style/heroicons/) to use.
196
+ - name: scheme
197
+ type: Symbol
198
+ default: "`:default`"
199
+ description: One of `:danger`, `:default`, `:info`, `:success`, or `:warning`.
200
+ - name: classes
201
+ type: String
202
+ default: '`""`'
203
+ description: "[Classes and attributes](/classes-attributes)"
204
+ - name: attributes
205
+ type: Hash
206
+ default: "`{}`"
207
+ description: "[Classes and attributes](/classes-attributes)"
208
+ - component: Flex
209
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/flex_component.rb
210
+ parameters:
211
+ - name: tag
212
+ type: Symbol, String
213
+ default: "`:div`"
214
+ description: The rendered tag name.
215
+ - name: type
216
+ type: Symbol
217
+ default: N/A
218
+ description: One of `:column`, `:column_reverse`, `:row`, or `:row_reverse`.
219
+ - name: classes
220
+ type: String
221
+ default: '`""`'
222
+ description: "[Classes and attributes](/classes-attributes)"
223
+ - name: attributes
224
+ type: Hash
225
+ default: "`{}`"
226
+ description: "[Classes and attributes](/classes-attributes)"
227
+ - component: Footer
228
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/footer_component.rb
229
+ parameters:
230
+ - name: classes
231
+ type: String
232
+ default: '`""`'
233
+ description: "[Classes and attributes](/classes-attributes)"
234
+ - name: attributes
235
+ type: Hash
236
+ default: "`{}`"
237
+ description: "[Classes and attributes](/classes-attributes)"
238
+ - component: Grid
239
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/grid_component.rb
240
+ parameters:
241
+ - name: classes
242
+ type: String
243
+ default: '`""`'
244
+ description: "[Classes and attributes](/classes-attributes)"
245
+ - name: attributes
246
+ type: Hash
247
+ default: "`{}`"
248
+ description: "[Classes and attributes](/classes-attributes)"
249
+ - component: Header
250
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/header_component.rb
251
+ parameters:
252
+ - name: classes
253
+ type: String
254
+ default: '`""`'
255
+ description: "[Classes and attributes](/classes-attributes)"
256
+ - name: attributes
257
+ type: Hash
258
+ default: "`{}`"
259
+ description: "[Classes and attributes](/classes-attributes)"
260
+ - component: Heading
261
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/heading_component.rb
262
+ parameters:
263
+ - name: tag
264
+ type: String
265
+ default: "`nil`"
266
+ description: One of `:h1`, `:h2`, `:h3`, `:h4`, `:h5`, or `:h6`.
267
+ - name: classes
268
+ type: String
269
+ default: '`""`'
270
+ description: "[Classes and attributes](/classes-attributes)"
271
+ - name: attributes
272
+ type: Hash
273
+ default: "`{}`"
274
+ description: "[Classes and attributes](/classes-attributes)"
275
+ - component: Heroicon
276
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/heroicon_component.rb
277
+ parameters:
278
+ - name: tag
279
+ type: Symbol, String
280
+ default: "`:svg`"
281
+ description: The rendered tag name
282
+ - name: classes
283
+ type: String
284
+ default: '`""`'
285
+ description: "[Classes and attributes](/classes-attributes)"
286
+ - name: icon
287
+ type: Symbol, String
288
+ default: N/A
289
+ description: Name of [Heroicon](https://ariadne.style/heroicons/) to use.
290
+ - name: variant
291
+ type: String
292
+ default: N/A
293
+ description: One of `outline`, `solid`, or `mini`.
294
+ - name: size
295
+ type: Symbol
296
+ default: "`:sm`"
297
+ description: One of `:sm` (`16`), `:md` (`24`), or `:lg` (`128`).
298
+ - name: attributes
299
+ type: Hash
300
+ default: "`{}`"
301
+ description: "[Classes and attributes](/classes-attributes)"
302
+ - name: text_classes
303
+ type: String
304
+ default: '`""`'
305
+ description: "[Classes and attributes](/classes-attributes)"
306
+ - name: text_attributes
307
+ type: Hash
308
+ default: "`{}`"
309
+ description: "[Classes and attributes](/classes-attributes)"
310
+ - component: Image
311
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/image_component.rb
312
+ parameters:
313
+ - name: tag
314
+ type: Symbol, String
315
+ default: "`:img`"
316
+ description: The rendered tag name
317
+ - name: src
318
+ type: String
319
+ default: N/A
320
+ description: The source url of the image.
321
+ - name: alt
322
+ type: String
323
+ default: N/A
324
+ description: Specifies an alternate text for the image.
325
+ - name: lazy
326
+ type: Boolean
327
+ default: "`false`"
328
+ description: Whether or not to lazily load the image.
329
+ - name: classes
330
+ type: String
331
+ default: '`""`'
332
+ description: "[Classes and attributes](/classes-attributes)"
333
+ - name: attributes
334
+ type: Hash
335
+ default: "`{}`"
336
+ description: "[Classes and attributes](/classes-attributes)"
337
+ - component: InlineFlex
338
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/inline_flex_component.rb
339
+ parameters:
340
+ - name: tag
341
+ type: Symbol, String
342
+ default: "`:span`"
343
+ description: The rendered tag name
344
+ - name: classes
345
+ type: String
346
+ default: '`""`'
347
+ description: "[Classes and attributes](/classes-attributes)"
348
+ - name: attributes
349
+ type: Hash
350
+ default: "`{}`"
351
+ description: "[Classes and attributes](/classes-attributes)"
352
+ - component: Link
353
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/link_component.rb
354
+ parameters:
355
+ - name: tag
356
+ type: String
357
+ default: "`:a`"
358
+ description: One of `:a` and `:span`.
359
+ - name: href
360
+ type: String
361
+ default: N/A
362
+ description: URL to be used for the link.
363
+ - name: actionable
364
+ type: Boolean
365
+ default: "`false`"
366
+ description: If true, adds additional classes to the link to make it more aware.
367
+ - name: classes
368
+ type: String
369
+ default: '`""`'
370
+ description: "[Classes and attributes](/classes-attributes)"
371
+ - name: attributes
372
+ type: Hash
373
+ default: "`{}`"
374
+ description: "[Classes and attributes](/classes-attributes)"
375
+ - component: List
376
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/list_component.rb
377
+ parameters:
378
+ - name: classes
379
+ type: String
380
+ default: '`""`'
381
+ description: "[Classes and attributes](/classes-attributes)"
382
+ - name: attributes
383
+ type: Hash
384
+ default: "`{}`"
385
+ description: "[Classes and attributes](/classes-attributes)"
386
+ - component: Main
387
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/main_component.rb
388
+ parameters:
389
+ - name: classes
390
+ type: String
391
+ default: '`""`'
392
+ description: "[Classes and attributes](/classes-attributes)"
393
+ - name: attributes
394
+ type: Hash
395
+ default: "`{}`"
396
+ description: "[Classes and attributes](/classes-attributes)"
397
+ - component: NarrowContainer
398
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/narrow_container_component.rb
399
+ parameters:
400
+ - name: classes
401
+ type: String
402
+ default: '`""`'
403
+ description: "[Classes and attributes](/classes-attributes)"
404
+ - name: attributes
405
+ type: Hash
406
+ default: "`{}`"
407
+ description: "[Classes and attributes](/classes-attributes)"
408
+ - component: PanelBar
409
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/panel_bar_component.rb
410
+ parameters:
411
+ - name: tag
412
+ type: Symbol, String
413
+ default: N/A
414
+ description: The rendered tag name.
415
+ - name: classes
416
+ type: String
417
+ default: '`""`'
418
+ description: "[Classes and attributes](/classes-attributes)"
419
+ - name: attributes
420
+ type: Hash
421
+ default: "`{}`"
422
+ description: "[Classes and attributes](/classes-attributes)"
423
+ - component: Pill
424
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/pill_component.rb
425
+ parameters:
426
+ - name: tag
427
+ type: Symbol, String
428
+ default: "`:span`"
429
+ description: The rendered tag name.
430
+ - name: color
431
+ type: String
432
+ default: N/A
433
+ description: The hex color of the pill.
434
+ - name: classes
435
+ type: String
436
+ default: '`""`'
437
+ description: "[Classes and attributes](/classes-attributes)"
438
+ - name: attributes
439
+ type: Hash
440
+ default: "`{}`"
441
+ description: "[Classes and attributes](/classes-attributes)"
442
+ - component: RichTextArea
443
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/rich_text_area_component.rb
444
+ parameters:
445
+ - name: name
446
+ type: Symbol
447
+ default: N/A
448
+ description: Identifies the form/param name for this rich text area.
449
+ - name: sr_label
450
+ type: String
451
+ default: N/A
452
+ description: A label to introduce these tabs for screen readers.
453
+ - name: has_form
454
+ type: Boolean
455
+ default: "`true`"
456
+ description: Indicates whether this component is wrapped in a form.
457
+ - name: classes
458
+ type: String
459
+ default: '`""`'
460
+ description: "[Classes and attributes](/classes-attributes)"
461
+ - name: attributes
462
+ type: Hash
463
+ default: "`{}`"
464
+ description: "[Classes and attributes](/classes-attributes)"
465
+ - component: Slideover
466
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/slideover_component.rb
467
+ parameters:
468
+ - name: tag
469
+ type: Symbol, String
470
+ default: "`:div`"
471
+ description: The rendered tag name.
472
+ - name: direction
473
+ type: Symbol
474
+ default: N/A
475
+ description: One of `:xl` and `:yd`.
476
+ - name: form_id
477
+ type: String
478
+ default: "`nil`"
479
+ description: The ID of any <form> tag to submit when the button is clicked.
480
+ - name: open_text
481
+ type: String
482
+ default: '`"Open"`'
483
+ description: The text to use to open the slideover.
484
+ - name: close_text
485
+ type: String
486
+ default: '`"Close"`'
487
+ description: The text to use to close the slideover.
488
+ - name: classes
489
+ type: String
490
+ default: '`""`'
491
+ description: "[Classes and attributes](/classes-attributes)"
492
+ - name: attributes
493
+ type: Hash
494
+ default: "`{}`"
495
+ description: "[Classes and attributes](/classes-attributes)"
496
+ - component: TabBar
497
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/tab_bar_component.rb
498
+ parameters:
499
+ - name: tag
500
+ type: Symbol, String
501
+ default: "`:nav`"
502
+ description: The rendered tag name.
503
+ - name: sr_label
504
+ type: String
505
+ default: N/A
506
+ description: A label to introduce these tabs for screen readers.
507
+ - name: classes
508
+ type: String
509
+ default: '`""`'
510
+ description: "[Classes and attributes](/classes-attributes)"
511
+ - name: attributes
512
+ type: Hash
513
+ default: "`{}`"
514
+ description: "[Classes and attributes](/classes-attributes)"
515
+ - component: Tab
516
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/tab_component.rb
517
+ parameters:
518
+ - name: tag
519
+ type: Symbol, String
520
+ default: "`:button`"
521
+ description: The rendered tag name.
522
+ - name: selected
523
+ type: Boolean
524
+ default: "`false`"
525
+ description: Whether the tab is selected or not.
526
+ - name: classes
527
+ type: String
528
+ default: '`""`'
529
+ description: "[Classes and attributes](/classes-attributes)"
530
+ - name: attributes
531
+ type: Hash
532
+ default: "`{}`"
533
+ description: "[Classes and attributes](/classes-attributes)"
534
+ - component: Text
535
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/text.rb
536
+ parameters:
537
+ - name: tag
538
+ type: Symbol, String
539
+ default: "`:span`"
540
+ description: The rendered tag name
541
+ - name: classes
542
+ type: String
543
+ default: '`""`'
544
+ description: "[Classes and attributes](/classes-attributes)"
545
+ - name: attributes
546
+ type: Hash
547
+ default: "`{}`"
548
+ description: "[Classes and attributes](/classes-attributes)"
549
+ - component: TimeAgo
550
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/time_ago_component.rb
551
+ parameters:
552
+ - name: tag
553
+ type: Symbol, String
554
+ default: "`:time-ago`"
555
+ description: The rendered tag name.
556
+ - name: time
557
+ type: Time
558
+ default: N/A
559
+ description: The time to be formatted
560
+ - name: micro
561
+ type: Boolean
562
+ default: "`false`"
563
+ description: If true then the text will be formatted in "micro" mode, using as
564
+ few characters as possible
565
+ - name: classes
566
+ type: String
567
+ default: '`""`'
568
+ description: "<%= link_to_classes_docs %>"
569
+ - name: attributes
570
+ type: Hash
571
+ default: "`{}`"
572
+ description: "[Classes and attributes](/classes-attributes)"
573
+ - component: Timeline
574
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/timeline_component.rb
575
+ parameters:
576
+ - name: tag
577
+ type: Symbol, String
578
+ default: "`:div`"
579
+ description: The rendered tag name
580
+ - name: classes
581
+ type: String
582
+ default: '`""`'
583
+ description: "[Classes and attributes](/classes-attributes)"
584
+ - name: attributes
585
+ type: Hash
586
+ default: "`{}`"
587
+ description: "[Classes and attributes](/classes-attributes)"
588
+ - component: Tooltip
589
+ source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/tooltip_component.rb
590
+ parameters:
591
+ - name: tag
592
+ type: Symbol, String
593
+ default: "`:tooltip`"
594
+ description: The rendered tag name
595
+ - name: for_id
596
+ type: String
597
+ default: N/A
598
+ description: The ID of the element that the tooltip should be attached to.
599
+ - name: text
600
+ type: String
601
+ default: N/A
602
+ description: The text content of the tooltip. This should be brief and no longer
603
+ than a sentence.
604
+ - name: type
605
+ type: Symbol
606
+ default: "`:description`"
607
+ description: One of `:description` and `:label`.
608
+ - name: direction
609
+ type: Symbol
610
+ default: "`:top`"
611
+ description: One of `:bottom`, `:left`, `:right`, or `:top`.
612
+ - name: classes
613
+ type: String
614
+ default: '`""`'
615
+ description: "[Classes and attributes](/classes-attributes)"
616
+ - name: attributes
617
+ type: Hash
618
+ default: "`{}`"
619
+ description: "[Classes and attributes](/classes-attributes)"
@@ -0,0 +1,18 @@
1
+ <svg width="400" height="220" viewBox="0 0 400 220" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect width="400" height="220" fill="#1B1F23"/>
3
+ <rect x="115" y="25" width="170" height="170" fill="#1B1F23" stroke="#79B8FF"/>
4
+ <circle cx="130.597" cy="117.49" r="3.66652" stroke="#C8E1FF"/>
5
+ <circle cx="255.666" cy="92.6387" r="7.33303" fill="#1B1F23" stroke="#C8E1FF"/>
6
+ <rect x="222.26" y="161.673" width="20.3695" height="16.2956" fill="#044289"/>
7
+ <rect x="205" y="162" width="12" height="16" fill="#044289"/>
8
+ <rect x="258.925" y="161.673" width="28.5173" height="16.2956" fill="#044289"/>
9
+ <rect x="106" y="66" width="49" height="17" fill="#005CC5"/>
10
+ <path d="M165.632 51.8996C220.5 29.5 263.42 80.2095 206 99C148.58 117.791 174.28 166.185 222.259 136.23C253 117.037 262.499 142.847 249.962 152.118" stroke="#C8E1FF"/>
11
+ <path d="M241.203 61.677L238.555 56.7883L241.203 51.8997L246.499 51.8997L249.147 56.7883L246.499 61.677H241.203Z" stroke="#2188FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
12
+ <path d="M157.892 170.45L151.374 170.45L154.633 164.747L157.892 170.45Z" stroke="#2188FF" stroke-width="2" stroke-linejoin="round"/>
13
+ <path d="M228.37 111.379C226.293 111.379 226.293 107.305 224.215 107.305C222.137 107.305 222.137 111.379 220.059 111.379C217.982 111.379 217.982 107.305 215.904 107.305C213.826 107.305 213.826 111.379 211.749 111.379C209.671 111.379 209.671 107.305 207.593 107.305" stroke="#2188FF" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
14
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M151.954 65H145.75C144.784 65 144 64.2165 144 63.25V51.75C144 50.7835 144.784 50 145.75 50H164.25C165.216 50 166 50.7835 166 51.75V63.25C166 64.2165 165.216 65 164.25 65H158.046C158.217 66.3751 158.851 67.6522 159.815 68.7568C160.008 68.9784 160.054 69.2926 159.933 69.5604C159.811 69.8281 159.544 70 159.25 70H150.75C150.456 70 150.189 69.8281 150.067 69.5604C149.945 69.2926 149.991 68.9784 150.185 68.7568C151.149 67.6522 151.783 66.3751 151.954 65ZM164.5 51.75V63.25C164.5 63.3881 164.388 63.5 164.25 63.5H145.75C145.612 63.5 145.5 63.3881 145.5 63.25V51.75C145.5 51.6119 145.612 51.5 145.75 51.5H164.25C164.388 51.5 164.5 51.6119 164.5 51.75ZM156.537 65C156.662 66.2662 157.101 67.445 157.76 68.5H152.24C152.899 67.445 153.337 66.2662 153.463 65H156.537Z" fill="#79B8FF"/>
15
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M248.544 149.734C247.683 148.873 246.228 149.132 245.718 150.238L245.105 151.565C244.953 151.895 244.744 152.196 244.486 152.453C244.083 152.856 243.576 153.14 243.021 153.272L240.567 153.856C239.235 154.173 238.767 155.828 239.735 156.796L241.939 159L238.22 162.72C237.927 163.013 237.927 163.487 238.22 163.78C238.513 164.073 238.987 164.073 239.28 163.78L243 160.061L245.204 162.265C246.172 163.233 247.827 162.765 248.144 161.433L248.728 158.979C248.86 158.424 249.144 157.917 249.547 157.514C249.804 157.256 250.105 157.047 250.435 156.895L251.762 156.282C252.868 155.772 253.127 154.317 252.266 153.456L248.544 149.734ZM247.08 150.866C247.153 150.709 247.361 150.671 247.484 150.794L251.206 154.516C251.329 154.639 251.291 154.847 251.134 154.92L249.806 155.533C249.315 155.759 248.869 156.071 248.486 156.453C247.887 157.052 247.466 157.806 247.269 158.631L246.685 161.085C246.64 161.276 246.403 161.343 246.265 161.204L240.796 155.735C240.657 155.597 240.724 155.36 240.915 155.315L243.369 154.731C244.194 154.534 244.948 154.113 245.547 153.514C245.929 153.131 246.241 152.685 246.467 152.194L247.08 150.866Z" fill="#79B8FF"/>
16
+ <path d="M186.5 106H175.5L170.5 111.5L181 123.5L191.5 112L186.5 106Z" fill="#1B1F23"/>
17
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M174.873 105.26C174.943 105.179 175.03 105.113 175.128 105.068C175.226 105.023 175.332 105 175.44 105H186.75C186.86 105 186.969 105.024 187.068 105.071C187.168 105.118 187.256 105.186 187.326 105.27L192.326 111.27C192.443 111.41 192.505 111.589 192.5 111.771C192.494 111.954 192.423 112.128 192.298 112.262L181.548 123.762C181.478 123.837 181.393 123.897 181.299 123.938C181.204 123.979 181.103 124 181 124C180.897 124 180.796 123.979 180.701 123.938C180.607 123.897 180.522 123.837 180.452 123.762L169.702 112.262C169.575 112.127 169.503 111.95 169.5 111.764C169.496 111.579 169.561 111.399 169.682 111.259L174.872 105.259L174.873 105.26ZM175.783 106.5L171.258 111.73L181 122.153L190.75 111.723L186.399 106.5H175.783Z" fill="#79B8FF"/>
18
+ </svg>
@@ -0,0 +1,38 @@
1
+ {
2
+ "Ariadne::BaseButton": "",
3
+ "Ariadne::BaseComponent": "",
4
+ "Ariadne::BlankslateComponent": "",
5
+ "Ariadne::BodyComponent": "",
6
+ "Ariadne::ButtonComponent": "",
7
+ "Ariadne::ClipboardCopyComponent": "",
8
+ "Ariadne::CommentComponent": "",
9
+ "Ariadne::ContainerComponent": "",
10
+ "Ariadne::Content": "",
11
+ "Ariadne::CounterComponent": "",
12
+ "Ariadne::FlashComponent": "",
13
+ "Ariadne::FlexComponent": "",
14
+ "Ariadne::FooterComponent": "",
15
+ "Ariadne::GridComponent": "",
16
+ "Ariadne::GridComponent::GridItem": "",
17
+ "Ariadne::HeaderComponent": "",
18
+ "Ariadne::HeadingComponent": "",
19
+ "Ariadne::HeroiconComponent": "",
20
+ "Ariadne::ImageComponent": "",
21
+ "Ariadne::InlineFlexComponent": "",
22
+ "Ariadne::LinkComponent": "",
23
+ "Ariadne::ListComponent": "",
24
+ "Ariadne::ListComponent::ListItem": "",
25
+ "Ariadne::MainComponent": "",
26
+ "Ariadne::NarrowContainerComponent": "",
27
+ "Ariadne::PanelBarComponent": "",
28
+ "Ariadne::PanelBarComponent::PanelItem": "",
29
+ "Ariadne::PillComponent": "",
30
+ "Ariadne::RichTextAreaComponent": "",
31
+ "Ariadne::SlideoverComponent": "",
32
+ "Ariadne::TabBarComponent": "",
33
+ "Ariadne::TabComponent": "",
34
+ "Ariadne::Text": "",
35
+ "Ariadne::TimeAgoComponent": "",
36
+ "Ariadne::TimelineComponent": "",
37
+ "Ariadne::TooltipComponent": ""
38
+ }