ariadne_view_components 0.0.59 → 0.0.64

Sign up to get free protection for your applications and to get access to all the features.
Files changed (264) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +68 -0
  3. data/LICENSE.txt +661 -49
  4. data/README.md +52 -4
  5. data/app/assets/javascripts/ariadne_view_components.js +98 -7
  6. data/app/assets/javascripts/ariadne_view_components.js.map +1 -1
  7. data/app/assets/stylesheets/ariadne_view_components.css +1 -7
  8. data/app/components/ariadne/base_component.rb +79 -27
  9. data/app/components/ariadne/behaviors/tooltipable.rb +120 -0
  10. data/app/components/ariadne/conditional_wrapper.rb +21 -0
  11. data/app/components/ariadne/form/base_component.rb +74 -0
  12. data/app/components/ariadne/form/base_input_component.rb +60 -0
  13. data/app/components/ariadne/form/caption/component.html.erb +10 -0
  14. data/app/components/ariadne/form/caption/component.rb +29 -0
  15. data/app/components/ariadne/form/form_control/component.html.erb +19 -0
  16. data/app/components/ariadne/form/form_control/component.rb +27 -0
  17. data/app/components/ariadne/form/form_reference/component.html.erb +1 -0
  18. data/app/components/ariadne/form/form_reference/component.rb +18 -0
  19. data/app/components/ariadne/form/group/component.html.erb +5 -0
  20. data/app/components/ariadne/form/group/component.rb +27 -0
  21. data/app/components/ariadne/form/hidden_field/component.html.erb +1 -0
  22. data/app/components/ariadne/form/hidden_field/component.rb +15 -0
  23. data/app/components/ariadne/form/separator/component.html.erb +1 -0
  24. data/app/components/ariadne/form/separator/component.rb +8 -0
  25. data/app/components/ariadne/form/spacing_wrapper/component.html.erb +3 -0
  26. data/app/components/ariadne/form/spacing_wrapper/component.rb +8 -0
  27. data/app/components/ariadne/form/text_field/component.html.erb +25 -0
  28. data/app/components/ariadne/form/text_field/component.rb +132 -0
  29. data/app/components/ariadne/form/validation_message/component.html.erb +5 -0
  30. data/app/components/ariadne/form/validation_message/component.rb +14 -0
  31. data/app/components/ariadne/layout/narrow/component.html.erb +10 -0
  32. data/app/components/ariadne/layout/narrow/component.rb +24 -0
  33. data/app/components/ariadne/layout/nav_bar/component.css +0 -0
  34. data/app/components/ariadne/layout/nav_bar/component.html.erb +123 -0
  35. data/app/components/ariadne/layout/nav_bar/component.rb +77 -0
  36. data/app/components/ariadne/ui/button/component.html.erb +5 -0
  37. data/app/components/ariadne/ui/button/component.rb +184 -0
  38. data/app/components/ariadne/ui/clipboard_copy/component.html.erb +8 -0
  39. data/app/components/ariadne/ui/clipboard_copy/component.rb +102 -0
  40. data/app/components/ariadne/ui/clipboard_copy/component.ts +54 -0
  41. data/app/components/ariadne/ui/combobox/component.html.erb +32 -0
  42. data/app/components/ariadne/ui/combobox/component.rb +83 -0
  43. data/app/components/ariadne/ui/combobox/component.ts +119 -0
  44. data/app/components/ariadne/ui/combobox/menu_item/component.html.erb +9 -0
  45. data/app/components/ariadne/ui/combobox/menu_item/component.rb +53 -0
  46. data/app/components/ariadne/ui/combobox/option/component.html.erb +11 -0
  47. data/app/components/ariadne/ui/combobox/option/component.rb +45 -0
  48. data/app/components/ariadne/ui/heroicon/component.html.erb +3 -0
  49. data/app/components/ariadne/ui/heroicon/component.rb +141 -0
  50. data/app/components/ariadne/ui/image/component.rb +69 -0
  51. data/app/components/ariadne/ui/link/component.html.erb +3 -0
  52. data/app/components/ariadne/ui/link/component.rb +56 -0
  53. data/app/components/ariadne/ui/typography/component.html.erb +3 -0
  54. data/app/components/ariadne/ui/typography/component.rb +41 -0
  55. data/app/lib/ariadne/attributes_helper.rb +119 -0
  56. data/app/lib/ariadne/fetch_or_fallback_helper.rb +1 -1
  57. data/app/lib/ariadne/form.rb +16 -0
  58. data/app/lib/ariadne/view_helper.rb +2 -5
  59. data/app/lib/view_components_contrib/html_attrs.rb +64 -0
  60. data/app/lib/view_components_contrib/style_variants.rb +14 -0
  61. data/lib/ariadne/forms/acts_as_component.rb +125 -0
  62. data/lib/ariadne/forms/base.html.erb +8 -0
  63. data/lib/ariadne/forms/base.rb +132 -0
  64. data/lib/ariadne/forms/buffer_rewriter.rb +51 -0
  65. data/lib/ariadne/forms/builder.rb +88 -0
  66. data/lib/ariadne/forms/dsl/button_input.rb +33 -0
  67. data/lib/ariadne/forms/dsl/form_object.rb +26 -0
  68. data/lib/ariadne/forms/dsl/input.rb +322 -0
  69. data/lib/ariadne/forms/dsl/input_group.rb +34 -0
  70. data/lib/ariadne/forms/dsl/input_methods.rb +157 -0
  71. data/lib/ariadne/forms/dsl/submit_button_input.rb +36 -0
  72. data/lib/ariadne/forms/dsl/text_field_input.rb +73 -0
  73. data/lib/ariadne/forms/utils.rb +34 -0
  74. data/lib/ariadne/generate.rb +11 -0
  75. data/lib/ariadne/view_components/engine.rb +24 -7
  76. data/lib/ariadne/view_components/version.rb +1 -1
  77. data/lib/ariadne/view_components.rb +1 -1
  78. data/lib/ariadne/yard/backend.rb +24 -0
  79. data/lib/ariadne/yard/component_manifest.rb +148 -0
  80. data/lib/ariadne/yard/component_ref.rb +49 -0
  81. data/lib/ariadne/yard/docs_helper.rb +98 -0
  82. data/lib/ariadne/yard/info_arch_docs_helper.rb +31 -0
  83. data/lib/ariadne/yard/lookbook_docs_helper.rb +32 -0
  84. data/lib/ariadne/yard/lookbook_pages_backend.rb +235 -0
  85. data/lib/ariadne/yard/registry.rb +136 -0
  86. data/lib/ariadne/yard/renders_many_handler.rb +23 -0
  87. data/lib/ariadne/yard/renders_one_handler.rb +23 -0
  88. data/lib/ariadne/yard.rb +19 -0
  89. data/static/arguments.yml +141 -48
  90. data/static/audited_at.json +0 -9
  91. data/static/classes.yml +210 -209
  92. data/static/constants.json +2 -209
  93. data/static/statuses.json +0 -9
  94. metadata +125 -210
  95. data/app/assets/builds/ariadne_view_components.css +0 -2202
  96. data/app/assets/javascripts/components/ariadne/accumulator_controller/accumulator_controller.d.ts +0 -22
  97. data/app/assets/javascripts/components/ariadne/ariadne-form.d.ts +0 -22
  98. data/app/assets/javascripts/components/ariadne/ariadne.d.ts +0 -2
  99. data/app/assets/javascripts/components/ariadne/clipboard_copy_component/clipboard-copy-component.d.ts +0 -4
  100. data/app/assets/javascripts/components/ariadne/dropdown/menu_component.d.ts +0 -1
  101. data/app/assets/javascripts/components/ariadne/events_controller/events_controller.d.ts +0 -4
  102. data/app/assets/javascripts/components/ariadne/options_controller/options_controller.d.ts +0 -39
  103. data/app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts +0 -42
  104. data/app/assets/javascripts/components/ariadne/slideover_component/slideover-component.d.ts +0 -9
  105. data/app/assets/javascripts/components/ariadne/string_match_controller/string_match_controller.d.ts +0 -27
  106. data/app/assets/javascripts/components/ariadne/synced_boolean_attributes_controller/synced_boolean_attributes_controller.d.ts +0 -48
  107. data/app/assets/javascripts/components/ariadne/tab_container_component/tab-container-component.d.ts +0 -1
  108. data/app/assets/javascripts/components/ariadne/tab_nav_component/tab-nav-component.d.ts +0 -9
  109. data/app/assets/javascripts/components/ariadne/time_ago_component/time-ago-component.d.ts +0 -1
  110. data/app/assets/javascripts/components/ariadne/toggleable_controller/toggleable_controller.d.ts +0 -34
  111. data/app/assets/javascripts/components/ariadne/tooltip_component/tooltip-component.d.ts +0 -24
  112. data/app/assets/stylesheets/dropdown.css +0 -46
  113. data/app/assets/stylesheets/prosemirror.css +0 -323
  114. data/app/assets/stylesheets/tooltip-component.css +0 -37
  115. data/app/components/ariadne/accumulator_controller/accumulator_controller.d.ts +0 -22
  116. data/app/components/ariadne/accumulator_controller/accumulator_controller.js +0 -39
  117. data/app/components/ariadne/accumulator_controller/accumulator_controller.ts +0 -48
  118. data/app/components/ariadne/action_card_component.html.erb +0 -13
  119. data/app/components/ariadne/action_card_component.rb +0 -88
  120. data/app/components/ariadne/ariadne-form.d.ts +0 -22
  121. data/app/components/ariadne/ariadne-form.js +0 -85
  122. data/app/components/ariadne/ariadne.d.ts +0 -2
  123. data/app/components/ariadne/ariadne.js +0 -24
  124. data/app/components/ariadne/ariadne.ts +0 -29
  125. data/app/components/ariadne/avatar_component.rb +0 -81
  126. data/app/components/ariadne/avatar_stack_component/avatar_stack_component.html.erb +0 -12
  127. data/app/components/ariadne/avatar_stack_component.rb +0 -75
  128. data/app/components/ariadne/base_button.rb +0 -70
  129. data/app/components/ariadne/blankslate_component/blankslate_component.html.erb +0 -26
  130. data/app/components/ariadne/blankslate_component.rb +0 -148
  131. data/app/components/ariadne/body_component.rb +0 -30
  132. data/app/components/ariadne/bottom_tab_component.html.erb +0 -4
  133. data/app/components/ariadne/bottom_tab_component.rb +0 -44
  134. data/app/components/ariadne/bottom_tab_nav_component.html.erb +0 -5
  135. data/app/components/ariadne/bottom_tab_nav_component.rb +0 -33
  136. data/app/components/ariadne/breadcrumbs_component.html.erb +0 -13
  137. data/app/components/ariadne/breadcrumbs_component.rb +0 -31
  138. data/app/components/ariadne/button_component/button_component.html.erb +0 -4
  139. data/app/components/ariadne/button_component.rb +0 -165
  140. data/app/components/ariadne/checkbox_component.html.erb +0 -5
  141. data/app/components/ariadne/checkbox_component.rb +0 -43
  142. data/app/components/ariadne/clipboard_copy_component/clipboard-copy-component.d.ts +0 -4
  143. data/app/components/ariadne/clipboard_copy_component/clipboard-copy-component.js +0 -18
  144. data/app/components/ariadne/clipboard_copy_component/clipboard-copy-component.ts +0 -19
  145. data/app/components/ariadne/clipboard_copy_component/clipboard_copy_component.html.erb +0 -9
  146. data/app/components/ariadne/clipboard_copy_component.rb +0 -90
  147. data/app/components/ariadne/close_button_component.html.erb +0 -4
  148. data/app/components/ariadne/close_button_component.rb +0 -33
  149. data/app/components/ariadne/combobox_component.html.erb +0 -14
  150. data/app/components/ariadne/combobox_component.rb +0 -76
  151. data/app/components/ariadne/component.rb +0 -127
  152. data/app/components/ariadne/container_component/container_component.html.erb +0 -3
  153. data/app/components/ariadne/container_component.rb +0 -25
  154. data/app/components/ariadne/content.rb +0 -12
  155. data/app/components/ariadne/counter_component.rb +0 -100
  156. data/app/components/ariadne/details_component/details_component.html.erb +0 -4
  157. data/app/components/ariadne/details_component.rb +0 -81
  158. data/app/components/ariadne/dropdown/menu_component.d.ts +0 -1
  159. data/app/components/ariadne/dropdown/menu_component.html.erb +0 -20
  160. data/app/components/ariadne/dropdown/menu_component.js +0 -1
  161. data/app/components/ariadne/dropdown/menu_component.rb +0 -101
  162. data/app/components/ariadne/dropdown/menu_component.ts +0 -1
  163. data/app/components/ariadne/dropdown_component/dropdown_component.html.erb +0 -8
  164. data/app/components/ariadne/dropdown_component.rb +0 -172
  165. data/app/components/ariadne/events_controller/events_controller.d.ts +0 -4
  166. data/app/components/ariadne/events_controller/events_controller.js +0 -6
  167. data/app/components/ariadne/events_controller/events_controller.ts +0 -7
  168. data/app/components/ariadne/flash_component/flash_component.html.erb +0 -31
  169. data/app/components/ariadne/flash_component.rb +0 -128
  170. data/app/components/ariadne/flex_component/flex_component.html.erb +0 -5
  171. data/app/components/ariadne/flex_component.rb +0 -56
  172. data/app/components/ariadne/footer_component/footer_component.html.erb +0 -7
  173. data/app/components/ariadne/footer_component.rb +0 -23
  174. data/app/components/ariadne/grid_component/grid_component.html.erb +0 -26
  175. data/app/components/ariadne/grid_component.rb +0 -67
  176. data/app/components/ariadne/header_component/header_component.html.erb +0 -29
  177. data/app/components/ariadne/header_component.rb +0 -111
  178. data/app/components/ariadne/heading_component.rb +0 -49
  179. data/app/components/ariadne/heroicon_component/heroicon_component.html.erb +0 -4
  180. data/app/components/ariadne/heroicon_component.rb +0 -166
  181. data/app/components/ariadne/image_component.rb +0 -53
  182. data/app/components/ariadne/inline_flex_component/inline_flex_component.html.erb +0 -6
  183. data/app/components/ariadne/inline_flex_component.rb +0 -72
  184. data/app/components/ariadne/layout_component.html.erb +0 -21
  185. data/app/components/ariadne/layout_component.rb +0 -69
  186. data/app/components/ariadne/link_component.rb +0 -65
  187. data/app/components/ariadne/list_component/list_component.html.erb +0 -3
  188. data/app/components/ariadne/list_component.rb +0 -70
  189. data/app/components/ariadne/modal_component.html.erb +0 -11
  190. data/app/components/ariadne/modal_component.rb +0 -88
  191. data/app/components/ariadne/narrow_container_component/narrow_container_component.html.erb +0 -3
  192. data/app/components/ariadne/narrow_container_component.rb +0 -30
  193. data/app/components/ariadne/options_controller/options_controller.d.ts +0 -39
  194. data/app/components/ariadne/options_controller/options_controller.js +0 -89
  195. data/app/components/ariadne/options_controller/options_controller.ts +0 -122
  196. data/app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts +0 -42
  197. data/app/components/ariadne/outlet_manager_controller/outlet_manager_controller.js +0 -237
  198. data/app/components/ariadne/outlet_manager_controller/outlet_manager_controller.ts +0 -278
  199. data/app/components/ariadne/panel_bar_component/panel_bar_component.html.erb +0 -20
  200. data/app/components/ariadne/panel_bar_component.rb +0 -80
  201. data/app/components/ariadne/pill_component/pill_component.html.erb +0 -3
  202. data/app/components/ariadne/pill_component.rb +0 -44
  203. data/app/components/ariadne/popover_component.html.erb +0 -10
  204. data/app/components/ariadne/popover_component.rb +0 -81
  205. data/app/components/ariadne/progress_bar_component.html.erb +0 -5
  206. data/app/components/ariadne/progress_bar_component.rb +0 -63
  207. data/app/components/ariadne/relative_time_component.html.erb +0 -3
  208. data/app/components/ariadne/relative_time_component.rb +0 -61
  209. data/app/components/ariadne/show_more_button_component.html.erb +0 -11
  210. data/app/components/ariadne/show_more_button_component.rb +0 -47
  211. data/app/components/ariadne/slideover_component/slideover-component.d.ts +0 -9
  212. data/app/components/ariadne/slideover_component/slideover-component.js +0 -11
  213. data/app/components/ariadne/slideover_component/slideover-component.ts +0 -17
  214. data/app/components/ariadne/slideover_component/slideover_component.html.erb +0 -9
  215. data/app/components/ariadne/slideover_component.rb +0 -66
  216. data/app/components/ariadne/spinner_component.html.erb +0 -16
  217. data/app/components/ariadne/spinner_component.rb +0 -45
  218. data/app/components/ariadne/string_match_controller/string_match_controller.d.ts +0 -27
  219. data/app/components/ariadne/string_match_controller/string_match_controller.js +0 -51
  220. data/app/components/ariadne/string_match_controller/string_match_controller.ts +0 -65
  221. data/app/components/ariadne/subheader_component.html.erb +0 -11
  222. data/app/components/ariadne/subheader_component.rb +0 -65
  223. data/app/components/ariadne/synced_boolean_attributes_controller/synced_boolean_attributes_controller.d.ts +0 -48
  224. data/app/components/ariadne/synced_boolean_attributes_controller/synced_boolean_attributes_controller.js +0 -207
  225. data/app/components/ariadne/synced_boolean_attributes_controller/synced_boolean_attributes_controller.ts +0 -256
  226. data/app/components/ariadne/tab_component/tab_component.html.erb +0 -3
  227. data/app/components/ariadne/tab_component.rb +0 -98
  228. data/app/components/ariadne/tab_container_component/tab-container-component.d.ts +0 -1
  229. data/app/components/ariadne/tab_container_component/tab-container-component.js +0 -23
  230. data/app/components/ariadne/tab_container_component/tab-container-component.ts +0 -24
  231. data/app/components/ariadne/tab_container_component.erb +0 -10
  232. data/app/components/ariadne/tab_container_component.rb +0 -68
  233. data/app/components/ariadne/tab_nav_component/tab-nav-component.d.ts +0 -9
  234. data/app/components/ariadne/tab_nav_component/tab-nav-component.js +0 -33
  235. data/app/components/ariadne/tab_nav_component/tab-nav-component.ts +0 -34
  236. data/app/components/ariadne/tab_nav_component/tab_nav_component.html.erb +0 -7
  237. data/app/components/ariadne/tab_nav_component.rb +0 -72
  238. data/app/components/ariadne/table_nav_component/table_nav_component.html.erb +0 -52
  239. data/app/components/ariadne/table_nav_component.rb +0 -338
  240. data/app/components/ariadne/text.rb +0 -25
  241. data/app/components/ariadne/time_ago_component/time-ago-component.d.ts +0 -1
  242. data/app/components/ariadne/time_ago_component/time-ago-component.js +0 -1
  243. data/app/components/ariadne/time_ago_component/time-ago-component.ts +0 -1
  244. data/app/components/ariadne/time_ago_component.rb +0 -56
  245. data/app/components/ariadne/timeline_component/timeline_component.html.erb +0 -19
  246. data/app/components/ariadne/timeline_component.rb +0 -34
  247. data/app/components/ariadne/toggle_component/toggle_component.html.erb +0 -15
  248. data/app/components/ariadne/toggle_component.rb +0 -95
  249. data/app/components/ariadne/toggleable_controller/toggleable_controller.d.ts +0 -34
  250. data/app/components/ariadne/toggleable_controller/toggleable_controller.js +0 -54
  251. data/app/components/ariadne/toggleable_controller/toggleable_controller.ts +0 -77
  252. data/app/components/ariadne/tooltip_component/tooltip-component.d.ts +0 -24
  253. data/app/components/ariadne/tooltip_component/tooltip-component.js +0 -43
  254. data/app/components/ariadne/tooltip_component/tooltip-component.ts +0 -57
  255. data/app/components/ariadne/tooltip_component/tooltip_component.html.erb +0 -4
  256. data/app/components/ariadne/tooltip_component.rb +0 -108
  257. data/app/lib/ariadne/action_view_extensions/form_helper.rb +0 -30
  258. data/app/lib/ariadne/audited/dsl.rb +0 -32
  259. data/app/lib/ariadne/form_builder.rb +0 -80
  260. data/app/lib/ariadne/status/dsl.rb +0 -41
  261. data/config/importmap.rb +0 -3
  262. data/exe/tailwindcss +0 -21
  263. data/lib/rubocop/cop/ariadne/base_cop.rb +0 -26
  264. data/tailwind.config.js +0 -70
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.59
4
+ version: 0.0.64
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-19 00:00:00.000000000 Z
11
+ date: 2024-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tailwind_merge
@@ -16,279 +16,185 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.1'
19
+ version: '0.11'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.1'
26
+ version: '0.11'
27
27
  force_ruby_platform: false
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: actionview
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - ">="
33
- - !ruby/object:Gem::Version
34
- version: '6.1'
35
- - - "<"
32
+ - - "~>"
36
33
  - !ruby/object:Gem::Version
