openproject-primer_view_components 0.48.2 → 0.49.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (288) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/app/assets/javascripts/{app/components → components}/primer/primer.d.ts +3 -4
  4. data/app/assets/javascripts/primer_view_components.js +1 -1
  5. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  6. data/app/assets/styles/primer_view_components.css +1 -1
  7. data/app/assets/styles/primer_view_components.css.map +1 -1
  8. data/app/components/primer/alpha/action_bar.css.map +1 -1
  9. data/app/components/primer/alpha/action_bar.pcss +7 -4
  10. data/app/components/primer/alpha/action_bar_element.js +0 -3
  11. data/app/components/primer/alpha/action_bar_element.ts +0 -4
  12. data/app/components/primer/alpha/action_list.css +1 -1
  13. data/app/components/primer/alpha/action_list.css.map +1 -1
  14. data/app/components/primer/alpha/action_list.pcss +25 -8
  15. data/app/components/primer/alpha/action_list.rb +1 -1
  16. data/app/components/primer/alpha/auto_complete.css +1 -1
  17. data/app/components/primer/alpha/auto_complete.css.map +1 -1
  18. data/app/components/primer/alpha/auto_complete.pcss +7 -7
  19. data/app/components/primer/alpha/banner.css +1 -1
  20. data/app/components/primer/alpha/banner.css.map +1 -1
  21. data/app/components/primer/alpha/banner.pcss +6 -2
  22. data/app/components/primer/alpha/button_marketing.css.map +1 -1
  23. data/app/components/primer/alpha/button_marketing.pcss +11 -4
  24. data/app/components/primer/alpha/dialog.css +1 -1
  25. data/app/components/primer/alpha/dialog.css.json +2 -1
  26. data/app/components/primer/alpha/dialog.css.map +1 -1
  27. data/app/components/primer/alpha/dialog.pcss +39 -13
  28. data/app/components/primer/alpha/dialog.rb +5 -1
  29. data/app/components/primer/alpha/dropdown.css +1 -1
  30. data/app/components/primer/alpha/dropdown.css.map +1 -1
  31. data/app/components/primer/alpha/dropdown.pcss +45 -11
  32. data/app/components/primer/alpha/layout.css.map +1 -1
  33. data/app/components/primer/alpha/layout.pcss +3 -2
  34. data/app/components/primer/alpha/menu.css.map +1 -1
  35. data/app/components/primer/alpha/menu.pcss +7 -0
  36. data/app/components/primer/alpha/overlay.css.map +1 -1
  37. data/app/components/primer/alpha/overlay.pcss +3 -3
  38. data/app/components/primer/alpha/segmented_control.css.map +1 -1
  39. data/app/components/primer/alpha/segmented_control.pcss +15 -8
  40. data/app/components/primer/alpha/select_panel.html.erb +8 -5
  41. data/app/components/primer/alpha/select_panel.rb +26 -1
  42. data/app/components/primer/alpha/select_panel_element.js +9 -3
  43. data/app/components/primer/alpha/select_panel_element.ts +10 -4
  44. data/app/components/primer/alpha/stack.css +1 -0
  45. data/app/components/primer/alpha/stack.css.json +90 -0
  46. data/app/components/primer/alpha/stack.css.map +1 -0
  47. data/app/components/primer/alpha/stack.html.erb +3 -0
  48. data/app/components/primer/alpha/stack.pcss +297 -0
  49. data/app/components/primer/alpha/stack.rb +185 -0
  50. data/app/components/primer/alpha/stack_item.css +1 -0
  51. data/app/components/primer/alpha/stack_item.css.json +12 -0
  52. data/app/components/primer/alpha/stack_item.css.map +1 -0
  53. data/app/components/primer/alpha/stack_item.html.erb +3 -0
  54. data/app/components/primer/alpha/stack_item.pcss +31 -0
  55. data/app/components/primer/alpha/stack_item.rb +54 -0
  56. data/app/components/primer/alpha/tab_nav.css +1 -1
  57. data/app/components/primer/alpha/tab_nav.css.map +1 -1
  58. data/app/components/primer/alpha/tab_nav.pcss +12 -3
  59. data/app/components/primer/alpha/text_field.css +1 -1
  60. data/app/components/primer/alpha/text_field.css.map +1 -1
  61. data/app/components/primer/alpha/text_field.pcss +29 -22
  62. data/app/components/primer/alpha/toggle_switch.css +1 -1
  63. data/app/components/primer/alpha/toggle_switch.css.map +1 -1
  64. data/app/components/primer/alpha/toggle_switch.pcss +6 -3
  65. data/app/components/primer/alpha/underline_nav.css +1 -1
  66. data/app/components/primer/alpha/underline_nav.css.map +1 -1
  67. data/app/components/primer/alpha/underline_nav.pcss +8 -2
  68. data/app/components/primer/base_component.rb +1 -1
  69. data/app/components/primer/beta/avatar.css +1 -1
  70. data/app/components/primer/beta/avatar.css.map +1 -1
  71. data/app/components/primer/beta/avatar.pcss +4 -1
  72. data/app/components/primer/beta/avatar_stack.css +1 -1
  73. data/app/components/primer/beta/avatar_stack.css.map +1 -1
  74. data/app/components/primer/beta/avatar_stack.pcss +9 -2
  75. data/app/components/primer/beta/blankslate.css +1 -1
  76. data/app/components/primer/beta/blankslate.css.map +1 -1
  77. data/app/components/primer/beta/blankslate.pcss +24 -3
  78. data/app/components/primer/beta/border_box.css +1 -1
  79. data/app/components/primer/beta/border_box.css.map +1 -1
  80. data/app/components/primer/beta/border_box.pcss +8 -4
  81. data/app/components/primer/beta/breadcrumbs.css.map +1 -1
  82. data/app/components/primer/beta/breadcrumbs.pcss +5 -1
  83. data/app/components/primer/beta/button.css +1 -1
  84. data/app/components/primer/beta/button.css.map +1 -1
  85. data/app/components/primer/beta/button.pcss +31 -27
  86. data/app/components/primer/beta/button_group.css.map +1 -1
  87. data/app/components/primer/beta/button_group.pcss +1 -0
  88. data/app/components/primer/beta/counter.css +1 -1
  89. data/app/components/primer/beta/counter.css.map +1 -1
  90. data/app/components/primer/beta/counter.pcss +3 -1
  91. data/app/components/primer/beta/flash.css.map +1 -1
  92. data/app/components/primer/beta/flash.pcss +7 -4
  93. data/app/components/primer/beta/label.css.map +1 -1
  94. data/app/components/primer/beta/label.pcss +4 -0
  95. data/app/components/primer/beta/popover.css +1 -1
  96. data/app/components/primer/beta/popover.css.map +1 -1
  97. data/app/components/primer/beta/popover.pcss +15 -7
  98. data/app/components/primer/beta/progress_bar.css +1 -1
  99. data/app/components/primer/beta/progress_bar.css.map +1 -1
  100. data/app/components/primer/beta/progress_bar.pcss +2 -2
  101. data/app/components/primer/beta/state.css +1 -1
  102. data/app/components/primer/beta/state.css.map +1 -1
  103. data/app/components/primer/beta/state.pcss +6 -1
  104. data/app/components/primer/beta/subhead.css.map +1 -1
  105. data/app/components/primer/beta/subhead.pcss +3 -0
  106. data/app/components/primer/beta/timeline_item.css.map +1 -1
  107. data/app/components/primer/beta/timeline_item.pcss +11 -0
  108. data/app/components/primer/beta/truncate.css.map +1 -1
  109. data/app/components/primer/beta/truncate.pcss +1 -0
  110. data/app/components/primer/dialog_helper.js +0 -1
  111. data/app/components/primer/dialog_helper.ts +0 -1
  112. data/app/components/primer/primer.d.ts +3 -4
  113. data/app/components/primer/primer.js +3 -4
  114. data/app/components/primer/primer.pcss +6 -4
  115. data/app/components/primer/primer.ts +3 -4
  116. data/app/components/primer/responsive_arg.rb +66 -0
  117. data/app/forms/caption_template_form/places_bellevue_caption.html.erb +1 -0
  118. data/app/forms/caption_template_form/places_lopez_caption.html.erb +1 -0
  119. data/app/forms/caption_template_form/places_seattle_caption.html.erb +1 -0
  120. data/app/forms/caption_template_form.rb +6 -0
  121. data/app/forms/check_box_group_form.rb +1 -1
  122. data/app/forms/radio_button_group_form.rb +5 -1
  123. data/app/lib/primer/attributes_helper.rb +1 -1
  124. data/{lib → app/lib}/primer/forms/base_component.rb +0 -8
  125. data/{lib → app/lib}/primer/forms/button.rb +5 -2
  126. data/{lib → app/lib}/primer/forms/check_box_group.html.erb +3 -3
  127. data/{lib → app/lib}/primer/forms/check_box_group.rb +1 -1
  128. data/{lib → app/lib}/primer/forms/dsl/check_box_input.rb +4 -8
  129. data/{lib → app/lib}/primer/forms/dsl/input.rb +13 -1
  130. data/{lib → app/lib}/primer/forms/dsl/radio_button_input.rb +4 -0
  131. data/{lib → app/lib}/primer/forms/group.html.erb +1 -1
  132. data/{lib → app/lib}/primer/forms/group.rb +5 -0
  133. data/{lib → app/lib}/primer/forms/radio_button_group.html.erb +3 -3
  134. data/{lib → app/lib}/primer/forms/radio_button_group.rb +1 -1
  135. data/{lib → app/lib}/primer/forms/select.html.erb +0 -1
  136. data/lib/primer/view_components/linters/details_menu_migration.rb +3 -2
  137. data/lib/primer/view_components/version.rb +2 -2
  138. data/lib/primer/yard/component_manifest.rb +0 -1
  139. data/previews/primer/alpha/action_bar_preview/inline.html.erb +1 -1
  140. data/previews/primer/alpha/dialog_preview/autofocus_element.html.erb +1 -1
  141. data/previews/primer/alpha/dialog_preview/custom_header.html.erb +3 -1
  142. data/previews/primer/alpha/dialog_preview/dialog_inside_overlay.html.erb +4 -4
  143. data/previews/primer/alpha/dialog_preview/nested_dialog.html.erb +1 -1
  144. data/previews/primer/alpha/dialog_preview/scroll_container.html.erb +11 -2
  145. data/previews/primer/alpha/dialog_preview/with_footer.html.erb +2 -2
  146. data/previews/primer/alpha/dialog_preview/with_form.html.erb +2 -2
  147. data/previews/primer/alpha/dialog_preview/with_text_input.html.erb +1 -1
  148. data/previews/primer/alpha/dialog_preview.rb +4 -2
  149. data/previews/primer/alpha/overlay_preview/in_a_sticky_container.html.erb +1 -1
  150. data/previews/primer/alpha/overlay_preview/overlay_with_header_filter.html.erb +1 -1
  151. data/previews/primer/alpha/select_panel_preview/_interaction_subject_js.html.erb +1 -1
  152. data/previews/primer/alpha/select_panel_preview/custom_loading_description.html.erb +23 -0
  153. data/previews/primer/alpha/select_panel_preview/custom_loading_label.html.erb +21 -0
  154. data/previews/primer/alpha/select_panel_preview/remote_fetch_filter_failure.html.erb +4 -2
  155. data/previews/primer/alpha/select_panel_preview/scroll_container.html.erb +49 -0
  156. data/previews/primer/alpha/select_panel_preview.rb +40 -2
  157. data/previews/primer/alpha/stack_item_preview/default.html.erb +5 -0
  158. data/previews/primer/alpha/stack_item_preview/playground.html.erb +11 -0
  159. data/previews/primer/alpha/stack_item_preview.rb +40 -0
  160. data/previews/primer/alpha/stack_preview/playground.html.erb +5 -0
  161. data/previews/primer/alpha/stack_preview.rb +88 -0
  162. data/previews/primer/alpha/text_field_preview/input_group_leading_action_menu.html.erb +1 -2
  163. data/previews/primer/alpha/tooltip_preview/tooltip_inside_primer_overlay.html.erb +2 -2
  164. data/previews/primer/alpha/tooltip_preview/tooltip_with_dialog_moving_focus_to_input.html.erb +1 -1
  165. data/previews/primer/alpha/underline_nav_preview/default.html.erb +1 -1
  166. data/previews/primer/alpha/underline_nav_preview/playground.html.erb +1 -1
  167. data/previews/primer/beta/auto_complete_preview/with_submit_button.html.erb +18 -18
  168. data/previews/primer/beta/breadcrumbs_preview/with_deprecated_truncate.html.erb +3 -1
  169. data/previews/primer/beta/button_preview/summary_as_button.html.erb +0 -1
  170. data/previews/primer/beta/subhead_preview/actions.html.erb +0 -1
  171. data/previews/primer/open_project/feedback_dialog_preview/additional_content.html.erb +1 -1
  172. data/previews/primer/open_project/feedback_dialog_preview/custom_footer.html.erb +1 -1
  173. data/previews/primer/open_project/feedback_dialog_preview/playground.html.erb +2 -2
  174. data/previews/primer/open_project/page_header_preview/actions.html.erb +1 -1
  175. data/previews/primer/open_project/page_header_preview/playground.html.erb +2 -2
  176. data/previews/primer/open_project/sub_header_preview/action_menu_buttons.html.erb +1 -1
  177. data/static/arguments.json +112 -30
  178. data/static/audited_at.json +2 -1
  179. data/static/classes.json +6 -0
  180. data/static/constants.json +172 -9
  181. data/static/info_arch.json +248 -98
  182. data/static/previews.json +107 -47
  183. data/static/statuses.json +2 -1
  184. metadata +137 -120
  185. data/app/assets/javascripts/app/components/primer/alpha/image_crop.d.ts +0 -1
  186. data/app/components/primer/alpha/image_crop.d.ts +0 -1
  187. data/app/components/primer/alpha/image_crop.html.erb +0 -12
  188. data/app/components/primer/alpha/image_crop.js +0 -1
  189. data/app/components/primer/alpha/image_crop.rb +0 -28
  190. data/app/components/primer/alpha/image_crop.ts +0 -1
  191. data/previews/primer/alpha/image_crop_preview.rb +0 -31
  192. /data/app/assets/javascripts/{app/components → components}/primer/alpha/action_bar_element.d.ts +0 -0
  193. /data/app/assets/javascripts/{app/components → components}/primer/alpha/action_list.d.ts +0 -0
  194. /data/app/assets/javascripts/{app/components → components}/primer/alpha/action_menu/action_menu_element.d.ts +0 -0
  195. /data/app/assets/javascripts/{app/components → components}/primer/alpha/dropdown/menu.d.ts +0 -0
  196. /data/app/assets/javascripts/{app/components → components}/primer/alpha/dropdown.d.ts +0 -0
  197. /data/app/assets/javascripts/{app/components → components}/primer/alpha/modal_dialog.d.ts +0 -0
  198. /data/app/assets/javascripts/{app/components → components}/primer/alpha/segmented_control.d.ts +0 -0
  199. /data/app/assets/javascripts/{app/components → components}/primer/alpha/select_panel_element.d.ts +0 -0
  200. /data/app/assets/javascripts/{app/components → components}/primer/alpha/tab_container.d.ts +0 -0
  201. /data/app/assets/javascripts/{app/components → components}/primer/alpha/toggle_switch.d.ts +0 -0
  202. /data/app/assets/javascripts/{app/components → components}/primer/alpha/tool_tip.d.ts +0 -0
  203. /data/app/assets/javascripts/{app/components → components}/primer/alpha/x_banner.d.ts +0 -0
  204. /data/app/assets/javascripts/{app/components → components}/primer/anchored_position.d.ts +0 -0
  205. /data/app/assets/javascripts/{app/components → components}/primer/aria_live.d.ts +0 -0
  206. /data/app/assets/javascripts/{app/components → components}/primer/beta/auto_complete/auto_complete.d.ts +0 -0
  207. /data/app/assets/javascripts/{app/components → components}/primer/beta/clipboard_copy.d.ts +0 -0
  208. /data/app/assets/javascripts/{app/components → components}/primer/beta/nav_list.d.ts +0 -0
  209. /data/app/assets/javascripts/{app/components → components}/primer/beta/nav_list_group_element.d.ts +0 -0
  210. /data/app/assets/javascripts/{app/components → components}/primer/beta/relative_time.d.ts +0 -0
  211. /data/app/assets/javascripts/{app/components → components}/primer/dialog_helper.d.ts +0 -0
  212. /data/app/assets/javascripts/{app/components → components}/primer/focus_group.d.ts +0 -0
  213. /data/app/assets/javascripts/{app/components → components}/primer/open_project/page_header_element.d.ts +0 -0
  214. /data/app/assets/javascripts/{app/components → components}/primer/open_project/sub_header_element.d.ts +0 -0
  215. /data/app/assets/javascripts/{app/components → components}/primer/open_project/zen_mode_button.d.ts +0 -0
  216. /data/app/assets/javascripts/{app/components → components}/primer/scrollable_region.d.ts +0 -0
  217. /data/app/assets/javascripts/{app/components → components}/primer/shared_events.d.ts +0 -0
  218. /data/{lib → app/lib}/primer/forms/action_menu.html.erb +0 -0
  219. /data/{lib → app/lib}/primer/forms/action_menu.rb +0 -0
  220. /data/{lib → app/lib}/primer/forms/acts_as_component.rb +0 -0
  221. /data/{lib → app/lib}/primer/forms/auto_complete.html.erb +0 -0
  222. /data/{lib → app/lib}/primer/forms/auto_complete.rb +0 -0
  223. /data/{lib → app/lib}/primer/forms/base.html.erb +0 -0
  224. /data/{lib → app/lib}/primer/forms/base.rb +0 -0
  225. /data/{lib → app/lib}/primer/forms/buffer_rewriter.rb +0 -0
  226. /data/{lib → app/lib}/primer/forms/builder.rb +0 -0
  227. /data/{lib → app/lib}/primer/forms/button.html.erb +0 -0
  228. /data/{lib → app/lib}/primer/forms/caption.html.erb +0 -0
  229. /data/{lib → app/lib}/primer/forms/caption.rb +0 -0
  230. /data/{lib → app/lib}/primer/forms/check_box.html.erb +0 -0
  231. /data/{lib → app/lib}/primer/forms/check_box.rb +0 -0
  232. /data/{lib → app/lib}/primer/forms/dsl/action_menu_input.rb +0 -0
  233. /data/{lib → app/lib}/primer/forms/dsl/auto_complete_input.rb +0 -0
  234. /data/{lib → app/lib}/primer/forms/dsl/button_input.rb +0 -0
  235. /data/{lib → app/lib}/primer/forms/dsl/check_box_group_input.rb +0 -0
  236. /data/{lib → app/lib}/primer/forms/dsl/form_object.rb +0 -0
  237. /data/{lib → app/lib}/primer/forms/dsl/form_reference_input.rb +0 -0
  238. /data/{lib → app/lib}/primer/forms/dsl/hidden_input.rb +0 -0
  239. /data/{lib → app/lib}/primer/forms/dsl/input_group.rb +0 -0
  240. /data/{lib → app/lib}/primer/forms/dsl/input_methods.rb +0 -0
  241. /data/{lib → app/lib}/primer/forms/dsl/multi_input.rb +0 -0
  242. /data/{lib → app/lib}/primer/forms/dsl/radio_button_group_input.rb +0 -0
  243. /data/{lib → app/lib}/primer/forms/dsl/select_input.rb +0 -0
  244. /data/{lib → app/lib}/primer/forms/dsl/submit_button_input.rb +0 -0
  245. /data/{lib → app/lib}/primer/forms/dsl/text_area_input.rb +0 -0
  246. /data/{lib → app/lib}/primer/forms/dsl/text_field_input.rb +0 -0
  247. /data/{lib → app/lib}/primer/forms/dsl/toggle_switch_input.rb +0 -0
  248. /data/{lib → app/lib}/primer/forms/form_control.html.erb +0 -0
  249. /data/{lib → app/lib}/primer/forms/form_control.rb +0 -0
  250. /data/{lib → app/lib}/primer/forms/form_list.html.erb +0 -0
  251. /data/{lib → app/lib}/primer/forms/form_list.rb +0 -0
  252. /data/{lib → app/lib}/primer/forms/form_reference.html.erb +0 -0
  253. /data/{lib → app/lib}/primer/forms/form_reference.rb +0 -0
  254. /data/{lib → app/lib}/primer/forms/hidden_field.html.erb +0 -0
  255. /data/{lib → app/lib}/primer/forms/hidden_field.rb +0 -0
  256. /data/{lib → app/lib}/primer/forms/multi.html.erb +0 -0
  257. /data/{lib → app/lib}/primer/forms/multi.rb +0 -0
  258. /data/{lib → app/lib}/primer/forms/primer_base_component_wrapper.html.erb +0 -0
  259. /data/{lib → app/lib}/primer/forms/primer_base_component_wrapper.rb +0 -0
  260. /data/{lib → app/lib}/primer/forms/primer_multi_input.d.ts +0 -0
  261. /data/{lib → app/lib}/primer/forms/primer_multi_input.js +0 -0
  262. /data/{lib → app/lib}/primer/forms/primer_multi_input.ts +0 -0
  263. /data/{lib → app/lib}/primer/forms/primer_text_field.d.ts +0 -0
  264. /data/{lib → app/lib}/primer/forms/primer_text_field.js +0 -0
  265. /data/{lib → app/lib}/primer/forms/primer_text_field.ts +0 -0
  266. /data/{lib → app/lib}/primer/forms/radio_button.html.erb +0 -0
  267. /data/{lib → app/lib}/primer/forms/radio_button.rb +0 -0
  268. /data/{lib → app/lib}/primer/forms/select.rb +0 -0
  269. /data/{lib → app/lib}/primer/forms/separator.html.erb +0 -0
  270. /data/{lib → app/lib}/primer/forms/separator.rb +0 -0
  271. /data/{lib → app/lib}/primer/forms/spacing_wrapper.html.erb +0 -0
  272. /data/{lib → app/lib}/primer/forms/spacing_wrapper.rb +0 -0
  273. /data/{lib → app/lib}/primer/forms/submit_button.html.erb +0 -0
  274. /data/{lib → app/lib}/primer/forms/submit_button.rb +0 -0
  275. /data/{lib → app/lib}/primer/forms/text_area.html.erb +0 -0
  276. /data/{lib → app/lib}/primer/forms/text_area.rb +0 -0
  277. /data/{lib → app/lib}/primer/forms/text_field.html.erb +0 -0
  278. /data/{lib → app/lib}/primer/forms/text_field.rb +0 -0
  279. /data/{lib → app/lib}/primer/forms/toggle_switch.html.erb +0 -0
  280. /data/{lib → app/lib}/primer/forms/toggle_switch.rb +0 -0
  281. /data/{lib → app/lib}/primer/forms/toggle_switch_form.rb +0 -0
  282. /data/{lib → app/lib}/primer/forms/toggle_switch_input.d.ts +0 -0
  283. /data/{lib → app/lib}/primer/forms/toggle_switch_input.js +0 -0
  284. /data/{lib → app/lib}/primer/forms/toggle_switch_input.ts +0 -0
  285. /data/{lib → app/lib}/primer/forms/utils.rb +0 -0
  286. /data/{lib → app/lib}/primer/forms/validation_message.html.erb +0 -0
  287. /data/{lib → app/lib}/primer/forms/validation_message.rb +0 -0
  288. /data/{lib → app/lib}/primer/forms.rb +0 -0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes