openproject-primer_view_components 0.50.1 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -0
  3. data/app/assets/javascripts/components/primer/alpha/action_menu/action_menu_element.d.ts +2 -0
  4. data/app/assets/javascripts/components/primer/open_project/danger_confirmation_dialog_form_helper.d.ts +13 -0
  5. data/app/assets/javascripts/components/primer/primer.d.ts +2 -0
  6. data/app/assets/javascripts/components/primer/utils.d.ts +1 -0
  7. data/app/assets/javascripts/primer_view_components.js +1 -1
  8. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  9. data/app/assets/styles/primer_view_components.css +1 -1
  10. data/app/assets/styles/primer_view_components.css.map +1 -1
  11. data/app/components/primer/alpha/action_list/item.html.erb +1 -4
  12. data/app/components/primer/alpha/action_list.css +1 -1
  13. data/app/components/primer/alpha/action_list.css.json +2 -6
  14. data/app/components/primer/alpha/action_list.css.map +1 -1
  15. data/app/components/primer/alpha/action_list.pcss +10 -43
  16. data/app/components/primer/alpha/action_menu/action_menu_element.d.ts +2 -0
  17. data/app/components/primer/alpha/action_menu/action_menu_element.js +31 -1
  18. data/app/components/primer/alpha/action_menu/action_menu_element.ts +37 -0
  19. data/app/components/primer/alpha/action_menu.rb +6 -0
  20. data/app/components/primer/alpha/select_panel_element.js +6 -19
  21. data/app/components/primer/alpha/select_panel_element.ts +9 -21
  22. data/app/components/primer/alpha/text_field.css +1 -1
  23. data/app/components/primer/alpha/text_field.css.json +30 -30
  24. data/app/components/primer/alpha/text_field.css.map +1 -1
  25. data/app/components/primer/alpha/text_field.pcss +2 -3
  26. data/app/components/primer/open_project/danger_confirmation_dialog/confirmation_check_box.rb +44 -0
  27. data/app/components/primer/open_project/danger_confirmation_dialog/form_wrapper.html.erb +7 -0
  28. data/app/components/primer/open_project/danger_confirmation_dialog/form_wrapper.rb +26 -0
  29. data/app/components/primer/open_project/danger_confirmation_dialog.html.erb +19 -0
  30. data/app/components/primer/open_project/danger_confirmation_dialog.rb +104 -0
  31. data/app/components/primer/open_project/danger_confirmation_dialog_form_helper.d.ts +13 -0
  32. data/app/components/primer/open_project/danger_confirmation_dialog_form_helper.js +44 -0
  33. data/app/components/primer/open_project/danger_confirmation_dialog_form_helper.ts +36 -0
  34. data/app/components/primer/open_project/feedback_dialog.html.erb +2 -2
  35. data/app/components/primer/open_project/feedback_dialog.rb +3 -3
  36. data/app/components/primer/primer.d.ts +2 -0
  37. data/app/components/primer/primer.js +2 -0
  38. data/app/components/primer/primer.ts +2 -0
  39. data/app/components/primer/utils.d.ts +1 -0
  40. data/app/components/primer/utils.js +16 -0
  41. data/app/components/primer/utils.ts +16 -0
  42. data/app/lib/primer/forms/acts_as_component.rb +9 -2
  43. data/app/lib/primer/forms/base.rb +0 -5
  44. data/app/lib/primer/forms/base_component.rb +5 -3
  45. data/app/lib/primer/forms/radio_button_group.html.erb +1 -1
  46. data/app/lib/primer/forms/utils.rb +16 -1
  47. data/lib/primer/view_components/version.rb +2 -2
  48. data/previews/primer/alpha/action_menu_preview/in_scroll_container.html.erb +3 -5
  49. data/previews/primer/open_project/danger_confirmation_dialog_preview/playground.html.erb +13 -0
  50. data/previews/primer/open_project/danger_confirmation_dialog_preview/with_additional_details.html.erb +40 -0
  51. data/previews/primer/open_project/danger_confirmation_dialog_preview/with_form.html.erb +11 -0
  52. data/previews/primer/open_project/danger_confirmation_dialog_preview/with_form_builder_form.html.erb +13 -0
  53. data/previews/primer/open_project/danger_confirmation_dialog_preview.rb +71 -0
  54. data/previews/primer/open_project/feedback_dialog_preview/playground.html.erb +3 -3
  55. data/previews/primer/open_project/feedback_dialog_preview/{additional_content.html.erb → with_additional_details.html.erb} +1 -1
  56. data/previews/primer/open_project/feedback_dialog_preview.rb +6 -6
  57. data/static/classes.json +6 -0
  58. data/static/info_arch.json +6 -6
  59. data/static/previews.json +4 -4
  60. metadata +30 -12
  61. /data/previews/primer/open_project/feedback_dialog_preview/{custom_footer.html.erb → with_custom_footer.html.erb} +0 -0
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openproject-primer_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.1
4
+ version: 0.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Open Source
8
8
  - OpenProject GmbH
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-12-06 00:00:00.000000000 Z
12
+ date: 2025-01-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: actionview
@@ -45,14 +45,14 @@ dependencies:
45
45
  requirements:
46
46
  - - ">="
47
47
  - !ruby/object:Gem::Version
48
- version: 19.17.0
48
+ version: 19.20.0
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: 19.17.0
55
+ version: 19.20.0
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: view_component
58
58
  requirement: !ruby/object:Gem::Requirement
@@ -73,8 +73,8 @@ dependencies:
73
73
  - - "<"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '4.0'