37
- version: '8.0'
34
+ version: '7.0'
38
35
  type: :runtime
39
36
  prerelease: false
40
37
  version_requirements: !ruby/object:Gem::Requirement
41
38
  requirements:
42
- - - ">="
43
- - !ruby/object:Gem::Version
44
- version: '6.1'
45
- - - "<"
39
+ - - "~>"
46
40
  - !ruby/object:Gem::Version
47
- version: '8.0'
41
+ version: '7.0'
48
42
  - !ruby/object:Gem::Dependency
49
43
  name: activesupport
50
44
  requirement: !ruby/object:Gem::Requirement
51
45
  requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '6.1'
55
- - - "<"
46
+ - - "~>"
56
47
  - !ruby/object:Gem::Version
57
- version: '8.0'
48
+ version: '7.0'
58
49
  type: :runtime
59
50
  prerelease: false
60
51
  version_requirements: !ruby/object:Gem::Requirement
61
52
  requirements:
62
- - - ">="
53
+ - - "~>"
63
54
  - !ruby/object:Gem::Version
64
- version: '6.1'
65
- - - "<"
55
+ version: '7.0'
56
+ - !ruby/object:Gem::Dependency
57
+ name: dry-initializer
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - "~>"
66
61
  - !ruby/object:Gem::Version
67
- version: '8.0'
62
+ version: '3.1'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - "~>"
68
+ - !ruby/object:Gem::Version
69
+ version: '3.1'
70
+ force_ruby_platform: false
68
71
  - !ruby/object:Gem::Dependency
69
72
  name: heroicons_helper
70
73
  requirement: !ruby/object:Gem::Requirement
71
74
  requirements:
72
75
  - - "~>"
73
76
  - !ruby/object:Gem::Version
74
- version: '0.6'
77
+ version: '0.8'
75
78
  type: :runtime
76
79
  prerelease: false
77
80
  version_requirements: !ruby/object:Gem::Requirement
78
81
  requirements:
79
82
  - - "~>"
80
83
  - !ruby/object:Gem::Version
81
- version: '0.6'
84
+ version: '0.8'
82
85
  force_ruby_platform: false
83
86
  - !ruby/object:Gem::Dependency
84
87
  name: view_component
85
88
  requirement: !ruby/object:Gem::Requirement
86
89
  requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: '2.0'
90
- - - "<"
90
+ - - "~>"
91
91
  - !ruby/object:Gem::Version
92
- version: '4.0'
92
+ version: '3.0'
93
93
  type: :runtime
94
94
  prerelease: false
95
95
  version_requirements: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - ">="
97
+ - - "~>"
98
98
  - !ruby/object:Gem::Version
