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,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaButtonGroupPreview < ViewComponent::Preview
5
- def default; end
6
-
7
- def sizes; end
8
- end
9
- end
@@ -1,2 +0,0 @@
1
- <%= render(Yattho::Beta::Button.new(block: :true)) { "Full width" } %>
2
- <%= render(Yattho::Beta::Button.new(block: :true, scheme: :primary)) { "Primary full width" } %>
@@ -1,4 +0,0 @@
1
- <%= render(Yattho::Beta::Button.new) { "Default" } %>
2
- <%= render(Yattho::Beta::Button.new(scheme: :primary)) { "Primary" } %>
3
- <%= render(Yattho::Beta::Button.new(scheme: :danger)) { "Danger" } %>
4
- <%= render(Yattho::Beta::Button.new(scheme: :invisible)) { "Invisible" } %>
@@ -1,2 +0,0 @@
1
- <%= render(Yattho::Beta::Button.new(size: :small)) { "Small" } %>
2
- <%= render(Yattho::Beta::Button.new(size: :medium)) { "Medium" } %>
@@ -1,5 +0,0 @@
1
- <%= render(Yattho::Beta::Button.new) do |component| %>
2
- <% component.with_leading_visual_icon(icon: :star) %>
3
- <% component.with_trailing_visual_counter(count: 15) %>
4
- Button
5
- <% end %>
@@ -1,4 +0,0 @@
1
- <%= render(Yattho::Beta::Button.new) do |component| %>
2
- <% component.with_leading_visual_icon(icon: :star) %>
3
- Button
4
- <% end %>
@@ -1,4 +0,0 @@
1
- <%= render(Yattho::Beta::Button.new(id: "button-with-tooltip")) do |component| %>
2
- <% component.with_tooltip(text: "Tooltip text") %>
3
- Button
4
- <% end %>
@@ -1,4 +0,0 @@
1
- <%= render(Yattho::Beta::Button.new) do |component| %>
2
- <% component.with_trailing_visual_counter(count: 15) %>
3
- Button
4
- <% end %>
@@ -1,19 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaButtonPreview < ViewComponent::Preview
5
- def schemes; end
6
-
7
- def sizes; end
8
-
9
- def full_width; end
10
-
11
- def with_leading_visual; end
12
-
13
- def with_trailing_visual; end
14
-
15
- def with_leading_and_trailing_visuals; end
16
-
17
- def with_tooltip; end
18
- end
19
- end
@@ -1,2 +0,0 @@
1
- <%= render(Yattho::Beta::ClipboardCopy.new(for: "blob-path", "aria-label": "Copy text to the system clipboard")) %>
2
- <div id="blob-path">src/index.js</div>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::ClipboardCopy.new(value: "Text to copy", "aria-label": "Copy text to the system clipboard")) %>
@@ -1,3 +0,0 @@
1
- <%= render(Yattho::Beta::ClipboardCopy.new(value: "Text to copy")) do %>
2
- Click to copy!
3
- <% end %>
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaClipboardCopyPreview < ViewComponent::Preview
5
- def default; end
6
-
7
- def with_text_instead_of_icons; end
8
-
9
- def copying_from_an_element; end
10
- end
11
- end
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::CloseButton.new) %>
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaCloseButtonPreview < ViewComponent::Preview
5
- def default; end
6
- end
7
- end
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::Counter.new(count: 25)) %>
@@ -1,2 +0,0 @@
1
- <%= render(Yattho::Beta::Counter.new(count: 25, scheme: :primary)) %>
2
- <%= render(Yattho::Beta::Counter.new(count: 25, scheme: :secondary)) %>
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaCounterPreview < ViewComponent::Preview
5
- def default; end
6
-
7
- def schemes; end
8
- end
9
- end
@@ -1,9 +0,0 @@
1
-
2
- <%= render Yattho::Beta::Details.new do |component| %>
3
- <% component.with_summary do %>
4
- Summary
5
- <% end %>
6
- <% component.with_body do %>
7
- Body
8
- <% end %>
9
- <% end %>
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaDetailsPreview < ViewComponent::Preview
5
- def default; end
6
- end
7
- end
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::Flash.new(dismissible: true)) { "This is a dismissible flash message!" } %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::Flash.new(full: true)) { "This is a full width flash message!" } %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::Flash.new(icon: :people)) { "This is a flash message with an icon!" } %>
@@ -1,4 +0,0 @@
1
- <%= render(Yattho::Beta::Flash.new) { "This is a flash message!" } %>
2
- <%= render(Yattho::Beta::Flash.new(scheme: :warning)) { "This is a warning flash message!" } %>
3
- <%= render(Yattho::Beta::Flash.new(scheme: :danger)) { "This is a danger flash message!" } %>
4
- <%= render(Yattho::Beta::Flash.new(scheme: :success)) { "This is a success flash message!" } %>
@@ -1,6 +0,0 @@
1
- <%= render(Yattho::Beta::Flash.new) do |component| %>
2
- This is a flash message with actions!
3
- <% component.with_action do %>
4
- <%= render(Yattho::ButtonComponent.new(size: :small)) { "Take action" } %>
5
- <% end %>
6
- <% end %>
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaFlashPreview < ViewComponent::Preview
5
- def schemes; end
6
-
7
- def full_width; end
8
-
9
- def dismissible; end
10
-
11
- def icon; end
12
-
13
- def with_actions; end
14
- end
15
- end
@@ -1,6 +0,0 @@
1
- <%= render(Yattho::Beta::Heading.new(tag: :h1)) { "H1 Text" } %>
2
- <%= render(Yattho::Beta::Heading.new(tag: :h2)) { "H2 Text" } %>
3
- <%= render(Yattho::Beta::Heading.new(tag: :h3)) { "H3 Text" } %>
4
- <%= render(Yattho::Beta::Heading.new(tag: :h4)) { "H4 Text" } %>
5
- <%= render(Yattho::Beta::Heading.new(tag: :h5)) { "H5 Text" } %>
6
- <%= render(Yattho::Beta::Heading.new(tag: :h6)) { "H6 Text" } %>
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaHeadingPreview < ViewComponent::Preview
5
- def default; end
6
- end
7
- end
@@ -1,2 +0,0 @@
1
-
2
- <%= render(Yattho::Beta::IconButton.new(icon: :search, "aria-label": "Search", tooltip_direction: :e)) %>
@@ -1,2 +0,0 @@
1
-
2
- <%= render(Yattho::Beta::IconButton.new(icon: :search, "aria-label": "Search", id: "search-button", id: "search-button")) %>
@@ -1,3 +0,0 @@
1
-
2
- <%= render(Yattho::Beta::IconButton.new(icon: :search, "aria-label": "Search")) %>
3
- <%= render(Yattho::Beta::IconButton.new(icon: :trash, "aria-label": "Delete", scheme: :danger)) %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::IconButton.new(icon: :bold, "aria-label": "Bold", "aria-description": "Add bold text, Cmd+b")) %>
@@ -1,13 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaIconButtonPreview < ViewComponent::Preview
5
- def default; end
6
-
7
- def schemes; end
8
-
9
- def with_an_aria_description; end
10
-
11
- def custom_tooltip_direction; end
12
- end
13
- end
@@ -1,2 +0,0 @@
1
- <%= render(Yattho::Beta::Label.new) { "Default" } %>
2
- <%= render(Yattho::Beta::Label.new(inline: true)) { "Inline" } %>
@@ -1,10 +0,0 @@
1
- <%= render(Yattho::Beta::Label.new) { "Default" } %>
2
- <%= render(Yattho::Beta::Label.new(scheme: :primary)) { "Primary" } %>
3
- <%= render(Yattho::Beta::Label.new(scheme: :secondary)) { "Secondary" } %>
4
- <%= render(Yattho::Beta::Label.new(scheme: :accent)) { "Accent" } %>
5
- <%= render(Yattho::Beta::Label.new(scheme: :success)) { "Success" } %>
6
- <%= render(Yattho::Beta::Label.new(scheme: :attention)) { "Attention" } %>
7
- <%= render(Yattho::Beta::Label.new(scheme: :danger)) { "Danger" } %>
8
- <%= render(Yattho::Beta::Label.new(scheme: :severe)) { "Severe" } %>
9
- <%= render(Yattho::Beta::Label.new(scheme: :done)) { "Done" } %>
10
- <%= render(Yattho::Beta::Label.new(scheme: :sponsors)) { "Sponsors" } %>
@@ -1,2 +0,0 @@
1
- <%= render(Yattho::Beta::Label.new) { "Medium" } %>
2
- <%= render(Yattho::Beta::Label.new(size: :large)) { "Large" } %>
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaLabelPreview < ViewComponent::Preview
5
- def schemes; end
6
-
7
- def sizes; end
8
-
9
- def inline; end
10
- end
11
- end
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::Link.new(href: "#")) { "Link" } %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::Link.new(href: "#", muted: true)) { "Link" } %>
@@ -1,2 +0,0 @@
1
- <%= render(Yattho::Beta::Link.new(href: "#", scheme: :primary)) { "Primary" } %>
2
- <%= render(Yattho::Beta::Link.new(href: "#", scheme: :secondary)) { "Secondary" } %>
@@ -1,4 +0,0 @@
1
- <%= render(Yattho::Beta::Link.new(href: "#", id: "link-with-tooltip")) do |component| %>
2
- <% component.with_tooltip(text: "Tooltip text") %>
3
- Link
4
- <% end %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::Link.new(href: "#", underline: false)) { "Link" } %>
@@ -1,15 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaLinkPreview < ViewComponent::Preview
5
- def default; end
6
-
7
- def muted; end
8
-
9
- def schemes; end
10
-
11
- def without_underline; end
12
-
13
- def with_tooltip; end
14
- end
15
- end
@@ -1,260 +0,0 @@
1
- <%= render(Yattho::Beta::Markdown.new) do %>
2
- <p>Text can be <b>bold</b>, <i>italic</i>, or <s>strikethrough</s>. <a href="https://github.com">Links </a> should be blue with no underlines (unless hovered over).</p>
3
-
4
- <p>There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs.</p>
5
-
6
- <p>There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs. There should be whitespace between paragraphs.</p>
7
-
8
- <blockquote>
9
- <p>There should be no margin above this first sentence.</p>
10
- <p>Blockquotes should be a lighter gray with a gray border along the left side.</p>
11
- <p>There should be no margin below this final sentence.</p>
12
- </blockquote>
13
-
14
- <h1>Header 1</h1>
15
-
16
- <p>This is a normal paragraph following a header. Bacon ipsum dolor sit amet t-bone doner shank drumstick, pork belly porchetta chuck sausage brisket ham hock rump pig. Chuck kielbasa leberkas, pork bresaola ham hock filet mignon cow shoulder short ribs biltong.</p>
17
-
18
- <h2>Header 2</h2>
19
-
20
- <blockquote>This is a blockquote following a header. Bacon ipsum dolor sit amet t-bone doner shank drumstick, pork belly porchetta chuck sausage brisket ham hock rump pig. Chuck kielbasa leberkas, pork bresaola ham hock filet mignon cow shoulder short ribs biltong.</blockquote>
21
-
22
- <h3>Header 3</h3>
23
-
24
- <pre><code>This is a code block following a header.</code></pre>
25
-
26
- <h4>Header 4</h4>
27
-
28
- <ul>
29
- <li>This is an unordered list following a header.</li>
30
- <li>This is an unordered list following a header.</li>
31
- <li>This is an unordered list following a header.</li>
32
- </ul>
33
-
34
- <h5>Header 5</h5>
35
-
36
- <ol>
37
- <li>This is an ordered list following a header.</li>
38
- <li>This is an ordered list following a header.</li>
39
- <li>This is an ordered list following a header.</li>
40
- </ol>
41
-
42
- <h6>Header 6</h6>
43
-
44
- <table>
45
- <thead>
46
- <tr>
47
- <th>What</th>
48
- <th>Follows</th>
49
- </tr>
50
- </thead>
51
- <tbody>
52
- <tr>
53
- <td>A table</td>
54
- <td>A header</td>
55
- </tr>
56
- <tr>
57
- <td>A table</td>
58
- <td>A header</td>
59
- </tr>
60
- <tr>
61
- <td>A table</td>
62
- <td>A header</td>
63
- </tr>
64
- </tbody>
65
- </table>
66
-
67
- <hr />
68
-
69
- <p>There's a horizontal rule above and below this.</p>
70
-
71
- <hr />
72
-
73
- <p>Here is an unordered list:</p>
74
-
75
- <ul>
76
- <li>Salt-n-Pepa</li>
77
- <li>Bel Biv DeVoe</li>
78
- <li>Kid 'N Play</li>
79
- </ul>
80
-
81
- <p>And an ordered list:</p>
82
-
83
- <ol>
84
- <li>Michael Jackson</li>
85
- <li>Michael Bolton</li>
86
- <li>Michael Bublé</li>
87
- </ol>
88
-
89
- <p>And an unordered task list:</p>
90
-
91
- <ul>
92
- <li><input type="checkbox" id="create-markdown" checked /><label for="create-markdown">Create a sample markdown document</label><br></li>
93
- <li><input type="checkbox" id="tasks-list" checked /><label for="tasks-list">Add tasks list to it</label><br></li>
94
- <li><input type="checkbox" id="take-vacation" checked /><label for="take-vacation">Take a vacation</label><br></li>
95
- </ul>
96
-
97
- <p>And a "mixed" task list:</p>
98
-
99
- <ul>
100
- <li><input type="checkbox"id="steal-underpants"/><label for="steal-underpants">Steal underpants</label></li>
101
- <li>?</li>
102
- <li><input type="checkbox"id="profit"/><label for="profit">Profit!</label></li>
103
- </ul>
104
-
105
- And a nested list:
106
-
107
- <ul>
108
- <li>Jackson 5
109
- <ul>
110
- <li>Michael</li>
111
- <li>Tito</li>
112
- <li>Jackie</li>
113
- <li>Marlon</li>
114
- <li>Jermaine</li>
115
- </ul>
116
- </li>
117
- <li>TMNT
118
- <ul>
119
- <li>Leonardo</li>
120
- <li>Michelangelo</li>
121
- <li>Donatello</li>
122
- <li>Raphael</li>
123
- </ul>
124
- </li>
125
- </ul>
126
-
127
- <p>Definition lists can be used with HTML syntax. Definition terms are bold and italic.</p>
128
-
129
- <dl>
130
- <dt>Name</dt>
131
- <dd>Godzilla</dd>
132
- <dt>Born</dt>
133
- <dd>1952</dd>
134
- <dt>Birthplace</dt>
135
- <dd>Japan</dd>
136
- <dt>Color</dt>
137
- <dd>Green</dd>
138
- </dl>
139
-
140
- <hr />
141
-
142
- <p>Tables should have bold headings and alternating shaded rows.</p>
143
-
144
- <table>
145
- <thead>
146
- <tr>
147
- <th>Artist</th>
148
- <th>Album</th>
149
- <th>Year</th>
150
- </tr>
151
- </thead>
152
- <tbody>
153
- <tr>
154
- <td>David Bowie</td>
155
- <td>Scary Monsters</td>
156
- <td>1980</td>
157
- </tr>
158
- <tr>
159
- <td>Prince</td>
160
- <td>Purple Rain</td>
161
- <td>1982</td>
162
- </tr>
163
- <tr>
164
- <td>Beastie Boys</td>
165
- <td>License to Ill</td>
166
- <td>1986</td>
167
- </tr>
168
- <tr>
169
- <td>Janet Jackson</td>
170
- <td>Rhythm Nation 1814</td>
171
- <td>1989</td>
172
- </tr>
173
- </tbody>
174
- </table>
175
-
176
- <p>If a table is too wide, it should condense down and/or scroll horizontally.</p>
177
-
178
- <table>
179
- <thead>
180
- <tr>
181
- <th>Artist</th>
182
- <th>Album</th>
183
- <th>Year</th>
184
- <th>Label</th>
185
- <th>Songs</th>
186
- </tr>
187
- </thead>
188
- <tbody>
189
- <tr>
190
- <td>David Bowie</td>
191
- <td>Scary Monsters</td>
192
- <td>1980</td>
193
- <td>RCA Records</td>
194
- <td>It's No Game (No. 1), Up the Hill Backwards, Scary Monsters (And Super Creeps), Ashes to Ashes, Fashion, Teenage Wildlife, Scream Like a Baby, Kingdom Come, Because You're Young, It's No Game (No. 2)</td>
195
- </tr>
196
- <tr>
197
- <td>Prince</td>
198
- <td>Purple Rain</td>
199
- <td>1982</td>
200
- <td>Warner Brothers Records</td>
201
- <td>Let's Go Crazy, Take Me With U, The Beautiful Ones, Computer Blue, Darling Nikki, When Doves Cry, I Would Die 4 U, Baby I'm a Star, Purple Rain</td>
202
- </tr>
203
- <tr>
204
- <td>Beastie Boys</td>
205
- <td>License to Ill</td>
206
- <td>1986</td>
207
- <td>Def Jam</td>
208
- <td>Rhymin &amp; Stealin, The New Style, She's Crafty, Posse in Effect, Slow Ride, Girls, Fight for Your Right, No Sleep till Brooklyn, Paul Revere, "Hold It Now, Hit It", Brass Monkey, Slow and Low, Time to Get Ill</td>
209
- </tr>
210
- <tr>
211
- <td>Janet Jackson</td>
212
- <td>Rhythm Nation 1814</td>
213
- <td>1989</td>
214
- <td>A&amp;M</td>
215
- <td>Interlude: Pledge, Rhythm Nation, Interlude: T.V., State of the World, Interlude: Race, The Knowledge, Interlude: Let's Dance, Miss You Much, Interlude: Come Back, Love Will Never Do (Without You), Livin' in a World (They Didn't Make), Alright, Interlude: Hey Baby, Escapade, Interlude: No Acid, Black Cat, Lonely, Come Back to Me, Someday Is Tonight, Interlude: Livin'...In Complete Darkness</td>
216
- </tr>
217
- </tbody>
218
- </table>
219
-
220
- <hr />
221
-
222
- <p>Code snippets like <code>var foo = "bar";</code> can be shown inline.</p>
223
-
224
- <p>Also, <code>this should vertically align</code> <s><code>with this</code></s> <s>and this</s>.</p>
225
-
226
- <p>Code can also be shown in a block element.</p>
227
-
228
- <pre><code>var foo = "bar";</code></pre>
229
-
230
- <p>Code can also use syntax highlighting.</p>
231
-
232
- <pre><code>var foo = "bar";</code></pre>
233
-
234
- <pre tabindex="0"><code>Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.</code></pre>
235
-
236
- <pre tabindex="0"><code>var foo = "The same thing is true for code with syntax highlighting. A single line of code should horizontally scroll if it is really long.";</code></pre>
237
-
238
- <p>Inline code inside table cells should still be distinguishable.</p>
239
-
240
- <table>
241
- <thead>
242
- <tr>
243
- <th>Language</th>
244
- <th>Code</th>
245
- </tr>
246
- </thead>
247
- <tbody>
248
- <tr>
249
- <td>JavasScript</td>
250
- <td><code>var foo = "bar";</code></td>
251
- </tr>
252
- <tr>
253
- <td>Ruby</td>
254
- <td><code>foo = "bar"</code></td>
255
- </tr>
256
- </tbody>
257
- </table>
258
-
259
- <pre><code>This is the final element on the page and there should be no margin below this.</code></pre>
260
- <% end %>
@@ -1,7 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaMarkdownPreview < ViewComponent::Preview
5
- def default; end
6
- end
7
- end
@@ -1,2 +0,0 @@
1
- <%= render(Yattho::Beta::Octicon.new(:check)) %>
2
- <%= render(Yattho::Beta::Octicon.new(icon: :check)) %>
@@ -1 +0,0 @@
1
- <%= yattho_octicon(:check) %>
@@ -1 +0,0 @@
1
- <%= render(Yattho::Beta::Octicon.new(:people, size: :medium)) %>
@@ -1,11 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module Docs
4
- class BetaOcticonPreview < ViewComponent::Preview
5
- def default; end
6
-
7
- def medium; end
8
-
9
- def helper; end
10
- end
11
- end
@@ -1,8 +0,0 @@
1
- <%= render Yattho::Beta::Popover.new do |component| %>
2
- <% component.with_heading do %>
3
- Activity feed
4
- <% end %>
5
- <% component.with_body(caret: :left) do %>
6
- This is the Popover body.
7
- <% end %>
8
- <% end %>
@@ -1,8 +0,0 @@
1
- <%= render Yattho::Beta::Popover.new do |component| %>
2
- <% component.with_heading do %>
3
- Activity feed
4
- <% end %>
5
- <% component.with_body do %>
6
- This is the Popover body.
7
- <% end %>
8
- <% end %>
@@ -1,8 +0,0 @@
1
- <%= render Yattho::Beta::Popover.new do |component| %>
2
- <% component.with_heading do %>
3
- Activity feed
4
- <% end %>
5
- <% component.with_body(large: true) do %>
6
- This is the large Popover body.
7
- <% end %>
8
- <% end %>
@@ -1,11 +0,0 @@
1
- <%= render Yattho::Beta::Popover.new do |component| %>
2
- <% component.with_heading do %>
3
- Activity feed
4
- <% end %>
5
- <% component.with_body(caret: :left) do %>
6
- <p>This is the Popover body.</p>
7
- <%= render Yattho::ButtonComponent.new(type: :submit) do %>
8
- Got it!
9
- <% end %>
10
- <% end %>
11
- <% end %>