primer_view_components 0.30.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (107) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +51 -0
  3. data/app/assets/javascripts/app/components/primer/alpha/select_panel_element.d.ts +0 -1
  4. data/app/assets/javascripts/app/components/primer/shared_events.d.ts +2 -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_list/item.html.erb +1 -5
  10. data/app/components/primer/alpha/action_list/item.rb +10 -3
  11. data/app/components/primer/alpha/action_list.css +1 -1
  12. data/app/components/primer/alpha/action_list.css.json +33 -50
  13. data/app/components/primer/alpha/action_list.css.map +1 -1
  14. data/app/components/primer/alpha/action_menu/action_menu_element.js +20 -7
  15. data/app/components/primer/alpha/action_menu/action_menu_element.ts +20 -7
  16. data/app/components/primer/alpha/auto_complete.css +1 -1
  17. data/app/components/primer/alpha/auto_complete.css.json +3 -5
  18. data/app/components/primer/alpha/auto_complete.css.map +1 -1
  19. data/app/components/primer/alpha/banner.css +1 -1
  20. data/app/components/primer/alpha/banner.css.json +5 -5
  21. data/app/components/primer/alpha/banner.css.map +1 -1
  22. data/app/components/primer/alpha/button_marketing.css +1 -1
  23. data/app/components/primer/alpha/button_marketing.css.json +1 -4
  24. data/app/components/primer/alpha/button_marketing.css.map +1 -1
  25. data/app/components/primer/alpha/dialog.css +1 -1
  26. data/app/components/primer/alpha/dialog.css.json +7 -7
  27. data/app/components/primer/alpha/dialog.css.map +1 -1
  28. data/app/components/primer/alpha/layout.css +1 -1
  29. data/app/components/primer/alpha/layout.css.json +9 -15
  30. data/app/components/primer/alpha/layout.css.map +1 -1
  31. data/app/components/primer/alpha/menu.css +1 -1
  32. data/app/components/primer/alpha/menu.css.json +1 -3
  33. data/app/components/primer/alpha/menu.css.map +1 -1
  34. data/app/components/primer/alpha/segmented_control.css +1 -1
  35. data/app/components/primer/alpha/segmented_control.css.json +5 -5
  36. data/app/components/primer/alpha/segmented_control.css.map +1 -1
  37. data/app/components/primer/alpha/segmented_control.pcss +1 -0
  38. data/app/components/primer/alpha/select_panel.rb +5 -4
  39. data/app/components/primer/alpha/select_panel_element.d.ts +0 -1
  40. data/app/components/primer/alpha/select_panel_element.js +55 -26
  41. data/app/components/primer/alpha/select_panel_element.ts +53 -29
  42. data/app/components/primer/alpha/tab_nav.css +1 -1
  43. data/app/components/primer/alpha/tab_nav.css.json +1 -3
  44. data/app/components/primer/alpha/tab_nav.css.map +1 -1
  45. data/app/components/primer/alpha/text_field.css +1 -1
  46. data/app/components/primer/alpha/text_field.css.json +37 -78
  47. data/app/components/primer/alpha/text_field.css.map +1 -1
  48. data/app/components/primer/alpha/toggle_switch.css +1 -1
  49. data/app/components/primer/alpha/toggle_switch.css.json +1 -1
  50. data/app/components/primer/alpha/toggle_switch.css.map +1 -1
  51. data/app/components/primer/alpha/toggle_switch.rb +2 -1
  52. data/app/components/primer/alpha/tool_tip.js +2 -2
  53. data/app/components/primer/alpha/tool_tip.ts +2 -2
  54. data/app/components/primer/alpha/underline_nav.css +1 -1
  55. data/app/components/primer/alpha/underline_nav.css.json +2 -4
  56. data/app/components/primer/alpha/underline_nav.css.map +1 -1
  57. data/app/components/primer/beta/avatar_stack.css +1 -1
  58. data/app/components/primer/beta/avatar_stack.css.json +8 -8
  59. data/app/components/primer/beta/avatar_stack.css.map +1 -1
  60. data/app/components/primer/beta/border_box.css +1 -1
  61. data/app/components/primer/beta/border_box.css.json +4 -4
  62. data/app/components/primer/beta/border_box.css.map +1 -1
  63. data/app/components/primer/beta/breadcrumbs.css +1 -1
  64. data/app/components/primer/beta/breadcrumbs.css.json +1 -2
  65. data/app/components/primer/beta/breadcrumbs.css.map +1 -1
  66. data/app/components/primer/beta/button.css +1 -1
  67. data/app/components/primer/beta/button.css.json +6 -8
  68. data/app/components/primer/beta/button.css.map +1 -1
  69. data/app/components/primer/beta/button_group.css +1 -1
  70. data/app/components/primer/beta/button_group.css.json +3 -3
  71. data/app/components/primer/beta/button_group.css.map +1 -1
  72. data/app/components/primer/beta/label.css +1 -1
  73. data/app/components/primer/beta/label.css.json +1 -2
  74. data/app/components/primer/beta/label.css.map +1 -1
  75. data/app/components/primer/beta/link.css +1 -1
  76. data/app/components/primer/beta/link.css.json +1 -3
  77. data/app/components/primer/beta/link.css.map +1 -1
  78. data/app/components/primer/beta/popover.css +1 -1
  79. data/app/components/primer/beta/popover.css.json +16 -22
  80. data/app/components/primer/beta/popover.css.map +1 -1
  81. data/app/components/primer/beta/relative_time.rb +4 -4
  82. data/app/components/primer/beta/spinner.html.erb +1 -1
  83. data/app/components/primer/beta/state.css +1 -1
  84. data/app/components/primer/beta/state.css.map +1 -1
  85. data/app/components/primer/beta/state.pcss +4 -0
  86. data/app/components/primer/beta/truncate.css +1 -1
  87. data/app/components/primer/beta/truncate.css.json +5 -5
  88. data/app/components/primer/beta/truncate.css.map +1 -1
  89. data/app/components/primer/shared_events.d.ts +2 -0
  90. data/app/components/primer/shared_events.ts +2 -0
  91. data/lib/primer/forms/primer_text_field.js +3 -0
  92. data/lib/primer/forms/primer_text_field.ts +4 -0
  93. data/lib/primer/view_components/linters/details_menu_migration.rb +30 -1
  94. data/lib/primer/view_components/linters/tooltipped_migration.rb +1 -1
  95. data/lib/primer/view_components/version.rb +1 -1
  96. data/previews/primer/alpha/action_list_preview.rb +1 -1
  97. data/previews/primer/alpha/select_panel_preview/list_of_links.html.erb +16 -0
  98. data/previews/primer/alpha/select_panel_preview/no_values.html.erb +19 -0
  99. data/previews/primer/alpha/select_panel_preview/playground.html.erb +2 -1
  100. data/previews/primer/alpha/select_panel_preview/remote_fetch.html.erb +4 -1
  101. data/previews/primer/alpha/select_panel_preview/single_select.html.erb +4 -4
  102. data/previews/primer/alpha/select_panel_preview.rb +23 -7
  103. data/static/arguments.json +6 -6
  104. data/static/classes.json +39 -21
  105. data/static/info_arch.json +72 -13
  106. data/static/previews.json +26 -0
  107. metadata +4 -2