99
- version: '2.0'
100
- - - "<"
99
+ version: '3.0'
100
+ - !ruby/object:Gem::Dependency
101
+ name: view_component-contrib
102
+ requirement: !ruby/object:Gem::Requirement
103
+ requirements:
104
+ - - "~>"
105
+ - !ruby/object:Gem::Version
106
+ version: '0.2'
107
+ type: :runtime
108
+ prerelease: false
109
+ version_requirements: !ruby/object:Gem::Requirement
110
+ requirements:
111
+ - - "~>"
101
112
  - !ruby/object:Gem::Version
102
- version: '4.0'
113
+ version: '0.2'
103
114
  description:
104
115
  email:
105
116
  - gjtorikian@yetto.app
106
- executables:
107
- - tailwindcss
117
+ executables: []
108
118
  extensions: []
109
119
  extra_rdoc_files: []
110
120
  files:
111
121
  - CHANGELOG.md
112
122
  - LICENSE.txt
113
123
  - README.md
114
- - app/assets/builds/ariadne_view_components.css
115
124
  - app/assets/javascripts/ariadne_view_components.js
116
125
  - app/assets/javascripts/ariadne_view_components.js.map
117
- - app/assets/javascripts/components/ariadne/accumulator_controller/accumulator_controller.d.ts
118
- - app/assets/javascripts/components/ariadne/ariadne-form.d.ts
119
- - app/assets/javascripts/components/ariadne/ariadne.d.ts
120
- - app/assets/javascripts/components/ariadne/clipboard_copy_component/clipboard-copy-component.d.ts
121
- - app/assets/javascripts/components/ariadne/dropdown/menu_component.d.ts
122
- - app/assets/javascripts/components/ariadne/events_controller/events_controller.d.ts
123
- - app/assets/javascripts/components/ariadne/options_controller/options_controller.d.ts
124
- - app/assets/javascripts/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
125
- - app/assets/javascripts/components/ariadne/slideover_component/slideover-component.d.ts
126
- - app/assets/javascripts/components/ariadne/string_match_controller/string_match_controller.d.ts
127
- - app/assets/javascripts/components/ariadne/synced_boolean_attributes_controller/synced_boolean_attributes_controller.d.ts
128
- - app/assets/javascripts/components/ariadne/tab_container_component/tab-container-component.d.ts
129
- - app/assets/javascripts/components/ariadne/tab_nav_component/tab-nav-component.d.ts
130
- - app/assets/javascripts/components/ariadne/time_ago_component/time-ago-component.d.ts
131
- - app/assets/javascripts/components/ariadne/toggleable_controller/toggleable_controller.d.ts
132
- - app/assets/javascripts/components/ariadne/tooltip_component/tooltip-component.d.ts
133
126
  - app/assets/stylesheets/ariadne_view_components.css