76
- description:
77
- email:
76
+ description:
77
+ email:
78
78
  executables: []
79
79
  extensions: []
80
80
  extra_rdoc_files: []
@@ -103,12 +103,14 @@ files:
103
103
  - app/assets/javascripts/components/primer/beta/relative_time.d.ts
104
104
  - app/assets/javascripts/components/primer/dialog_helper.d.ts
105
105
  - app/assets/javascripts/components/primer/focus_group.d.ts
106
+ - app/assets/javascripts/components/primer/open_project/danger_confirmation_dialog_form_helper.d.ts
106
107
  - app/assets/javascripts/components/primer/open_project/page_header_element.d.ts
107
108
  - app/assets/javascripts/components/primer/open_project/sub_header_element.d.ts
108
109
  - app/assets/javascripts/components/primer/open_project/zen_mode_button.d.ts
109
110
  - app/assets/javascripts/components/primer/primer.d.ts
110
111
  - app/assets/javascripts/components/primer/scrollable_region.d.ts
111
112
  - app/assets/javascripts/components/primer/shared_events.d.ts
113
+ - app/assets/javascripts/components/primer/utils.d.ts
112
114
  - app/assets/javascripts/lib/primer/forms/primer_multi_input.d.ts
113
115
  - app/assets/javascripts/lib/primer/forms/primer_text_field.d.ts
114
116
  - app/assets/javascripts/lib/primer/forms/toggle_switch_input.d.ts
@@ -491,6 +493,14 @@ files:
491
493
  - app/components/primer/open_project/border_grid.rb
492
494
  - app/components/primer/open_project/border_grid/cell.html.erb
493
495
  - app/components/primer/open_project/border_grid/cell.rb
496
+ - app/components/primer/open_project/danger_confirmation_dialog.html.erb
497
+ - app/components/primer/open_project/danger_confirmation_dialog.rb
498
+ - app/components/primer/open_project/danger_confirmation_dialog/confirmation_check_box.rb
499
+ - app/components/primer/open_project/danger_confirmation_dialog/form_wrapper.html.erb
500
+ - app/components/primer/open_project/danger_confirmation_dialog/form_wrapper.rb
501
+ - app/components/primer/open_project/danger_confirmation_dialog_form_helper.d.ts
502
+ - app/components/primer/open_project/danger_confirmation_dialog_form_helper.js
503
+ - app/components/primer/open_project/danger_confirmation_dialog_form_helper.ts
494
504
  - app/components/primer/open_project/drag_handle.css
495
505
  - app/components/primer/open_project/drag_handle.css.json
496
506
  - app/components/primer/open_project/drag_handle.css.map
@@ -564,6 +574,9 @@ files:
564
574
  - app/components/primer/truncate.css.map
565
575
  - app/components/primer/truncate.pcss
566
576
  - app/components/primer/truncate.rb
577
+ - app/components/primer/utils.d.ts
578
+ - app/components/primer/utils.js
579
+ - app/components/primer/utils.ts
567
580
  - app/forms/action_menu_form.rb
568
581
  - app/forms/after_content_form.rb
569
582
  - app/forms/after_content_form/after_content.html.erb
@@ -1014,11 +1027,16 @@ files:
1014
1027
  - previews/primer/forms_preview/submit_button_form.html.erb
1015
1028
  - previews/primer/forms_preview/text_field_and_checkbox_form.html.erb
1016
1029
  - previews/primer/open_project/border_grid_preview.rb
1030
+ - previews/primer/open_project/danger_confirmation_dialog_preview.rb
1031
+ - previews/primer/open_project/danger_confirmation_dialog_preview/playground.html.erb
1032
+ - previews/primer/open_project/danger_confirmation_dialog_preview/with_additional_details.html.erb
1033
+ - previews/primer/open_project/danger_confirmation_dialog_preview/with_form.html.erb
1034
+ - previews/primer/open_project/danger_confirmation_dialog_preview/with_form_builder_form.html.erb
1017
1035
  - previews/primer/open_project/drag_handle_preview.rb
1018
1036
  - previews/primer/open_project/feedback_dialog_preview.rb
1019
- - previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb
1020
- - previews/primer/open_project/feedback_dialog_preview/custom_footer.html.erb
1021
1037
  - previews/primer/open_project/feedback_dialog_preview/playground.html.erb
1038
+ - previews/primer/open_project/feedback_dialog_preview/with_additional_details.html.erb
1039
+ - previews/primer/open_project/feedback_dialog_preview/with_custom_footer.html.erb
1022
1040
  - previews/primer/open_project/feedback_message_preview.rb
1023
1041
  - previews/primer/open_project/flex_layout_preview.rb
1024
1042
  - previews/primer/open_project/grid_layout_preview.rb
@@ -1048,12 +1066,12 @@ files:
1048
1066
  - static/info_arch.json
1049
1067
  - static/previews.json
1050
1068
  - static/statuses.json
1051
- homepage:
1069
+ homepage:
1052
1070
  licenses:
1053
1071
  - MIT
1054
1072
  metadata:
1055
1073
  allowed_push_host: https://rubygems.org
1056
- post_install_message:
1074
+ post_install_message:
1057
1075
  rdoc_options: []
1058
1076
  require_paths:
1059
1077
  - lib
@@ -1069,7 +1087,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1069
1087
  version: '0'
1070
1088
  requirements: []
1071
1089
  rubygems_version: 3.5.22
1072
- signing_key:
1090
+ signing_key:
1073
1091
  specification_version: 4
1074
1092
  summary: ViewComponents of the Primer Design System for OpenProject
1075
1093
  test_files: []