primer_view_components 0.22.0 → 0.24.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +43 -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_bar.css +1 -1
  8. data/app/components/primer/alpha/action_bar.css.map +1 -1
  9. data/app/components/primer/alpha/action_list/form_wrapper.rb +5 -0
  10. data/app/components/primer/alpha/action_list/item.html.erb +1 -1
  11. data/app/components/primer/alpha/action_list.css +1 -1
  12. data/app/components/primer/alpha/action_list.css.map +1 -1
  13. data/app/components/primer/alpha/auto_complete.css +1 -1
  14. data/app/components/primer/alpha/auto_complete.css.map +1 -1
  15. data/app/components/primer/alpha/banner.css +1 -1
  16. data/app/components/primer/alpha/banner.css.map +1 -1
  17. data/app/components/primer/alpha/button_marketing.css +1 -1
  18. data/app/components/primer/alpha/button_marketing.css.map +1 -1
  19. data/app/components/primer/alpha/button_marketing.rb +2 -0
  20. data/app/components/primer/alpha/dialog/header.html.erb +3 -0
  21. data/app/components/primer/alpha/dialog/header.rb +26 -0
  22. data/app/components/primer/alpha/dialog.css +1 -1
  23. data/app/components/primer/alpha/dialog.css.map +1 -1
  24. data/app/components/primer/alpha/dropdown.css +1 -1
  25. data/app/components/primer/alpha/dropdown.css.map +1 -1
  26. data/app/components/primer/alpha/layout.css +1 -1
  27. data/app/components/primer/alpha/layout.css.map +1 -1
  28. data/app/components/primer/alpha/menu.css +1 -1
  29. data/app/components/primer/alpha/menu.css.map +1 -1
  30. data/app/components/primer/alpha/overlay/header.html.erb +3 -1
  31. data/app/components/primer/alpha/overlay/header.rb +15 -0
  32. data/app/components/primer/alpha/segmented_control.css +1 -1
  33. data/app/components/primer/alpha/segmented_control.css.json +2 -0
  34. data/app/components/primer/alpha/segmented_control.css.map +1 -1
  35. data/app/components/primer/alpha/segmented_control.pcss +13 -0
  36. data/app/components/primer/alpha/tab_nav.css +1 -1
  37. data/app/components/primer/alpha/tab_nav.css.json +2 -0
  38. data/app/components/primer/alpha/tab_nav.css.map +1 -1
  39. data/app/components/primer/alpha/tab_nav.pcss +10 -0
  40. data/app/components/primer/alpha/tab_panels.html.erb +5 -9
  41. data/app/components/primer/alpha/tab_panels.rb +4 -13
  42. data/app/components/primer/alpha/text_field.css +1 -1
  43. data/app/components/primer/alpha/text_field.css.map +1 -1
  44. data/app/components/primer/alpha/toggle_switch.css +1 -1
  45. data/app/components/primer/alpha/toggle_switch.css.map +1 -1
  46. data/app/components/primer/alpha/underline_nav.css +1 -1
  47. data/app/components/primer/alpha/underline_nav.css.json +2 -0
  48. data/app/components/primer/alpha/underline_nav.css.map +1 -1
  49. data/app/components/primer/alpha/underline_nav.pcss +7 -1
  50. data/app/components/primer/alpha/underline_panels.css +1 -0
  51. data/app/components/primer/alpha/underline_panels.css.json +6 -0
  52. data/app/components/primer/alpha/underline_panels.css.map +1 -0
  53. data/app/components/primer/alpha/underline_panels.html.erb +6 -8
  54. data/app/components/primer/alpha/underline_panels.pcss +4 -0
  55. data/app/components/primer/alpha/underline_panels.rb +6 -14
  56. data/app/components/primer/anchored_position.js +2 -0
  57. data/app/components/primer/anchored_position.ts +2 -0
  58. data/app/components/primer/beta/avatar.css +1 -1
  59. data/app/components/primer/beta/avatar.css.map +1 -1
  60. data/app/components/primer/beta/avatar_stack.css +1 -1
  61. data/app/components/primer/beta/avatar_stack.css.map +1 -1
  62. data/app/components/primer/beta/blankslate.css +1 -1
  63. data/app/components/primer/beta/blankslate.css.map +1 -1
  64. data/app/components/primer/beta/border_box.css +1 -1
  65. data/app/components/primer/beta/border_box.css.json +1 -1
  66. data/app/components/primer/beta/border_box.css.map +1 -1
  67. data/app/components/primer/beta/breadcrumbs.css +1 -1
  68. data/app/components/primer/beta/breadcrumbs.css.map +1 -1
  69. data/app/components/primer/beta/button.css +1 -1
  70. data/app/components/primer/beta/button.css.json +8 -0
  71. data/app/components/primer/beta/button.css.map +1 -1
  72. data/app/components/primer/beta/button.html.erb +6 -1
  73. data/app/components/primer/beta/button.pcss +43 -0
  74. data/app/components/primer/beta/button.rb +14 -2
  75. data/app/components/primer/beta/button_group.css +1 -1
  76. data/app/components/primer/beta/button_group.css.map +1 -1
  77. data/app/components/primer/beta/counter.css +1 -1
  78. data/app/components/primer/beta/counter.css.map +1 -1
  79. data/app/components/primer/beta/flash.css +1 -1
  80. data/app/components/primer/beta/flash.css.map +1 -1
  81. data/app/components/primer/beta/label.css +1 -1
  82. data/app/components/primer/beta/label.css.map +1 -1
  83. data/app/components/primer/beta/link.css +1 -1
  84. data/app/components/primer/beta/link.css.map +1 -1
  85. data/app/components/primer/beta/popover.css +1 -1
  86. data/app/components/primer/beta/popover.css.map +1 -1
  87. data/app/components/primer/beta/progress_bar.css +1 -1
  88. data/app/components/primer/beta/progress_bar.css.map +1 -1
  89. data/app/components/primer/beta/state.css +1 -1
  90. data/app/components/primer/beta/state.css.map +1 -1
  91. data/app/components/primer/beta/subhead.css +1 -1
  92. data/app/components/primer/beta/subhead.css.map +1 -1
  93. data/app/components/primer/beta/timeline_item.css +1 -1
  94. data/app/components/primer/beta/timeline_item.css.map +1 -1
  95. data/app/components/primer/beta/truncate.css +1 -1
  96. data/app/components/primer/beta/truncate.css.map +1 -1
  97. data/app/components/primer/primer.pcss +1 -0
  98. data/lib/primer/view_components/version.rb +1 -1
  99. data/previews/primer/alpha/action_list_preview.rb +1 -1
  100. data/previews/primer/alpha/button_marketing_preview.rb +15 -3
  101. data/previews/primer/alpha/dialog_preview/with_header_filter.html.erb +19 -0
  102. data/previews/primer/alpha/dialog_preview.rb +4 -0
  103. data/previews/primer/alpha/overlay_preview/in_a_sticky_container.html.erb +19 -0
  104. data/previews/primer/alpha/overlay_preview.rb +15 -0
  105. data/previews/primer/alpha/select_preview.rb +3 -0
  106. data/previews/primer/beta/button_group_preview.rb +3 -7
  107. data/previews/primer/beta/button_preview/label_wrap.html.erb +9 -0
  108. data/previews/primer/beta/button_preview/link_scheme_label_wrap.html.erb +8 -0
  109. data/previews/primer/beta/button_preview/small_scheme_one_character.html.erb +5 -0
  110. data/previews/primer/beta/button_preview/summary_as_button.html.erb +14 -0
  111. data/previews/primer/beta/button_preview.rb +71 -12
  112. data/previews/primer/beta/nav_list_preview.rb +15 -1
  113. data/static/arguments.json +6 -12
  114. data/static/classes.json +3 -0
  115. data/static/info_arch.json +163 -17
  116. data/static/previews.json +119 -2
  117. metadata +12 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25614f1c73dd5fb14a63e4f863d84170d7a51fceacc014b14461152b69e2d416
