ariadne_view_components 0.0.25-x86_64-darwin → 0.0.27-x86_64-darwin

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +109 -0
  3. data/README.md +6 -5
  4. data/app/components/ariadne/ariadne.ts +7 -7
  5. data/app/components/ariadne/{avatar_stack_component.html.erb → avatar_stack_component/avatar_stack_component.html.erb} +0 -0
  6. data/app/components/ariadne/{blankslate_component.html.erb → blankslate_component/blankslate_component.html.erb} +0 -0
  7. data/app/components/ariadne/{button_component.html.erb → button_component/button_component.html.erb} +0 -0
  8. data/app/components/ariadne/{clipboard-copy-component.ts → clipboard_copy_component/clipboard-copy-component.ts} +0 -0
  9. data/app/components/ariadne/{clipboard_copy_component.html.erb → clipboard_copy_component/clipboard_copy_component.html.erb} +0 -0
  10. data/app/components/ariadne/{comment_component.html.erb → comment_component/comment_component.html.erb} +4 -4
  11. data/app/components/ariadne/{container_component.html.erb → container_component/container_component.html.erb} +0 -0
  12. data/app/components/ariadne/{details_component.html.erb → details_component/details_component.html.erb} +0 -0
  13. data/app/components/ariadne/{dropdown_component.html.erb → dropdown_component/dropdown_component.html.erb} +0 -0
  14. data/app/components/ariadne/{flash_component.html.erb → flash_component/flash_component.html.erb} +0 -0
  15. data/app/components/ariadne/flash_component.rb +3 -0
  16. data/app/components/ariadne/{footer_component.html.erb → footer_component/footer_component.html.erb} +0 -0
  17. data/app/components/ariadne/{grid_component.html.erb → grid_component/grid_component.html.erb} +0 -0
  18. data/app/components/ariadne/{header_component.html.erb → header_component/header_component.html.erb} +0 -0
  19. data/app/components/ariadne/header_component.rb +5 -8
  20. data/app/components/ariadne/{heroicon_component.html.erb → heroicon_component/heroicon_component.html.erb} +0 -0
  21. data/app/components/ariadne/{inline_flex_component.html.erb → inline_flex_component/inline_flex_component.html.erb} +0 -0
  22. data/app/components/ariadne/{list_component.html.erb → list_component/list_component.html.erb} +0 -0
  23. data/app/components/ariadne/{narrow_container_component.html.erb → narrow_container_component/narrow_container_component.html.erb} +0 -0
  24. data/app/components/ariadne/{panel_bar_component.html.erb → panel_bar_component/panel_bar_component.html.erb} +0 -0
  25. data/app/components/ariadne/{pill_component.html.erb → pill_component/pill_component.html.erb} +0 -0
  26. data/app/components/ariadne/{rich-text-area-component.ts → rich_text_area_component/rich-text-area-component.ts} +0 -0
  27. data/app/components/ariadne/{rich_text_area_component.html.erb → rich_text_area_component/rich_text_area_component.html.erb} +0 -0
  28. data/app/components/ariadne/{slideover-component.ts → slideover_component/slideover-component.ts} +0 -0
  29. data/app/components/ariadne/{slideover_component.html.erb → slideover_component/slideover_component.html.erb} +0 -0
  30. data/app/components/ariadne/{tab_component.html.erb → tab_component/tab_component.html.erb} +0 -0
  31. data/app/components/ariadne/{tab-container-component.ts → tab_container_component/tab-container-component.ts} +0 -0
  32. data/app/components/ariadne/{tab-nav-component.ts → tab_nav_component/tab-nav-component.ts} +0 -0
  33. data/app/components/ariadne/{tab_nav_component.html.erb → tab_nav_component/tab_nav_component.html.erb} +0 -0
  34. data/app/components/ariadne/{table_nav_component.html.erb → table_nav_component/table_nav_component.html.erb} +0 -0
  35. data/app/components/ariadne/{time-ago-component.ts → time_ago_component/time-ago-component.ts} +0 -0
  36. data/app/components/ariadne/{timeline_component.html.erb → timeline_component/timeline_component.html.erb} +0 -0
  37. data/app/components/ariadne/{tooltip-component.ts → tooltip_component/tooltip-component.ts} +0 -0
  38. data/app/components/ariadne/{tooltip_component.html.erb → tooltip_component/tooltip_component.html.erb} +0 -0
  39. data/lib/ariadne/view_components/version.rb +1 -1
  40. data/lib/ariadne/view_components.rb +2 -2
  41. data/lib/tasks/docs.rake +28 -20
  42. data/static/classes.yml +3 -3
  43. data/static/constants.json +1 -0
  44. metadata +35 -35
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: eb9c796a3312718bd8a7b533fdca0d8ba190cda4bd3dcfa4631929e049720ffd
4
- data.tar.gz: 797bf25622f47115303ff271e31ad054f9a070045e7412b4a6f12f09a85496b1
3
+ metadata.gz: ce00aba1831386b11b70e1ea72ed7ad41cb8d4fafaff8e42faf61a3ae1634633
4
+ data.tar.gz: d22785cc3881beafecc82f35d49dec07accdae25f2037b6ba8009f835c3bb61c
5
5
  SHA512:
6
- metadata.gz: dc01e14eb4003e76e958720cc57677d23cb0968b634689ccaef2f6db98c77ed4ff078a12fe293078402a43223bd5e678173d9ec1f6060460c0121476f1311fe1
7
- data.tar.gz: 8b09c7f4f1c7e8c00da0ec30d2a5fedf30105c7fb30dedc3fdedcdd364e2d3f1c45f55344641bd685917b3dd33a1d67f6a7f8400e6c713c8ef2fbe79f5ccca94
6
+ metadata.gz: faa3ce3c80b2630ddd3bcc3e1d060d8bcbbcfe89adfbe3e616e592d849b935c9908948034c176d73c979a1820468845517a27f0b5e1ed0a5cb2ad80d06ebc461
7
+ data.tar.gz: 45554047bdf47bfa65ce81d88fa02a67d8d7dd8d6e0182b772e1924825024fe851a007b16f22126e2373e3b0e60b3454cd7cb464a3b7346b0495d8e76772769c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,114 @@
1
1
  # Changelog
