ariadne_view_components 0.0.12-x86_64-darwin → 0.0.14-x86_64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/ariadne.d.ts +1 -0
- data/app/assets/javascripts/ariadne_view_components.js +2 -2
- data/app/assets/javascripts/ariadne_view_components.js.map +1 -1
- data/app/assets/javascripts/comment-component.d.ts +1 -2
- data/app/assets/javascripts/tab-container-component.d.ts +1 -0
- data/app/assets/javascripts/tab-nav-component.d.ts +9 -0
- data/app/assets/stylesheets/ariadne_view_components.css +1 -0
- data/app/assets/stylesheets/dropdown.css +46 -0
- data/app/assets/stylesheets/tooltip-component.css +8 -8
- data/app/components/ariadne/ariadne.ts +3 -2
- data/app/components/ariadne/avatar_component.rb +81 -0
- data/app/components/ariadne/avatar_stack_component.html.erb +12 -0
- data/app/components/ariadne/avatar_stack_component.rb +75 -0
- data/app/components/ariadne/base_button.rb +13 -4
- data/app/components/ariadne/blankslate_component.rb +4 -4
- data/app/components/ariadne/body_component.rb +1 -1
- data/app/components/ariadne/button_component.html.erb +1 -1
- data/app/components/ariadne/button_component.rb +11 -5
- data/app/components/ariadne/comment-component.ts +32 -50
- data/app/components/ariadne/comment_component.html.erb +31 -13
- data/app/components/ariadne/comment_component.rb +18 -6
- data/app/components/ariadne/component.rb +3 -5
- data/app/components/ariadne/container_component.rb +1 -1
- data/app/components/ariadne/counter_component.rb +1 -1
- data/app/components/ariadne/details_component.html.erb +4 -0
- data/app/components/ariadne/details_component.rb +80 -0
- data/app/components/ariadne/dropdown/menu_component.html.erb +20 -0
- data/app/components/ariadne/dropdown/menu_component.rb +101 -0
- data/app/components/ariadne/dropdown/menu_component.ts +1 -0
- data/app/components/ariadne/dropdown_component.html.erb +8 -0
- data/app/components/ariadne/dropdown_component.rb +172 -0
- data/app/components/ariadne/flash_component.rb +1 -1
- data/app/components/ariadne/flex_component.rb +2 -2
- data/app/components/ariadne/footer_component.html.erb +1 -1
- data/app/components/ariadne/footer_component.rb +1 -1
- data/app/components/ariadne/grid_component.html.erb +2 -2
- data/app/components/ariadne/grid_component.rb +10 -8
- data/app/components/ariadne/header_component.rb +3 -3
- data/app/components/ariadne/heroicon_component.html.erb +1 -1
- data/app/components/ariadne/heroicon_component.rb +7 -6
- data/app/components/ariadne/inline_flex_component.html.erb +1 -0
- data/app/components/ariadne/inline_flex_component.rb +8 -1
- data/app/components/ariadne/link_component.rb +2 -2
- data/app/components/ariadne/list_component.html.erb +2 -11
- data/app/components/ariadne/list_component.rb +11 -15
- data/app/components/ariadne/main_component.rb +2 -2
- data/app/components/ariadne/narrow_container_component.rb +1 -1
- data/app/components/ariadne/panel_bar_component.rb +2 -2
- data/app/components/ariadne/pill_component.rb +20 -6
- data/app/components/ariadne/rich-text-area-component.ts +4 -4
- data/app/components/ariadne/rich_text_area_component.html.erb +2 -2
- data/app/components/ariadne/rich_text_area_component.rb +2 -2
- data/app/components/ariadne/slideover_component.html.erb +1 -1
- data/app/components/ariadne/slideover_component.rb +2 -2
- data/app/components/ariadne/tab-container-component.ts +24 -0
- data/app/components/ariadne/tab-nav-component.ts +34 -0
- data/app/components/ariadne/tab_component.html.erb +2 -6
- data/app/components/ariadne/tab_component.rb +75 -19
- data/app/components/ariadne/tab_container_component.erb +12 -0
- data/app/components/ariadne/tab_container_component.rb +67 -0
- data/app/components/ariadne/tab_nav_component.html.erb +7 -0
- data/app/components/ariadne/tab_nav_component.rb +72 -0
- data/app/components/ariadne/table_nav_component.html.erb +52 -0
- data/app/components/ariadne/table_nav_component.rb +338 -0
- data/app/components/ariadne/time_ago_component.rb +1 -1
- data/app/components/ariadne/timeline_component.rb +1 -1
- data/app/components/ariadne/tooltip_component.html.erb +1 -1
- data/app/components/ariadne/tooltip_component.rb +4 -4
- data/app/lib/ariadne/action_view_extensions/form_helper.rb +21 -7
- data/app/lib/ariadne/fetch_or_fallback_helper.rb +11 -3
- data/app/lib/ariadne/form_builder.rb +2 -2
- data/app/lib/ariadne/icon_helper.rb +17 -13
- data/lib/ariadne/view_components/constants.rb +2 -2
- data/lib/ariadne/view_components/statuses.rb +2 -2
- data/lib/ariadne/view_components/version.rb +1 -1
- data/lib/rubocop/config/default.yml +1 -1
- data/lib/tasks/docs.rake +22 -97
- data/static/arguments.yml +151 -23
- data/static/audited_at.json +17 -1
- data/static/classes.yml +160 -268
- data/static/constants.json +208 -40
- data/static/statuses.json +17 -1
- data/tailwind.config.js +28 -19
- metadata +24 -10
- data/app/components/ariadne/tab_bar_component.html.erb +0 -3
- data/app/components/ariadne/tab_bar_component.rb +0 -45
- data/app/lib/ariadne/join_style_arguments_helper.rb +0 -14
- data/app/lib/ariadne/tab_nav_helper.rb +0 -35
- data/app/lib/ariadne/tabbed_component_helper.rb +0 -39
- data/app/lib/ariadne/test_selector_helper.rb +0 -20
- data/app/lib/ariadne/underline_nav_helper.rb +0 -44
data/lib/tasks/docs.rake
CHANGED
@@ -47,7 +47,8 @@ namespace :docs do
|
|
47
47
|
# Rails controller for rendering arbitrary ERB
|
48
48
|
view_context = ApplicationController.new.tap { |c| c.request = ActionDispatch::TestRequest.create }.view_context
|
49
49
|
components = [
|
50
|
-
Ariadne::
|
50
|
+
Ariadne::AvatarComponent,
|
51
|
+
Ariadne::AvatarStackComponent,
|
51
52
|
Ariadne::CommentComponent,
|
52
53
|
Ariadne::BodyComponent,
|
53
54
|
Ariadne::BlankslateComponent,
|
@@ -56,6 +57,8 @@ namespace :docs do
|
|
56
57
|
Ariadne::ContainerComponent,
|
57
58
|
Ariadne::ClipboardCopyComponent,
|
58
59
|
Ariadne::CounterComponent,
|
60
|
+
Ariadne::DetailsComponent,
|
61
|
+
Ariadne::DropdownComponent,
|
59
62
|
Ariadne::GridComponent,
|
60
63
|
Ariadne::FlashComponent,
|
61
64
|
Ariadne::FlexComponent,
|
@@ -71,9 +74,12 @@ namespace :docs do
|
|
71
74
|
Ariadne::NarrowContainerComponent,
|
72
75
|
Ariadne::PanelBarComponent,
|
73
76
|
Ariadne::PillComponent,
|
77
|
+
Ariadne::RichTextAreaComponent,
|
74
78
|
Ariadne::SlideoverComponent,
|
75
79
|
Ariadne::TabComponent,
|
76
|
-
Ariadne::
|
80
|
+
Ariadne::TabContainerComponent,
|
81
|
+
Ariadne::TableNavComponent,
|
82
|
+
Ariadne::TabNavComponent,
|
77
83
|
Ariadne::Text,
|
78
84
|
Ariadne::TimeAgoComponent,
|
79
85
|
Ariadne::TimelineComponent,
|
@@ -258,115 +264,34 @@ namespace :docs do
|
|
258
264
|
raise
|
259
265
|
end
|
260
266
|
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
additional_classes.concat([".#{prefix}#{color_class}"])
|
274
|
-
end
|
275
|
-
end
|
276
|
-
|
277
|
-
Dir.glob("./app/components/**/*.rb") do |rb_filename|
|
278
|
-
content = File.read(rb_filename)
|
279
|
-
matches = content.scan(CLASS_REGEX)
|
280
|
-
|
281
|
-
if matches.present?
|
282
|
-
result = matches.flatten.compact.map { |c| c.split(" ") }.flatten.select { |r| r =~ /\A[0-9a-z:\-]+\z/ }.uniq
|
283
|
-
additional_classes.concat(result.map { |r| ".#{r}" }) if result.present?
|
267
|
+
File.open("static/classes.yml", "w") do |f|
|
268
|
+
non_ariadne_classes = classes_found_in_examples.reject { |c| c =~ /(?:ariadne|tiptap)/ }.uniq
|
269
|
+
unless non_ariadne_classes.length.zero?
|
270
|
+
puts "==============================================="
|
271
|
+
puts "===================== ERRORS =================="
|
272
|
+
puts "===============================================\n\n"
|
273
|
+
puts "The following non-Ariadne classes were found: #{non_ariadne_classes.join(", ")}"
|
274
|
+
puts "\n\n==============================================="
|
275
|
+
puts "==============================================="
|
276
|
+
puts "==============================================="
|
277
|
+
|
278
|
+
raise
|
284
279
|
end
|
285
|
-
end
|
286
280
|
|
287
|
-
|
288
|
-
File.open("static/classes.yml", "w") do |f|
|
289
|
-
f.puts YAML.dump(final_list_of_classes)
|
281
|
+
f.puts YAML.dump(classes_found_in_examples.uniq)
|
290
282
|
end
|
291
283
|
|
292
284
|
File.open("static/arguments.yml", "w") do |f|
|
293
285
|
f.puts YAML.dump(args_for_components)
|
294
286
|
end
|
295
287
|
|
296
|
-
# Build system arguments docs from BaseComponent
|
297
|
-
documentation = registry.get(Ariadne::BaseComponent.name)
|
298
|
-
File.open("docs/content/system-arguments.md", "w") do |f|
|
299
|
-
f.puts("---")
|
300
|
-
f.puts("title: System arguments")
|
301
|
-
f.puts("---")
|
302
|
-
f.puts
|
303
|
-
f.puts("<!-- Warning: AUTO-GENERATED file, do not edit. Add code comments to your Ruby instead <3 -->")
|
304
|
-
f.puts
|
305
|
-
f.puts(documentation.base_docstring)
|
306
|
-
f.puts
|
307
|
-
|
308
|
-
initialize_method = documentation.meths.find(&:constructor?)
|
309
|
-
|
310
|
-
f.puts(view_context.render(inline: initialize_method.base_docstring))
|
311
|
-
end
|
312
|
-
|
313
|
-
# Copy over ADR docs and insert them into the nav
|
314
|
-
# puts "Copying ADRs..."
|
315
|
-
# Rake::Task["docs:build_adrs"].invoke
|
316
|
-
|
317
288
|
puts "Markdown compiled."
|
318
289
|
|
319
290
|
if components_needing_docs.any?
|
320
|
-
puts
|
321
|
-
puts "The following components needs docs. Care to contribute them? #{components_needing_docs.map(&:name).join(", ")}"
|
291
|
+
puts "\nThe following components need documentation. Can you add them? #{components_needing_docs.map(&:name).join(", ")}"
|
322
292
|
end
|
323
293
|
end
|
324
294
|
|
325
|
-
# task :build_adrs do
|
326
|
-
# adr_content_dir = File.join("docs", "content", "adr")
|
327
|
-
|
328
|
-
# FileUtils.rm_rf(File.join(adr_content_dir))
|
329
|
-
# FileUtils.mkdir(adr_content_dir)
|
330
|
-
|
331
|
-
# nav_entries = Dir[File.join("adr", "*.md")].sort.map do |orig_path|
|
332
|
-
# orig_file_name = File.basename(orig_path)
|
333
|
-
# url_name = orig_file_name.chomp(".md")
|
334
|
-
|
335
|
-
# file_contents = File.read(orig_path)
|
336
|
-
# file_contents = <<~CONTENTS.sub(/\n+\z/, "\n")
|
337
|
-
# <!-- Warning: AUTO-GENERATED file, do not edit. Make changes to the files in the adr/ directory instead. -->
|
338
|
-
# #{file_contents}
|
339
|
-
# CONTENTS
|
340
|
-
|
341
|
-
# title_match = /^# (.+)/.match(file_contents)
|
342
|
-
# title = title_match[1]
|
343
|
-
|
344
|
-
# # Don't include initial ADR for recording ADRs
|
345
|
-
# next nil if title == "Record architecture decisions"
|
346
|
-
|
347
|
-
# File.write(File.join(adr_content_dir, orig_file_name), file_contents)
|
348
|
-
# puts "Copied #{orig_path}"
|
349
|
-
|
350
|
-
# { "title" => title, "url" => "/adr/#{url_name}" }
|
351
|
-
# end
|
352
|
-
|
353
|
-
# nav_yaml_file = File.join("docs", "src", "@primer", "gatsby-theme-doctocat", "nav.yml")
|
354
|
-
# nav_yaml = YAML.load_file(nav_yaml_file)
|
355
|
-
# adr_entry = {
|
356
|
-
# "title" => "Architecture decisions",
|
357
|
-
# "children" => nav_entries.compact,
|
358
|
-
# }
|
359
|
-
|
360
|
-
# existing_index = nav_yaml.index { |entry| entry["title"] == "Architecture decisions" }
|
361
|
-
# if existing_index
|
362
|
-
# nav_yaml[existing_index] = adr_entry
|
363
|
-
# else
|
364
|
-
# nav_yaml << adr_entry
|
365
|
-
# end
|
366
|
-
|
367
|
-
# File.write(nav_yaml_file, YAML.dump(nav_yaml))
|
368
|
-
# end
|
369
|
-
|
370
295
|
desc "Generate previews from documentation examples"
|
371
296
|
task :preview do
|
372
297
|
registry = generate_yard_registry
|
data/static/arguments.yml
CHANGED
@@ -1,4 +1,55 @@
|
|
1
1
|
---
|
2
|
+
- component: Avatar
|
3
|
+
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/avatar_component.rb
|
4
|
+
parameters:
|
5
|
+
- name: src
|
6
|
+
type: String
|
7
|
+
default: N/A
|
8
|
+
description: The source url of the avatar image.
|
9
|
+
- name: alt
|
10
|
+
type: String
|
11
|
+
default: N/A
|
12
|
+
description: Passed through to alt on img tag.
|
13
|
+
- name: size
|
14
|
+
type: Integer
|
15
|
+
default: "`20`"
|
16
|
+
description: One of `16`, `20`, `24`, `32`, `40`, `48`, or `80`.
|
17
|
+
- name: shape
|
18
|
+
type: Symbol
|
19
|
+
default: "`:circle`"
|
20
|
+
description: Shape of the avatar. One of `:circle` and `:square`.
|
21
|
+
- name: href
|
22
|
+
type: String
|
23
|
+
default: "`nil`"
|
24
|
+
description: The URL to link to. If used, component will be wrapped by an `<a>`
|
25
|
+
tag.
|
26
|
+
- name: classes
|
27
|
+
type: String
|
28
|
+
default: '`""`'
|
29
|
+
description: "[Classes and attributes](/classes-attributes)"
|
30
|
+
- name: attributes
|
31
|
+
type: Hash
|
32
|
+
default: "`{}`"
|
33
|
+
description: "[Classes and attributes](/classes-attributes)"
|
34
|
+
- component: AvatarStack
|
35
|
+
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/avatar_stack_component.rb
|
36
|
+
parameters:
|
37
|
+
- name: tag
|
38
|
+
type: Symbol
|
39
|
+
default: "`:div`"
|
40
|
+
description: One of `:div` and `:span`.
|
41
|
+
- name: align
|
42
|
+
type: Symbol
|
43
|
+
default: "`:left`"
|
44
|
+
description: One of `:left` and `:right`.
|
45
|
+
- name: classes
|
46
|
+
type: String
|
47
|
+
default: '`""`'
|
48
|
+
description: "[Classes and attributes](/classes-attributes)"
|
49
|
+
- name: attributes
|
50
|
+
type: Hash
|
51
|
+
default: "`{}`"
|
52
|
+
description: "[Classes and attributes](/classes-attributes)"
|
2
53
|
- component: BaseButton
|
3
54
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/base_button.rb
|
4
55
|
parameters:
|
@@ -62,15 +113,16 @@
|
|
62
113
|
- name: scheme
|
63
114
|
type: Symbol
|
64
115
|
default: "`:default`"
|
65
|
-
description: One of `:danger`, `:default`, `:info`, `:none`, `:success`,
|
116
|
+
description: One of `:danger`, `:default`, `:info`, `:link`, `:none`, `:success`,
|
117
|
+
or `:warning`.
|
66
118
|
- name: size
|
67
119
|
type: Symbol
|
68
120
|
default: "`BaseButton::DEFAULT_SIZE`"
|
69
121
|
description: One of `:lg`, `:md`, `:sm`, `:xl`, or `:xs`.
|
70
|
-
- name:
|
71
|
-
type:
|
72
|
-
default: "
|
73
|
-
description:
|
122
|
+
- name: dropdown
|
123
|
+
type: Boolean
|
124
|
+
default: "`false`"
|
125
|
+
description: Whether or not to render a dropdown caret.
|
74
126
|
- name: classes
|
75
127
|
type: String
|
76
128
|
default: '`""`'
|
@@ -178,6 +230,46 @@
|
|
178
230
|
type: Hash
|
179
231
|
default: "`{}`"
|
180
232
|
description: "[Classes and attributes](/classes-attributes)"
|
233
|
+
- component: Details
|
234
|
+
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/details_component.rb
|
235
|
+
parameters:
|
236
|
+
- name: overlay
|
237
|
+
type: Symbol
|
238
|
+
default: "`:none`"
|
239
|
+
description: Dictates the type of overlay to render with. One of `:default` and
|
240
|
+
`:none`.
|
241
|
+
- name: reset
|
242
|
+
type: Boolean
|
243
|
+
default: "`false`"
|
244
|
+
description: If set to true, it will remove the default caret and remove style
|
245
|
+
from the summary element
|
246
|
+
- name: classes
|
247
|
+
type: String
|
248
|
+
default: '`""`'
|
249
|
+
description: "[Classes and attributes](/classes-attributes)"
|
250
|
+
- name: attributes
|
251
|
+
type: Hash
|
252
|
+
default: "`{}`"
|
253
|
+
description: "[Classes and attributes](/classes-attributes)"
|
254
|
+
- component: Dropdown
|
255
|
+
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/dropdown_component.rb
|
256
|
+
parameters:
|
257
|
+
- name: overlay
|
258
|
+
type: Symbol
|
259
|
+
default: "`:default`"
|
260
|
+
description: One of `:default` and `:none`.
|
261
|
+
- name: with_caret
|
262
|
+
type: Boolean
|
263
|
+
default: "`false`"
|
264
|
+
description: Whether or not a caret should be rendered in the button.
|
265
|
+
- name: classes
|
266
|
+
type: String
|
267
|
+
default: '`""`'
|
268
|
+
description: "[Classes and attributes](/classes-attributes)"
|
269
|
+
- name: attributes
|
270
|
+
type: Hash
|
271
|
+
default: "`{}`"
|
272
|
+
description: "[Classes and attributes](/classes-attributes)"
|
181
273
|
- component: Flash
|
182
274
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/flash_component.rb
|
183
275
|
parameters:
|
@@ -293,8 +385,8 @@
|
|
293
385
|
description: One of `outline`, `solid`, or `mini`.
|
294
386
|
- name: size
|
295
387
|
type: Symbol
|
296
|
-
default: "`:
|
297
|
-
description: One of `:
|
388
|
+
default: "`:md`"
|
389
|
+
description: One of `:mu` (`16`), `:sm` (`20`), `:md` (`24`), or `:lg` (`128`).
|
298
390
|
- name: attributes
|
299
391
|
type: Hash
|
300
392
|
default: "`{}`"
|
@@ -430,7 +522,7 @@
|
|
430
522
|
- name: color
|
431
523
|
type: String
|
432
524
|
default: N/A
|
433
|
-
description: The
|
525
|
+
description: The rgba color of the pill.
|
434
526
|
- name: classes
|
435
527
|
type: String
|
436
528
|
default: '`""`'
|
@@ -476,7 +568,7 @@
|
|
476
568
|
- name: form_id
|
477
569
|
type: String
|
478
570
|
default: "`nil`"
|
479
|
-
description: The ID of any
|
571
|
+
description: The ID of any `form` tag to submit when the button is clicked.
|
480
572
|
- name: open_text
|
481
573
|
type: String
|
482
574
|
default: '`"Open"`'
|
@@ -493,17 +585,41 @@
|
|
493
585
|
type: Hash
|
494
586
|
default: "`{}`"
|
495
587
|
description: "[Classes and attributes](/classes-attributes)"
|
496
|
-
- component:
|
497
|
-
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/
|
588
|
+
- component: Tab
|
589
|
+
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/tab_component.rb
|
590
|
+
parameters:
|
591
|
+
- name: id
|
592
|
+
type: String
|
593
|
+
default: "`nil`"
|
594
|
+
description: The unique ID of the tab.
|
595
|
+
- name: selected
|
596
|
+
type: Boolean
|
597
|
+
default: "`false`"
|
598
|
+
description: Whether the tab is selected or not.
|
599
|
+
- name: with_panel
|
600
|
+
type: Boolean
|
601
|
+
default: "`false`"
|
602
|
+
description: Whether the Tab has an associated panel.
|
603
|
+
- name: href
|
604
|
+
type: String
|
605
|
+
default: "`nil`"
|
606
|
+
description: The link to navigate to when the tab is clicked.
|
607
|
+
- name: classes
|
608
|
+
type: String
|
609
|
+
default: '`""`'
|
610
|
+
description: "[Classes and attributes](/classes-attributes)"
|
611
|
+
- name: attributes
|
612
|
+
type: Hash
|
613
|
+
default: "`{}`"
|
614
|
+
description: "[Classes and attributes](/classes-attributes)"
|
615
|
+
- component: TabContainer
|
616
|
+
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/tab_container_component.rb
|
498
617
|
parameters:
|
499
|
-
- name: tag
|
500
|
-
type: Symbol, String
|
501
|
-
default: "`:nav`"
|
502
|
-
description: The rendered tag name.
|
503
618
|
- name: sr_label
|
504
619
|
type: String
|
505
620
|
default: N/A
|
506
|
-
description:
|
621
|
+
description: Sets an `aria-label` that helps assistive technology users understand
|
622
|
+
the purpose of the tabs.
|
507
623
|
- name: classes
|
508
624
|
type: String
|
509
625
|
default: '`""`'
|
@@ -512,17 +628,29 @@
|
|
512
628
|
type: Hash
|
513
629
|
default: "`{}`"
|
514
630
|
description: "[Classes and attributes](/classes-attributes)"
|
515
|
-
- component:
|
516
|
-
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/
|
631
|
+
- component: TabNav
|
632
|
+
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/tab_nav_component.rb
|
517
633
|
parameters:
|
634
|
+
- name: label
|
635
|
+
type: String
|
636
|
+
default: N/A
|
637
|
+
description: Sets an `aria-label` that helps assistive technology users understand
|
638
|
+
the purpose of the links, and distinguish it from similar elements.
|
518
639
|
- name: tag
|
519
640
|
type: Symbol, String
|
520
|
-
default: "`:
|
641
|
+
default: "`:nav`"
|
521
642
|
description: The rendered tag name.
|
522
|
-
- name:
|
523
|
-
type:
|
524
|
-
default: "`
|
525
|
-
description:
|
643
|
+
- name: classes
|
644
|
+
type: String
|
645
|
+
default: '`""`'
|
646
|
+
description: "[Classes and attributes](/classes-attributes)"
|
647
|
+
- name: attributes
|
648
|
+
type: Hash
|
649
|
+
default: "`{}`"
|
650
|
+
description: "[Classes and attributes](/classes-attributes)"
|
651
|
+
- component: TableNav
|
652
|
+
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/table_nav_component.rb
|
653
|
+
parameters:
|
526
654
|
- name: classes
|
527
655
|
type: String
|
528
656
|
default: '`""`'
|
data/static/audited_at.json
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
{
|
2
|
+
"Ariadne::AvatarComponent": "",
|
3
|
+
"Ariadne::AvatarStackComponent": "",
|
2
4
|
"Ariadne::BaseButton": "",
|
3
5
|
"Ariadne::BaseComponent": "",
|
4
6
|
"Ariadne::BlankslateComponent": "",
|
@@ -9,6 +11,10 @@
|
|
9
11
|
"Ariadne::ContainerComponent": "",
|
10
12
|
"Ariadne::Content": "",
|
11
13
|
"Ariadne::CounterComponent": "",
|
14
|
+
"Ariadne::DetailsComponent": "",
|
15
|
+
"Ariadne::Dropdown::MenuComponent": "",
|
16
|
+
"Ariadne::Dropdown::MenuComponent::Item": "",
|
17
|
+
"Ariadne::DropdownComponent": "",
|
12
18
|
"Ariadne::FlashComponent": "",
|
13
19
|
"Ariadne::FlexComponent": "",
|
14
20
|
"Ariadne::FooterComponent": "",
|
@@ -29,8 +35,18 @@
|
|
29
35
|
"Ariadne::PillComponent": "",
|
30
36
|
"Ariadne::RichTextAreaComponent": "",
|
31
37
|
"Ariadne::SlideoverComponent": "",
|
32
|
-
"Ariadne::TabBarComponent": "",
|
33
38
|
"Ariadne::TabComponent": "",
|
39
|
+
"Ariadne::TabContainerComponent": "",
|
40
|
+
"Ariadne::TabNavComponent": "",
|
41
|
+
"Ariadne::TableNavComponent": "",
|
42
|
+
"Ariadne::TableNavComponent::BaseCellItem": "",
|
43
|
+
"Ariadne::TableNavComponent::BaseCellItem::CellItem": "",
|
44
|
+
"Ariadne::TableNavComponent::BaseCellItem::HeaderCellItem": "",
|
45
|
+
"Ariadne::TableNavComponent::BaseRowItem": "",
|
46
|
+
"Ariadne::TableNavComponent::BaseRowItem::HeaderRowItem": "",
|
47
|
+
"Ariadne::TableNavComponent::BaseRowItem::RowItem": "",
|
48
|
+
"Ariadne::TableNavComponent::FooterItem": "",
|
49
|
+
"Ariadne::TableNavComponent::PaginationBarItem": "",
|
34
50
|
"Ariadne::Text": "",
|
35
51
|
"Ariadne::TimeAgoComponent": "",
|
36
52
|
"Ariadne::TimelineComponent": "",
|