4
- data.tar.gz: 2d80a1560e28fb312bb94c1502f983caf365c8d4e5b2a39cd4b7b968b27f93b7
3
+ metadata.gz: 6f73ef91f7c2fe59e71f2b022e8eb6a48c616b9c95f3c1fafa4768dc0a871dc9
4
+ data.tar.gz: 47a1a45ddc948597491851ce0d4449e5854e2aa04afcfda651a70c9f4ad54193
5
5
  SHA512:
6
- metadata.gz: d03fe2fe428ddbe27c2a3cb34f29262bda4081ffad89875ec487529f8bcc497b333a47567aa324f06e924de4dc3dc78a55a61bda5254763dc54b43187fdf6325
7
- data.tar.gz: ef86a6daea22452d6db5634191766f0d2f3d7c575176a56e7d55e8b859e1491c0b284805495ee0f6e736bf17ea032c3587f44ea77ac60e11b05782dba534898c
6
+ metadata.gz: 6451d0a750336ea97d3ddb16f6b142655c76871ac1751854457244091be47782006cc326e5c8913f75790e39ba7fd391d635d81d79d46239e1ed54e71bfff13d
7
+ data.tar.gz: a8b79cfd910e17e1eddce3e2e8e5559cdb16f12c74130ac133c00b32f02f4dad89ccc4edcee0a14089900fafb9676899096ea0ca8d00381cf504d9b124a80efe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.24.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2624](https://github.com/primer/view_components/pull/2624) [`8600b3b`](https://github.com/primer/view_components/commit/8600b3bd96d5b425fa34e0434c5aeb3223fd66c8) Thanks [@keithamus](https://github.com/keithamus)! - Upgrade @github/tab-container, using shadowdom
8
+
9
+ - [#2808](https://github.com/primer/view_components/pull/2808) [`bdb3d88`](https://github.com/primer/view_components/commit/bdb3d88595dedc93ad20e55a68d34ba1899e8fac) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Adds a subtitle slot to the Primer::Alpha::Overlay::Header and Primer::Alpha::Dialog::Header
10
+
11
+ - [#2804](https://github.com/primer/view_components/pull/2804) [`757635a`](https://github.com/primer/view_components/commit/757635a902c0986da60d94daa3799bd59ad1e697) Thanks [@camertron](https://github.com/camertron)! - Add a filter slot to the dialog header
12
+
13
+ ### Patch Changes
14
+
15
+ - [#2807](https://github.com/primer/view_components/pull/2807) [`1863522`](https://github.com/primer/view_components/commit/186352212178c66b651852ab6517213869927eae) Thanks [@khiga8](https://github.com/khiga8)! - Add parenthesis to trailing counter for React parity, and to improve screen reader speech output
16
+
17
+ - [#2794](https://github.com/primer/view_components/pull/2794) [`1d0ecc5`](https://github.com/primer/view_components/commit/1d0ecc5fe4cd738809fc67e9ee43cecf69b2899c) Thanks [@jonrohan](https://github.com/jonrohan)! - Fix: Re-calculate anchored-position on scroll
18
+
19
+ - [#2821](https://github.com/primer/view_components/pull/2821) [`19f4d7e`](https://github.com/primer/view_components/commit/19f4d7e2068aa8c0fee5da9c15850c1afb9238cb) Thanks [@khiga8](https://github.com/khiga8)! - Add min-width
20
+
21
+ - [#2803](https://github.com/primer/view_components/pull/2803) [`d81824c`](https://github.com/primer/view_components/commit/d81824c43eea2c313b3c024dfc2d4adcb5b51fd0) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Adds data attribute to overlay header
22
+
23
+ - [#2822](https://github.com/primer/view_components/pull/2822) [`11aa0e9`](https://github.com/primer/view_components/commit/11aa0e92034ceac4fe3b9042be31102723b85b8a) Thanks [@smockle](https://github.com/smockle)! - Fix NVDA menu item counts that are broken by using '<form>' inside an 'ActionMenu'.
24
+
25
+ - [#2828](https://github.com/primer/view_components/pull/2828) [`9ca87d3`](https://github.com/primer/view_components/commit/9ca87d39e4bcff1753a116e829ea336425e161d1) Thanks [@camertron](https://github.com/camertron)! - Fix issue with ActionMenu form items which would prevent a wrapping form if form_arguments: was passed
26
+
27
+ - [#2802](https://github.com/primer/view_components/pull/2802) [`2906d96`](https://github.com/primer/view_components/commit/2906d96e0780dd5795800cfd29ede076c1e4bcd5) Thanks [@lindseywild](https://github.com/lindseywild)! - Updates Button and ButtonMarketing docs with markup requirements
28
+
29
+ ## 0.23.0
30
+
31
+ ### Minor Changes
32
+
33
+ - [#2764](https://github.com/primer/view_components/pull/2764) [`a58824e`](https://github.com/primer/view_components/commit/a58824e10255901bcf394edcc5873db1ed21e0d6) Thanks [@langermank](https://github.com/langermank)! - - Upgrade `primer/primitives`
34
+ - Remove CSS color variable fallbacks
35
+
36
+ ### Patch Changes
37
+
38
+ - [#2751](https://github.com/primer/view_components/pull/2751) [`b1fef3c`](https://github.com/primer/view_components/commit/b1fef3cf8ae547241b4d63fde81bc6c127fbd862) Thanks [@langermank](https://github.com/langermank)! - - Add `label_wrap` param to `Beta::Button`
39
+
40
+ - Bug fix: text overflows in SegmentedControl instead of ellipses
41
+
42
+ - [#2765](https://github.com/primer/view_components/pull/2765) [`1857983`](https://github.com/primer/view_components/commit/1857983591752336d34133c83af3c8cfe232f1af) Thanks [@camertron](https://github.com/camertron)! - Fix issue preventing expansion and collapse of nav list items with tooltips
43
+
44
+ - [#2750](https://github.com/primer/view_components/pull/2750) [`ba87524`](https://github.com/primer/view_components/commit/ba8752440b909b57643b91b9e25c7e91a15bcd60) Thanks [@langermank](https://github.com/langermank)! - Allow `:link` Button scheme text label to wrap
45
+
3
46
  ## 0.22.0
4
47
 
5
48
  ### Minor Changes