yattho_view_components 0.0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (447) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/app/assets/javascripts/yattho_view_components.js +1 -1
  4. data/app/assets/javascripts/yattho_view_components.js.map +1 -1
  5. data/app/assets/styles/yattho_view_components.css +3 -5958
  6. data/app/assets/styles/yattho_view_components.css.map +1 -1
  7. data/app/components/yattho/alpha/action_list.css +1 -697
  8. data/app/components/yattho/alpha/action_list.css.json +1 -1
  9. data/app/components/yattho/alpha/action_list.css.map +1 -1
  10. data/app/components/yattho/alpha/auto_complete.css +1 -130
  11. data/app/components/yattho/alpha/auto_complete.css.json +1 -1
  12. data/app/components/yattho/alpha/auto_complete.css.map +1 -1
  13. data/app/components/yattho/alpha/banner.css +1 -131
  14. data/app/components/yattho/alpha/banner.css.json +1 -1
  15. data/app/components/yattho/alpha/banner.css.map +1 -1
  16. data/app/components/yattho/alpha/button_marketing.css +1 -211
  17. data/app/components/yattho/alpha/button_marketing.css.json +1 -1
  18. data/app/components/yattho/alpha/button_marketing.css.map +1 -1
  19. data/app/components/yattho/alpha/dialog.css +1 -613
  20. data/app/components/yattho/alpha/dialog.css.json +1 -1
  21. data/app/components/yattho/alpha/dialog.css.map +1 -1
  22. data/app/components/yattho/alpha/dropdown.css +1 -264
  23. data/app/components/yattho/alpha/dropdown.css.json +1 -1
  24. data/app/components/yattho/alpha/dropdown.css.map +1 -1
  25. data/app/components/yattho/alpha/layout.css +1 -398
  26. data/app/components/yattho/alpha/layout.css.json +1 -1
  27. data/app/components/yattho/alpha/layout.css.map +1 -1
  28. data/app/components/yattho/alpha/menu.css +1 -117
  29. data/app/components/yattho/alpha/menu.css.json +1 -1
  30. data/app/components/yattho/alpha/menu.css.map +1 -1
  31. data/app/components/yattho/alpha/modal_dialog.js +2 -0
  32. data/app/components/yattho/alpha/segmented_control.css +1 -164
  33. data/app/components/yattho/alpha/segmented_control.css.json +1 -1
  34. data/app/components/yattho/alpha/segmented_control.css.map +1 -1
  35. data/app/components/yattho/alpha/tab_nav.css +1 -106
  36. data/app/components/yattho/alpha/tab_nav.css.json +1 -1
  37. data/app/components/yattho/alpha/tab_nav.css.map +1 -1
  38. data/app/components/yattho/alpha/text_field.css +3 -836
  39. data/app/components/yattho/alpha/text_field.css.json +1 -1
  40. data/app/components/yattho/alpha/text_field.css.map +1 -1
  41. data/app/components/yattho/alpha/toggle_switch.css +1 -253
  42. data/app/components/yattho/alpha/toggle_switch.css.json +1 -1
  43. data/app/components/yattho/alpha/toggle_switch.css.map +1 -1
  44. data/app/components/yattho/alpha/underline_nav.css +1 -148
  45. data/app/components/yattho/alpha/underline_nav.css.json +1 -1
  46. data/app/components/yattho/alpha/underline_nav.css.map +1 -1
  47. data/app/components/yattho/beta/avatar.css +1 -74
  48. data/app/components/yattho/beta/avatar.css.json +1 -1
  49. data/app/components/yattho/beta/avatar.css.map +1 -1
  50. data/app/components/yattho/beta/avatar_stack.css +1 -138
  51. data/app/components/yattho/beta/avatar_stack.css.json +1 -1
  52. data/app/components/yattho/beta/avatar_stack.css.map +1 -1
  53. data/app/components/yattho/beta/blankslate.css +1 -90
  54. data/app/components/yattho/beta/blankslate.css.map +1 -1
  55. data/app/components/yattho/beta/border_box.css +1 -279
  56. data/app/components/yattho/beta/border_box.css.json +1 -1
  57. data/app/components/yattho/beta/border_box.css.map +1 -1
  58. data/app/components/yattho/beta/breadcrumbs.css +1 -27
  59. data/app/components/yattho/beta/breadcrumbs.css.json +1 -1
  60. data/app/components/yattho/beta/breadcrumbs.css.map +1 -1
  61. data/app/components/yattho/beta/button.css +1 -365
  62. data/app/components/yattho/beta/button.css.json +1 -1
  63. data/app/components/yattho/beta/button.css.map +1 -1
  64. data/app/components/yattho/beta/counter.css +1 -36
  65. data/app/components/yattho/beta/counter.css.map +1 -1
  66. data/app/components/yattho/beta/flash.css +1 -150
  67. data/app/components/yattho/beta/flash.css.json +1 -1
  68. data/app/components/yattho/beta/flash.css.map +1 -1
  69. data/app/components/yattho/beta/label.css +1 -105
  70. data/app/components/yattho/beta/label.css.json +1 -1
  71. data/app/components/yattho/beta/label.css.map +1 -1
  72. data/app/components/yattho/beta/link.css +1 -62
  73. data/app/components/yattho/beta/link.css.json +1 -1
  74. data/app/components/yattho/beta/link.css.map +1 -1
  75. data/app/components/yattho/beta/popover.css +1 -235
  76. data/app/components/yattho/beta/popover.css.json +1 -1
  77. data/app/components/yattho/beta/popover.css.map +1 -1
  78. data/app/components/yattho/beta/progress_bar.css +1 -26
  79. data/app/components/yattho/beta/progress_bar.css.json +1 -1
  80. data/app/components/yattho/beta/progress_bar.css.map +1 -1
  81. data/app/components/yattho/beta/state.css +1 -50
  82. data/app/components/yattho/beta/state.css.json +1 -1
  83. data/app/components/yattho/beta/state.css.map +1 -1
  84. data/app/components/yattho/beta/subhead.css +1 -54
  85. data/app/components/yattho/beta/subhead.css.json +1 -1
  86. data/app/components/yattho/beta/subhead.css.map +1 -1
  87. data/app/components/yattho/beta/timeline_item.css +1 -95
  88. data/app/components/yattho/beta/timeline_item.css.json +1 -1
  89. data/app/components/yattho/beta/timeline_item.css.map +1 -1
  90. data/app/components/yattho/beta/truncate.css +1 -37
  91. data/app/components/yattho/beta/truncate.css.json +1 -1
  92. data/app/components/yattho/beta/truncate.css.map +1 -1
  93. data/app/components/yattho/truncate.css +1 -30
  94. data/app/components/yattho/truncate.css.json +1 -1
  95. data/app/components/yattho/truncate.css.map +1 -1
  96. data/lib/yattho/view_components/version.rb +1 -1
  97. metadata +3 -353
  98. data/previews/docs/alpha_auto_complete_item_preview/default.html.erb +0 -10
  99. data/previews/docs/alpha_auto_complete_item_preview.rb +0 -7
  100. data/previews/docs/alpha_auto_complete_preview/default.html.erb +0 -1
  101. data/previews/docs/alpha_auto_complete_preview/with_clear_button.html.erb +0 -1
  102. data/previews/docs/alpha_auto_complete_preview/with_custom_classes_for_the_input.html.erb +0 -3
  103. data/previews/docs/alpha_auto_complete_preview/with_custom_classes_for_the_results.html.erb +0 -10
  104. data/previews/docs/alpha_auto_complete_preview/with_icon.html.erb +0 -1
  105. data/previews/docs/alpha_auto_complete_preview/with_icon_and_non_visible_label.html.erb +0 -1
  106. data/previews/docs/alpha_auto_complete_preview/with_inline_label.html.erb +0 -1
  107. data/previews/docs/alpha_auto_complete_preview/with_non_visible_label.html.erb +0 -1
  108. data/previews/docs/alpha_auto_complete_preview.rb +0 -21
  109. data/previews/docs/alpha_banner_preview/custom_icon.html.erb +0 -1
  110. data/previews/docs/alpha_banner_preview/dismissible.html.erb +0 -1
  111. data/previews/docs/alpha_banner_preview/full_width.html.erb +0 -1
  112. data/previews/docs/alpha_banner_preview/schemes.html.erb +0 -6
  113. data/previews/docs/alpha_banner_preview/with_action_button.html.erb +0 -4
  114. data/previews/docs/alpha_banner_preview/with_custom_action.html.erb +0 -6
  115. data/previews/docs/alpha_banner_preview.rb +0 -17
  116. data/previews/docs/alpha_button_marketing_preview/schemes.html.erb +0 -6
  117. data/previews/docs/alpha_button_marketing_preview/sizes.html.erb +0 -2
  118. data/previews/docs/alpha_button_marketing_preview.rb +0 -9
  119. data/previews/docs/alpha_dialog_preview/dialog_with_cancel_and_submit_buttons.html.erb +0 -13
  120. data/previews/docs/alpha_dialog_preview.rb +0 -7
  121. data/previews/docs/alpha_dropdown_preview/customizing_menu_items.html.erb +0 -11
  122. data/previews/docs/alpha_dropdown_preview/customizing_the_button.html.erb +0 -12
  123. data/previews/docs/alpha_dropdown_preview/default.html.erb +0 -11
  124. data/previews/docs/alpha_dropdown_preview/menu_as_list.html.erb +0 -13
  125. data/previews/docs/alpha_dropdown_preview/with_caret.html.erb +0 -12
  126. data/previews/docs/alpha_dropdown_preview/with_direction.html.erb +0 -12
  127. data/previews/docs/alpha_dropdown_preview/with_dividers.html.erb +0 -16
  128. data/previews/docs/alpha_dropdown_preview.rb +0 -19
  129. data/previews/docs/alpha_hellip_button_preview/default.html.erb +0 -1
  130. data/previews/docs/alpha_hellip_button_preview/inline.html.erb +0 -1
  131. data/previews/docs/alpha_hellip_button_preview/styling_the_button.html.erb +0 -1
  132. data/previews/docs/alpha_hellip_button_preview.rb +0 -11
  133. data/previews/docs/alpha_hidden_text_expander_preview/default.html.erb +0 -1
  134. data/previews/docs/alpha_hidden_text_expander_preview/inline.html.erb +0 -1
  135. data/previews/docs/alpha_hidden_text_expander_preview/styling_the_button.html.erb +0 -1
  136. data/previews/docs/alpha_hidden_text_expander_preview.rb +0 -11
  137. data/previews/docs/alpha_image_crop_preview/cropper_with_a_custom_loader.html.erb +0 -3
  138. data/previews/docs/alpha_image_crop_preview/simple_cropper.html.erb +0 -1
  139. data/previews/docs/alpha_image_crop_preview/square_cropper.html.erb +0 -1
  140. data/previews/docs/alpha_image_crop_preview.rb +0 -11
  141. data/previews/docs/alpha_image_preview/custom_size.html.erb +0 -2
  142. data/previews/docs/alpha_image_preview/default.html.erb +0 -2
  143. data/previews/docs/alpha_image_preview/helper.html.erb +0 -2
  144. data/previews/docs/alpha_image_preview/lazy_loading.html.erb +0 -2
  145. data/previews/docs/alpha_image_preview.rb +0 -13
  146. data/previews/docs/alpha_layout_preview/changing_when_to_render_layout_as_columns.html.erb +0 -12
  147. data/previews/docs/alpha_layout_preview/default.html.erb +0 -5
  148. data/previews/docs/alpha_layout_preview/main_widths.html.erb +0 -16
  149. data/previews/docs/alpha_layout_preview/sidebar_placement.html.erb +0 -8
  150. data/previews/docs/alpha_layout_preview/sidebar_placement_as_row.html.erb +0 -12
  151. data/previews/docs/alpha_layout_preview/sidebar_widths.html.erb +0 -12
  152. data/previews/docs/alpha_layout_preview.rb +0 -17
  153. data/previews/docs/alpha_menu_preview/default.html.erb +0 -17
  154. data/previews/docs/alpha_menu_preview.rb +0 -7
  155. data/previews/docs/alpha_nav_list_preview/expandable_sub_items.html.erb +0 -24
  156. data/previews/docs/alpha_nav_list_preview/items_and_headings.html.erb +0 -12
  157. data/previews/docs/alpha_nav_list_preview/leading_and_trailing_visuals.html.erb +0 -17
  158. data/previews/docs/alpha_nav_list_preview/trailing_action.html.erb +0 -12
  159. data/previews/docs/alpha_nav_list_preview.rb +0 -13
  160. data/previews/docs/alpha_octicon_symbols_preview/symbol_dictionary.html.erb +0 -4
  161. data/previews/docs/alpha_octicon_symbols_preview.rb +0 -7
  162. data/previews/docs/alpha_segmented_control_preview/basic_usage.html.erb +0 -6
  163. data/previews/docs/alpha_segmented_control_preview/fill_width_of_parent.html.erb +0 -5
  164. data/previews/docs/alpha_segmented_control_preview/small.html.erb +0 -6
  165. data/previews/docs/alpha_segmented_control_preview/with_icons.html.erb +0 -5
  166. data/previews/docs/alpha_segmented_control_preview/with_icons_only.html.erb +0 -5
  167. data/previews/docs/alpha_segmented_control_preview.rb +0 -15
  168. data/previews/docs/alpha_tab_container_preview/default.html.erb +0 -16
  169. data/previews/docs/alpha_tab_container_preview.rb +0 -7
  170. data/previews/docs/alpha_tab_nav_preview/adding_extra_content_after_the_tabs.html.erb +0 -10
  171. data/previews/docs/alpha_tab_nav_preview/customizing_the_body.html.erb +0 -5
  172. data/previews/docs/alpha_tab_nav_preview/default_with_div.html.erb +0 -5
  173. data/previews/docs/alpha_tab_nav_preview/default_with_nav.html.erb +0 -5
  174. data/previews/docs/alpha_tab_nav_preview/with_extra_content.html.erb +0 -8
  175. data/previews/docs/alpha_tab_nav_preview/with_icons_and_counters.html.erb +0 -15
  176. data/previews/docs/alpha_tab_nav_preview.rb +0 -17
  177. data/previews/docs/alpha_tab_panels_preview/default.html.erb +0 -14
  178. data/previews/docs/alpha_tab_panels_preview.rb +0 -7
  179. data/previews/docs/alpha_text_field_preview/default.html.erb +0 -1
  180. data/previews/docs/alpha_text_field_preview/disabled.html.erb +0 -7
  181. data/previews/docs/alpha_text_field_preview/full_width.html.erb +0 -7
  182. data/previews/docs/alpha_text_field_preview/invalid.html.erb +0 -7
  183. data/previews/docs/alpha_text_field_preview/with_a_caption.html.erb +0 -7
  184. data/previews/docs/alpha_text_field_preview/with_a_clear_button.html.erb +0 -7
  185. data/previews/docs/alpha_text_field_preview/with_a_leading_visual.html.erb +0 -9
  186. data/previews/docs/alpha_text_field_preview/with_a_validation_message.html.erb +0 -7
  187. data/previews/docs/alpha_text_field_preview.rb +0 -21
  188. data/previews/docs/alpha_toggle_switch_preview/checked.html.erb +0 -1
  189. data/previews/docs/alpha_toggle_switch_preview/checked_and_disabled.html.erb +0 -1
  190. data/previews/docs/alpha_toggle_switch_preview/default.html.erb +0 -1
  191. data/previews/docs/alpha_toggle_switch_preview/disabled.html.erb +0 -1
  192. data/previews/docs/alpha_toggle_switch_preview/small.html.erb +0 -1
  193. data/previews/docs/alpha_toggle_switch_preview/with_status_label_positioned_at_the_end.html.erb +0 -1
  194. data/previews/docs/alpha_toggle_switch_preview.rb +0 -17
  195. data/previews/docs/alpha_tooltip_preview/as_a_label_for_an_iconbutton.html.erb +0 -1
  196. data/previews/docs/alpha_tooltip_preview/as_a_supplementary_description_for_a_button.html.erb +0 -4
  197. data/previews/docs/alpha_tooltip_preview/as_a_supplementary_description_for_an_iconbutton.html.erb +0 -1
  198. data/previews/docs/alpha_tooltip_preview/directly_using_tooltip.html.erb +0 -4
  199. data/previews/docs/alpha_tooltip_preview/with_direction.html.erb +0 -32
  200. data/previews/docs/alpha_tooltip_preview.rb +0 -15
  201. data/previews/docs/alpha_underline_nav_preview/align_right.html.erb +0 -11
  202. data/previews/docs/alpha_underline_nav_preview/customizing_the_body.html.erb +0 -5
  203. data/previews/docs/alpha_underline_nav_preview/default_with_nav.html.erb +0 -7
  204. data/previews/docs/alpha_underline_nav_preview/with_div.html.erb +0 -7
  205. data/previews/docs/alpha_underline_nav_preview/with_icons_and_counters.html.erb +0 -18
  206. data/previews/docs/alpha_underline_nav_preview.rb +0 -15
  207. data/previews/docs/alpha_underline_panels_preview/default.html.erb +0 -17
  208. data/previews/docs/alpha_underline_panels_preview.rb +0 -7
  209. data/previews/docs/beta_auto_complete_item_preview/default.html.erb +0 -6
  210. data/previews/docs/beta_auto_complete_item_preview.rb +0 -7
  211. data/previews/docs/beta_auto_complete_preview/full_width_field.html.erb +0 -3
  212. data/previews/docs/beta_auto_complete_preview/inset_variant.html.erb +0 -3
  213. data/previews/docs/beta_auto_complete_preview/leading_visual.html.erb +0 -3
  214. data/previews/docs/beta_auto_complete_preview/monospace_variant.html.erb +0 -3
  215. data/previews/docs/beta_auto_complete_preview/trailing_action.html.erb +0 -1
  216. data/previews/docs/beta_auto_complete_preview/visually_hidden_label.html.erb +0 -3
  217. data/previews/docs/beta_auto_complete_preview/with_custom_classes_for_the_input.html.erb +0 -3
  218. data/previews/docs/beta_auto_complete_preview/with_custom_classes_for_the_results.html.erb +0 -3
  219. data/previews/docs/beta_auto_complete_preview.rb +0 -21
  220. data/previews/docs/beta_avatar_preview/default.html.erb +0 -1
  221. data/previews/docs/beta_avatar_preview/link.html.erb +0 -1
  222. data/previews/docs/beta_avatar_preview/square.html.erb +0 -1
  223. data/previews/docs/beta_avatar_preview/with_size.html.erb +0 -7
  224. data/previews/docs/beta_avatar_preview.rb +0 -13
  225. data/previews/docs/beta_avatar_stack_preview/align_right.html.erb +0 -5
  226. data/previews/docs/beta_avatar_stack_preview/default.html.erb +0 -5
  227. data/previews/docs/beta_avatar_stack_preview/with_tooltip.html.erb +0 -5
  228. data/previews/docs/beta_avatar_stack_preview.rb +0 -11
  229. data/previews/docs/beta_base_button_preview/block.html.erb +0 -2
  230. data/previews/docs/beta_base_button_preview.rb +0 -7
  231. data/previews/docs/beta_blankslate_preview/basic.html.erb +0 -4
  232. data/previews/docs/beta_blankslate_preview/custom_content.html.erb +0 -6
  233. data/previews/docs/beta_blankslate_preview/icon.html.erb +0 -5
  234. data/previews/docs/beta_blankslate_preview/loading.html.erb +0 -5
  235. data/previews/docs/beta_blankslate_preview/primary_action.html.erb +0 -6
  236. data/previews/docs/beta_blankslate_preview/primary_and_secondary_actions.html.erb +0 -7
  237. data/previews/docs/beta_blankslate_preview/secondary_action.html.erb +0 -6
  238. data/previews/docs/beta_blankslate_preview/using_an_image.html.erb +0 -5
  239. data/previews/docs/beta_blankslate_preview/variations.html.erb +0 -8
  240. data/previews/docs/beta_blankslate_preview/with_border.html.erb +0 -5
  241. data/previews/docs/beta_blankslate_preview.rb +0 -25
  242. data/previews/docs/beta_border_box_header_preview/default.html.erb +0 -4
  243. data/previews/docs/beta_border_box_header_preview/with_title.html.erb +0 -3
  244. data/previews/docs/beta_border_box_header_preview.rb +0 -9
  245. data/previews/docs/beta_border_box_preview/header_with_title_body_rows_and_footer.html.erb +0 -21
  246. data/previews/docs/beta_border_box_preview/padding_density.html.erb +0 -14
  247. data/previews/docs/beta_border_box_preview/row_colors.html.erb +0 -14
  248. data/previews/docs/beta_border_box_preview.rb +0 -11
  249. data/previews/docs/beta_breadcrumbs_preview/basic.html.erb +0 -5
  250. data/previews/docs/beta_breadcrumbs_preview.rb +0 -7
  251. data/previews/docs/beta_button_group_preview/default.html.erb +0 -8
  252. data/previews/docs/beta_button_group_preview/sizes.html.erb +0 -7
  253. data/previews/docs/beta_button_group_preview.rb +0 -9
  254. data/previews/docs/beta_button_preview/full_width.html.erb +0 -2
  255. data/previews/docs/beta_button_preview/schemes.html.erb +0 -4
  256. data/previews/docs/beta_button_preview/sizes.html.erb +0 -2
  257. data/previews/docs/beta_button_preview/with_leading_and_trailing_visuals.html.erb +0 -5
  258. data/previews/docs/beta_button_preview/with_leading_visual.html.erb +0 -4
  259. data/previews/docs/beta_button_preview/with_tooltip.html.erb +0 -4
  260. data/previews/docs/beta_button_preview/with_trailing_visual.html.erb +0 -4
  261. data/previews/docs/beta_button_preview.rb +0 -19
  262. data/previews/docs/beta_clipboard_copy_preview/copying_from_an_element.html.erb +0 -2
  263. data/previews/docs/beta_clipboard_copy_preview/default.html.erb +0 -1
  264. data/previews/docs/beta_clipboard_copy_preview/with_text_instead_of_icons.html.erb +0 -3
  265. data/previews/docs/beta_clipboard_copy_preview.rb +0 -11
  266. data/previews/docs/beta_close_button_preview/default.html.erb +0 -1
  267. data/previews/docs/beta_close_button_preview.rb +0 -7
  268. data/previews/docs/beta_counter_preview/default.html.erb +0 -1
  269. data/previews/docs/beta_counter_preview/schemes.html.erb +0 -2
  270. data/previews/docs/beta_counter_preview.rb +0 -9
  271. data/previews/docs/beta_details_preview/default.html.erb +0 -9
  272. data/previews/docs/beta_details_preview.rb +0 -7
  273. data/previews/docs/beta_flash_preview/dismissible.html.erb +0 -1
  274. data/previews/docs/beta_flash_preview/full_width.html.erb +0 -1
  275. data/previews/docs/beta_flash_preview/icon.html.erb +0 -1
  276. data/previews/docs/beta_flash_preview/schemes.html.erb +0 -4
  277. data/previews/docs/beta_flash_preview/with_actions.html.erb +0 -6
  278. data/previews/docs/beta_flash_preview.rb +0 -15
  279. data/previews/docs/beta_heading_preview/default.html.erb +0 -6
  280. data/previews/docs/beta_heading_preview.rb +0 -7
  281. data/previews/docs/beta_icon_button_preview/custom_tooltip_direction.html.erb +0 -2
  282. data/previews/docs/beta_icon_button_preview/default.html.erb +0 -2
  283. data/previews/docs/beta_icon_button_preview/schemes.html.erb +0 -3
  284. data/previews/docs/beta_icon_button_preview/with_an_aria_description.html.erb +0 -1
  285. data/previews/docs/beta_icon_button_preview.rb +0 -13
  286. data/previews/docs/beta_label_preview/inline.html.erb +0 -2
  287. data/previews/docs/beta_label_preview/schemes.html.erb +0 -10
  288. data/previews/docs/beta_label_preview/sizes.html.erb +0 -2
  289. data/previews/docs/beta_label_preview.rb +0 -11
  290. data/previews/docs/beta_link_preview/default.html.erb +0 -1
  291. data/previews/docs/beta_link_preview/muted.html.erb +0 -1
  292. data/previews/docs/beta_link_preview/schemes.html.erb +0 -2
  293. data/previews/docs/beta_link_preview/with_tooltip.html.erb +0 -4
  294. data/previews/docs/beta_link_preview/without_underline.html.erb +0 -1
  295. data/previews/docs/beta_link_preview.rb +0 -15
  296. data/previews/docs/beta_markdown_preview/default.html.erb +0 -260
  297. data/previews/docs/beta_markdown_preview.rb +0 -7
  298. data/previews/docs/beta_octicon_preview/default.html.erb +0 -2
  299. data/previews/docs/beta_octicon_preview/helper.html.erb +0 -1
  300. data/previews/docs/beta_octicon_preview/medium.html.erb +0 -1
  301. data/previews/docs/beta_octicon_preview.rb +0 -11
  302. data/previews/docs/beta_popover_preview/caret_position.html.erb +0 -8
  303. data/previews/docs/beta_popover_preview/default.html.erb +0 -8
  304. data/previews/docs/beta_popover_preview/large.html.erb +0 -8
  305. data/previews/docs/beta_popover_preview/with_multiple_elements_in_the_body.html.erb +0 -11
  306. data/previews/docs/beta_popover_preview.rb +0 -13
  307. data/previews/docs/beta_progress_bar_preview/default.html.erb +0 -3
  308. data/previews/docs/beta_progress_bar_preview/large.html.erb +0 -3
  309. data/previews/docs/beta_progress_bar_preview/multiple_items.html.erb +0 -5
  310. data/previews/docs/beta_progress_bar_preview/small.html.erb +0 -3
  311. data/previews/docs/beta_progress_bar_preview.rb +0 -13
  312. data/previews/docs/beta_relative_time_preview/default.html.erb +0 -1
  313. data/previews/docs/beta_relative_time_preview/elapsed_time.html.erb +0 -1
  314. data/previews/docs/beta_relative_time_preview/past_time.html.erb +0 -1
  315. data/previews/docs/beta_relative_time_preview.rb +0 -11
  316. data/previews/docs/beta_spinner_preview/default.html.erb +0 -1
  317. data/previews/docs/beta_spinner_preview/large.html.erb +0 -1
  318. data/previews/docs/beta_spinner_preview/small.html.erb +0 -1
  319. data/previews/docs/beta_spinner_preview.rb +0 -11
  320. data/previews/docs/beta_state_preview/default.html.erb +0 -1
  321. data/previews/docs/beta_state_preview/schemes.html.erb +0 -4
  322. data/previews/docs/beta_state_preview/sizes.html.erb +0 -2
  323. data/previews/docs/beta_state_preview.rb +0 -11
  324. data/previews/docs/beta_subhead_preview/default.html.erb +0 -8
  325. data/previews/docs/beta_subhead_preview/with_actions.html.erb +0 -15
  326. data/previews/docs/beta_subhead_preview/with_dangerous_heading.html.erb +0 -8
  327. data/previews/docs/beta_subhead_preview/with_long_description.html.erb +0 -6
  328. data/previews/docs/beta_subhead_preview/without_border.html.erb +0 -8
  329. data/previews/docs/beta_subhead_preview.rb +0 -15
  330. data/previews/docs/beta_text_preview/default.html.erb +0 -2
  331. data/previews/docs/beta_text_preview.rb +0 -7
  332. data/previews/docs/beta_timeline_item_preview/default.html.erb +0 -7
  333. data/previews/docs/beta_timeline_item_preview.rb +0 -7
  334. data/previews/docs/beta_truncate_preview/advanced_multiple_items.html.erb +0 -9
  335. data/previews/docs/beta_truncate_preview/default.html.erb +0 -1
  336. data/previews/docs/beta_truncate_preview/expand_on_hover_or_focus.html.erb +0 -6
  337. data/previews/docs/beta_truncate_preview/max_widths.html.erb +0 -5
  338. data/previews/docs/beta_truncate_preview/max_widths_on_new_lines.html.erb +0 -11
  339. data/previews/docs/beta_truncate_preview/multiple_items.html.erb +0 -6
  340. data/previews/docs/beta_truncate_preview.rb +0 -17
  341. data/previews/docs/blankslate_component_preview/action_button.html.erb +0 -8
  342. data/previews/docs/blankslate_component_preview/basic.html.erb +0 -4
  343. data/previews/docs/blankslate_component_preview/custom_content.html.erb +0 -5
  344. data/previews/docs/blankslate_component_preview/icon.html.erb +0 -5
  345. data/previews/docs/blankslate_component_preview/link.html.erb +0 -7
  346. data/previews/docs/blankslate_component_preview/loading.html.erb +0 -6
  347. data/previews/docs/blankslate_component_preview/variations.html.erb +0 -8
  348. data/previews/docs/blankslate_component_preview.rb +0 -19
  349. data/previews/docs/box_preview/color_and_padding.html.erb +0 -1
  350. data/previews/docs/box_preview/default.html.erb +0 -1
  351. data/previews/docs/box_preview.rb +0 -9
  352. data/previews/docs/button_component_preview/block.html.erb +0 -2
  353. data/previews/docs/button_component_preview/schemes.html.erb +0 -6
  354. data/previews/docs/button_component_preview/sizes.html.erb +0 -2
  355. data/previews/docs/button_component_preview/with_dropdown_caret.html.erb +0 -3
  356. data/previews/docs/button_component_preview/with_leading_and_trailing_visuals.html.erb +0 -5
  357. data/previews/docs/button_component_preview/with_leading_visual.html.erb +0 -4
  358. data/previews/docs/button_component_preview/with_tooltip.html.erb +0 -4
  359. data/previews/docs/button_component_preview/with_trailing_visual.html.erb +0 -4
  360. data/previews/docs/button_component_preview.rb +0 -21
  361. data/previews/docs/dropdown_preview/customizing_menu_items.html.erb +0 -11
  362. data/previews/docs/dropdown_preview/customizing_the_button.html.erb +0 -12
  363. data/previews/docs/dropdown_preview/default.html.erb +0 -11
  364. data/previews/docs/dropdown_preview/menu_as_list.html.erb +0 -13
  365. data/previews/docs/dropdown_preview/with_caret.html.erb +0 -12
  366. data/previews/docs/dropdown_preview/with_direction.html.erb +0 -12
  367. data/previews/docs/dropdown_preview/with_dividers.html.erb +0 -16
  368. data/previews/docs/dropdown_preview.rb +0 -19
  369. data/previews/docs/hellip_button_preview/default.html.erb +0 -1
  370. data/previews/docs/hellip_button_preview/inline.html.erb +0 -1
  371. data/previews/docs/hellip_button_preview/styling_the_button.html.erb +0 -1
  372. data/previews/docs/hellip_button_preview.rb +0 -11
  373. data/previews/docs/icon_button_preview/custom_tooltip_direction.html.erb +0 -2
  374. data/previews/docs/icon_button_preview/default.html.erb +0 -2
  375. data/previews/docs/icon_button_preview/in_a_borderbox.html.erb +0 -7
  376. data/previews/docs/icon_button_preview/schemes.html.erb +0 -3
  377. data/previews/docs/icon_button_preview/with_an_aria_description.html.erb +0 -1
  378. data/previews/docs/icon_button_preview.rb +0 -15
  379. data/previews/docs/label_component_preview/inline.html.erb +0 -2
  380. data/previews/docs/label_component_preview/schemes.html.erb +0 -10
  381. data/previews/docs/label_component_preview/sizes.html.erb +0 -2
  382. data/previews/docs/label_component_preview.rb +0 -11
  383. data/previews/docs/layout_component_preview/default.html.erb +0 -4
  384. data/previews/docs/layout_component_preview/left_sidebar.html.erb +0 -4
  385. data/previews/docs/layout_component_preview.rb +0 -9
  386. data/previews/docs/link_component_preview/default.html.erb +0 -1
  387. data/previews/docs/link_component_preview/muted.html.erb +0 -1
  388. data/previews/docs/link_component_preview/schemes.html.erb +0 -2
  389. data/previews/docs/link_component_preview/with_tooltip.html.erb +0 -4
  390. data/previews/docs/link_component_preview/without_underline.html.erb +0 -1
  391. data/previews/docs/link_component_preview.rb +0 -15
  392. data/previews/docs/local_time_preview/all_the_options.html.erb +0 -1
  393. data/previews/docs/local_time_preview/default.html.erb +0 -1
  394. data/previews/docs/local_time_preview/with_initial_content.html.erb +0 -4
  395. data/previews/docs/local_time_preview.rb +0 -11
  396. data/previews/docs/markdown_preview/default.html.erb +0 -260
  397. data/previews/docs/markdown_preview.rb +0 -7
  398. data/previews/docs/menu_component_preview/default.html.erb +0 -17
  399. data/previews/docs/menu_component_preview.rb +0 -7
  400. data/previews/docs/navigation_tab_component_preview/default.html.erb +0 -6
  401. data/previews/docs/navigation_tab_component_preview/inside_a_list.html.erb +0 -3
  402. data/previews/docs/navigation_tab_component_preview/with_custom_html.html.erb +0 -5
  403. data/previews/docs/navigation_tab_component_preview/with_icons_and_counters.html.erb +0 -13
  404. data/previews/docs/navigation_tab_component_preview.rb +0 -13
  405. data/previews/docs/octicon_component_preview/default.html.erb +0 -2
  406. data/previews/docs/octicon_component_preview/helper.html.erb +0 -1
  407. data/previews/docs/octicon_component_preview/medium.html.erb +0 -1
  408. data/previews/docs/octicon_component_preview.rb +0 -11
  409. data/previews/docs/octicon_symbols_component_preview/symbol_dictionary.html.erb +0 -4
  410. data/previews/docs/octicon_symbols_component_preview.rb +0 -7
  411. data/previews/docs/popover_component_preview/caret_position.html.erb +0 -8
  412. data/previews/docs/popover_component_preview/default.html.erb +0 -8
  413. data/previews/docs/popover_component_preview/large.html.erb +0 -8
  414. data/previews/docs/popover_component_preview/with_multiple_elements_in_the_body.html.erb +0 -11
  415. data/previews/docs/popover_component_preview.rb +0 -13
  416. data/previews/docs/spinner_component_preview/default.html.erb +0 -1
  417. data/previews/docs/spinner_component_preview/large.html.erb +0 -1
  418. data/previews/docs/spinner_component_preview/small.html.erb +0 -1
  419. data/previews/docs/spinner_component_preview.rb +0 -11
  420. data/previews/docs/state_component_preview/default.html.erb +0 -1
  421. data/previews/docs/state_component_preview/schemes.html.erb +0 -4
  422. data/previews/docs/state_component_preview/sizes.html.erb +0 -2
  423. data/previews/docs/state_component_preview.rb +0 -11
  424. data/previews/docs/subhead_component_preview/default.html.erb +0 -8
  425. data/previews/docs/subhead_component_preview/with_actions.html.erb +0 -15
  426. data/previews/docs/subhead_component_preview/with_dangerous_heading.html.erb +0 -8
  427. data/previews/docs/subhead_component_preview/with_long_description.html.erb +0 -6
  428. data/previews/docs/subhead_component_preview/without_border.html.erb +0 -8
  429. data/previews/docs/subhead_component_preview.rb +0 -15
  430. data/previews/docs/tab_container_component_preview/default.html.erb +0 -16
  431. data/previews/docs/tab_container_component_preview.rb +0 -7
  432. data/previews/docs/time_ago_component_preview/default.html.erb +0 -1
  433. data/previews/docs/time_ago_component_preview.rb +0 -7
  434. data/previews/docs/timeline_item_component_preview/default.html.erb +0 -7
  435. data/previews/docs/timeline_item_component_preview.rb +0 -7
  436. data/previews/docs/tooltip_preview/default.html.erb +0 -3
  437. data/previews/docs/tooltip_preview/with_a_direction.html.erb +0 -3
  438. data/previews/docs/tooltip_preview/with_an_alignment.html.erb +0 -3
  439. data/previews/docs/tooltip_preview/without_a_delay.html.erb +0 -3
  440. data/previews/docs/tooltip_preview/wrapping_another_component.html.erb +0 -5
  441. data/previews/docs/tooltip_preview.rb +0 -15
  442. data/previews/docs/truncate_preview/custom_size.html.erb +0 -1
  443. data/previews/docs/truncate_preview/default.html.erb +0 -3
  444. data/previews/docs/truncate_preview/expandable.html.erb +0 -1
  445. data/previews/docs/truncate_preview/inline.html.erb +0 -1
  446. data/previews/docs/truncate_preview/with_html_content.html.erb +0 -3
  447. data/previews/docs/truncate_preview.rb +0 -15
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class AlphaTextFieldPreview < ViewComponent::Preview
5
- def default; end
6
-
7
- def with_a_clear_button; end
8
-
9
- def full_width; end
10
-
11
- def disabled; end
12
-
13
- def invalid; end
14
-
15
- def with_a_leading_visual; end
16
-
17
- def with_a_caption; end
18
-
19
- def with_a_validation_message; end
20
- end
21
- end
@@ -1 +0,0 @@
1
- <%= render(Yattho::Alpha::ToggleSwitch.new(src: "/view-components/rails-app/toggle_switch", checked: true)) %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Alpha::ToggleSwitch.new(src: "/view-components/rails-app/toggle_switch", checked: true, enabled: false)) %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Alpha::ToggleSwitch.new(src: "/view-components/rails-app/toggle_switch")) %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Alpha::ToggleSwitch.new(src: "/view-components/rails-app/toggle_switch", enabled: false)) %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Alpha::ToggleSwitch.new(src: "/view-components/rails-app/toggle_switch", size: :small)) %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Alpha::ToggleSwitch.new(src: "/view-components/rails-app/toggle_switch", status_label_position: :end)) %>
@@ -1,17 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class AlphaToggleSwitchPreview < ViewComponent::Preview
5
- def default; end
6
-
7
- def checked; end
8
-
9
- def disabled; end
10
-
11
- def checked_and_disabled; end
12
-
13
- def small; end
14
-
15
- def with_status_label_positioned_at_the_end; end
16
- end
17
- end
@@ -1 +0,0 @@
1
- <%= render(Yattho::IconButton.new(id: "bold-button-0", icon: :bold, "aria-label": "Bold")) %>
@@ -1,4 +0,0 @@
1
- <%= render(Yattho::ButtonComponent.new(id: "save-button")) do |component| %>
2
- <% component.with_tooltip(text: "This will immediately impact all organization members", type: :description, direction: :ne) %>
3
- Save
4
- <% end %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::IconButton.new(id: "search-button", icon: :search, "aria-label": "Search", "aria-description": "Use keywords like 'repo:' and 'org:' in your query")) %>
@@ -1,4 +0,0 @@
1
- <div style="position: relative;">
2
- <button type="button" id="test-button">Test</button>
3
- <%= render(Yattho::Alpha::Tooltip.new(for_id: "test-button", type: :description, text: "This tooltip should take up the full width", direction: :ne)) %>
4
- </div>
@@ -1,32 +0,0 @@
1
- <%= render(Yattho::ButtonComponent.new(id: "North", m: 2)) do |component| %>
2
- <% component.with_tooltip(text: "This is a North-facing tooltip, and is responsive.", type: :description, direction: :n) %>
3
- North
4
- <% end %>
5
- <%= render(Yattho::ButtonComponent.new(id: "South", m: 2)) do |component| %>
6
- <% component.with_tooltip(text: "This is a South-facing tooltip, and is responsive.", type: :description, direction: :s) %>
7
- South
8
- <% end %>
9
- <%= render(Yattho::ButtonComponent.new(id: "East", m: 2)) do |component| %>
10
- <% component.with_tooltip(text: "This is a East-facing tooltip, and is responsive.", type: :description, direction: :e) %>
11
- East
12
- <% end %>
13
- <%= render(Yattho::ButtonComponent.new(id: "West", m: 2)) do |component| %>
14
- <% component.with_tooltip(text: "This is a West-facing tooltip, and is responsive.", type: :description, direction: :w) %>
15
- West
16
- <% end %>
17
- <%= render(Yattho::ButtonComponent.new(id: "Northwest", m: 2)) do |component| %>
18
- <% component.with_tooltip(text: "This is a Northwest-facing tooltip, and is responsive.", type: :description, direction: :nw) %>
19
- Northwest
20
- <% end %>
21
- <%= render(Yattho::ButtonComponent.new(id: "Southwest", m: 2)) do |component| %>
22
- <% component.with_tooltip(text: "This is a Southwest-facing tooltip, and is responsive.", type: :description, direction: :sw) %>
23
- Southwest
24
- <% end %>
25
- <%= render(Yattho::ButtonComponent.new(id: "Northeast", m: 2)) do |component| %>
26
- <% component.with_tooltip(text: "This is a Northeast-facing tooltip, and is responsive.", type: :description, direction: :ne) %>
27
- Northeast
28
- <% end %>
29
- <%= render(Yattho::ButtonComponent.new(id: "Southeast", m: 2)) do |component| %>
30
- <% component.with_tooltip(text: "This is a Southeast-facing tooltip, and is responsive.", type: :description, direction: :se) %>
31
- Southeast
32
- <% end %>
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class AlphaTooltipPreview < ViewComponent::Preview
5
- def as_a_supplementary_description_for_a_button; end
6
-
7
- def as_a_label_for_an_iconbutton; end
8
-
9
- def as_a_supplementary_description_for_an_iconbutton; end
10
-
11
- def with_direction; end
12
-
13
- def directly_using_tooltip; end
14
- end
15
- end
@@ -1,11 +0,0 @@
1
- <%= render(Yattho::Alpha::UnderlineNav.new(label: "Align right", align: :right)) do |component| %>
2
- <% component.with_tab(href: "#", selected: true) do |tab| %>
3
- <% tab.with_text { "Item 1" } %>
4
- <% end %>
5
- <% component.with_tab(href: "#") do |tab| %>
6
- <% tab.with_text { "Item 2" } %>
7
- <% end %>
8
- <% component.with_actions do %>
9
- <%= render(Yattho::ButtonComponent.new) { "Button!" } %>
10
- <% end %>
11
- <% end %>
@@ -1,5 +0,0 @@
1
- <%= render(Yattho::Alpha::UnderlineNav.new(label: "Default", body_arguments: { classes: "custom-class", border: true, border_color: :accent_emphasis })) do |component| %>
2
- <% component.with_tab(selected: true, href: "#") { "Tab 1" }%>
3
- <% component.with_tab(href: "#") { "Tab 2" } %>
4
- <% component.with_tab(href: "#") { "Tab 3" } %>
5
- <% end %>
@@ -1,7 +0,0 @@
1
- <%= render(Yattho::Alpha::UnderlineNav.new(label: "Default with nav element")) do |component| %>
2
- <% component.with_tab(href: "#", selected: true) { "Item 1" } %>
3
- <% component.with_tab(href: "#") { "Item 2" } %>
4
- <% component.with_actions do %>
5
- <%= render(Yattho::ButtonComponent.new) { "Button!" } %>
6
- <% end %>
7
- <% end %>
@@ -1,7 +0,0 @@
1
- <%= render(Yattho::Alpha::UnderlineNav.new(tag: :div, label: "With div element")) do |component| %>
2
- <% component.with_tab(href: "#", selected: true) { "Item 1" } %>
3
- <% component.with_tab(href: "#") { "Item 2" } %>
4
- <% component.with_actions do %>
5
- <%= render(Yattho::ButtonComponent.new) { "Button!" } %>
6
- <% end %>
7
- <% end %>
@@ -1,18 +0,0 @@
1
- <%= render(Yattho::Alpha::UnderlineNav.new(label: "With icons and counters")) do |component| %>
2
- <% component.with_tab(href: "#", selected: true) do |tab| %>
3
- <% tab.with_icon(icon: :star) %>
4
- <% tab.with_text { "Item 1" } %>
5
- <% end %>
6
- <% component.with_tab(href: "#") do |tab| %>
7
- <% tab.with_icon(icon: :star) %>
8
- <% tab.with_text { "Item 2" } %>
9
- <% tab.with_counter(count: 10) %>
10
- <% end %>
11
- <% component.with_tab(href: "#") do |tab| %>
12
- <% tab.with_text { "Item 3" } %>
13
- <% tab.with_counter(count: 10) %>
14
- <% end %>
15
- <% component.with_actions do %>
16
- <%= render(Yattho::ButtonComponent.new) { "Button!" } %>
17
- <% end %>
18
- <% end %>
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class AlphaUnderlineNavPreview < ViewComponent::Preview
5
- def default_with_nav; end
6
-
7
- def with_div; end
8
-
9
- def with_icons_and_counters; end
10
-
11
- def align_right; end
12
-
13
- def customizing_the_body; end
14
- end
15
- end
@@ -1,17 +0,0 @@
1
- <%= render(Yattho::Alpha::UnderlinePanels.new(label: "With panels")) do |component| %>
2
- <% component.with_tab(id: "tab-1", selected: true) do |tab| %>
3
- <% tab.with_text { "Tab 1" } %>
4
- <% tab.with_panel do %>
5
- Panel 1
6
- <% end %>
7
- <% end %>
8
- <% component.with_tab(id: "tab-2") do |tab| %>
9
- <% tab.with_text { "Tab 2" } %>
10
- <% tab.with_panel do %>
11
- Panel 2
12
- <% end %>
13
- <% end %>
14
- <% component.with_actions do %>
15
- <%= render(Yattho::ButtonComponent.new) { "Button!" } %>
16
- <% end %>
17
- <% end %>
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class AlphaUnderlinePanelsPreview < ViewComponent::Preview
5
- def default; end
6
- end
7
- end
@@ -1,6 +0,0 @@
1
- <%= render(Yattho::Beta::AutoComplete::Item.new(selected: true, value: "value")) do %>
2
- Selected
3
- <% end %>
4
- <%= render(Yattho::Beta::AutoComplete::Item.new(value: "value")) do %>
5
- Not selected
6
- <% end %>
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaAutoCompleteItemPreview < ViewComponent::Preview
5
- def default; end
6
- end
7
- end
@@ -1,3 +0,0 @@
1
- <%= render(Yattho::Beta::AutoComplete.new(label_text: "Select a fruit", input_id: "fruits-input--custom-results-2", list_id: "fruits-popup--custom-results-2", src: "/view-components/rails-app/auto_complete", full_width: true)) do |component| %>
2
- <% component.with_leading_visual_icon(icon: :search) %>
3
- <% end %>
@@ -1,3 +0,0 @@
1
- <%= render(Yattho::Beta::AutoComplete.new(label_text: "Select a fruit", input_id: "fruits-input--custom-results-2", list_id: "fruits-popup--custom-results-2", src: "/view-components/rails-app/auto_complete", inset: true)) do |component| %>
2
- <% component.with_leading_visual_icon(icon: :search) %>
3
- <% end %>
@@ -1,3 +0,0 @@
1
- <%= render(Yattho::Beta::AutoComplete.new(label_text: "Select a fruit", src: "/view-components/rails-app/auto_complete", input_id:"input-id-1", list_id: "list-id-1")) do |component| %>
2
- <% component.with_leading_visual_icon(icon: :search) %>
3
- <% end %>
@@ -1,3 +0,0 @@
1
- <%= render(Yattho::Beta::AutoComplete.new(label_text: "Select a fruit", input_id: "fruits-input--custom-results-2", list_id: "fruits-popup--custom-results-2", src: "/view-components/rails-app/auto_complete", monospace: true)) do |component| %>
2
- <% component.with_leading_visual_icon(icon: :search) %>
3
- <% end %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::AutoComplete.new(label_text: "Select a fruit", input_id: "input-id-2", list_id: "list-id-2", src: "/view-components/rails-app/auto_complete", show_clear_button: true )) %>
@@ -1,3 +0,0 @@
1
- <%= render(Yattho::Beta::AutoComplete.new(label_text: "Select a fruit", input_id: "fruits-input--custom-results-1", list_id: "fruits-popup--custom-result-1", src: "/view-components/rails-app/auto_complete", visually_hide_label: true)) do |component| %>
2
- <% component.with_leading_visual_icon(icon: :search) %>
3
- <% end %>
@@ -1,3 +0,0 @@
1
- <%= render(Yattho::Beta::AutoComplete.new(label_text: "Fruits", src: "/view-components/rails-app/auto_complete", input_id: "fruits-input--custom-input", list_id: "fruits-popup--custom-input")) do |component| %>
2
- <% component.with_input(classes: "custom-class") %>
3
- <% end %>
@@ -1,3 +0,0 @@
1
- <%= render(Yattho::Beta::AutoComplete.new(label_text: "Fruits", src: "/view-components/rails-app/auto_complete", input_id: "fruits-input--custom-results", list_id: "fruits-popup--custom-results")) do |component| %>
2
- <% component.with_results(classes: "custom-class") %>
3
- <% end %>
@@ -1,21 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaAutoCompletePreview < ViewComponent::Preview
5
- def leading_visual; end
6
-
7
- def trailing_action; end
8
-
9
- def visually_hidden_label; end
10
-
11
- def full_width_field; end
12
-
13
- def inset_variant; end
14
-
15
- def monospace_variant; end
16
-
17
- def with_custom_classes_for_the_input; end
18
-
19
- def with_custom_classes_for_the_results; end
20
- end
21
- end
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::Avatar.new(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser")) %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::Avatar.new(href: "#", src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser profile")) %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::Avatar.new(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser", shape: :square)) %>
@@ -1,7 +0,0 @@
1
- <%= render(Yattho::Beta::Avatar.new(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser", size: 16)) %>
2
- <%= render(Yattho::Beta::Avatar.new(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser", size: 20)) %>
3
- <%= render(Yattho::Beta::Avatar.new(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser", size: 24)) %>
4
- <%= render(Yattho::Beta::Avatar.new(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser", size: 32)) %>
5
- <%= render(Yattho::Beta::Avatar.new(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser", size: 40)) %>
6
- <%= render(Yattho::Beta::Avatar.new(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser", size: 48)) %>
7
- <%= render(Yattho::Beta::Avatar.new(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser", size: 80)) %>
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaAvatarPreview < ViewComponent::Preview
5
- def default; end
6
-
7
- def square; end
8
-
9
- def link; end
10
-
11
- def with_size; end
12
- end
13
- end
@@ -1,5 +0,0 @@
1
- <%= render(Yattho::Beta::AvatarStack.new(align: :right)) do |component| %>
2
- <% component.with_avatar(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser") %>
3
- <% component.with_avatar(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser") %>
4
- <% component.with_avatar(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser") %>
5
- <% end %>
@@ -1,5 +0,0 @@
1
- <%= render(Yattho::Beta::AvatarStack.new) do |component| %>
2
- <% component.with_avatar(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser") %>
3
- <% component.with_avatar(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser") %>
4
- <% component.with_avatar(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser") %>
5
- <% end %>
@@ -1,5 +0,0 @@
1
- <%= render(Yattho::Beta::AvatarStack.new(tooltipped: true, body_arguments: { label: 'This is a tooltip!' })) do |component| %>
2
- <% component.with_avatar(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser") %>
3
- <% component.with_avatar(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser") %>
4
- <% component.with_avatar(src: Yattho::ExampleImage::BASE64_SRC, alt: "@kittenuser") %>
5
- <% end %>
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaAvatarStackPreview < ViewComponent::Preview
5
- def default; end
6
-
7
- def align_right; end
8
-
9
- def with_tooltip; end
10
- end
11
- end
@@ -1,2 +0,0 @@
1
- <%= render(Yattho::Beta::BaseButton.new(block: :true)) { "Block" } %>
2
- <%= render(Yattho::Beta::BaseButton.new(block: :true, scheme: :primary)) { "Primary block" } %>
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaBaseButtonPreview < ViewComponent::Preview
5
- def block; end
6
- end
7
- end
@@ -1,4 +0,0 @@
1
- <%= render Yattho::Beta::Blankslate.new do |component| %>
2
- <% component.with_heading(tag: :h2).with_content("Title") %>
3
- <% component.with_description { "Description"} %>
4
- <% end %>
@@ -1,6 +0,0 @@
1
- <%= render Yattho::Beta::Blankslate.new do |component| %>
2
- <% component.with_heading(tag: :h2).with_content("Title") %>
3
- <% component.with_description do %>
4
- <em>Your custom content here</em>
5
- <% end %>
6
- <% end %>
@@ -1,5 +0,0 @@
1
- <%= render Yattho::Beta::Blankslate.new do |component| %>
2
- <% component.with_visual_icon(icon: :globe) %>
3
- <% component.with_heading(tag: :h2).with_content("Title") %>
4
- <% component.with_description { "Description"} %>
5
- <% end %>
@@ -1,5 +0,0 @@
1
- <%= render Yattho::Beta::Blankslate.new do |component| %>
2
- <% component.with_visual_spinner(size: :large) %>
3
- <% component.with_heading(tag: :h2).with_content("Title") %>
4
- <% component.with_description { "Description"} %>
5
- <% end %>
@@ -1,6 +0,0 @@
1
- <%= render Yattho::Beta::Blankslate.new do |component| %>
2
- <% component.with_visual_icon(icon: :book) %>
3
- <% component.with_heading(tag: :h2).with_content("Welcome to the mona wiki!") %>
4
- <% component.with_description { "Wikis provide a place in your repository to lay out the roadmap of your project, show the current status, and document software better, together."} %>
5
- <% component.with_primary_action(href: "https://github.com/monalisa/mona/wiki/_new").with_content("Create the first page") %>
6
- <% end %>
@@ -1,7 +0,0 @@
1
- <%= render Yattho::Beta::Blankslate.new do |component| %>
2
- <% component.with_visual_icon(icon: :book) %>
3
- <% component.with_heading(tag: :h2).with_content("Welcome to the mona wiki!") %>
4
- <% component.with_description { "Wikis provide a place in your repository to lay out the roadmap of your project, show the current status, and document software better, together."} %>
5
- <% component.with_primary_action(href: "https://github.com/monalisa/mona/wiki/_new").with_content("Create the first page") %>
6
- <% component.with_secondary_action(href: "https://docs.github.com/en/github/building-a-strong-community/about-wikis").with_content("Learn more about wikis") %>
7
- <% end %>
@@ -1,6 +0,0 @@
1
- <%= render Yattho::Beta::Blankslate.new do |component| %>
2
- <% component.with_visual_icon(icon: :book) %>
3
- <% component.with_heading(tag: :h2).with_content("Welcome to the mona wiki!") %>
4
- <% component.with_description { "Wikis provide a place in your repository to lay out the roadmap of your project, show the current status, and document software better, together."} %>
5
- <% component.with_secondary_action(href: "https://docs.github.com/en/github/building-a-strong-community/about-wikis").with_content("Learn more about wikis") %>
6
- <% end %>
@@ -1,5 +0,0 @@
1
- <%= render Yattho::Beta::Blankslate.new do |component| %>
2
- <% component.with_visual_image(src: Yattho::ExampleImage::BASE64_SRC, alt: "Security - secure vault") %>
3
- <% component.with_heading(tag: :h2).with_content("Title") %>
4
- <% component.with_description { "Description"} %>
5
- <% end %>
@@ -1,8 +0,0 @@
1
- <%= render Yattho::Beta::Blankslate.new(
2
- narrow: true,
3
- spacious: true,
4
- ) do |component| %>
5
- <% component.with_visual_icon(icon: :book) %>
6
- <% component.with_heading(tag: :h2).with_content("Welcome to the mona wiki!") %>
7
- <% component.with_description { "Wikis provide a place in your repository to lay out the roadmap of your project, show the current status, and document software better, together."} %>
8
- <% end %>
@@ -1,5 +0,0 @@
1
- <%= render Yattho::Beta::Blankslate.new(border: true) do |component| %>
2
- <% component.with_visual_icon(icon: :book) %>
3
- <% component.with_heading(tag: :h2).with_content("Welcome to the mona wiki!") %>
4
- <% component.with_description { "Wikis provide a place in your repository to lay out the roadmap of your project, show the current status, and document software better, together."} %>
5
- <% end %>
@@ -1,25 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaBlankslatePreview < ViewComponent::Preview
5
- def basic; end
6
-
7
- def icon; end
8
-
9
- def loading; end
10
-
11
- def using_an_image; end
12
-
13
- def custom_content; end
14
-
15
- def primary_action; end
16
-
17
- def secondary_action; end
18
-
19
- def primary_and_secondary_actions; end
20
-
21
- def variations; end
22
-
23
- def with_border; end
24
- end
25
- end
@@ -1,4 +0,0 @@
1
-
2
- <%= render(Yattho::Beta::BorderBox::Header.new) do %>
3
- Header
4
- <% end %>
@@ -1,3 +0,0 @@
1
- <%= render(Yattho::Beta::BorderBox::Header.new) do |h| %>
2
- <% h.with_title(tag: :h3) do %>I am a title<% end %>
3
- <% end %>
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaBorderBoxHeaderPreview < ViewComponent::Preview
5
- def default; end
6
-
7
- def with_title; end
8
- end
9
- end
@@ -1,21 +0,0 @@
1
- <%= render(Yattho::Beta::BorderBox.new) do |component| %>
2
- <% component.with_header do |h| %>
3
- <% h.title(tag: :h2) do %>
4
- Header
5
- <% end %>
6
- <% end %>
7
- <% component.with_body do %>
8
- Body
9
- <% end %>
10
- <% component.with_row do %>
11
- <% if true %>
12
- Row one
13
- <% end %>
14
- <% end %>
15
- <% component.with_row do %>
16
- Row two
17
- <% end %>
18
- <% component.with_footer do %>
19
- Footer
20
- <% end %>
21
- <% end %>
@@ -1,14 +0,0 @@
1
- <%= render(Yattho::Beta::BorderBox.new(padding: :condensed)) do |component| %>
2
- <% component.with_header do %>
3
- Header
4
- <% end %>
5
- <% component.with_body do %>
6
- Body
7
- <% end %>
8
- <% component.with_row do %>
9
- Row two
10
- <% end %>
11
- <% component.with_footer do %>
12
- Footer
13
- <% end %>
14
- <% end %>
@@ -1,14 +0,0 @@
1
- <%= render(Yattho::Beta::BorderBox.new) do |component| %>
2
- <% component.with_row do %>
3
- Default
4
- <% end %>
5
- <% component.with_row(scheme: :neutral) do %>
6
- Neutral
7
- <% end %>
8
- <% component.with_row(scheme: :info) do %>
9
- Info
10
- <% end %>
11
- <% component.with_row(scheme: :warning) do %>
12
- Warning
13
- <% end %>
14
- <% end %>
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaBorderBoxPreview < ViewComponent::Preview
5
- def header_with_title_body_rows_and_footer; end
6
-
7
- def padding_density; end
8
-
9
- def row_colors; end
10
- end
11
- end
@@ -1,5 +0,0 @@
1
- <%= render(Yattho::Beta::Breadcrumbs.new) do |component| %>
2
- <% component.with_item(href: "/") do %>Home<% end %>
3
- <% component.with_item(href: "/about") do %>About<% end %>
4
- <% component.with_item(href: "/about/team") do %>Team<% end %>
5
- <% end %>
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaBreadcrumbsPreview < ViewComponent::Preview
5
- def basic; end
6
- end
7
- end
@@ -1,8 +0,0 @@
1
-
2
- <%= render(Yattho::Beta::ButtonGroup.new) do |component| %>
3
- <% component.with_button { "Default" } %>
4
- <% component.with_button(scheme: :primary) { "Primary" } %>
5
- <% component.with_button(scheme: :danger) { "Danger" } %>
6
- <% component.with_button(scheme: :outline) { "Outline" } %>
7
- <% component.with_button(classes: "custom-class") { "Custom class" } %>
8
- <% end %>
@@ -1,7 +0,0 @@
1
-
2
- <%= render(Yattho::Beta::ButtonGroup.new(size: :small)) do |component| %>
3
- <% component.with_button { "Default" } %>
4
- <% component.with_button(scheme: :primary) { "Primary" } %>
5
- <% component.with_button(scheme: :danger) { "Danger" } %>
6
- <% component.with_button(scheme: :outline) { "Outline" } %>
7
- <% end %>