primer_view_components 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +24 -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/item.rb +1 -1
  8. data/app/components/primer/alpha/action_list.js +15 -12
  9. data/app/components/primer/alpha/action_list.ts +12 -9
  10. data/app/components/primer/alpha/dialog.css +1 -1
  11. data/app/components/primer/alpha/dialog.css.json +1 -0
  12. data/app/components/primer/alpha/dialog.css.map +1 -1
  13. data/app/components/primer/alpha/dialog.pcss +4 -0
  14. data/app/components/primer/alpha/overlay/header.html.erb +1 -0
  15. data/app/components/primer/alpha/overlay/header.rb +12 -0
  16. data/app/components/primer/alpha/tool_tip.js +1 -1
  17. data/app/components/primer/alpha/tool_tip.ts +1 -1
  18. data/app/components/primer/beta/button.css +1 -1
  19. data/app/components/primer/beta/button.css.json +2 -0
  20. data/app/components/primer/beta/button.css.map +1 -1
  21. data/app/components/primer/beta/button.pcss +8 -0
  22. data/app/components/primer/beta/button_group.rb +4 -2
  23. data/app/components/primer/beta/icon_button.rb +2 -0
  24. data/app/components/primer/dialog_helper.js +16 -3
  25. data/app/components/primer/dialog_helper.ts +14 -1
  26. data/lib/primer/view_components/version.rb +1 -1
  27. data/previews/primer/alpha/action_list_preview.rb +19 -1
  28. data/previews/primer/alpha/dialog_preview.rb +24 -0
  29. data/previews/primer/alpha/overlay_preview/overlay_with_header_filter.html.erb +16 -0
  30. data/previews/primer/alpha/overlay_preview.rb +4 -0
  31. data/previews/primer/alpha/tab_nav_preview.rb +1 -1
  32. data/previews/primer/alpha/tab_panels_preview.rb +2 -2
  33. data/previews/primer/alpha/underline_nav_preview.rb +3 -3
  34. data/previews/primer/alpha/underline_panels_preview.rb +38 -0
  35. data/previews/primer/beta/avatar_stack_preview.rb +1 -1
  36. data/previews/primer/beta/breadcrumbs_preview.rb +2 -2
  37. data/previews/primer/beta/button_group_preview/with_menu_button.html.erb +1 -1
  38. data/previews/primer/beta/button_group_preview.rb +7 -1
  39. data/previews/primer/beta/icon_button_preview.rb +25 -0
  40. data/previews/primer/beta/nav_list_preview.rb +9 -3
  41. data/static/arguments.json +1 -1
  42. data/static/classes.json +3 -0
  43. data/static/constants.json +4 -0
  44. data/static/info_arch.json +79 -3
  45. data/static/previews.json +66 -1
  46. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92f7f626ea20a932bdd26d5f0627186bb47fd2d9fa4bb25c422ae942c591ee36
4
- data.tar.gz: 26648104089e413857f05bcf5b30dcc96e0acb5008100a6c21b3e32083ff4c84
3
+ metadata.gz: 25614f1c73dd5fb14a63e4f863d84170d7a51fceacc014b14461152b69e2d416
4
+ data.tar.gz: 2d80a1560e28fb312bb94c1502f983caf365c8d4e5b2a39cd4b7b968b27f93b7
5
5
  SHA512:
6
- metadata.gz: f5e5ef0584fae43d0ed7349a8e30fad674df6f4345ca96abc3d93c33dd54dd77822b83f8af89b83d05e8f8f13504920c9fd77e71656fbdde0edea146923049c0
7
- data.tar.gz: 14381932260e2fe23a224f5befc34d9976a347f839a96d72b2a1761d0038af168e007a13faeaab02e4c6f8031686a2b7fa1cc9390849cbb3e6ec60971059fbe0
6
+ metadata.gz: d03fe2fe428ddbe27c2a3cb34f29262bda4081ffad89875ec487529f8bcc497b333a47567aa324f06e924de4dc3dc78a55a61bda5254763dc54b43187fdf6325
7
+ data.tar.gz: ef86a6daea22452d6db5634191766f0d2f3d7c575176a56e7d55e8b859e1491c0b284805495ee0f6e736bf17ea032c3587f44ea77ac60e11b05782dba534898c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.22.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2729](https://github.com/primer/view_components/pull/2729) [`2b0a7bf`](https://github.com/primer/view_components/commit/2b0a7bf7d82a837156df3794fe25bef435c66147) Thanks [@thesnowrose](https://github.com/thesnowrose)! - Fixes a bug where a tooltip was being shown in the navlist even when the text wasn't truncated for certain items.
8
+
9
+ - [#2651](https://github.com/primer/view_components/pull/2651) [`e1f3434`](https://github.com/primer/view_components/commit/e1f34344d237505fb3cbe2a4d0b68300f244752c) Thanks [@jonrohan](https://github.com/jonrohan)! - Add a slot to `Overlay::Header` called `filter` for a filter input.
10
+
11
+ ### Patch Changes
12
+
13
+ - [#2735](https://github.com/primer/view_components/pull/2735) [`507a743`](https://github.com/primer/view_components/commit/507a743a7e4e018330765cd1273344bb55829bb6) Thanks [@antn](https://github.com/antn)! - Explicitly convert params to integers where needed for several previews
14
+
15
+ - [#2731](https://github.com/primer/view_components/pull/2731) [`8123aee`](https://github.com/primer/view_components/commit/8123aeeb616f0ed34c96f9517666a28031c948ac) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove old primitives color themes imports and only use V8 on the demo lookbook
16
+
17
+ - [#2733](https://github.com/primer/view_components/pull/2733) [`6fe410b`](https://github.com/primer/view_components/commit/6fe410b1a306ecc5a43507de9b0fb9bea76abb26) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Tooltip: Update the threshold value to match with the offset
18
+
19
+ ## 0.21.1
20
+
21
+ ### Patch Changes
22
+
23
+ - [#2707](https://github.com/primer/view_components/pull/2707) [`1c73539`](https://github.com/primer/view_components/commit/1c7353976a09b8722dd0609ff3239ed02799a5ff) Thanks [@jonrohan](https://github.com/jonrohan)! - Add `:primary` and `:secondary` scheme to IconButton and Match scheme for ButtonGroup menu
24
+
25
+ - [#2582](https://github.com/primer/view_components/pull/2582) [`74c4cc0`](https://github.com/primer/view_components/commit/74c4cc037fede70f8859614d7efab8934eeb80e7) Thanks [@keithamus](https://github.com/keithamus)! - Ensure Alpha::Dialog is always opened as modal
26
+
3
27
  ## 0.21.0
4
28
 
5
29
  ### Minor Changes