ariadne_view_components 0.0.21-x86_64-linux → 0.0.23-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +24 -6
- data/README.md +2 -2
- data/app/assets/javascripts/ariadne_view_components.js +1 -1
- data/app/assets/javascripts/ariadne_view_components.js.map +1 -1
- data/app/components/ariadne/comment_component.html.erb +2 -2
- data/app/components/ariadne/comment_component.rb +1 -3
- data/app/components/ariadne/image_component.rb +1 -1
- data/app/components/ariadne/pill_component.rb +1 -1
- data/app/components/ariadne/rich-text-area-component.ts +2 -1
- data/app/components/ariadne/rich_text_area_component.rb +1 -1
- data/app/components/ariadne/tab_container_component.erb +1 -1
- data/app/components/ariadne/tab_container_component.rb +1 -1
- data/lib/ariadne/view_components/version.rb +1 -1
- data/lib/tasks/docs.rake +10 -4
- data/lib/yard/docs_helper.rb +9 -2
- data/static/arguments.yml +34 -34
- data/static/classes.yml +2 -4
- data/static/constants.json +4 -4
- metadata +2 -3
- data/lib/tasks/custom_utilities.yml +0 -310
@@ -9,7 +9,7 @@
|
|
9
9
|
<%= render(Ariadne::RichTextAreaComponent.new(name: :public_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
|
10
10
|
<% comment_box.submit { @submit } %>
|
11
11
|
</div>
|
12
|
-
<div class="ariadne-
|
12
|
+
<div class="ariadne-py-2 ariadne-flex ariadne-justify-end">
|
13
13
|
<%= public_submit %>
|
14
14
|
</div>
|
15
15
|
<% end %>
|
@@ -24,7 +24,7 @@
|
|
24
24
|
<%= render(Ariadne::RichTextAreaComponent.new(name: :internal_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
|
25
25
|
<% comment_box.submit { @submit } %>
|
26
26
|
</div>
|
27
|
-
<div class="ariadne-
|
27
|
+
<div class="ariadne-py-2 ariadne-flex ariadne-justify-end">
|
28
28
|
<%= internal_submit %>
|
29
29
|
</div>
|
30
30
|
<% end %>
|
@@ -4,15 +4,13 @@ module Ariadne
|
|
4
4
|
# Defines a submittable form for adding comments to a conversation.
|
5
5
|
#
|
6
6
|
#
|
7
|
-
# Requires JavaScript. Set `data-comment-component-selected-class` to the class name that will be applied to the
|
8
|
-
# selected tab.
|
9
7
|
# @accessibility This component requires you to pass in a `sr_label`
|
10
8
|
# attribute, which will be used to label the tabs for screen readers.
|
11
9
|
class CommentComponent < Ariadne::Component
|
12
10
|
DEFAULT_TAG = :div
|
13
11
|
TAG_OPTIONS = [DEFAULT_TAG].freeze
|
14
12
|
|
15
|
-
DEFAULT_CLASSES = "ariadne-bg-white ariadne-border-gray-300 ariadne-border ariadne-shadow ariadne-
|
13
|
+
DEFAULT_CLASSES = "ariadne-bg-white ariadne-border-gray-300 ariadne-border ariadne-shadow ariadne-px-5 ariadne-rounded-md "
|
16
14
|
|
17
15
|
renders_one :public_tab, lambda { |selected: false, text:, classes: "", attributes: {}|
|
18
16
|
attributes[:"data-public"] = true
|
@@ -6,7 +6,7 @@ module Ariadne
|
|
6
6
|
DEFAULT_TAG = :span
|
7
7
|
TAG_OPTIONS = [DEFAULT_TAG].freeze
|
8
8
|
|
9
|
-
DEFAULT_CLASSES = "ariadne-flex-shrink-0 ariadne-inline-block ariadne-px-2 ariadne-py-
|
9
|
+
DEFAULT_CLASSES = "ariadne-flex-shrink-0 ariadne-inline-block ariadne-px-2 ariadne-py-1 ariadne-text-xs ariadne-font-medium ariadne-rounded-full ariadne-whitespace-nowrap"
|
10
10
|
|
11
11
|
# @example Default
|
12
12
|
#
|
@@ -24,7 +24,8 @@ export default class RichTextArea extends Controller {
|
|
24
24
|
element: editorElement,
|
25
25
|
editorProps: {
|
26
26
|
attributes: {
|
27
|
-
class:
|
27
|
+
class:
|
28
|
+
'ariadne-h-28 ariadne-max-h-48 ariadne-p-2 ariadne-rounded-lg ariadne-overflow-y-auto focus:ariadne-outline-none'
|
28
29
|
}
|
29
30
|
},
|
30
31
|
parseOptions: {
|
@@ -9,7 +9,7 @@ module Ariadne
|
|
9
9
|
|
10
10
|
DEFAULT_CLASSES = ""
|
11
11
|
|
12
|
-
DEFAULT_SELECTED_CLASSES = "ariadne-
|
12
|
+
DEFAULT_SELECTED_CLASSES = "ariadne-border-indigo-500 ariadne-text-indigo-600"
|
13
13
|
DEFAULT_UNSELECTED_CLASSES = "ariadne-text-gray-500 hover:ariadne-text-gray-700 hover:ariadne-border-gray-300"
|
14
14
|
|
15
15
|
# Tabs and panels to be rendered.
|
data/lib/tasks/docs.rake
CHANGED
@@ -85,9 +85,15 @@ namespace :docs do
|
|
85
85
|
Ariadne::TooltipComponent,
|
86
86
|
]
|
87
87
|
|
88
|
+
# TODO: Form is not in documentation
|
88
89
|
js_components = [
|
89
90
|
Ariadne::ClipboardCopyComponent,
|
91
|
+
Ariadne::RichTextAreaComponent,
|
92
|
+
Ariadne::SlideoverComponent,
|
93
|
+
Ariadne::TabContainerComponent,
|
94
|
+
Ariadne::TabNavComponent,
|
90
95
|
Ariadne::TimeAgoComponent,
|
96
|
+
Ariadne::TooltipComponent,
|
91
97
|
]
|
92
98
|
|
93
99
|
all_components = Ariadne::Component.descendants - [Ariadne::BaseComponent, Ariadne::Content] # TODO: why is `Ariadne::Content` not picked up?
|
@@ -403,17 +409,17 @@ def pretty_default_value(tag, component)
|
|
403
409
|
end
|
404
410
|
|
405
411
|
def docs_metadata(component)
|
406
|
-
(status_module,
|
412
|
+
(status_module, component_name) = status_module_and_component_name(component)
|
407
413
|
status_path = status_module.nil? ? "" : "/"
|
408
414
|
status = component.status.to_s
|
409
415
|
|
410
416
|
{
|
411
|
-
title:
|
412
|
-
component_id:
|
417
|
+
title: component_name,
|
418
|
+
component_id: component_name.underscore,
|
413
419
|
status: status.capitalize,
|
414
420
|
source: source_url(component),
|
415
421
|
lookbook: lookbook_url(component),
|
416
|
-
path: "docs/content/components/#{status_path}#{
|
422
|
+
path: "docs/content/components/#{status_path}#{component_name.underscore}.md",
|
417
423
|
example_path: example_path(component),
|
418
424
|
require_js_path: require_js_path(component),
|
419
425
|
}
|
data/lib/yard/docs_helper.rb
CHANGED
@@ -48,10 +48,10 @@ module YARD
|
|
48
48
|
end
|
49
49
|
|
50
50
|
def link_to_component(component)
|
51
|
-
(status_module,
|
51
|
+
(status_module, component_name) = status_module_and_component_name(component)
|
52
52
|
status_path = status_module.nil? ? "" : "/"
|
53
53
|
|
54
|
-
"[#{
|
54
|
+
"[#{component_name}](/components/#{status_path}#{component_name.underscore})"
|
55
55
|
end
|
56
56
|
|
57
57
|
def link_to_heroicons
|
@@ -69,6 +69,13 @@ module YARD
|
|
69
69
|
[m[:status]&.downcase, m[:name].gsub("::", "")]
|
70
70
|
end
|
71
71
|
|
72
|
+
def status_module_and_component_name(component)
|
73
|
+
name_with_status = component.name.gsub(/Ariadne::/, "")
|
74
|
+
|
75
|
+
m = name_with_status.match(/(?<status>Beta|Alpha|Deprecated)?(?<_colons>::)?(?<name>.*)/)
|
76
|
+
[m[:status]&.downcase, m[:name].gsub("::", "")]
|
77
|
+
end
|
78
|
+
|
72
79
|
def pretty_value(val)
|
73
80
|
case val
|
74
81
|
when nil
|
data/static/arguments.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
---
|
2
|
-
- component:
|
2
|
+
- component: AvatarComponent
|
3
3
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/avatar_component.rb
|
4
4
|
parameters:
|
5
5
|
- name: src
|
@@ -31,7 +31,7 @@
|
|
31
31
|
type: Hash
|
32
32
|
default: "`{}`"
|
33
33
|
description: "[Classes and attributes](/classes-attributes)"
|
34
|
-
- component:
|
34
|
+
- component: AvatarStackComponent
|
35
35
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/avatar_stack_component.rb
|
36
36
|
parameters:
|
37
37
|
- name: tag
|
@@ -73,7 +73,7 @@
|
|
73
73
|
type: Hash
|
74
74
|
default: "`{}`"
|
75
75
|
description: "[Classes and attributes](/classes-attributes)"
|
76
|
-
- component:
|
76
|
+
- component: BlankslateComponent
|
77
77
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/blankslate_component.rb
|
78
78
|
parameters:
|
79
79
|
- name: tag
|
@@ -88,7 +88,7 @@
|
|
88
88
|
type: Hash
|
89
89
|
default: "`{}`"
|
90
90
|
description: "[Classes and attributes](/classes-attributes)"
|
91
|
-
- component:
|
91
|
+
- component: BodyComponent
|
92
92
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/body_component.rb
|
93
93
|
parameters:
|
94
94
|
- name: classes
|
@@ -99,7 +99,7 @@
|
|
99
99
|
type: Hash
|
100
100
|
default: "`{}`"
|
101
101
|
description: "[Classes and attributes](/classes-attributes)"
|
102
|
-
- component:
|
102
|
+
- component: ButtonComponent
|
103
103
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/button_component.rb
|
104
104
|
parameters:
|
105
105
|
- name: tag
|
@@ -131,7 +131,7 @@
|
|
131
131
|
type: Hash
|
132
132
|
default: "`{}`"
|
133
133
|
description: "[Classes and attributes](/classes-attributes)"
|
134
|
-
- component:
|
134
|
+
- component: ClipboardCopyComponent
|
135
135
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/clipboard_copy_component.rb
|
136
136
|
parameters:
|
137
137
|
- name: tag
|
@@ -159,7 +159,7 @@
|
|
159
159
|
type: Hash
|
160
160
|
default: "`{}`"
|
161
161
|
description: "[Classes and attributes](/classes-attributes)"
|
162
|
-
- component:
|
162
|
+
- component: CommentComponent
|
163
163
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/comment_component.rb
|
164
164
|
parameters:
|
165
165
|
- name: url
|
@@ -182,7 +182,7 @@
|
|
182
182
|
type: Hash
|
183
183
|
default: "`{}`"
|
184
184
|
description: "[Classes and attributes](/classes-attributes)"
|
185
|
-
- component:
|
185
|
+
- component: ContainerComponent
|
186
186
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/container_component.rb
|
187
187
|
parameters:
|
188
188
|
- name: classes
|
@@ -193,7 +193,7 @@
|
|
193
193
|
type: Hash
|
194
194
|
default: "`{}`"
|
195
195
|
description: "[Classes and attributes](/classes-attributes)"
|
196
|
-
- component:
|
196
|
+
- component: CounterComponent
|
197
197
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/counter_component.rb
|
198
198
|
parameters:
|
199
199
|
- name: tag
|
@@ -230,7 +230,7 @@
|
|
230
230
|
type: Hash
|
231
231
|
default: "`{}`"
|
232
232
|
description: "[Classes and attributes](/classes-attributes)"
|
233
|
-
- component:
|
233
|
+
- component: DetailsComponent
|
234
234
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/details_component.rb
|
235
235
|
parameters:
|
236
236
|
- name: overlay
|
@@ -251,7 +251,7 @@
|
|
251
251
|
type: Hash
|
252
252
|
default: "`{}`"
|
253
253
|
description: "[Classes and attributes](/classes-attributes)"
|
254
|
-
- component:
|
254
|
+
- component: DropdownComponent
|
255
255
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/dropdown_component.rb
|
256
256
|
parameters:
|
257
257
|
- name: overlay
|
@@ -270,7 +270,7 @@
|
|
270
270
|
type: Hash
|
271
271
|
default: "`{}`"
|
272
272
|
description: "[Classes and attributes](/classes-attributes)"
|
273
|
-
- component:
|
273
|
+
- component: FlashComponent
|
274
274
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/flash_component.rb
|
275
275
|
parameters:
|
276
276
|
- name: tag
|
@@ -297,7 +297,7 @@
|
|
297
297
|
type: Hash
|
298
298
|
default: "`{}`"
|
299
299
|
description: "[Classes and attributes](/classes-attributes)"
|
300
|
-
- component:
|
300
|
+
- component: FlexComponent
|
301
301
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/flex_component.rb
|
302
302
|
parameters:
|
303
303
|
- name: tag
|
@@ -316,7 +316,7 @@
|
|
316
316
|
type: Hash
|
317
317
|
default: "`{}`"
|
318
318
|
description: "[Classes and attributes](/classes-attributes)"
|
319
|
-
- component:
|
319
|
+
- component: FooterComponent
|
320
320
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/footer_component.rb
|
321
321
|
parameters:
|
322
322
|
- name: classes
|
@@ -327,7 +327,7 @@
|
|
327
327
|
type: Hash
|
328
328
|
default: "`{}`"
|
329
329
|
description: "[Classes and attributes](/classes-attributes)"
|
330
|
-
- component:
|
330
|
+
- component: GridComponent
|
331
331
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/grid_component.rb
|
332
332
|
parameters:
|
333
333
|
- name: classes
|
@@ -338,7 +338,7 @@
|
|
338
338
|
type: Hash
|
339
339
|
default: "`{}`"
|
340
340
|
description: "[Classes and attributes](/classes-attributes)"
|
341
|
-
- component:
|
341
|
+
- component: HeaderComponent
|
342
342
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/header_component.rb
|
343
343
|
parameters:
|
344
344
|
- name: classes
|
@@ -349,7 +349,7 @@
|
|
349
349
|
type: Hash
|
350
350
|
default: "`{}`"
|
351
351
|
description: "[Classes and attributes](/classes-attributes)"
|
352
|
-
- component:
|
352
|
+
- component: HeadingComponent
|
353
353
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/heading_component.rb
|
354
354
|
parameters:
|
355
355
|
- name: tag
|
@@ -364,7 +364,7 @@
|
|
364
364
|
type: Hash
|
365
365
|
default: "`{}`"
|
366
366
|
description: "[Classes and attributes](/classes-attributes)"
|
367
|
-
- component:
|
367
|
+
- component: HeroiconComponent
|
368
368
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/heroicon_component.rb
|
369
369
|
parameters:
|
370
370
|
- name: tag
|
@@ -399,7 +399,7 @@
|
|
399
399
|
type: Hash
|
400
400
|
default: "`{}`"
|
401
401
|
description: "[Classes and attributes](/classes-attributes)"
|
402
|
-
- component:
|
402
|
+
- component: ImageComponent
|
403
403
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/image_component.rb
|
404
404
|
parameters:
|
405
405
|
- name: tag
|
@@ -426,7 +426,7 @@
|
|
426
426
|
type: Hash
|
427
427
|
default: "`{}`"
|
428
428
|
description: "[Classes and attributes](/classes-attributes)"
|
429
|
-
- component:
|
429
|
+
- component: InlineFlexComponent
|
430
430
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/inline_flex_component.rb
|
431
431
|
parameters:
|
432
432
|
- name: tag
|
@@ -441,7 +441,7 @@
|
|
441
441
|
type: Hash
|
442
442
|
default: "`{}`"
|
443
443
|
description: "[Classes and attributes](/classes-attributes)"
|
444
|
-
- component:
|
444
|
+
- component: LinkComponent
|
445
445
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/link_component.rb
|
446
446
|
parameters:
|
447
447
|
- name: tag
|
@@ -464,7 +464,7 @@
|
|
464
464
|
type: Hash
|
465
465
|
default: "`{}`"
|
466
466
|
description: "[Classes and attributes](/classes-attributes)"
|
467
|
-
- component:
|
467
|
+
- component: ListComponent
|
468
468
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/list_component.rb
|
469
469
|
parameters:
|
470
470
|
- name: classes
|
@@ -475,7 +475,7 @@
|
|
475
475
|
type: Hash
|
476
476
|
default: "`{}`"
|
477
477
|
description: "[Classes and attributes](/classes-attributes)"
|
478
|
-
- component:
|
478
|
+
- component: NarrowContainerComponent
|
479
479
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/narrow_container_component.rb
|
480
480
|
parameters:
|
481
481
|
- name: classes
|
@@ -486,7 +486,7 @@
|
|
486
486
|
type: Hash
|
487
487
|
default: "`{}`"
|
488
488
|
description: "[Classes and attributes](/classes-attributes)"
|
489
|
-
- component:
|
489
|
+
- component: PanelBarComponent
|
490
490
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/panel_bar_component.rb
|
491
491
|
parameters:
|
492
492
|
- name: tag
|
@@ -501,7 +501,7 @@
|
|
501
501
|
type: Hash
|
502
502
|
default: "`{}`"
|
503
503
|
description: "[Classes and attributes](/classes-attributes)"
|
504
|
-
- component:
|
504
|
+
- component: PillComponent
|
505
505
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/pill_component.rb
|
506
506
|
parameters:
|
507
507
|
- name: tag
|
@@ -520,7 +520,7 @@
|
|
520
520
|
type: Hash
|
521
521
|
default: "`{}`"
|
522
522
|
description: "[Classes and attributes](/classes-attributes)"
|
523
|
-
- component:
|
523
|
+
- component: RichTextAreaComponent
|
524
524
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/rich_text_area_component.rb
|
525
525
|
parameters:
|
526
526
|
- name: name
|
@@ -543,7 +543,7 @@
|
|
543
543
|
type: Hash
|
544
544
|
default: "`{}`"
|
545
545
|
description: "[Classes and attributes](/classes-attributes)"
|
546
|
-
- component:
|
546
|
+
- component: SlideoverComponent
|
547
547
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/slideover_component.rb
|
548
548
|
parameters:
|
549
549
|
- name: tag
|
@@ -570,7 +570,7 @@
|
|
570
570
|
type: Hash
|
571
571
|
default: "`{}`"
|
572
572
|
description: "[Classes and attributes](/classes-attributes)"
|
573
|
-
- component:
|
573
|
+
- component: TabComponent
|
574
574
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/tab_component.rb
|
575
575
|
parameters:
|
576
576
|
- name: id
|
@@ -597,7 +597,7 @@
|
|
597
597
|
type: Hash
|
598
598
|
default: "`{}`"
|
599
599
|
description: "[Classes and attributes](/classes-attributes)"
|
600
|
-
- component:
|
600
|
+
- component: TabContainerComponent
|
601
601
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/tab_container_component.rb
|
602
602
|
parameters:
|
603
603
|
- name: sr_label
|
@@ -613,7 +613,7 @@
|
|
613
613
|
type: Hash
|
614
614
|
default: "`{}`"
|
615
615
|
description: "[Classes and attributes](/classes-attributes)"
|
616
|
-
- component:
|
616
|
+
- component: TabNavComponent
|
617
617
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/tab_nav_component.rb
|
618
618
|
parameters:
|
619
619
|
- name: label
|
@@ -633,7 +633,7 @@
|
|
633
633
|
type: Hash
|
634
634
|
default: "`{}`"
|
635
635
|
description: "[Classes and attributes](/classes-attributes)"
|
636
|
-
- component:
|
636
|
+
- component: TableNavComponent
|
637
637
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/table_nav_component.rb
|
638
638
|
parameters:
|
639
639
|
- name: classes
|
@@ -659,7 +659,7 @@
|
|
659
659
|
type: Hash
|
660
660
|
default: "`{}`"
|
661
661
|
description: "[Classes and attributes](/classes-attributes)"
|
662
|
-
- component:
|
662
|
+
- component: TimeAgoComponent
|
663
663
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/time_ago_component.rb
|
664
664
|
parameters:
|
665
665
|
- name: tag
|
@@ -683,7 +683,7 @@
|
|
683
683
|
type: Hash
|
684
684
|
default: "`{}`"
|
685
685
|
description: "[Classes and attributes](/classes-attributes)"
|
686
|
-
- component:
|
686
|
+
- component: TimelineComponent
|
687
687
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/timeline_component.rb
|
688
688
|
parameters:
|
689
689
|
- name: tag
|
@@ -698,7 +698,7 @@
|
|
698
698
|
type: Hash
|
699
699
|
default: "`{}`"
|
700
700
|
description: "[Classes and attributes](/classes-attributes)"
|
701
|
-
- component:
|
701
|
+
- component: TooltipComponent
|
702
702
|
source: https://github.com/yettoapp/ariadne/ruby/view_components/tree/main/app/components/ariadne/tooltip_component.rb
|
703
703
|
parameters:
|
704
704
|
- name: tag
|
data/static/classes.yml
CHANGED
@@ -97,9 +97,7 @@
|
|
97
97
|
- ".ariadne-text-green-600"
|
98
98
|
- ".ariadne-border-gray-300"
|
99
99
|
- ".ariadne-shadow"
|
100
|
-
- ".ariadne-py-5"
|
101
100
|
- ".ariadne-px-5"
|
102
|
-
- ".ariadne-bg-neutral-50"
|
103
101
|
- ".ariadne-text-gray-500"
|
104
102
|
- ".hover:ariadne-text-gray-700"
|
105
103
|
- ".hover:ariadne-border-gray-300"
|
@@ -112,9 +110,9 @@
|
|
112
110
|
- ".ariadne-space-y-8"
|
113
111
|
- ".sm:ariadne-space-y-5"
|
114
112
|
- ".tiptap-editor"
|
115
|
-
- ".ariadne-mt-2"
|
116
113
|
- ".ariadne-justify-end"
|
117
114
|
- ".ariadne__details-reset"
|
115
|
+
- ".ariadne-mt-2"
|
118
116
|
- ".ariadne-w-56"
|
119
117
|
- ".ariadne-divide-y"
|
120
118
|
- ".ariadne-divide-gray-100"
|
@@ -141,6 +139,7 @@
|
|
141
139
|
- ".ariadne-pt-5"
|
142
140
|
- ".ariadne--mx-2"
|
143
141
|
- ".ariadne-flex-col"
|
142
|
+
- ".ariadne-py-5"
|
144
143
|
- ".ariadne-mt-6"
|
145
144
|
- ".ariadne-text-slate-500"
|
146
145
|
- ".sm:ariadne-mt-0"
|
@@ -162,7 +161,6 @@
|
|
162
161
|
- ".hover:ariadne-bg-button-hover-color"
|
163
162
|
- ".md:ariadne-flex"
|
164
163
|
- ".md:ariadne-divide-y-0"
|
165
|
-
- ".ariadne-py-0.5"
|
166
164
|
- ".ariadne-text-black"
|
167
165
|
- ".ariadne-hidden"
|
168
166
|
- ".ariadne-list-none"
|
data/static/constants.json
CHANGED
@@ -136,7 +136,7 @@
|
|
136
136
|
"DEFAULT_TAG": "clipboard-copy"
|
137
137
|
},
|
138
138
|
"Ariadne::CommentComponent": {
|
139
|
-
"DEFAULT_CLASSES": "ariadne-bg-white ariadne-border-gray-300 ariadne-border ariadne-shadow ariadne-
|
139
|
+
"DEFAULT_CLASSES": "ariadne-bg-white ariadne-border-gray-300 ariadne-border ariadne-shadow ariadne-px-5 ariadne-rounded-md ",
|
140
140
|
"DEFAULT_TAG": "div",
|
141
141
|
"TAG_OPTIONS": [
|
142
142
|
"div"
|
@@ -453,14 +453,14 @@
|
|
453
453
|
"DEFAULT_WRAPPER_CLASSES": "group ariadne-flex ariadne-items-center ariadne-w-full"
|
454
454
|
},
|
455
455
|
"Ariadne::PillComponent": {
|
456
|
-
"DEFAULT_CLASSES": "ariadne-flex-shrink-0 ariadne-inline-block ariadne-px-2 ariadne-py-
|
456
|
+
"DEFAULT_CLASSES": "ariadne-flex-shrink-0 ariadne-inline-block ariadne-px-2 ariadne-py-1 ariadne-text-xs ariadne-font-medium ariadne-rounded-full ariadne-whitespace-nowrap",
|
457
457
|
"DEFAULT_TAG": "span",
|
458
458
|
"TAG_OPTIONS": [
|
459
459
|
"span"
|
460
460
|
]
|
461
461
|
},
|
462
462
|
"Ariadne::RichTextAreaComponent": {
|
463
|
-
"DEFAULT_CLASSES": "
|
463
|
+
"DEFAULT_CLASSES": "",
|
464
464
|
"DEFAULT_TAG": "div"
|
465
465
|
},
|
466
466
|
"Ariadne::SlideoverComponent": {
|
@@ -487,7 +487,7 @@
|
|
487
487
|
},
|
488
488
|
"Ariadne::TabContainerComponent": {
|
489
489
|
"DEFAULT_CLASSES": "",
|
490
|
-
"DEFAULT_SELECTED_CLASSES": "ariadne-
|
490
|
+
"DEFAULT_SELECTED_CLASSES": "ariadne-border-indigo-500 ariadne-text-indigo-600",
|
491
491
|
"DEFAULT_TAG": "tab-container",
|
492
492
|
"DEFAULT_UNSELECTED_CLASSES": "ariadne-text-gray-500 hover:ariadne-text-gray-700 hover:ariadne-border-gray-300"
|
493
493
|
},
|
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.
|
4
|
+
version: 0.0.23
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Garen J. Torikian
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-10-
|
11
|
+
date: 2022-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tailwind_merge
|
@@ -232,7 +232,6 @@ files:
|
|
232
232
|
- lib/tasks/ariadne_view_components.rake
|
233
233
|
- lib/tasks/build.rake
|
234
234
|
- lib/tasks/coverage.rake
|
235
|
-
- lib/tasks/custom_utilities.yml
|
236
235
|
- lib/tasks/docs.rake
|
237
236
|
- lib/tasks/helpers/ast_processor.rb
|
238
237
|
- lib/tasks/helpers/ast_traverser.rb
|