primer_view_components 0.0.97 → 0.0.98

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -0
  3. data/app/components/primer/beta/avatar.rb +10 -10
  4. data/app/components/primer/beta/avatar_stack.rb +9 -9
  5. data/app/components/primer/beta/blankslate.rb +2 -2
  6. data/app/components/primer/button_component.rb +1 -1
  7. data/app/components/primer/image.rb +4 -4
  8. data/app/components/primer/image_crop.rb +3 -3
  9. data/app/components/primer/timeline_item_component.rb +1 -1
  10. data/lib/primer/deprecations.rb +0 -1
  11. data/lib/primer/example_image.rb +7 -0
  12. data/lib/primer/view_components/version.rb +1 -1
  13. data/lib/tasks/docs.rake +4 -4
  14. data/lib/tasks/test.rake +1 -1
  15. data/previews/primer/alpha/action_list_preview/heading.html.erb +4 -0
  16. data/previews/primer/alpha/action_list_preview.rb +308 -0
  17. data/previews/primer/alpha/auto_complete_preview.rb +42 -0
  18. data/previews/primer/alpha/button_marketing_preview.rb +17 -0
  19. data/previews/primer/alpha/dialog_preview/custom_header.html.erb +7 -0
  20. data/previews/primer/alpha/dialog_preview/test.html.erb +7 -0
  21. data/previews/primer/alpha/dialog_preview/with_footer.html.erb +8 -0
  22. data/previews/primer/alpha/dialog_preview/with_form.html.erb +12 -0
  23. data/previews/primer/alpha/dialog_preview.rb +85 -0
  24. data/previews/primer/alpha/hidden_text_expander_preview.rb +15 -0
  25. data/previews/primer/alpha/layout_preview.rb +23 -0
  26. data/previews/primer/alpha/nav_list_preview.rb +64 -0
  27. data/previews/primer/alpha/tab_panels_preview.rb +23 -0
  28. data/previews/primer/alpha/text_field_preview.rb +66 -0
  29. data/previews/primer/alpha/toggle_switch_preview.rb +50 -0
  30. data/previews/primer/alpha/tooltip_preview/with_multiple_on_a_page.html.erb +14 -0
  31. data/previews/primer/alpha/tooltip_preview/with_right_most_position.html.erb +7 -0
  32. data/previews/primer/alpha/tooltip_preview.rb +83 -0
  33. data/previews/primer/alpha/underline_nav_preview/default.html.erb +8 -0
  34. data/previews/primer/alpha/underline_nav_preview.rb +41 -0
  35. data/previews/primer/alpha/underline_panels_preview.rb +23 -0
  36. data/previews/primer/beta/auto_complete_item_preview/default.html.erb +9 -0
  37. data/previews/primer/beta/auto_complete_item_preview/with_description.html.erb +11 -0
  38. data/previews/primer/beta/auto_complete_item_preview.rb +40 -0
  39. data/previews/primer/beta/auto_complete_preview/with_submit_button.html.erb +20 -0
  40. data/previews/primer/beta/auto_complete_preview.rb +245 -0
  41. data/previews/primer/beta/avatar_preview.rb +17 -0
  42. data/previews/primer/beta/avatar_stack_preview.rb +44 -0
  43. data/previews/primer/beta/base_button_preview.rb +17 -0
  44. data/previews/primer/beta/blankslate_preview.rb +94 -0
  45. data/previews/primer/beta/border_box_preview.rb +32 -0
  46. data/previews/primer/beta/breadcrumbs_preview.rb +19 -0
  47. data/previews/primer/beta/button_group_preview.rb +20 -0
  48. data/previews/primer/beta/button_preview/all_schemes.html.erb +26 -0
  49. data/previews/primer/beta/button_preview/leading_visual.html.erb +10 -0
  50. data/previews/primer/beta/button_preview/trailing_action.html.erb +10 -0
  51. data/previews/primer/beta/button_preview/trailing_visual.html.erb +11 -0
  52. data/previews/primer/beta/button_preview/with_tooltip.html.erb +10 -0
  53. data/previews/primer/beta/button_preview.rb +256 -0
  54. data/previews/primer/beta/close_button_preview.rb +15 -0
  55. data/previews/primer/beta/counter_preview.rb +24 -0
  56. data/previews/primer/beta/details_preview.rb +45 -0
  57. data/previews/primer/beta/flash_preview.rb +20 -0
  58. data/previews/primer/beta/heading_preview.rb +16 -0
  59. data/previews/primer/beta/icon_button_preview.rb +107 -0
  60. data/previews/primer/beta/text_preview.rb +16 -0
  61. data/previews/primer/beta/truncate_preview.rb +47 -0
  62. data/previews/primer/clipboard_copy_preview/element.html.erb +2 -0
  63. data/previews/primer/clipboard_copy_preview.rb +29 -0
  64. data/previews/primer/dropdown_preview.rb +39 -0
  65. data/previews/primer/forms/forms_preview/after_content_form.html.erb +3 -0
  66. data/previews/primer/forms/forms_preview/array_check_box_group_form.html.erb +3 -0
  67. data/previews/primer/forms/forms_preview/caption_template_form.html.erb +3 -0
  68. data/previews/primer/forms/forms_preview/check_box_group_form.html.erb +3 -0
  69. data/previews/primer/forms/forms_preview/composed_form.html.erb +4 -0
  70. data/previews/primer/forms/forms_preview/horizontal_form.html.erb +3 -0
  71. data/previews/primer/forms/forms_preview/invalid_form.html.erb +3 -0
  72. data/previews/primer/forms/forms_preview/multi_input_form.html.erb +3 -0
  73. data/previews/primer/forms/forms_preview/multi_text_field_form.html.erb +3 -0
  74. data/previews/primer/forms/forms_preview/radio_button_group_form.html.erb +3 -0
  75. data/previews/primer/forms/forms_preview/radio_button_with_nested_form.html.erb +3 -0
  76. data/previews/primer/forms/forms_preview/select_list_form.html.erb +3 -0
  77. data/previews/primer/forms/forms_preview/single_text_field_form.html.erb +3 -0
  78. data/previews/primer/forms/forms_preview/submit_button_form.html.erb +3 -0
  79. data/previews/primer/forms/forms_preview/text_field_and_checkbox_form.html.erb +3 -0
  80. data/previews/primer/forms/forms_preview.rb +37 -0
  81. data/previews/primer/hellip_button_preview.rb +14 -0
  82. data/previews/primer/image_crop_preview.rb +22 -0
  83. data/previews/primer/label_component_preview.rb +15 -0
  84. data/previews/primer/layout_component_preview.rb +18 -0
  85. data/previews/primer/link_component_preview.rb +29 -0
  86. data/previews/primer/local_time_component_preview.rb +41 -0
  87. data/previews/primer/markdown_preview.rb +280 -0
  88. data/previews/primer/menu_component_preview/default.html.erb +17 -0
  89. data/previews/primer/menu_component_preview.rb +9 -0
  90. data/previews/primer/octicon_component_preview.rb +14 -0
  91. data/previews/primer/popover_component_preview.rb +20 -0
  92. data/previews/primer/progress_bar_component_preview.rb +17 -0
  93. data/previews/primer/spinner_component_preview.rb +13 -0
  94. data/previews/primer/state_component_preview.rb +16 -0
  95. data/previews/primer/subhead_component_preview.rb +23 -0
  96. data/previews/primer/time_ago_component_preview.rb +16 -0
  97. data/previews/primer/timeline_item_component_preview.rb +17 -0
  98. data/static/statuses.json +1 -1
  99. metadata +87 -3
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: primer_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.97
4
+ version: 0.0.98
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Open Source
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-27 00:00:00.000000000 Z
11
+ date: 2022-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -604,6 +604,7 @@ files:
604
604
  - lib/primer/classify/utilities.yml
