primer_view_components 0.7.0 → 0.8.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 (33) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -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_list.css +1 -1
  8. data/app/components/primer/alpha/action_list.css.json +1 -0
  9. data/app/components/primer/alpha/action_list.css.map +1 -1
  10. data/app/components/primer/alpha/action_list.pcss +6 -0
  11. data/app/components/primer/alpha/action_menu/action_menu_element.js +37 -6
  12. data/app/components/primer/alpha/action_menu/action_menu_element.ts +39 -5
  13. data/app/components/primer/beta/button.css +1 -1
  14. data/app/components/primer/beta/button.css.json +1 -0
  15. data/app/components/primer/beta/button.css.map +1 -1
  16. data/app/components/primer/beta/button.pcss +4 -0
  17. data/app/components/primer/beta/button.rb +6 -1
  18. data/app/components/primer/beta/flash.css +1 -1
  19. data/app/components/primer/beta/flash.css.map +1 -1
  20. data/app/components/primer/beta/flash.html.erb +1 -3
  21. data/app/components/primer/beta/flash.pcss +1 -2
  22. data/app/components/primer/component.rb +1 -1
  23. data/app/lib/primer/fetch_or_fallback_helper.rb +1 -1
  24. data/lib/primer/view_components/version.rb +1 -1
  25. data/lib/primer/view_components.rb +18 -0
  26. data/previews/primer/beta/button_preview/leading_visual.html.erb +2 -2
  27. data/previews/primer/beta/button_preview/leading_visual_svg.html.erb +12 -0
  28. data/previews/primer/beta/button_preview/trailing_counter.html.erb +1 -1
  29. data/previews/primer/beta/button_preview/trailing_visual.html.erb +1 -1
  30. data/previews/primer/beta/button_preview.rb +22 -0
  31. data/static/info_arch.json +14 -1
  32. data/static/previews.json +13 -0
  33. metadata +3 -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: f767324d9a97f3f64289e1682e78cdeade5f2b3f540b753c9690760162b9724d
4
+ data.tar.gz: 55a044195c13ed41b993f61b863b5e3ba31294140119fe1795566b9c99703c84
5
5
  SHA512:
6
- metadata.gz: 1c6137d46b50c9cc6832b836a99b1f0098bf7342e3feda213af353b857842a4ad7b60d09b35fa44b146ef4b0ef4d69e31a1578143a5ea78d5507bcedf77286dd
7
- data.tar.gz: 7af2ebbf5650af454c4b84804d93cd38400b1c136aebad1326e2c8806118587a41c4669d63eb402c805609f842f73696e07e3a779314b08a4396dccceb409ddc
6
+ metadata.gz: 70efe9ffd3d691bb0575e9d84114fdcb9d366d80fc07878b4ed639c89a893da7d28939186beb0ee4e1103892d19e69350f33780a19760a0d5651b9bb5f13f1e9
7
+ data.tar.gz: 56a9fbed5051b127ada16e44b55efd81c37748eda8678cdfc65d88d22a0b1044782e3f086de3f0b7756fd38fed5d856cf2605af9edb366d63f963247120f809b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#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
8
+
9
+ <!-- Changed components: Primer::Beta::Button -->
10
+
11
+ - [#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
12
+
13
+ <!-- Changed components: Primer::Beta::Flash -->
14
+
15
+ ### Patch Changes
16
+
17
+ - [#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
18
+
19
+ <!-- Changed components: _none_ -->
20
+
21
+ - [#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
22
+
23
+ <!-- Changed components: Primer::Alpha::ActionMenu -->
24
+
3
25
  ## 0.7.0
4
26
 
5
27
  ### Minor Changes