134
- - app/assets/stylesheets/dropdown.css
135
- - app/assets/stylesheets/prosemirror.css
136
- - app/assets/stylesheets/tooltip-component.css
137
- - app/components/ariadne/accumulator_controller/accumulator_controller.d.ts
138
- - app/components/ariadne/accumulator_controller/accumulator_controller.js
139
- - app/components/ariadne/accumulator_controller/accumulator_controller.ts
140
- - app/components/ariadne/action_card_component.html.erb
141
- - app/components/ariadne/action_card_component.rb
142
- - app/components/ariadne/ariadne-form.d.ts
143
- - app/components/ariadne/ariadne-form.js
144
127
  - app/components/ariadne/ariadne-form.ts
145
- - app/components/ariadne/ariadne.d.ts
146
- - app/components/ariadne/ariadne.js
147
- - app/components/ariadne/ariadne.ts
148
- - app/components/ariadne/avatar_component.rb
149
- - app/components/ariadne/avatar_stack_component.rb
150
- - app/components/ariadne/avatar_stack_component/avatar_stack_component.html.erb
151
- - app/components/ariadne/base_button.rb
152
128
  - app/components/ariadne/base_component.rb
153
- - app/components/ariadne/blankslate_component.rb
154
- - app/components/ariadne/blankslate_component/blankslate_component.html.erb
155
- - app/components/ariadne/body_component.rb
156
- - app/components/ariadne/bottom_tab_component.html.erb
157
- - app/components/ariadne/bottom_tab_component.rb
158
- - app/components/ariadne/bottom_tab_nav_component.html.erb
159
- - app/components/ariadne/bottom_tab_nav_component.rb
160
- - app/components/ariadne/breadcrumbs_component.html.erb
161
- - app/components/ariadne/breadcrumbs_component.rb
162
- - app/components/ariadne/button_component.rb
163
- - app/components/ariadne/button_component/button_component.html.erb
164
- - app/components/ariadne/checkbox_component.html.erb
165
- - app/components/ariadne/checkbox_component.rb
166
- - app/components/ariadne/clipboard_copy_component.rb
167
- - app/components/ariadne/clipboard_copy_component/clipboard-copy-component.d.ts
168
- - app/components/ariadne/clipboard_copy_component/clipboard-copy-component.js
169
- - app/components/ariadne/clipboard_copy_component/clipboard-copy-component.ts
170
- - app/components/ariadne/clipboard_copy_component/clipboard_copy_component.html.erb
171
- - app/components/ariadne/close_button_component.html.erb
172
- - app/components/ariadne/close_button_component.rb
173
- - app/components/ariadne/combobox_component.html.erb
174
- - app/components/ariadne/combobox_component.rb
175
- - app/components/ariadne/component.rb
176
- - app/components/ariadne/container_component.rb
177
- - app/components/ariadne/container_component/container_component.html.erb
178
- - app/components/ariadne/content.rb
179
- - app/components/ariadne/counter_component.rb
180
- - app/components/ariadne/details_component.rb
181
- - app/components/ariadne/details_component/details_component.html.erb
182
- - app/components/ariadne/dropdown/menu_component.d.ts
183
- - app/components/ariadne/dropdown/menu_component.html.erb
184
- - app/components/ariadne/dropdown/menu_component.js
185
- - app/components/ariadne/dropdown/menu_component.rb
186
- - app/components/ariadne/dropdown/menu_component.ts
187
- - app/components/ariadne/dropdown_component.rb
188
- - app/components/ariadne/dropdown_component/dropdown_component.html.erb
189
- - app/components/ariadne/events_controller/events_controller.d.ts
190
- - app/components/ariadne/events_controller/events_controller.js
191
- - app/components/ariadne/events_controller/events_controller.ts
192
- - app/components/ariadne/flash_component.rb
193
- - app/components/ariadne/flash_component/flash_component.html.erb
194
- - app/components/ariadne/flex_component.rb
195
- - app/components/ariadne/flex_component/flex_component.html.erb
196
- - app/components/ariadne/footer_component.rb
197
- - app/components/ariadne/footer_component/footer_component.html.erb
198
- - app/components/ariadne/grid_component.rb
199
- - app/components/ariadne/grid_component/grid_component.html.erb
200
- - app/components/ariadne/header_component.rb
201
- - app/components/ariadne/header_component/header_component.html.erb
202
- - app/components/ariadne/heading_component.rb
203
- - app/components/ariadne/heroicon_component.rb
204
- - app/components/ariadne/heroicon_component/heroicon_component.html.erb
205
- - app/components/ariadne/image_component.rb
206
- - app/components/ariadne/inline_flex_component.rb
207
- - app/components/ariadne/inline_flex_component/inline_flex_component.html.erb
208
- - app/components/ariadne/layout_component.html.erb
209
- - app/components/ariadne/layout_component.rb
210
- - app/components/ariadne/link_component.rb
211
- - app/components/ariadne/list_component.rb
212
- - app/components/ariadne/list_component/list_component.html.erb
213
- - app/components/ariadne/modal_component.html.erb
214
- - app/components/ariadne/modal_component.rb
215
- - app/components/ariadne/narrow_container_component.rb
216
- - app/components/ariadne/narrow_container_component/narrow_container_component.html.erb
217
- - app/components/ariadne/options_controller/options_controller.d.ts
218
- - app/components/ariadne/options_controller/options_controller.js
219
- - app/components/ariadne/options_controller/options_controller.ts
220
- - app/components/ariadne/outlet_manager_controller/outlet_manager_controller.d.ts
221
- - app/components/ariadne/outlet_manager_controller/outlet_manager_controller.js
222
- - app/components/ariadne/outlet_manager_controller/outlet_manager_controller.ts
223
- - app/components/ariadne/panel_bar_component.rb
224
- - app/components/ariadne/panel_bar_component/panel_bar_component.html.erb
225
- - app/components/ariadne/pill_component.rb
226
- - app/components/ariadne/pill_component/pill_component.html.erb
227
- - app/components/ariadne/popover_component.html.erb
228
- - app/components/ariadne/popover_component.rb
229
- - app/components/ariadne/progress_bar_component.html.erb
230
- - app/components/ariadne/progress_bar_component.rb
231
- - app/components/ariadne/relative_time_component.html.erb
232
- - app/components/ariadne/relative_time_component.rb
233
- - app/components/ariadne/show_more_button_component.html.erb
234
- - app/components/ariadne/show_more_button_component.rb
235
- - app/components/ariadne/slideover_component.rb
236
- - app/components/ariadne/slideover_component/slideover-component.d.ts
237
- - app/components/ariadne/slideover_component/slideover-component.js
238
- - app/components/ariadne/slideover_component/slideover-component.ts
239
- - app/components/ariadne/slideover_component/slideover_component.html.erb
240
- - app/components/ariadne/spinner_component.html.erb
241
- - app/components/ariadne/spinner_component.rb
242
- - app/components/ariadne/string_match_controller/string_match_controller.d.ts
243
- - app/components/ariadne/string_match_controller/string_match_controller.js
244
- - app/components/ariadne/string_match_controller/string_match_controller.ts
245
- - app/components/ariadne/subheader_component.html.erb
246
- - app/components/ariadne/subheader_component.rb
247
- - app/components/ariadne/synced_boolean_attributes_controller/synced_boolean_attributes_controller.d.ts
248
- - app/components/ariadne/synced_boolean_attributes_controller/synced_boolean_attributes_controller.js
249
- - app/components/ariadne/synced_boolean_attributes_controller/synced_boolean_attributes_controller.ts
250
- - app/components/ariadne/tab_component.rb
251
- - app/components/ariadne/tab_component/tab_component.html.erb
252
- - app/components/ariadne/tab_container_component.erb
253
- - app/components/ariadne/tab_container_component.rb
254
- - app/components/ariadne/tab_container_component/tab-container-component.d.ts
255
- - app/components/ariadne/tab_container_component/tab-container-component.js
256
- - app/components/ariadne/tab_container_component/tab-container-component.ts
257
- - app/components/ariadne/tab_nav_component.rb
258
- - app/components/ariadne/tab_nav_component/tab-nav-component.d.ts
259
- - app/components/ariadne/tab_nav_component/tab-nav-component.js
260
- - app/components/ariadne/tab_nav_component/tab-nav-component.ts
261
- - app/components/ariadne/tab_nav_component/tab_nav_component.html.erb
262
- - app/components/ariadne/table_nav_component.rb
263
- - app/components/ariadne/table_nav_component/table_nav_component.html.erb
264
- - app/components/ariadne/text.rb
265
- - app/components/ariadne/time_ago_component.rb
266
- - app/components/ariadne/time_ago_component/time-ago-component.d.ts
267
- - app/components/ariadne/time_ago_component/time-ago-component.js
268
- - app/components/ariadne/time_ago_component/time-ago-component.ts
269
- - app/components/ariadne/timeline_component.rb
270
- - app/components/ariadne/timeline_component/timeline_component.html.erb
271
- - app/components/ariadne/toggle_component.rb
272
- - app/components/ariadne/toggle_component/toggle_component.html.erb
273
- - app/components/ariadne/toggleable_controller/toggleable_controller.d.ts
274
- - app/components/ariadne/toggleable_controller/toggleable_controller.js
275
- - app/components/ariadne/toggleable_controller/toggleable_controller.ts
276
- - app/components/ariadne/tooltip_component.rb
277
- - app/components/ariadne/tooltip_component/tooltip-component.d.ts
278
- - app/components/ariadne/tooltip_component/tooltip-component.js
279
- - app/components/ariadne/tooltip_component/tooltip-component.ts
280
- - app/components/ariadne/tooltip_component/tooltip_component.html.erb
281
- - app/lib/ariadne/action_view_extensions/form_helper.rb
282
- - app/lib/ariadne/audited/dsl.rb
129
+ - app/components/ariadne/behaviors/tooltipable.rb
130
+ - app/components/ariadne/conditional_wrapper.rb
131
+ - app/components/ariadne/form/base_component.rb
132
+ - app/components/ariadne/form/base_input_component.rb
133
+ - app/components/ariadne/form/caption/component.html.erb
134
+ - app/components/ariadne/form/caption/component.rb
135
+ - app/components/ariadne/form/form_control/component.html.erb
136
+ - app/components/ariadne/form/form_control/component.rb
137
+ - app/components/ariadne/form/form_reference/component.html.erb
138
+ - app/components/ariadne/form/form_reference/component.rb
139
+ - app/components/ariadne/form/group/component.html.erb
140
+ - app/components/ariadne/form/group/component.rb
141
+ - app/components/ariadne/form/hidden_field/component.html.erb
142
+ - app/components/ariadne/form/hidden_field/component.rb
143
+ - app/components/ariadne/form/separator/component.html.erb
144
+ - app/components/ariadne/form/separator/component.rb
145
+ - app/components/ariadne/form/spacing_wrapper/component.html.erb
146
+ - app/components/ariadne/form/spacing_wrapper/component.rb
147
+ - app/components/ariadne/form/text_field/component.html.erb
148
+ - app/components/ariadne/form/text_field/component.rb
149
+ - app/components/ariadne/form/validation_message/component.html.erb
150
+ - app/components/ariadne/form/validation_message/component.rb
151
+ - app/components/ariadne/layout/narrow/component.html.erb
152
+ - app/components/ariadne/layout/narrow/component.rb
153
+ - app/components/ariadne/layout/nav_bar/component.css
154
+ - app/components/ariadne/layout/nav_bar/component.html.erb
155
+ - app/components/ariadne/layout/nav_bar/component.rb
156
+ - app/components/ariadne/ui/button/component.html.erb
157
+ - app/components/ariadne/ui/button/component.rb
158
+ - app/components/ariadne/ui/clipboard_copy/component.html.erb
159
+ - app/components/ariadne/ui/clipboard_copy/component.rb
160
+ - app/components/ariadne/ui/clipboard_copy/component.ts
161
+ - app/components/ariadne/ui/combobox/component.html.erb
162
+ - app/components/ariadne/ui/combobox/component.rb
163
+ - app/components/ariadne/ui/combobox/component.ts
164
+ - app/components/ariadne/ui/combobox/menu_item/component.html.erb
165
+ - app/components/ariadne/ui/combobox/menu_item/component.rb
166
+ - app/components/ariadne/ui/combobox/option/component.html.erb
167
+ - app/components/ariadne/ui/combobox/option/component.rb
168
+ - app/components/ariadne/ui/heroicon/component.html.erb
169
+ - app/components/ariadne/ui/heroicon/component.rb
170
+ - app/components/ariadne/ui/image/component.rb
171
+ - app/components/ariadne/ui/link/component.html.erb
172
+ - app/components/ariadne/ui/link/component.rb
173
+ - app/components/ariadne/ui/typography/component.html.erb
174
+ - app/components/ariadne/ui/typography/component.rb
175
+ - app/lib/ariadne/attributes_helper.rb
283
176
  - app/lib/ariadne/class_name_helper.rb