605
605
  - lib/primer/classify/validation.rb
606
606
  - lib/primer/deprecations.rb
607
+ - lib/primer/example_image.rb
607
608
  - lib/primer/form_components.rb
608
609
  - lib/primer/forms/acts_as_component.rb
609
610
  - lib/primer/forms/base.html.erb
@@ -718,6 +719,89 @@ files:
718
719
  - lib/yard/docs_helper.rb
719
720
  - lib/yard/renders_many_handler.rb
720
721
  - lib/yard/renders_one_handler.rb
722
+ - previews/primer/alpha/action_list_preview.rb
723
+ - previews/primer/alpha/action_list_preview/heading.html.erb
724
+ - previews/primer/alpha/auto_complete_preview.rb
725
+ - previews/primer/alpha/button_marketing_preview.rb
726
+ - previews/primer/alpha/dialog_preview.rb
727
+ - previews/primer/alpha/dialog_preview/custom_header.html.erb
728
+ - previews/primer/alpha/dialog_preview/test.html.erb
729
+ - previews/primer/alpha/dialog_preview/with_footer.html.erb
730
+ - previews/primer/alpha/dialog_preview/with_form.html.erb
731
+ - previews/primer/alpha/hidden_text_expander_preview.rb
732
+ - previews/primer/alpha/layout_preview.rb
733
+ - previews/primer/alpha/nav_list_preview.rb
734
+ - previews/primer/alpha/tab_panels_preview.rb
735
+ - previews/primer/alpha/text_field_preview.rb
736
+ - previews/primer/alpha/toggle_switch_preview.rb
737
+ - previews/primer/alpha/tooltip_preview.rb
738
+ - previews/primer/alpha/tooltip_preview/with_multiple_on_a_page.html.erb
739
+ - previews/primer/alpha/tooltip_preview/with_right_most_position.html.erb
740
+ - previews/primer/alpha/underline_nav_preview.rb
741
+ - previews/primer/alpha/underline_nav_preview/default.html.erb
742
+ - previews/primer/alpha/underline_panels_preview.rb
743
+ - previews/primer/beta/auto_complete_item_preview.rb
744
+ - previews/primer/beta/auto_complete_item_preview/default.html.erb
745
+ - previews/primer/beta/auto_complete_item_preview/with_description.html.erb
746
+ - previews/primer/beta/auto_complete_preview.rb
747
+ - previews/primer/beta/auto_complete_preview/with_submit_button.html.erb
748
+ - previews/primer/beta/avatar_preview.rb
749
+ - previews/primer/beta/avatar_stack_preview.rb
750
+ - previews/primer/beta/base_button_preview.rb
751
+ - previews/primer/beta/blankslate_preview.rb
752
+ - previews/primer/beta/border_box_preview.rb
753
+ - previews/primer/beta/breadcrumbs_preview.rb
754
+ - previews/primer/beta/button_group_preview.rb
755
+ - previews/primer/beta/button_preview.rb
756
+ - previews/primer/beta/button_preview/all_schemes.html.erb
757
+ - previews/primer/beta/button_preview/leading_visual.html.erb
758
+ - previews/primer/beta/button_preview/trailing_action.html.erb
759
+ - previews/primer/beta/button_preview/trailing_visual.html.erb
760
+ - previews/primer/beta/button_preview/with_tooltip.html.erb
761
+ - previews/primer/beta/close_button_preview.rb
762
+ - previews/primer/beta/counter_preview.rb
763
+ - previews/primer/beta/details_preview.rb
764
+ - previews/primer/beta/flash_preview.rb
765
+ - previews/primer/beta/heading_preview.rb
766
+ - previews/primer/beta/icon_button_preview.rb
767
+ - previews/primer/beta/text_preview.rb
768
+ - previews/primer/beta/truncate_preview.rb
769
+ - previews/primer/clipboard_copy_preview.rb
770
+ - previews/primer/clipboard_copy_preview/element.html.erb
771
+ - previews/primer/dropdown_preview.rb
772
+ - previews/primer/forms/forms_preview.rb
773
+ - previews/primer/forms/forms_preview/after_content_form.html.erb
774
+ - previews/primer/forms/forms_preview/array_check_box_group_form.html.erb
775
+ - previews/primer/forms/forms_preview/caption_template_form.html.erb
776
+ - previews/primer/forms/forms_preview/check_box_group_form.html.erb
777
+ - previews/primer/forms/forms_preview/composed_form.html.erb
778
+ - previews/primer/forms/forms_preview/horizontal_form.html.erb
779
+ - previews/primer/forms/forms_preview/invalid_form.html.erb
780
+ - previews/primer/forms/forms_preview/multi_input_form.html.erb
781
+ - previews/primer/forms/forms_preview/multi_text_field_form.html.erb
782
+ - previews/primer/forms/forms_preview/radio_button_group_form.html.erb
783
+ - previews/primer/forms/forms_preview/radio_button_with_nested_form.html.erb
784
+ - previews/primer/forms/forms_preview/select_list_form.html.erb
785
+ - previews/primer/forms/forms_preview/single_text_field_form.html.erb
786
+ - previews/primer/forms/forms_preview/submit_button_form.html.erb
787
+ - previews/primer/forms/forms_preview/text_field_and_checkbox_form.html.erb
788
+ - previews/primer/hellip_button_preview.rb
789
+ - previews/primer/image_crop_preview.rb
790
+ - previews/primer/label_component_preview.rb
791
+ - previews/primer/layout_component_preview.rb
792
+ - previews/primer/link_component_preview.rb
793
+ - previews/primer/local_time_component_preview.rb
794
+ - previews/primer/markdown_preview.rb
795
+ - previews/primer/menu_component_preview.rb
796
+ - previews/primer/menu_component_preview/default.html.erb
797
+ - previews/primer/octicon_component_preview.rb
798
+ - previews/primer/popover_component_preview.rb
799
+ - previews/primer/progress_bar_component_preview.rb
800
+ - previews/primer/spinner_component_preview.rb
801
+ - previews/primer/state_component_preview.rb
802
+ - previews/primer/subhead_component_preview.rb
803
+ - previews/primer/time_ago_component_preview.rb
804
+ - previews/primer/timeline_item_component_preview.rb
721
805
  - static/arguments.json
722
806
  - static/assets/view-components.svg
723
807
  - static/audited_at.json
@@ -743,7 +827,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
743
827
  - !ruby/object:Gem::Version
744
828
  version: '0'
745
829
  requirements: []
746
- rubygems_version: 3.1.6
830
+ rubygems_version: 3.3.7
747
831
  signing_key:
748
832
  specification_version: 4
749
833
  summary: ViewComponents for the Primer Design System