2
2
 
3
+ ## [v0.0.27](https://github.com/yettoapp/ariadne/tree/v0.0.27) (2022-12-22)
4
+
5
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/v0.0.26...v0.0.27)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Change comment var names [\#113](https://github.com/yettoapp/ariadne/pull/113) ([gjtorikian](https://github.com/gjtorikian))
10
+ - Bump @tiptap/extension-paragraph from 2.0.0-beta.207 to 2.0.0-beta.209 [\#112](https://github.com/yettoapp/ariadne/pull/112) ([dependabot[bot]](https://github.com/apps/dependabot))
11
+ - Bump @tiptap/extension-text from 2.0.0-beta.207 to 2.0.0-beta.209 [\#111](https://github.com/yettoapp/ariadne/pull/111) ([dependabot[bot]](https://github.com/apps/dependabot))
12
+ - Bump @tiptap/extension-document from 2.0.0-beta.207 to 2.0.0-beta.209 [\#110](https://github.com/yettoapp/ariadne/pull/110) ([dependabot[bot]](https://github.com/apps/dependabot))
13
+ - Bump @rollup/plugin-replace from 5.0.1 to 5.0.2 [\#109](https://github.com/yettoapp/ariadne/pull/109) ([dependabot[bot]](https://github.com/apps/dependabot))
14
+ - Bump @tiptap/core from 2.0.0-beta.207 to 2.0.0-beta.209 [\#108](https://github.com/yettoapp/ariadne/pull/108) ([dependabot[bot]](https://github.com/apps/dependabot))
15
+ - Bump @tiptap/extension-history from 2.0.0-beta.207 to 2.0.0-beta.209 [\#107](https://github.com/yettoapp/ariadne/pull/107) ([dependabot[bot]](https://github.com/apps/dependabot))
16
+ - Bump @tiptap/extension-gapcursor from 2.0.0-beta.207 to 2.0.0-beta.209 [\#106](https://github.com/yettoapp/ariadne/pull/106) ([dependabot[bot]](https://github.com/apps/dependabot))
17
+ - Bump @tiptap/extension-hard-break from 2.0.0-beta.207 to 2.0.0-beta.209 [\#105](https://github.com/yettoapp/ariadne/pull/105) ([dependabot[bot]](https://github.com/apps/dependabot))
18
+ - Bump @tiptap/extension-dropcursor from 2.0.0-beta.207 to 2.0.0-beta.209 [\#104](https://github.com/yettoapp/ariadne/pull/104) ([dependabot[bot]](https://github.com/apps/dependabot))
19
+ - Bump lit-html from 2.4.0 to 2.5.0 [\#102](https://github.com/yettoapp/ariadne/pull/102) ([dependabot[bot]](https://github.com/apps/dependabot))
20
+ - Bump @tiptap/extension-history from 2.0.0-beta.205 to 2.0.0-beta.207 [\#101](https://github.com/yettoapp/ariadne/pull/101) ([dependabot[bot]](https://github.com/apps/dependabot))
21
+ - Bump @tiptap/extension-document from 2.0.0-beta.205 to 2.0.0-beta.207 [\#100](https://github.com/yettoapp/ariadne/pull/100) ([dependabot[bot]](https://github.com/apps/dependabot))
22
+ - Bump @tiptap/extension-dropcursor from 2.0.0-beta.205 to 2.0.0-beta.207 [\#99](https://github.com/yettoapp/ariadne/pull/99) ([dependabot[bot]](https://github.com/apps/dependabot))
23
+ - Bump @tiptap/core from 2.0.0-beta.205 to 2.0.0-beta.207 [\#98](https://github.com/yettoapp/ariadne/pull/98) ([dependabot[bot]](https://github.com/apps/dependabot))
24
+ - Bump @tiptap/extension-text from 2.0.0-beta.205 to 2.0.0-beta.207 [\#97](https://github.com/yettoapp/ariadne/pull/97) ([dependabot[bot]](https://github.com/apps/dependabot))
25
+ - Bump @tiptap/extension-hard-break from 2.0.0-beta.205 to 2.0.0-beta.207 [\#96](https://github.com/yettoapp/ariadne/pull/96) ([dependabot[bot]](https://github.com/apps/dependabot))
26
+ - Bump @tiptap/extension-gapcursor from 2.0.0-beta.205 to 2.0.0-beta.207 [\#95](https://github.com/yettoapp/ariadne/pull/95) ([dependabot[bot]](https://github.com/apps/dependabot))
27
+ - Bump @tiptap/extension-paragraph from 2.0.0-beta.205 to 2.0.0-beta.207 [\#94](https://github.com/yettoapp/ariadne/pull/94) ([dependabot[bot]](https://github.com/apps/dependabot))
28
+ - Bump @tiptap/extension-hard-break from 2.0.0-beta.204 to 2.0.0-beta.205 [\#93](https://github.com/yettoapp/ariadne/pull/93) ([dependabot[bot]](https://github.com/apps/dependabot))
29
+ - Bump @tiptap/extension-gapcursor from 2.0.0-beta.204 to 2.0.0-beta.205 [\#92](https://github.com/yettoapp/ariadne/pull/92) ([dependabot[bot]](https://github.com/apps/dependabot))
30
+ - Bump @tiptap/extension-history from 2.0.0-beta.204 to 2.0.0-beta.205 [\#91](https://github.com/yettoapp/ariadne/pull/91) ([dependabot[bot]](https://github.com/apps/dependabot))
31
+ - Bump @tiptap/extension-document from 2.0.0-beta.204 to 2.0.0-beta.205 [\#90](https://github.com/yettoapp/ariadne/pull/90) ([dependabot[bot]](https://github.com/apps/dependabot))
32
+ - Bump @tiptap/extension-text from 2.0.0-beta.204 to 2.0.0-beta.205 [\#89](https://github.com/yettoapp/ariadne/pull/89) ([dependabot[bot]](https://github.com/apps/dependabot))
33
+ - Bump @tiptap/extension-paragraph from 2.0.0-beta.204 to 2.0.0-beta.205 [\#88](https://github.com/yettoapp/ariadne/pull/88) ([dependabot[bot]](https://github.com/apps/dependabot))
34
+ - Bump @tiptap/extension-dropcursor from 2.0.0-beta.204 to 2.0.0-beta.205 [\#87](https://github.com/yettoapp/ariadne/pull/87) ([dependabot[bot]](https://github.com/apps/dependabot))
35
+ - Bump @tiptap/core from 2.0.0-beta.204 to 2.0.0-beta.205 [\#86](https://github.com/yettoapp/ariadne/pull/86) ([dependabot[bot]](https://github.com/apps/dependabot))
36
+ - Bump @hotwired/stimulus from 3.2.0 to 3.2.1 [\#85](https://github.com/yettoapp/ariadne/pull/85) ([dependabot[bot]](https://github.com/apps/dependabot))
37
+ - Bump @github/time-elements from 3.6.0 to 4.0.0 [\#84](https://github.com/yettoapp/ariadne/pull/84) ([dependabot[bot]](https://github.com/apps/dependabot))
38
+ - Apply mt-0 to flash banners [\#82](https://github.com/yettoapp/ariadne/pull/82) ([gjtorikian](https://github.com/gjtorikian))
39
+ - Bump @github/time-elements from 3.5.1 to 3.6.0 [\#81](https://github.com/yettoapp/ariadne/pull/81) ([dependabot[bot]](https://github.com/apps/dependabot))
40
+ - Bump @hotwired/stimulus from 3.1.1 to 3.2.0 [\#80](https://github.com/yettoapp/ariadne/pull/80) ([dependabot[bot]](https://github.com/apps/dependabot))
41
+ - Bump @tiptap/extension-history from 2.0.0-beta.203 to 2.0.0-beta.204 [\#79](https://github.com/yettoapp/ariadne/pull/79) ([dependabot[bot]](https://github.com/apps/dependabot))
42
+ - Bump @tiptap/extension-dropcursor from 2.0.0-beta.203 to 2.0.0-beta.204 [\#78](https://github.com/yettoapp/ariadne/pull/78) ([dependabot[bot]](https://github.com/apps/dependabot))
43
+ - Bump @tiptap/extension-paragraph from 2.0.0-beta.202 to 2.0.0-beta.204 [\#77](https://github.com/yettoapp/ariadne/pull/77) ([dependabot[bot]](https://github.com/apps/dependabot))
44
+ - Bump @tiptap/extension-hard-break from 2.0.0-beta.202 to 2.0.0-beta.204 [\#76](https://github.com/yettoapp/ariadne/pull/76) ([dependabot[bot]](https://github.com/apps/dependabot))
45
+ - Bump @tiptap/extension-document from 2.0.0-beta.202 to 2.0.0-beta.204 [\#75](https://github.com/yettoapp/ariadne/pull/75) ([dependabot[bot]](https://github.com/apps/dependabot))
46
+ - Bump @tiptap/extension-gapcursor from 2.0.0-beta.202 to 2.0.0-beta.204 [\#74](https://github.com/yettoapp/ariadne/pull/74) ([dependabot[bot]](https://github.com/apps/dependabot))
47
+ - Bump @tiptap/core from 2.0.0-beta.203 to 2.0.0-beta.204 [\#73](https://github.com/yettoapp/ariadne/pull/73) ([dependabot[bot]](https://github.com/apps/dependabot))
48
+ - Bump @tiptap/extension-text from 2.0.0-beta.203 to 2.0.0-beta.204 [\#72](https://github.com/yettoapp/ariadne/pull/72) ([dependabot[bot]](https://github.com/apps/dependabot))
49
+ - Bump @tiptap/extension-text from 2.0.0-beta.202 to 2.0.0-beta.203 [\#67](https://github.com/yettoapp/ariadne/pull/67) ([dependabot[bot]](https://github.com/apps/dependabot))
50
+ - Bump @tiptap/core from 2.0.0-beta.202 to 2.0.0-beta.203 [\#66](https://github.com/yettoapp/ariadne/pull/66) ([dependabot[bot]](https://github.com/apps/dependabot))
51
+ - Bump @tiptap/extension-history from 2.0.0-beta.202 to 2.0.0-beta.203 [\#65](https://github.com/yettoapp/ariadne/pull/65) ([dependabot[bot]](https://github.com/apps/dependabot))
52
+ - Bump @tiptap/extension-dropcursor from 2.0.0-beta.202 to 2.0.0-beta.203 [\#64](https://github.com/yettoapp/ariadne/pull/64) ([dependabot[bot]](https://github.com/apps/dependabot))
53
+ - Bump @github/time-elements from 3.4.1 to 3.5.1 [\#63](https://github.com/yettoapp/ariadne/pull/63) ([dependabot[bot]](https://github.com/apps/dependabot))
54
+ - Bump stimulus-use from 0.51.0 to 0.51.1 [\#62](https://github.com/yettoapp/ariadne/pull/62) ([dependabot[bot]](https://github.com/apps/dependabot))
55
+ - Bump @github/time-elements from 3.4.0 to 3.4.1 [\#61](https://github.com/yettoapp/ariadne/pull/61) ([dependabot[bot]](https://github.com/apps/dependabot))
56
+ - Bump @github/time-elements from 3.3.0 to 3.4.0 [\#60](https://github.com/yettoapp/ariadne/pull/60) ([dependabot[bot]](https://github.com/apps/dependabot))
57
+ - Bump @github/time-elements from 3.2.5 to 3.3.0 [\#59](https://github.com/yettoapp/ariadne/pull/59) ([dependabot[bot]](https://github.com/apps/dependabot))
58
+ - Bump @github/time-elements from 3.2.4 to 3.2.5 [\#58](https://github.com/yettoapp/ariadne/pull/58) ([dependabot[bot]](https://github.com/apps/dependabot))
59
+
60
+ ## [v0.0.26](https://github.com/yettoapp/ariadne/tree/v0.0.26) (2022-11-14)
61
+
62
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.25...v0.0.26)
63
+
64
+ **Implemented enhancements:**
65
+
66
+ - Support color theme dropdown [\#32](https://github.com/yettoapp/ariadne/pull/32) ([gjtorikian](https://github.com/gjtorikian))
67
+ - Update Ariadne to use Component Sidecar Directories [\#31](https://github.com/yettoapp/ariadne/pull/31) ([birdcar](https://github.com/birdcar))
68
+
69
+ **Merged pull requests:**
70
+
71
+ - Bump @rollup/plugin-replace from 4.0.0 to 5.0.1 [\#57](https://github.com/yettoapp/ariadne/pull/57) ([dependabot[bot]](https://github.com/apps/dependabot))
72
+ - Hoist dir to the root [\#56](https://github.com/yettoapp/ariadne/pull/56) ([gjtorikian](https://github.com/gjtorikian))
73
+ - Adjust paths and events for when CI runs [\#55](https://github.com/yettoapp/ariadne/pull/55) ([gjtorikian](https://github.com/gjtorikian))
74
+ - Bump @tiptap/extension-hard-break from 2.0.0-beta.199 to 2.0.0-beta.202 in /ruby/ariadne\_view\_components [\#54](https://github.com/yettoapp/ariadne/pull/54) ([dependabot[bot]](https://github.com/apps/dependabot))
75
+ - Bump @tiptap/extension-text from 2.0.0-beta.199 to 2.0.0-beta.202 in /ruby/ariadne\_view\_components [\#53](https://github.com/yettoapp/ariadne/pull/53) ([dependabot[bot]](https://github.com/apps/dependabot))
76
+ - Bump @tiptap/extension-dropcursor from 2.0.0-beta.199 to 2.0.0-beta.202 in /ruby/ariadne\_view\_components [\#52](https://github.com/yettoapp/ariadne/pull/52) ([dependabot[bot]](https://github.com/apps/dependabot))
77
+ - Bump @tiptap/extension-paragraph from 2.0.0-beta.199 to 2.0.0-beta.202 in /ruby/ariadne\_view\_components [\#51](https://github.com/yettoapp/ariadne/pull/51) ([dependabot[bot]](https://github.com/apps/dependabot))
78
+ - Bump @tiptap/extension-document from 2.0.0-beta.199 to 2.0.0-beta.202 in /ruby/ariadne\_view\_components [\#50](https://github.com/yettoapp/ariadne/pull/50) ([dependabot[bot]](https://github.com/apps/dependabot))
79
+ - Bump @github/time-elements from 3.1.4 to 3.2.4 in /ruby/ariadne\_view\_components [\#49](https://github.com/yettoapp/ariadne/pull/49) ([dependabot[bot]](https://github.com/apps/dependabot))
80
+ - Bump @tiptap/extension-history from 2.0.0-beta.199 to 2.0.0-beta.202 in /ruby/ariadne\_view\_components [\#48](https://github.com/yettoapp/ariadne/pull/48) ([dependabot[bot]](https://github.com/apps/dependabot))
81
+ - Bump @tiptap/core from 2.0.0-beta.199 to 2.0.0-beta.202 in /ruby/ariadne\_view\_components [\#47](https://github.com/yettoapp/ariadne/pull/47) ([dependabot[bot]](https://github.com/apps/dependabot))
82
+ - Bump @tiptap/extension-gapcursor from 2.0.0-beta.199 to 2.0.0-beta.202 in /ruby/ariadne\_view\_components [\#46](https://github.com/yettoapp/ariadne/pull/46) ([dependabot[bot]](https://github.com/apps/dependabot))
83
+ - Correct tag, changelog, release logic [\#45](https://github.com/yettoapp/ariadne/pull/45) ([gjtorikian](https://github.com/gjtorikian))
84
+ - Update outdated tasks [\#44](https://github.com/yettoapp/ariadne/pull/44) ([gjtorikian](https://github.com/gjtorikian))
85
+ - Bump @hotwired/stimulus from 3.1.0 to 3.1.1 in /ruby/ariadne\_view\_components [\#43](https://github.com/yettoapp/ariadne/pull/43) ([dependabot[bot]](https://github.com/apps/dependabot))
86
+ - Bump actions/upload-artifact from 2 to 3 [\#42](https://github.com/yettoapp/ariadne/pull/42) ([dependabot[bot]](https://github.com/apps/dependabot))
87
+ - Bump @github/details-menu-element from 1.0.12 to 1.0.13 in /ruby/ariadne\_view\_components [\#41](https://github.com/yettoapp/ariadne/pull/41) ([dependabot[bot]](https://github.com/apps/dependabot))
88
+ - Add dependabot automerging [\#40](https://github.com/yettoapp/ariadne/pull/40) ([gjtorikian](https://github.com/gjtorikian))
89
+ - Bump actions/download-artifact from 2 to 3 [\#38](https://github.com/yettoapp/ariadne/pull/38) ([dependabot[bot]](https://github.com/apps/dependabot))
90
+ - Bump stimulus-use from 0.50.0 to 0.51.0 in /ruby/ariadne\_view\_components [\#37](https://github.com/yettoapp/ariadne/pull/37) ([dependabot[bot]](https://github.com/apps/dependabot))
91
+ - Bump @primer/primitives from 7.9.0 to 7.10.0 in /ruby/ariadne\_view\_components [\#36](https://github.com/yettoapp/ariadne/pull/36) ([dependabot[bot]](https://github.com/apps/dependabot))
92
+ - Bump @changesets/cli from 2.24.4 to 2.25.0 in /ruby/ariadne\_view\_components [\#35](https://github.com/yettoapp/ariadne/pull/35) ([dependabot[bot]](https://github.com/apps/dependabot))
93
+ - Bump @primer/css from 20.4.7 to 20.4.8 in /ruby/ariadne\_view\_components [\#33](https://github.com/yettoapp/ariadne/pull/33) ([dependabot[bot]](https://github.com/apps/dependabot))
94
+ - Bump rollup from 2.79.0 to 2.79.1 in /ruby/ariadne\_view\_components [\#29](https://github.com/yettoapp/ariadne/pull/29) ([dependabot[bot]](https://github.com/apps/dependabot))
95
+ - Bump lit-html from 2.3.1 to 2.4.0 in /ruby/ariadne\_view\_components [\#28](https://github.com/yettoapp/ariadne/pull/28) ([dependabot[bot]](https://github.com/apps/dependabot))
96
+ - Bump @changesets/changelog-github from 0.4.6 to 0.4.7 in /ruby/ariadne\_view\_components [\#27](https://github.com/yettoapp/ariadne/pull/27) ([dependabot[bot]](https://github.com/apps/dependabot))
97
+ - Bump @typescript-eslint/eslint-plugin from 5.36.1 to 5.40.0 in /ruby/ariadne\_view\_components [\#26](https://github.com/yettoapp/ariadne/pull/26) ([dependabot[bot]](https://github.com/apps/dependabot))
98
+ - Bump @primer/css from 20.4.4 to 20.4.7 in /ruby/ariadne\_view\_components [\#25](https://github.com/yettoapp/ariadne/pull/25) ([dependabot[bot]](https://github.com/apps/dependabot))
99
+
100
+ ## [0.0.25](https://github.com/yettoapp/ariadne/tree/0.0.25) (2022-10-17)
101
+
102
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.24...0.0.25)
103
+
104
+ **Merged pull requests:**
105
+
106
+ - Update colors for demo [\#30](https://github.com/yettoapp/ariadne/pull/30) ([birdcar](https://github.com/birdcar))
107
+
108
+ ## [0.0.24](https://github.com/yettoapp/ariadne/tree/0.0.24) (2022-10-17)
109
+
110
+ [Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.23...0.0.24)
111
+
3
112
  ## [0.0.23](https://github.com/yettoapp/ariadne/tree/0.0.23) (2022-10-17)
4
113
 
5
114
  [Full Changelog](https://github.com/yettoapp/ariadne/compare/0.0.22...0.0.23)
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
- # ViewComponents
1
+ # Ariadne ViewComponents
2
2
 
3
3
  This repository contains the Ruby view components for the Ariadne design system. It is composed of several projects:
4
4
 
5
- * [Tailwind CSS](https://tailwindcss.com)
6
- * [Heroicons](https://heroicons.com)
7
- * [ViewComponents](https://viewcomponent.org)
8
- * [StimulusJS](https://stimulus.hotwired.dev)
5
+ - [Tailwind CSS](https://tailwindcss.com)
6
+ - [Heroicons](https://heroicons.com)
7
+ - [ViewComponents](https://viewcomponent.org)
8
+ - [StimulusJS](https://stimulus.hotwired.dev)
9
9
 
10
10
  This project is basically a fork and rewrite of [Primer's ViewComponents](https://primer.style/view-components/), except instead of Primer, it uses an open source stack we've found useful. **Our eternal gratitude to GitHub's design team for open sourcing that repo.**
11
11
 
@@ -37,6 +37,7 @@ document schemes, fetch_or_raise, all that
37
37
  ## remove @tailwind base;
38
38
 
39
39
  this resets styles applied by ariadne, which already resets styles!!
40
+
40
41
  ### Incorporating Rubocop and other linters
41
42
 
42
43
  This gem comes with some standard linters to keep your code fresh and consistent. Refer to [the documentation](./docs/content/linting.md) for more information.
@@ -2,14 +2,14 @@ import {Application} from '@hotwired/stimulus'
2
2
 
3
3
  import AriadneForm from './ariadne-form'
4
4
 
5
- import ClipboardCopyComponent from './clipboard-copy-component'
6
- import RichTextAreaComponent from './rich-text-area-component'
7
- import SlideoverComponent from './slideover-component'
8
- import TabNavComponent from './tab-nav-component'
9
- import TooltipComponent from './tooltip-component'
5
+ import ClipboardCopyComponent from './clipboard_copy_component/clipboard-copy-component'
6
+ import RichTextAreaComponent from './rich_text_area_component/rich-text-area-component'
7
+ import SlideoverComponent from './slideover_component/slideover-component'
8
+ import TabNavComponent from './tab_nav_component/tab-nav-component'
9
+ import TooltipComponent from './tooltip_component/tooltip-component'
10
10
 
11
- import './tab-container-component'
12
- import './time-ago-component'
11
+ import './tab_container_component/tab-container-component'
12
+ import './time_ago_component/time-ago-component'
13
13
 
14
14
  const application = Application.start()
15
15
 
@@ -5,8 +5,8 @@
5
5
  <% tab.panel(attributes: {:"data-public" => true}) do %>
6
6
  <%= ariadne_form_with(url: @url, method: @method, classes: @classes, attributes: @attributes) do |comment_box| %>
7
7
  <div class="ariadne-overflow-hidden ariadne-border ariadne-border-slate-300 ariadne-shadow-sm">
8
- <%= hidden_field_tag 'message_public', true %>
9
- <%= render(Ariadne::RichTextAreaComponent.new(name: :public_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
8
+ <%= hidden_field_tag 'message_is_public', true %>
9
+ <%= render(Ariadne::RichTextAreaComponent.new(name: :message_public_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
10
10
  <% comment_box.submit { @submit } %>
11
11
  </div>
12
12
  <div class="ariadne-py-2 ariadne-flex ariadne-justify-end">
@@ -20,8 +20,8 @@
20
20
  <% tab.panel do %>
21
21
  <%= ariadne_form_with(url: @url, method: @method, classes: @classes, attributes: @attributes) do |comment_box| %>
22
22
  <div class="ariadne-overflow-hidden ariadne-border ariadne-border-gray-300 ariadne-shadow-sm">
23
- <%= hidden_field_tag 'message_public', false %>
24
- <%= render(Ariadne::RichTextAreaComponent.new(name: :internal_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
23
+ <%= hidden_field_tag 'message_is_public', false %>
24
+ <%= render(Ariadne::RichTextAreaComponent.new(name: :message_internal_bodytext, sr_label: "Select reply type", attributes: { required: true})) %>
25
25
  <% comment_box.submit { @submit } %>
26
26
  </div>
27
27
  <div class="ariadne-py-2 ariadne-flex ariadne-justify-end">
@@ -7,6 +7,8 @@ module Ariadne
7
7
 
8
8
  DEFAULT_SCHEME = :default
9
9
 
10
+ DEFAULT_CLASSES = "ariadne-mt-0"
11
+
10
12
  DISMISSIBLE_SCHEME_CLASS_MAPPINGS = {
11
13
  default: "ariadne-text-slate-500 ariadne-bg-blue-50 hover:ariadne-bg-blue-100 focus:ariadne-ring-offset-blue-50 focus:ariadne-ring-blue-600",
12
14
  info: "ariadne-text-slate-500 ariadne-bg-blue-50 hover:ariadne-bg-blue-100 focus:ariadne-ring-offset-blue-50 focus:ariadne-ring-blue-600",
@@ -103,6 +105,7 @@ module Ariadne
103
105
  @scheme = fetch_or_raise(VALID_CONTENT_SCHEMES, scheme)
104
106
 
105
107
  @classes = class_names(
108
+ DEFAULT_CLASSES,
106
109
  CONTENT_SCHEME_CLASS_MAPPINGS[@scheme],
107
110
  classes,
108
111
  )
@@ -20,14 +20,15 @@ module Ariadne
20
20
  # @param attributes [Hash] <%= link_to_attributes_docs %>
21
21
  renders_one :logo, lambda { |href: nil, src: nil, alt: nil, text: "", classes: "", attributes: {}|
22
22
  @href = href
23
+ @text = text
24
+
23
25
  if src.blank?
24
26
  actual_classes = class_names(DEFAULT_TEXT_LOGO_CLASSES, classes)
25
27
  Ariadne::Text.new(tag: :span, classes: actual_classes, attributes: attributes)
26
28
  else
27
29
  actual_classes = class_names(DEFAULT_IMAGE_LOGO_CLASSES, classes)
28
30
  actual_attributes = { width: 40, height: 40 }.merge(attributes)
29
- @text = text
30
- Ariadne::ImageComponent.new(src: src, alt: alt, classes: actual_classes, attributes: actual_attributes)
31
+ @image_logo = Ariadne::ImageComponent.new(src: src, alt: alt, classes: actual_classes, attributes: actual_attributes)
31
32
  end
32
33
  }
33
34
 
@@ -75,7 +76,7 @@ module Ariadne
75
76
  # @example Basic example
76
77
  #
77
78
  # <%= render(Ariadne::HeaderComponent.new) do |header| %>
78
- # <%= header.logo(as_text: true) { "GitHub" } %>
79
+ # <%= header.logo(text: true) { "GitHub" } %>
79
80
  # <%= header.navigation_link(href: "#features") { "Features" } %>
80
81
  # <%= header.login_link(href: "/login") { "Login" } %>
81
82
  # <% end %>
@@ -95,12 +96,8 @@ module Ariadne
95
96
  logo.present?
96
97
  end
97
98
 
98
- private def has_text_logo?
99
- logo.present? && @text_logo.present?
100
- end
101
-
102
99
  private def has_image_logo?
103
- logo.present? && @image_logo.present?
100
+ has_logo? && @image_logo.present?
104
101
  end
105
102
 
106
103
  private def has_signup_link?
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ariadne
4
4
  module ViewComponents
5
- VERSION = "0.0.25"
5
+ VERSION = "0.0.27"
6
6
  end
7
7
  end
@@ -36,8 +36,8 @@ module Ariadne
36
36
  # all of its constants.
37
37
  def generate_constants
38
38
  Ariadne::Component.descendants.sort_by(&:name).each_with_object({}) do |component, mem|
39
- mem[component.to_s] = component.constants(false).sort.each_with_object({}) do |constant, h|
40
- h[constant] = component.const_get(constant)
39
+ mem[component.to_s] = component.constants(false).sort.index_with do |constant|
40
+ component.const_get(constant)
41
41
  end
42
42
  end
43
43
  end
data/lib/tasks/docs.rake CHANGED
@@ -230,29 +230,37 @@ namespace :docs do
230
230
  end
231
231
  end
232
232
 
233
- errors << { component.name => { example: "No examples found" } } unless initialize_method.tags(:example).any?
233
+ example_tags = initialize_method.tags(:example)
234
234
 
235
- f.puts
236
- f.puts("## Examples")
237
-
238
- initialize_method.tags(:example).each do |tag|
239
- name, description, code = parse_example_tag(tag)
235
+ if example_tags.any?
240
236
  f.puts
241
- f.puts("### #{name}")
242
- if description
237
+ f.puts("## Examples")
238
+
239
+ example_tags.each do |tag|
240
+ name, description, code = parse_example_tag(tag)
243
241
  f.puts
244
- f.puts(view_context.render(inline: description.squish))
245
- end
246
- f.puts
247
- html = view_context.render(inline: code)
248
- html.scan(/class="([^"]*)"/) do |classnames|
249
- classes_found_in_examples.concat(classnames[0].split.reject { |c| c.starts_with?("heroicon", "js") }.map { ".#{_1}" })
242
+ f.puts("### #{name}")
243
+ if description
244
+ f.puts
245
+ f.puts(view_context.render(inline: description.squish))
246
+ end
247
+ f.puts
248
+ html = begin
249
+ view_context.render(inline: code)
250
+ rescue StandardError => e
251
+ raise StandardError, "Unexpected error with #{data[:title]}: #{e.message}"
252
+ end
253
+ html.scan(/class="([^"]*)"/) do |classnames|
254
+ classes_found_in_examples.concat(classnames[0].split.reject { |c| c.starts_with?("heroicon", "js") }.map { ".#{_1}" })
255
+ end
256
+ f.puts("<Example src=\"#{html.tr('"', "'").delete("\n")}\" />")
257
+ f.puts
258
+ f.puts("```erb")
259
+ f.puts(code.to_s)
260
+ f.puts("```")
250
261
  end
251
- f.puts("<Example src=\"#{html.tr('"', "\'").delete("\n")}\" />")
252
- f.puts
253
- f.puts("```erb")
254
- f.puts(code.to_s)
255
- f.puts("```")
262
+ else
263
+ errors << { component.name => { example: "No examples found" } } unless components_without_examples.include?(component)
256
264
  end
257
265
  end
258
266
  end
@@ -450,5 +458,5 @@ def require_js_path(component)
450
458
  end
451
459
 
452
460
  def status_module?(component)
453
- (["Alpha", "Beta"] & component.name.split("::")).any?
461
+ ["Alpha", "Beta"].intersect?(component.name.split("::"))
454
462
  end
data/static/classes.yml CHANGED
@@ -119,7 +119,7 @@
119
119
  - ".ariadne-text-red-500"
120
120
  - ".ariadne-text-slate-700"
121
121
  - ".ariadne-p-4"
122
- - ".ariadne-bg-purple-50"
122
+ - ".ariadne-bg-blue-50"
123
123
  - ".ariadne-flex-shrink-0"
124
124
  - ".ariadne-ml-3"
125
125
  - ".ariadne-text-yellow-700"
@@ -130,8 +130,8 @@
130
130
  - ".ariadne--my-1.5"
131
131
  - ".ariadne-p-1.5"
132
132
  - ".ariadne-text-slate-500"
133
- - ".hover:ariadne-bg-purple-100"
134
- - ".focus:ariadne-ring-purple-600"
133
+ - ".hover:ariadne-bg-blue-100"
134
+ - ".focus:ariadne-ring-blue-600"
135
135
  - ".ariadne-sr-only"
136
136
  - ".ariadne-mt-4"
137
137
  - ".ariadne-pt-5"
@@ -225,6 +225,7 @@
225
225
  "warning": "ariadne-text-yellow-700",
226
226
  "danger": "ariadne-text-red-700"
227
227
  },
228
+ "DEFAULT_CLASSES": "ariadne-mt-0",
228
229
  "DEFAULT_SCHEME": "default",
229
230
  "DISMISSIBLE_SCHEME_CLASS_MAPPINGS": {
230
231
  "default": "ariadne-text-slate-500 ariadne-bg-blue-50 hover:ariadne-bg-blue-100 focus:ariadne-ring-offset-blue-50 focus:ariadne-ring-blue-600",
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.25
4
+ version: 0.0.27
5
5
  platform: x86_64-darwin
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-17 00:00:00.000000000 Z
11
+ date: 2022-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tailwind_merge
@@ -131,80 +131,80 @@ files:
131
131
  - app/components/ariadne/ariadne-form.ts
132
132
  - app/components/ariadne/ariadne.ts
133
133
  - app/components/ariadne/avatar_component.rb
134
- - app/components/ariadne/avatar_stack_component.html.erb
135
134
  - app/components/ariadne/avatar_stack_component.rb
135
+ - app/components/ariadne/avatar_stack_component/avatar_stack_component.html.erb
136
136
  - app/components/ariadne/base_button.rb
137
137
  - app/components/ariadne/base_component.rb
138
- - app/components/ariadne/blankslate_component.html.erb
139
138
  - app/components/ariadne/blankslate_component.rb
139
+ - app/components/ariadne/blankslate_component/blankslate_component.html.erb
140
140
  - app/components/ariadne/body_component.rb
141
- - app/components/ariadne/button_component.html.erb
142
141
  - app/components/ariadne/button_component.rb
143
- - app/components/ariadne/clipboard-copy-component.ts
144
- - app/components/ariadne/clipboard_copy_component.html.erb
142
+ - app/components/ariadne/button_component/button_component.html.erb
145
143
  - app/components/ariadne/clipboard_copy_component.rb
146
- - app/components/ariadne/comment_component.html.erb
144
+ - app/components/ariadne/clipboard_copy_component/clipboard-copy-component.ts
145
+ - app/components/ariadne/clipboard_copy_component/clipboard_copy_component.html.erb
147
146
  - app/components/ariadne/comment_component.rb
147
+ - app/components/ariadne/comment_component/comment_component.html.erb
148
148
  - app/components/ariadne/component.rb
149
- - app/components/ariadne/container_component.html.erb
150
149
  - app/components/ariadne/container_component.rb
150
+ - app/components/ariadne/container_component/container_component.html.erb
151
151
  - app/components/ariadne/content.rb
152
152
  - app/components/ariadne/counter_component.rb
153
- - app/components/ariadne/details_component.html.erb
154
153
  - app/components/ariadne/details_component.rb
154
+ - app/components/ariadne/details_component/details_component.html.erb
155
155
  - app/components/ariadne/dropdown/menu_component.html.erb
156
156
  - app/components/ariadne/dropdown/menu_component.rb
157
157
  - app/components/ariadne/dropdown/menu_component.ts
158
- - app/components/ariadne/dropdown_component.html.erb
159
158
  - app/components/ariadne/dropdown_component.rb
160
- - app/components/ariadne/flash_component.html.erb
159
+ - app/components/ariadne/dropdown_component/dropdown_component.html.erb
161
160
  - app/components/ariadne/flash_component.rb
161
+ - app/components/ariadne/flash_component/flash_component.html.erb
162
162
  - app/components/ariadne/flex_component.rb
163
- - app/components/ariadne/footer_component.html.erb
164
163
  - app/components/ariadne/footer_component.rb
165
- - app/components/ariadne/grid_component.html.erb
164
+ - app/components/ariadne/footer_component/footer_component.html.erb
166
165
  - app/components/ariadne/grid_component.rb
167
- - app/components/ariadne/header_component.html.erb
166
+ - app/components/ariadne/grid_component/grid_component.html.erb
168
167
  - app/components/ariadne/header_component.rb
168
+ - app/components/ariadne/header_component/header_component.html.erb
169
169
  - app/components/ariadne/heading_component.rb
170
- - app/components/ariadne/heroicon_component.html.erb
171
170
  - app/components/ariadne/heroicon_component.rb
171
+ - app/components/ariadne/heroicon_component/heroicon_component.html.erb
172
172
  - app/components/ariadne/image_component.rb
173
- - app/components/ariadne/inline_flex_component.html.erb
174
173
  - app/components/ariadne/inline_flex_component.rb
174
+ - app/components/ariadne/inline_flex_component/inline_flex_component.html.erb
175
175
  - app/components/ariadne/link_component.rb
176
- - app/components/ariadne/list_component.html.erb
177
176
  - app/components/ariadne/list_component.rb
178
- - app/components/ariadne/narrow_container_component.html.erb
177
+ - app/components/ariadne/list_component/list_component.html.erb
179
178
  - app/components/ariadne/narrow_container_component.rb
180
- - app/components/ariadne/panel_bar_component.html.erb
179
+ - app/components/ariadne/narrow_container_component/narrow_container_component.html.erb
181
180
  - app/components/ariadne/panel_bar_component.rb
182
- - app/components/ariadne/pill_component.html.erb
181
+ - app/components/ariadne/panel_bar_component/panel_bar_component.html.erb
183
182
  - app/components/ariadne/pill_component.rb
184
- - app/components/ariadne/rich-text-area-component.ts
185
- - app/components/ariadne/rich_text_area_component.html.erb
183
+ - app/components/ariadne/pill_component/pill_component.html.erb
186
184
  - app/components/ariadne/rich_text_area_component.rb
187
- - app/components/ariadne/slideover-component.ts
188
- - app/components/ariadne/slideover_component.html.erb
185
+ - app/components/ariadne/rich_text_area_component/rich-text-area-component.ts
186
+ - app/components/ariadne/rich_text_area_component/rich_text_area_component.html.erb
189
187
  - app/components/ariadne/slideover_component.rb
190
- - app/components/ariadne/tab-container-component.ts
191
- - app/components/ariadne/tab-nav-component.ts
192
- - app/components/ariadne/tab_component.html.erb
188
+ - app/components/ariadne/slideover_component/slideover-component.ts
189
+ - app/components/ariadne/slideover_component/slideover_component.html.erb
193
190
  - app/components/ariadne/tab_component.rb
191
+ - app/components/ariadne/tab_component/tab_component.html.erb
194
192
  - app/components/ariadne/tab_container_component.erb
195
193
  - app/components/ariadne/tab_container_component.rb
196
- - app/components/ariadne/tab_nav_component.html.erb
194
+ - app/components/ariadne/tab_container_component/tab-container-component.ts
197
195
  - app/components/ariadne/tab_nav_component.rb
198
- - app/components/ariadne/table_nav_component.html.erb
196
+ - app/components/ariadne/tab_nav_component/tab-nav-component.ts
197
+ - app/components/ariadne/tab_nav_component/tab_nav_component.html.erb
199
198
  - app/components/ariadne/table_nav_component.rb
199
+ - app/components/ariadne/table_nav_component/table_nav_component.html.erb
200
200
  - app/components/ariadne/text.rb
201
- - app/components/ariadne/time-ago-component.ts
202
201
  - app/components/ariadne/time_ago_component.rb
203
- - app/components/ariadne/timeline_component.html.erb
202
+ - app/components/ariadne/time_ago_component/time-ago-component.ts
204
203
  - app/components/ariadne/timeline_component.rb
205
- - app/components/ariadne/tooltip-component.ts
206
- - app/components/ariadne/tooltip_component.html.erb
204
+ - app/components/ariadne/timeline_component/timeline_component.html.erb
207
205
  - app/components/ariadne/tooltip_component.rb
206
+ - app/components/ariadne/tooltip_component/tooltip-component.ts
207
+ - app/components/ariadne/tooltip_component/tooltip_component.html.erb
208
208
  - app/lib/ariadne/action_view_extensions/form_helper.rb
209
209
  - app/lib/ariadne/audited/dsl.rb
210
210
  - app/lib/ariadne/class_name_helper.rb
@@ -270,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
270
  - !ruby/object:Gem::Version
271
271
  version: '0'
272
272
  requirements: []
273
- rubygems_version: 3.3.7
273
+ rubygems_version: 3.3.26
274
274
  signing_key:
275
275
  specification_version: 4
276
276
  summary: ViewComponents for the Ariadne Design System