ariadne_view_components 0.0.22-x64-mingw-ucrt → 0.0.24-x64-mingw-ucrt

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4bce7dbbe538a040a5495fc87ba66f0c97ea7a79127454f8a4a30af1d7e1b31
4
- data.tar.gz: f72904b0d6e32ce20d5f551aa0087e861e57a0acad7e82fde1f93171b7906447
3
+ metadata.gz: 0ecc4f91ed20a76946d74808fb8d5bbe55f2a7970bc0fa5ebab2a47269fae84f
4
+ data.tar.gz: '08671a58d9de584b9a9400a0b6c40bfe6b6c1ab4dd822010f031e77310eac064'
5
5
  SHA512:
6
- metadata.gz: 5a1abf4fce8754d359be080af7a042097d206b547cb3ed15f26c9c81a7d7ed7d4100cc6a2c984c7b26e862a36f7679320123987ee63d227aa68ff1f1298454e4
7
- data.tar.gz: 0b78952c0f7ae5f76375b69c067cc84977d77b5369000994febd2e1086ed259c6a15eaf572e857bb52eeeabb3a9643037d796dbdac7767f7b868b08e1a3e9bc1
6
+ metadata.gz: 4cc3719827630548b052229f1f8d25dd9190de58ea72800a537525d8ad5e5ea13069cd1554adefe6cadda3e848888a44920a8dc500f97b58587ee5384284b26f
7
+ data.tar.gz: 18f2857325b3eab7e4c419a88a954bf8bcf670f3363f4865a7fc25a48e89fe7f4d0ab8bd220a156c2345e548d1f7547e28f7493cf03a2d42d620eb4ac6992291
data/CHANGELOG.md CHANGED
@@ -1,8 +1,26 @@
1
1
  # Changelog
2
2
 
3
- ## [Unreleased](https://github.com/yettoapp/ariadne/tree/HEAD)
3
+ ## [0.0.23](https://github.com/yettoapp/ariadne/tree/0.0.23) (2022-10-17)
4
4
 
5
- [Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.20...HEAD)
5
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.22...0.0.23)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - How docs got their groove back [\#24](https://github.com/yettoapp/ariadne/pull/24) ([gjtorikian](https://github.com/gjtorikian))
10
+ - quality of life updates [\#23](https://github.com/yettoapp/ariadne/pull/23) ([birdcar](https://github.com/birdcar))
11
+
12
+ ## [0.0.22](https://github.com/yettoapp/ariadne/tree/0.0.22) (2022-10-13)
13
+
14
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.21...0.0.22)
15
+
16
+ **Merged pull requests:**
17
+
18
+ - pill component updates [\#22](https://github.com/yettoapp/ariadne/pull/22) ([birdcar](https://github.com/birdcar))
19
+ - Restyle the comment component [\#21](https://github.com/yettoapp/ariadne/pull/21) ([birdcar](https://github.com/birdcar))
20
+
21
+ ## [0.0.21](https://github.com/yettoapp/ariadne/tree/0.0.21) (2022-10-12)
22
+
23
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.20...0.0.21)
6
24
 
7
25
  **Merged pull requests:**
8
26
 
@@ -23,15 +41,15 @@
23
41
 
24
42
  ## [0.0.18](https://github.com/yettoapp/ariadne/tree/0.0.18) (2022-10-07)
25
43
 
26
- [Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.17...0.0.18)
44
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.17...0.0.18)
27
45
 
28
- ## [v0.0.17](https://github.com/yettoapp/ariadne/tree/v0.0.17) (2022-10-05)
46
+ ## [0.0.17](https://github.com/yettoapp/ariadne/tree/0.0.17) (2022-10-05)
29
47
 
30
- [Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.17...v0.0.17)
48
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.17...0.0.17)
31
49
 
32
- ## [0.0.17](https://github.com/yettoapp/ariadne/tree/0.0.17) (2022-10-05)
50
+ ## [v0.0.17](https://github.com/yettoapp/ariadne/tree/v0.0.17) (2022-10-05)
33
51
 
34
- [Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.16...0.0.17)
52
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.16...v0.0.17)
35
53
 
36
54
  ## [0.0.16](https://github.com/yettoapp/ariadne/tree/0.0.16) (2022-10-04)
37
55
 
data/README.md CHANGED
@@ -63,9 +63,9 @@ See [the documentation on testing](./docs/content/testing.md).
63
63
 
64
64
  ### Generating Documentation and Lookbook
65
65
 