data/static/previews.json CHANGED
@@ -6160,6 +6160,32 @@
6160
6160
  "color-contrast"
6161
6161
  ]
6162
6162
  }
6163
+ },
6164
+ {
6165
+ "preview_path": "primer/alpha/select_panel/list_of_links",
6166
+ "name": "list_of_links",
6167
+ "snapshot": "interactive",
6168
+ "skip_rules": {
6169
+ "wont_fix": [
6170
+ "region"
6171
+ ],
6172
+ "will_fix": [
6173
+ "color-contrast"
6174
+ ]
6175
+ }
6176
+ },
6177
+ {
6178
+ "preview_path": "primer/alpha/select_panel/no_values",
6179
+ "name": "no_values",
6180
+ "snapshot": "interactive",
6181
+ "skip_rules": {
6182
+ "wont_fix": [
6183
+ "region"
6184
+ ],
6185
+ "will_fix": [
6186
+ "color-contrast"
6187
+ ]
6188
+ }
6163
6189
  }
6164
6190
  ]
6165
6191
  },
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.30.0
4
+ version: 0.32.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-07-26 00:00:00.000000000 Z
11
+ date: 2024-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview
@@ -792,10 +792,12 @@ files:
792
792
  - previews/primer/alpha/select_panel_preview/eventually_local_fetch_initial_failure.html.erb
793
793
  - previews/primer/alpha/select_panel_preview/eventually_local_fetch_no_results.html.erb
794
794
  - previews/primer/alpha/select_panel_preview/footer_buttons.html.erb
795
+ - previews/primer/alpha/select_panel_preview/list_of_links.html.erb
795
796
  - previews/primer/alpha/select_panel_preview/local_fetch.html.erb
796
797
  - previews/primer/alpha/select_panel_preview/local_fetch_no_results.html.erb
797
798
  - previews/primer/alpha/select_panel_preview/multiselect.html.erb
798
799
  - previews/primer/alpha/select_panel_preview/multiselect_form.html.erb
800
+ - previews/primer/alpha/select_panel_preview/no_values.html.erb
799
801
  - previews/primer/alpha/select_panel_preview/playground.html.erb
800
802
  - previews/primer/alpha/select_panel_preview/remote_fetch.html.erb
801
803
  - previews/primer/alpha/select_panel_preview/remote_fetch_filter_failure.html.erb