primer_view_components 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +50 -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/item.rb +3 -2
  8. data/app/components/primer/alpha/action_bar.rb +1 -5
  9. data/app/components/primer/alpha/action_list.css +1 -1
  10. data/app/components/primer/alpha/action_list.css.json +1 -0
  11. data/app/components/primer/alpha/action_list.css.map +1 -1
  12. data/app/components/primer/alpha/action_list.pcss +6 -0
  13. data/app/components/primer/alpha/action_menu/action_menu_element.js +37 -6
  14. data/app/components/primer/alpha/action_menu/action_menu_element.ts +39 -5
  15. data/app/components/primer/alpha/overlay.css +1 -1
  16. data/app/components/primer/alpha/overlay.css.json +3 -1
  17. data/app/components/primer/alpha/overlay.css.map +1 -1
  18. data/app/components/primer/alpha/overlay.pcss +4 -0
  19. data/app/components/primer/alpha/tool_tip.js +28 -8
  20. data/app/components/primer/alpha/tool_tip.ts +27 -8
  21. data/app/components/primer/anchored_position.js +14 -5
  22. data/app/components/primer/anchored_position.ts +13 -4
  23. data/app/components/primer/beta/button.css +1 -1
  24. data/app/components/primer/beta/button.css.json +1 -0
  25. data/app/components/primer/beta/button.css.map +1 -1
  26. data/app/components/primer/beta/button.pcss +4 -0
  27. data/app/components/primer/beta/button.rb +6 -1
  28. data/app/components/primer/beta/flash.css +1 -1
  29. data/app/components/primer/beta/flash.css.map +1 -1
  30. data/app/components/primer/beta/flash.html.erb +1 -3
  31. data/app/components/primer/beta/flash.pcss +1 -2
  32. data/app/components/primer/beta/spinner.html.erb +1 -1
  33. data/app/components/primer/component.rb +1 -1
  34. data/app/lib/primer/fetch_or_fallback_helper.rb +1 -1
  35. data/lib/primer/view_components/linters/migrations/iconbutton_component.rb +36 -0
  36. data/lib/primer/view_components/version.rb +1 -1
  37. data/lib/primer/view_components.rb +18 -0
  38. data/previews/primer/alpha/overlay_preview/in_an_action_menu.html.erb +13 -0
  39. data/previews/primer/alpha/overlay_preview.rb +5 -0
  40. data/previews/primer/beta/button_preview/leading_visual.html.erb +2 -2
  41. data/previews/primer/beta/button_preview/leading_visual_svg.html.erb +12 -0
  42. data/previews/primer/beta/button_preview/trailing_counter.html.erb +1 -1
  43. data/previews/primer/beta/button_preview/trailing_visual.html.erb +1 -1
  44. data/previews/primer/beta/button_preview.rb +22 -0
  45. data/static/info_arch.json +27 -1
  46. data/static/previews.json +26 -0
  47. metadata +5 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5cde9666cc6c7615d376b0ecc532bdb65c6bd4d4f09547c87fdd87a218ae93bd
4
- data.tar.gz: 6fc333163744967fa7ba4dfc2c26cf9423c6872b67f18a75dc1f01d37499abc7
3
+ metadata.gz: f9535eb3bb448d2b8e7b4c9334af8df24d77455fd36634380bb860c1ec15b01f
4
+ data.tar.gz: 37538037c2bd89f15d5d84d8446b0dcc6c09dbb69feac95f622a225b7bb31e39
5
5
  SHA512:
6
- metadata.gz: 1c6137d46b50c9cc6832b836a99b1f0098bf7342e3feda213af353b857842a4ad7b60d09b35fa44b146ef4b0ef4d69e31a1578143a5ea78d5507bcedf77286dd
7
- data.tar.gz: 7af2ebbf5650af454c4b84804d93cd38400b1c136aebad1326e2c8806118587a41c4669d63eb402c805609f842f73696e07e3a779314b08a4396dccceb409ddc
6
+ metadata.gz: e8138ef11ce73f12dd5d188d75e90eea6ea961b57554ee95ef67dbd8e71e8e6943a65f7332477f0e82a496a25a182ec453d3b297324393f45fc79fffcbdcf5b5
7
+ data.tar.gz: 221801ee922bb45bbe62aaa0c8a8664df2ebaac6b34ea9132c867e5e461f41e67e5b76df37a48e77d116fc45cd8e2f4b5f7f810ce73db3a093bda299a8553aeb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,55 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2205](https://github.com/primer/view_components/pull/2205) [`88ac3095`](https://github.com/primer/view_components/commit/88ac309577b5b735af5067ee6ab2c8c30f48aefc) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Add rubocop linter for `IconButton` component
8
+
9
+ <!-- Changed components: Primer::IconButton -->
10
+
11
+ - [#2223](https://github.com/primer/view_components/pull/2223) [`00b7d5d7`](https://github.com/primer/view_components/commit/00b7d5d78e2f52dc6bc6c54689e50da976289203) Thanks [@jonrohan](https://github.com/jonrohan)! - Moving the render for the ActionBar::Item from the slot initializer to the call method.
12
+
13
+ <!-- Changed components: _none_ -->
14
+
15
+ ### Patch Changes
16
+
17
+ - [#2227](https://github.com/primer/view_components/pull/2227) [`bb336bb6`](https://github.com/primer/view_components/commit/bb336bb6f034e20778b4834edae3540c365b9d9f) Thanks [@jonrohan](https://github.com/jonrohan)! - [Bug] Don't fill in the spinner circle svg path
18
+
19
+ - [#2237](https://github.com/primer/view_components/pull/2237) [`70a8336f`](https://github.com/primer/view_components/commit/70a8336fda45b144f81c1ece54b17a26037126e4) Thanks [@jonrohan](https://github.com/jonrohan)! - Fixing ActionBar more menu items including buttons with no type
20
+
21
+ <!-- Changed components: Primer::Alpha::ActionBar -->
22
+
23
+ - [#2204](https://github.com/primer/view_components/pull/2204) [`ed1644a2`](https://github.com/primer/view_components/commit/ed1644a2fa5b701611a13513cb903774f3f74152) Thanks [@keithamus](https://github.com/keithamus)! - Fix errors in older browsers with :popover-open
24
+
25
+ <!-- Changed components: Primer::Alpha::Tooltip -->
26
+
27
+ - [#2236](https://github.com/primer/view_components/pull/2236) [`d663e450`](https://github.com/primer/view_components/commit/d663e4508341f5b9ef1788b8a2231782ce3ed44d) Thanks [@keithamus](https://github.com/keithamus)! - Centre anchored-position elements when their anchor is not present
28
+
29
+ <!-- Changed components: Primer::Alpha::Overlay -->
30
+
31
+ ## 0.8.0
32
+
33
+ ### Minor Changes
34
+
35
+ - [#2215](https://github.com/primer/view_components/pull/2215) [`827634e9`](https://github.com/primer/view_components/commit/827634e9a442fc6a6508235bdd38a1739e88cf5e) Thanks [@mjimenez98](https://github.com/mjimenez98)! - Support SVGs as leading visuals in `Button` component
36
+
37
+ <!-- Changed components: Primer::Beta::Button -->
38
+
39
+ - [#2222](https://github.com/primer/view_components/pull/2222) [`e196af7b`](https://github.com/primer/view_components/commit/e196af7bed7f862f758f5edfd51107579128e0ee) Thanks [@jonrohan](https://github.com/jonrohan)! - Replace dismiss button in Flash with IconButton
40
+
41
+ <!-- Changed components: Primer::Beta::Flash -->
42
+
43
+ ### Patch Changes
44
+
45
+ - [#2213](https://github.com/primer/view_components/pull/2213) [`bc4b3340`](https://github.com/primer/view_components/commit/bc4b33402a7cae813a77bafa7de9e1c7f2fc5419) Thanks [@camertron](https://github.com/camertron)! - Support Rails edge's custom deprecators
46
+
47
+ <!-- Changed components: _none_ -->
48
+
49
+ - [#2212](https://github.com/primer/view_components/pull/2212) [`3d0036ae`](https://github.com/primer/view_components/commit/3d0036ae50b611942347d065f5be55822ec17748) Thanks [@keithamus](https://github.com/keithamus)! - Fix dialog invocation within deferred ActionMenus
50
+
51
+ <!-- Changed components: Primer::Alpha::ActionMenu -->
52
+
3
53
  ## 0.7.0
4
54
 
5
55
  ### Minor Changes