66
- Run `script/docs` to get a build of the documentation running at `localhost:5400`. The documentation comes from the YARD comments, and all of the markdowns files in `./docs`. You can define the TOC navigation in `docs/src/@primer/gatsby-theme-doctocat/nav.yml`.
66
+ Run `script/docs_doctocat_lookbook` to get a build of the documentation running at `localhost:5300`. The documentation comes from the YARD comments, and all of the markdowns files in `./docs`. The TOC navigation is defined in `docs/src/@primer/gatsby-theme-doctocat/nav.yml`, and new entries are created automatically for you after you run `script/generate_component`.
67
67
 
68
- You can generate and view a [Lookbook](https://github.com/allmarkedup/lookbook) site via the `script/lookbook` command.
68
+ A [Lookbook](https://github.com/allmarkedup/lookbook) site is also running on `localhost:4000`. You can also choose to run Lobook separately via the `script/lookbook` command.
69
69
 
70
70
  For more information on writing documentation and presenting the components via Loobook, [here's more information](./docs/content/documentation.md)
71
71
 
@@ -4,8 +4,6 @@ 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
@@ -5,7 +5,7 @@
5
5
  <% if has_logo? %>
6
6
  <%= render Ariadne::LinkComponent.new(href: @href, classes: "ariadne-text-billy-purple") do %>
7
7
  <% if has_image_logo? %>
8
- <span class="ariadne-sr-only"><%= content %></span>
8
+ <span class="ariadne-sr-only"><%= @text %></span>
9
9
  <% end %>
10
10
  <%= logo %>
11
11
  <% end %>
@@ -16,18 +16,19 @@ module Ariadne
16
16
  # @param href [String] Where the logo should link to.
17
17
  # @param src [String] The URL of the image logo.
18
18
  # @param alt [String] Alt text for accessibility.
19
- # @param as_text [Boolean] The text to display
19
+ # @param text [Boolean] The text to display
20
20
  # @param classes [String] <%= link_to_classes_docs %>
21
21
  # @param attributes [Hash] <%= link_to_attributes_docs %>
22
- renders_one :logo, lambda { |href: nil, src: nil, alt: nil, as_text: false, classes: "", attributes: {}|
22
+ renders_one :logo, lambda { |href: nil, src: nil, alt: nil, text: "", classes: "", attributes: {}|
23
23
  @href = href
24
- if as_text.present?
24
+ if src.blank?
25
25
  actual_classes = class_names(DEFAULT_TEXT_LOGO_CLASSES, classes)
26
- @text_logo = Ariadne::Text.new(tag: :span, classes: actual_classes, attributes: attributes)
26
+ Ariadne::Text.new(tag: :span, classes: actual_classes, attributes: attributes)
27
27
  else
28
28
  actual_classes = class_names(DEFAULT_IMAGE_LOGO_CLASSES, classes)
29
29
  actual_attributes = { width: 40, height: 40 }.merge(attributes)
30
- @image_logo = Ariadne::ImageComponent.new(src: src, alt: alt, classes: actual_classes, attributes: actual_attributes)
30
+ @text = text
31
+ Ariadne::ImageComponent.new(src: src, alt: alt, classes: actual_classes, attributes: actual_attributes)
31
32
  end
32
33
  }
33
34
 
@@ -38,7 +38,7 @@ module Ariadne
38
38
  @classes = classes
39
39
 
40
40
  @attributes[:alt] = alt
41
- @attributes[:src] = image_path(@src)
41
+ @attributes[:src] = @src
42
42
 
43
43
  return unless lazy
44
44
 
@@ -24,7 +24,8 @@ export default class RichTextArea extends Controller {
24
24
  element: editorElement,
25
25
  editorProps: {
26
26
  attributes: {
27
- class: 'ariadne-h-28 ariadne-max-h-48 ariadne-p-2 ariadne-rounded-lg ariadne-overflow-y-auto focus:ariadne-outline-none'
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: {
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ariadne
4
4
  module ViewComponents
5
- VERSION = "0.0.22"
5
+ VERSION = "0.0.24"
6
6
  end
7
7
  end
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, short_name) = status_module_and_short_name(component)
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: short_name,
412
- component_id: short_name.underscore,
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}#{short_name.downcase}.md",
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
  }
@@ -48,10 +48,10 @@ module YARD
48
48
  end
49
49
 
50
50
  def link_to_component(component)
51
- (status_module, short_name) = status_module_and_short_name(component)
51
+ (status_module, component_name) = status_module_and_component_name(component)
52
52
  status_path = status_module.nil? ? "" : "/"
53
53
 
54
- "[#{short_name}](/components/#{status_path}#{short_name.downcase})"
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: Avatar
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: AvatarStack
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: Blankslate
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: Body
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: Button
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: ClipboardCopy
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: Comment
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: Container
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: Counter
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: Details
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: Dropdown
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: Flash
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: Flex
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: Footer
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: Grid
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: Header
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: Heading
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: Heroicon
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: Image
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: InlineFlex
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: Link
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: List
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: NarrowContainer
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: PanelBar
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: Pill
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: RichTextArea
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: Slideover
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: Tab
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: TabContainer
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: TabNav
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: TableNav
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: TimeAgo
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: Timeline
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: Tooltip
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
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.22
4
+ version: 0.0.24
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-13 00:00:00.000000000 Z
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
@@ -1,310 +0,0 @@
1
- :font_size:
2
- "00":
3
- - f00
4
- 1:
5
- - f1
6
- 2:
7
- - f2
8
- 3:
9
- - f3
10
- 4:
11
- - f4
12
- 5:
13
- - f5
14
- 6:
15
- - f6
16
- :small:
17
- - text-small
18
- :normal:
19
- - text-normal
20
- :top:
21
- 0:
22
- - top-0
23
- false:
24
- - top-0
25
- :bottom:
26
- 0:
27
- - bottom-0
28
- false:
29
- - bottom-0
30
- :left:
31
- 0:
32
- - left-0
33
- false:
34
- - left-0
35
- :right:
36
- 0:
37
- - right-0
38
- false:
39
- - right-0
40
- :underline:
41
- true:
42
- - text-underline
43
- false:
44
- - no-underline
45
- :font_family:
46
- :mono:
47
- - text-mono
48
- :font_style:
49
- :italic:
50
- - text-italic
51
- :text_transform:
52
- :uppercase:
53
- - text-uppercase
54
- :text_align:
55
- :right:
56
- - text-right
57
- - text-sm-right
58
- - text-md-right
59
- - text-lg-right
60
- - text-xl-right
61
- :left:
62
- - text-left
63
- - text-sm-left
64
- - text-md-left
65
- - text-lg-left
66
- - text-xl-left
67
- :center:
68
- - text-center
69
- - text-sm-center
70
- - text-md-center
71
- - text-lg-center
72
- - text-xl-center
73
- :font_weight:
74
- :light:
75
- - text-light
76
- :normal:
77
- - text-normal
78
- :bold:
79
- - text-bold
80
- :semibold:
81
- - text-semibold
82
- :emphasized:
83
- - text-emphasized
84
- :box_shadow:
85
- true:
86
- - color-shadow-small
87
- :small:
88
- - color-shadow-small
89
- :medium:
90
- - color-shadow-medium
91
- :large:
92
- - color-shadow-large
93
- :extra_large:
94
- - color-shadow-extra-large
95
- :none:
96
- - box-shadow-none
97
- false:
98
- - box-shadow-none
99
- :border:
100
- :left:
101
- - border-left
102
- :top:
103
- - border-top
104
- :bottom:
105
- - border-bottom
106
- :right:
107
- - border-right
108
- :y:
109
- - border-y
110
- :x:
111
- - border-x
112
- true:
113
- - border
114
- 0:
115
- - border-0
116
- false:
117
- - border-0
118
- :dashed:
119
- - border-dashed
120
- :border_top:
121
- 0:
122
- - border-top-0
123
- :border_bottom:
124
- 0:
125
- - border-bottom-0
126
- :border_left:
127
- 0:
128
- - border-left-0
129
- :border_right:
130
- 0:
131
- - border-right-0
132
- :border_radius:
133
- 0:
134
- - rounded-0
135
- 1:
136
- - rounded-1
137
- 2:
138
- - rounded-2
139
- 3:
140
- - rounded-3
141
- :justify_content:
142
- :flex_start:
143
- - flex-justify-start
144
- - flex-sm-justify-start
145
- - flex-md-justify-start
146
- - flex-lg-justify-start
147
- - flex-xl-justify-start
148
- :flex_end:
149
- - flex-justify-end
150
- - flex-sm-justify-end
151
- - flex-md-justify-end
152
- - flex-lg-justify-end
153
- - flex-xl-justify-end
154
- :center:
155
- - flex-justify-center
156
- - flex-sm-justify-center
157
- - flex-md-justify-center
158
- - flex-lg-justify-center
159
- - flex-xl-justify-center
160
- :space_between:
161
- - flex-justify-between
162
- - flex-sm-justify-between
163
- - flex-md-justify-between
164
- - flex-lg-justify-between
165
- - flex-xl-justify-between
166
- :space_around:
167
- - flex-justify-around
168
- - flex-sm-justify-around
169
- - flex-md-justify-around
170
- - flex-lg-justify-around
171
- - flex-xl-justify-around
172
- :align_items:
173
- :flex_start:
174
- - flex-items-start
175
- - flex-sm-items-start
176
- - flex-md-items-start
177
- - flex-lg-items-start
178
- - flex-xl-items-start
179
- :flex_end:
180
- - flex-items-end
181
- - flex-sm-items-end
182
- - flex-md-items-end
183
- - flex-lg-items-end
184
- - flex-xl-items-end
185
- :center:
186
- - flex-items-center
187
- - flex-sm-items-center
188
- - flex-md-items-center
189
- - flex-lg-items-center
190
- - flex-xl-items-center
191
- :baseline:
192
- - flex-items-baseline
193
- - flex-sm-items-baseline
194
- - flex-md-items-baseline
195
- - flex-lg-items-baseline
196
- - flex-xl-items-baseline
197
- :stretch:
198
- - flex-items-stretch
199
- - flex-sm-items-stretch
200
- - flex-md-items-stretch
201
- - flex-lg-items-stretch
202
- - flex-xl-items-stretch
203
- :flex_wrap:
204
- :wrap:
205
- - flex-wrap
206
- - flex-sm-wrap
207
- - flex-md-wrap
208
- - flex-lg-wrap
209
- - flex-xl-wrap
210
- :nowrap:
211
- - flex-nowrap
212
- - flex-sm-nowrap
213
- - flex-md-nowrap
214
- - flex-lg-nowrap
215
- - flex-xl-nowrap
216
- :reverse:
217
- - flex-wrap-reverse
218
- - flex-sm-wrap-reverse
219
- - flex-md-wrap-reverse
220
- - flex-lg-wrap-reverse
221
- - flex-xl-wrap-reverse
222
- :direction:
223
- :column:
224
- - flex-column
225
- - flex-sm-column
226
- - flex-md-column
227
- - flex-lg-column
228
- - flex-xl-column
229
- :column_reverse:
230
- - flex-column-reverse
231
- - flex-sm-column-reverse
232
- - flex-md-column-reverse
233
- - flex-lg-column-reverse
234
- - flex-xl-column-reverse
235
- :row:
236
- - flex-row
237
- - flex-sm-row
238
- - flex-md-row
239
- - flex-lg-row
240
- - flex-xl-row
241
- :row_reverse:
242
- - flex-row-reverse
243
- - flex-sm-row-reverse
244
- - flex-md-row-reverse
245
- - flex-lg-row-reverse
246
- - flex-xl-row-reverse
247
- :flex:
248
- 1:
249
- - flex-1
250
- - flex-sm-1
251
- - flex-md-1
252
- - flex-lg-1
253
- - flex-xl-1
254
- :auto:
255
- - flex-auto
256
- - flex-sm-auto
257
- - flex-md-auto
258
- - flex-lg-auto
259
- - flex-xl-auto
260
- :align_self:
261
- :auto:
262
- - flex-self-auto
263
- - flex-sm-self-auto
264
- - flex-md-self-auto
265
- - flex-lg-self-auto
266
- - flex-xl-self-auto
267
- :start:
268
- - flex-self-start
269
- - flex-sm-self-start
270
- - flex-md-self-start
271
- - flex-lg-self-start
272
- - flex-xl-self-start
273
- :end:
274
- - flex-self-end
275
- - flex-sm-self-end
276
- - flex-md-self-end
277
- - flex-lg-self-end
278
- - flex-xl-self-end
279
- :center:
280
- - flex-self-center
281
- - flex-sm-self-center
282
- - flex-md-self-center
283
- - flex-lg-self-center
284
- - flex-xl-self-center
285
- :baseline:
286
- - flex-self-baseline
287
- - flex-sm-self-baseline
288
- - flex-md-self-baseline
289
- - flex-lg-self-baseline
290
- - flex-xl-self-baseline
291
- :stretch:
292
- - flex-self-stretch
293
- - flex-sm-self-stretch
294
- - flex-md-self-stretch
295
- - flex-lg-self-stretch
296
- - flex-xl-self-stretch
297
- :flex_grow:
298
- 0:
299
- - flex-grow-0
300
- - flex-sm-grow-0
301
- - flex-md-grow-0
302
- - flex-lg-grow-0
303
- - flex-xl-grow-0
304
- :flex_shrink:
305
- 0:
306
- - flex-shrink-0
307
- - flex-sm-shrink-0
308
- - flex-md-shrink-0
309
- - flex-lg-shrink-0
310
- - flex-xl-shrink-0