284
177
  - app/lib/ariadne/fetch_or_fallback_helper.rb
285
- - app/lib/ariadne/form_builder.rb
178
+ - app/lib/ariadne/form.rb
286
179
  - app/lib/ariadne/icon_helper.rb
287
180
  - app/lib/ariadne/logger_helper.rb
288
- - app/lib/ariadne/status/dsl.rb
289
181
  - app/lib/ariadne/view_helper.rb
290
- - config/importmap.rb
291
- - exe/tailwindcss
182
+ - app/lib/view_components_contrib/html_attrs.rb
183
+ - app/lib/view_components_contrib/style_variants.rb
184
+ - lib/ariadne/forms/acts_as_component.rb
185
+ - lib/ariadne/forms/base.html.erb
186
+ - lib/ariadne/forms/base.rb
187
+ - lib/ariadne/forms/buffer_rewriter.rb
188
+ - lib/ariadne/forms/builder.rb
189
+ - lib/ariadne/forms/dsl/button_input.rb
190
+ - lib/ariadne/forms/dsl/form_object.rb
191
+ - lib/ariadne/forms/dsl/input.rb
192
+ - lib/ariadne/forms/dsl/input_group.rb
193
+ - lib/ariadne/forms/dsl/input_methods.rb
194
+ - lib/ariadne/forms/dsl/submit_button_input.rb
195
+ - lib/ariadne/forms/dsl/text_field_input.rb
196
+ - lib/ariadne/forms/utils.rb
197
+ - lib/ariadne/generate.rb
292
198
  - lib/ariadne/view_components.rb
