primer_view_components 0.23.0 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (50) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/app/assets/javascripts/primer_view_components.js +1 -1
  4. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  5. data/app/assets/styles/primer_view_components.css +1 -1
  6. data/app/assets/styles/primer_view_components.css.map +1 -1
  7. data/app/components/primer/alpha/action_list/form_wrapper.rb +5 -0
  8. data/app/components/primer/alpha/button_marketing.rb +2 -0
  9. data/app/components/primer/alpha/dialog/header.html.erb +3 -0
  10. data/app/components/primer/alpha/dialog/header.rb +26 -0
  11. data/app/components/primer/alpha/overlay/header.html.erb +3 -1
  12. data/app/components/primer/alpha/overlay/header.rb +15 -0
  13. data/app/components/primer/alpha/tab_nav.css +1 -1
  14. data/app/components/primer/alpha/tab_nav.css.json +2 -0
  15. data/app/components/primer/alpha/tab_nav.css.map +1 -1
  16. data/app/components/primer/alpha/tab_nav.pcss +10 -0
  17. data/app/components/primer/alpha/tab_panels.html.erb +5 -9
  18. data/app/components/primer/alpha/tab_panels.rb +4 -13
  19. data/app/components/primer/alpha/underline_nav.css +1 -1
  20. data/app/components/primer/alpha/underline_nav.css.json +2 -0
  21. data/app/components/primer/alpha/underline_nav.css.map +1 -1
  22. data/app/components/primer/alpha/underline_nav.pcss +7 -1
  23. data/app/components/primer/alpha/underline_panels.css +1 -0
  24. data/app/components/primer/alpha/underline_panels.css.json +6 -0
  25. data/app/components/primer/alpha/underline_panels.css.map +1 -0
  26. data/app/components/primer/alpha/underline_panels.html.erb +6 -8
  27. data/app/components/primer/alpha/underline_panels.pcss +4 -0
  28. data/app/components/primer/alpha/underline_panels.rb +6 -14
  29. data/app/components/primer/anchored_position.js +2 -0
  30. data/app/components/primer/anchored_position.ts +2 -0
  31. data/app/components/primer/beta/button.css +1 -1
  32. data/app/components/primer/beta/button.css.map +1 -1
  33. data/app/components/primer/beta/button.html.erb +6 -1
  34. data/app/components/primer/beta/button.pcss +1 -0
  35. data/app/components/primer/beta/button.rb +9 -1
  36. data/app/components/primer/primer.pcss +1 -0
  37. data/lib/primer/view_components/version.rb +1 -1
  38. data/previews/primer/alpha/button_marketing_preview.rb +15 -3
  39. data/previews/primer/alpha/dialog_preview/with_header_filter.html.erb +19 -0
  40. data/previews/primer/alpha/dialog_preview.rb +4 -0
  41. data/previews/primer/alpha/overlay_preview/in_a_sticky_container.html.erb +19 -0
  42. data/previews/primer/alpha/overlay_preview.rb +15 -0
  43. data/previews/primer/beta/button_group_preview.rb +3 -7
  44. data/previews/primer/beta/button_preview/small_scheme_one_character.html.erb +5 -0
  45. data/previews/primer/beta/button_preview/summary_as_button.html.erb +14 -0
  46. data/previews/primer/beta/button_preview.rb +42 -12
  47. data/static/arguments.json +0 -12
  48. data/static/info_arch.json +118 -17
  49. data/static/previews.json +80 -2
  50. metadata +10 -2
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.23.0
4
+ version: 0.24.0
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: 2024-04-18 00:00:00.000000000 Z
11
+ date: 2024-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -290,7 +290,11 @@ files:
290
290
  - app/components/primer/alpha/underline_nav.html.erb
291
291
  - app/components/primer/alpha/underline_nav.pcss
292
292
  - app/components/primer/alpha/underline_nav.rb
293
+ - app/components/primer/alpha/underline_panels.css
294
+ - app/components/primer/alpha/underline_panels.css.json
295
+ - app/components/primer/alpha/underline_panels.css.map
293
296
  - app/components/primer/alpha/underline_panels.html.erb
297
+ - app/components/primer/alpha/underline_panels.pcss
294
298
  - app/components/primer/alpha/underline_panels.rb
295
299
  - app/components/primer/alpha/x_banner.d.ts
296
300
  - app/components/primer/alpha/x_banner.js
@@ -744,6 +748,7 @@ files:
744
748
  - previews/primer/alpha/dialog_preview/with_footer.html.erb
745
749
  - previews/primer/alpha/dialog_preview/with_form.html.erb
746
750
  - previews/primer/alpha/dialog_preview/with_header.html.erb
751
+ - previews/primer/alpha/dialog_preview/with_header_filter.html.erb
747
752
  - previews/primer/alpha/dialog_preview/with_text_input.html.erb
748
753
  - previews/primer/alpha/dropdown_preview.rb
749
754
  - previews/primer/alpha/form_control_preview.rb
@@ -761,6 +766,7 @@ files:
761
766
  - previews/primer/alpha/octicon_symbols_preview/default.html.erb
762
767
  - previews/primer/alpha/octicon_symbols_preview/playground.html.erb
763
768
  - previews/primer/alpha/overlay_preview.rb
769
+ - previews/primer/alpha/overlay_preview/in_a_sticky_container.html.erb
764
770
  - previews/primer/alpha/overlay_preview/in_an_action_menu.html.erb
765
771
  - previews/primer/alpha/overlay_preview/middle_of_page.html.erb
766
772
  - previews/primer/alpha/overlay_preview/middle_of_page_with_relative_container.html.erb
@@ -820,6 +826,8 @@ files:
820
826
  - previews/primer/beta/button_preview/leading_visual.html.erb
821
827
  - previews/primer/beta/button_preview/leading_visual_svg.html.erb
822
828
  - previews/primer/beta/button_preview/link_scheme_label_wrap.html.erb
829
+ - previews/primer/beta/button_preview/small_scheme_one_character.html.erb
830
+ - previews/primer/beta/button_preview/summary_as_button.html.erb
823
831
  - previews/primer/beta/button_preview/trailing_action.html.erb
824
832
  - previews/primer/beta/button_preview/trailing_counter.html.erb
825
833
  - previews/primer/beta/button_preview/trailing_visual.html.erb