openproject-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 (36) 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/alpha/dialog.rb +2 -1
  14. data/app/components/primer/beta/button.css +1 -1
  15. data/app/components/primer/beta/button.css.json +1 -0
  16. data/app/components/primer/beta/button.css.map +1 -1
  17. data/app/components/primer/beta/button.pcss +4 -0
  18. data/app/components/primer/beta/button.rb +6 -1
  19. data/app/components/primer/beta/flash.css +1 -1
  20. data/app/components/primer/beta/flash.css.map +1 -1
  21. data/app/components/primer/beta/flash.html.erb +1 -3
  22. data/app/components/primer/beta/flash.pcss +1 -2
  23. data/app/components/primer/component.rb +1 -1
  24. data/app/lib/primer/fetch_or_fallback_helper.rb +1 -1
  25. data/lib/primer/view_components/linters/details_menu_migration.rb +1 -1
  26. data/lib/primer/view_components/linters/tooltipped_migration.rb +1 -1
  27. data/lib/primer/view_components/version.rb +1 -1
  28. data/lib/primer/view_components.rb +18 -0
  29. data/previews/primer/beta/button_preview/leading_visual.html.erb +2 -2
  30. data/previews/primer/beta/button_preview/leading_visual_svg.html.erb +12 -0
  31. data/previews/primer/beta/button_preview/trailing_counter.html.erb +1 -1
  32. data/previews/primer/beta/button_preview/trailing_visual.html.erb +1 -1
  33. data/previews/primer/beta/button_preview.rb +22 -0
  34. data/static/info_arch.json +14 -1
  35. data/static/previews.json +13 -0
  36. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8be7ad46fc3c78294080503b0a0fdc1543e2e2fb12731959588ac423e6bfdf3
4
- data.tar.gz: f9d4e8208d853065583286c28930004657cba2e83d75a6fb7773ec5a1c5383d8
3
+ metadata.gz: 3b243f79fdf174eadf7e29276d54a5f7f111d495f5d61f1bd43ed01a5c29d2a3
4
+ data.tar.gz: 1a2360041d7b96d2126d6d1c3720914a5014e9e824d08f53b503ec8944da6dea
5
5
  SHA512:
6
- metadata.gz: '008a5a6ac859d53ecd151d931bcf86670ec26931830ca9dbb6d6544499e7092d03698d3b8f0da269a36e0622efb4914146e21436dd783c34b0b309fd691cbd58'
7
- data.tar.gz: f7d96def4a40f901aa3f62f5bf096f92fb51a5c1147f3486569dbd29d99d4a5efa6a1b67c7d30e7ea3d9080fb3cb42ef6d43367d8c3585ae42e3aca066cdcc7c
6
+ metadata.gz: e26e4eee889fc04d1106e8ecc59c19288af8cf6fa609ee9df315ad139937f49df015ad60a268885b1234044d3c79c669492ba8ee7f71b7a7fa1d8a0e63bc9c62
7
+ data.tar.gz: 3821c65dd83ce1efe3bb4c92f534987c44673cd69c2ef12af877d597d47c9725a800175d65aab2e1483189946435a8cf48bf52173d40f3d38e3dfd48e1292f75
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/opf/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/opf/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/opf/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/opf/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