293
199
  - lib/ariadne/view_components/commands.rb
294
200
  - lib/ariadne/view_components/constants.rb
@@ -301,9 +207,19 @@ files:
301
207
  - lib/ariadne/view_components/statuses.rb
302
208
  - lib/ariadne/view_components/upstream.rb
303
209
  - lib/ariadne/view_components/version.rb
210
+ - lib/ariadne/yard.rb
211
+ - lib/ariadne/yard/backend.rb
212
+ - lib/ariadne/yard/component_manifest.rb
213
+ - lib/ariadne/yard/component_ref.rb
214
+ - lib/ariadne/yard/docs_helper.rb
215
+ - lib/ariadne/yard/info_arch_docs_helper.rb
216
+ - lib/ariadne/yard/lookbook_docs_helper.rb
217
+ - lib/ariadne/yard/lookbook_pages_backend.rb
218
+ - lib/ariadne/yard/registry.rb
219
+ - lib/ariadne/yard/renders_many_handler.rb
220
+ - lib/ariadne/yard/renders_one_handler.rb
304
221
  - lib/rubocop/config/default.yml
305
222
  - lib/rubocop/cop/ariadne.rb
306
- - lib/rubocop/cop/ariadne/base_cop.rb
307
223
  - lib/rubocop/cop/ariadne/no_tag_memoize.rb
308
224
  - static/arguments.yml
309
225
  - static/assets/view-components.svg
@@ -312,10 +228,9 @@ files:
312
228
  - static/constants.json
313
229
  - static/statuses.json
314
230
  - static/tailwindcss.yml
315
- - tailwind.config.js
316
231
  homepage: https://github.com/yettoapp/ariadne
317
232
  licenses:
318
- - MIT
233
+ - AGPL-3.0-or-later
319
234
  metadata:
320
235
  allowed_push_host: https://rubygems.org
321
236
  post_install_message:
@@ -333,8 +248,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
333
248
  - !ruby/object:Gem::Version
334
249
  version: '0'
335
250
  requirements: []
336
- rubygems_version: 3.4.17
251
+ rubygems_version: 3.4.6
337
252
  signing_key:
338
253
  specification_version: 4
339
- summary: ViewComponents for the Ariadne Design System
254
+ summary: ViewComponents + TailwindCSS + Stimulus
340
255
  test_files: []