primer_view_components 0.16.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -0
  3. data/app/assets/javascripts/app/components/primer/dialog_helper.d.ts +15 -0
  4. data/app/assets/javascripts/app/components/primer/primer.d.ts +1 -0
  5. data/app/assets/javascripts/primer_view_components.js +1 -1
  6. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  7. data/app/assets/styles/primer_view_components.css +1 -1
  8. data/app/assets/styles/primer_view_components.css.map +1 -1
  9. data/app/components/primer/alpha/action_bar_element.js +7 -1
  10. data/app/components/primer/alpha/action_bar_element.ts +7 -1
  11. data/app/components/primer/alpha/action_menu/action_menu_element.js +8 -0
  12. data/app/components/primer/alpha/action_menu/action_menu_element.ts +8 -0
  13. data/app/components/primer/alpha/action_menu.rb +3 -1
  14. data/app/components/primer/alpha/banner.rb +7 -3
  15. data/app/components/primer/alpha/dialog.css +1 -1
  16. data/app/components/primer/alpha/dialog.css.json +12 -27
  17. data/app/components/primer/alpha/dialog.css.map +1 -1
  18. data/app/components/primer/alpha/dialog.html.erb +2 -2
  19. data/app/components/primer/alpha/dialog.pcss +78 -143
  20. data/app/components/primer/alpha/dialog.rb +10 -13
  21. data/app/components/primer/alpha/overlay.css +1 -1
  22. data/app/components/primer/alpha/overlay.css.json +1 -0
  23. data/app/components/primer/alpha/overlay.css.map +1 -1
  24. data/app/components/primer/alpha/overlay.pcss +1 -1
  25. data/app/components/primer/alpha/text_field.css +1 -1
  26. data/app/components/primer/alpha/text_field.css.map +1 -1
  27. data/app/components/primer/base_component.rb +1 -1
  28. data/app/components/primer/dialog_helper.d.ts +15 -0
  29. data/app/components/primer/dialog_helper.js +85 -0
  30. data/app/components/primer/dialog_helper.ts +88 -0
  31. data/app/components/primer/primer.d.ts +1 -0
  32. data/app/components/primer/primer.js +1 -0
  33. data/app/components/primer/primer.ts +1 -0
  34. data/lib/primer/classify/utilities.rb +1 -1
  35. data/lib/primer/deprecations.yml +3 -3
  36. data/lib/primer/forms/dsl/button_input.rb +4 -0
  37. data/lib/primer/forms/dsl/check_box_input.rb +6 -0
  38. data/lib/primer/forms/dsl/hidden_input.rb +4 -0
  39. data/lib/primer/forms/dsl/input.rb +7 -3
  40. data/lib/primer/forms/dsl/radio_button_input.rb +6 -0
  41. data/lib/primer/forms/dsl/select_input.rb +3 -1
  42. data/lib/primer/forms/dsl/submit_button_input.rb +4 -0
  43. data/lib/primer/forms/form_control.html.erb +3 -1
  44. data/lib/primer/view_components/linters/tooltipped_migration.rb +1 -1
  45. data/lib/primer/view_components/version.rb +1 -1
  46. data/lib/primer/yard/docs_helper.rb +1 -1
  47. data/previews/primer/alpha/dialog_preview/nested_dialog.html.erb +1 -1
  48. data/previews/primer/alpha/dialog_preview/scroll_container.html.erb +35 -0
  49. data/previews/primer/alpha/dialog_preview.rb +61 -1
  50. data/previews/primer/alpha/tooltip_preview/tooltip_with_dialog_moving_focus_to_input.html.erb +2 -3
  51. data/previews/primer/alpha/tooltip_preview.rb +1 -1
  52. data/previews/primer/beta/button_preview/trailing_visual.html.erb +2 -1
  53. data/previews/primer/beta/button_preview.rb +4 -2
  54. data/static/arguments.json +12 -0
  55. data/static/classes.json +5 -20
  56. data/static/constants.json +14 -8
  57. data/static/info_arch.json +65 -1
  58. data/static/previews.json +52 -0
  59. metadata +8 -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.16.0
4
+ version: 0.17.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-01-04 00:00:00.000000000 Z
11
+ date: 2024-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -99,6 +99,7 @@ files:
99
99
  - app/assets/javascripts/app/components/primer/beta/nav_list.d.ts
100
100
  - app/assets/javascripts/app/components/primer/beta/nav_list_group_element.d.ts
101
101
  - app/assets/javascripts/app/components/primer/beta/relative_time.d.ts
102
+ - app/assets/javascripts/app/components/primer/dialog_helper.d.ts
102
103
  - app/assets/javascripts/app/components/primer/focus_group.d.ts
103
104
  - app/assets/javascripts/app/components/primer/primer.d.ts
104
105
  - app/assets/javascripts/app/components/primer/scrollable_region.d.ts
@@ -445,6 +446,9 @@ files:
445
446
  - app/components/primer/component.rb
446
447
  - app/components/primer/conditional_wrapper.rb
447
448
  - app/components/primer/content.rb
449
+ - app/components/primer/dialog_helper.d.ts
450
+ - app/components/primer/dialog_helper.js
451
+ - app/components/primer/dialog_helper.ts
448
452
  - app/components/primer/focus_group.d.ts
449
453
  - app/components/primer/focus_group.js
450
454
  - app/components/primer/focus_group.ts
@@ -725,6 +729,7 @@ files:
725
729
  - previews/primer/alpha/dialog_preview/body_has_scrollbar_overflow.html.erb
726
730
  - previews/primer/alpha/dialog_preview/custom_header.html.erb
727
731
  - previews/primer/alpha/dialog_preview/nested_dialog.html.erb
732
+ - previews/primer/alpha/dialog_preview/scroll_container.html.erb
728
733
  - previews/primer/alpha/dialog_preview/test.html.erb
729
734
  - previews/primer/alpha/dialog_preview/with_auto_complete.html.erb
730
735
  - previews/primer/alpha/dialog_preview/with_footer.html.erb
@@ -875,7 +880,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
875
880
  - !ruby/object:Gem::Version
876
881
  version: '0'
877
882
  requirements: []
878
- rubygems_version: 3.4.10
883
+ rubygems_version: 3.4.19
879
884
  signing_key:
880
885
  specification_version: 4
881
886
  summary: ViewComponents for the Primer Design System