primer_view_components 0.20.1 → 0.21.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) 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/banner.css +1 -1
  8. data/app/components/primer/alpha/banner.css.map +1 -1
  9. data/app/components/primer/alpha/banner.pcss +4 -4
  10. data/app/components/primer/alpha/dialog.css +1 -1
  11. data/app/components/primer/alpha/dialog.css.json +1 -2
  12. data/app/components/primer/alpha/dialog.css.map +1 -1
  13. data/app/components/primer/alpha/dialog.pcss +8 -7
  14. data/app/components/primer/alpha/dropdown.css +1 -1
  15. data/app/components/primer/alpha/dropdown.css.map +1 -1
  16. data/app/components/primer/alpha/dropdown.pcss +1 -1
  17. data/app/components/primer/alpha/segmented_control.css +1 -1
  18. data/app/components/primer/alpha/segmented_control.css.map +1 -1
  19. data/app/components/primer/alpha/segmented_control.pcss +1 -0
  20. data/app/components/primer/alpha/tool_tip.js +46 -77
  21. data/app/components/primer/alpha/tool_tip.ts +46 -77
  22. data/app/components/primer/beta/button.css +1 -1
  23. data/app/components/primer/beta/button.css.json +2 -0
  24. data/app/components/primer/beta/button.css.map +1 -1
  25. data/app/components/primer/beta/button.pcss +8 -0
  26. data/app/components/primer/beta/button_group.rb +4 -2
  27. data/app/components/primer/beta/flash.css +1 -1
  28. data/app/components/primer/beta/flash.css.map +1 -1
  29. data/app/components/primer/beta/flash.pcss +4 -4
  30. data/app/components/primer/beta/icon_button.rb +2 -0
  31. data/app/components/primer/beta/popover.css +1 -1
  32. data/app/components/primer/beta/popover.css.map +1 -1
  33. data/app/components/primer/beta/popover.pcss +3 -0
  34. data/app/components/primer/beta/popover.rb +0 -1
  35. data/app/components/primer/dialog_helper.js +16 -3
  36. data/app/components/primer/dialog_helper.ts +14 -1
  37. data/lib/primer/view_components/version.rb +1 -1
  38. data/previews/primer/alpha/dialog_preview.rb +24 -0
  39. data/previews/primer/alpha/tooltip_preview/tooltip_e.html.erb +6 -0
  40. data/previews/primer/alpha/tooltip_preview/tooltip_n.html.erb +6 -0
  41. data/previews/primer/alpha/tooltip_preview/tooltip_ne.html.erb +6 -0
  42. data/previews/primer/alpha/tooltip_preview/tooltip_nw.html.erb +6 -0
  43. data/previews/primer/alpha/tooltip_preview/tooltip_s.html.erb +6 -0
  44. data/previews/primer/alpha/tooltip_preview/tooltip_se.html.erb +6 -0
  45. data/previews/primer/alpha/tooltip_preview/tooltip_sw.html.erb +6 -0
  46. data/previews/primer/alpha/tooltip_preview/tooltip_w.html.erb +6 -0
  47. data/previews/primer/alpha/tooltip_preview.rb +80 -0
  48. data/previews/primer/beta/button_group_preview/with_menu_button.html.erb +1 -1
  49. data/previews/primer/beta/button_group_preview.rb +7 -1
  50. data/previews/primer/beta/icon_button_preview.rb +25 -0
  51. data/static/arguments.json +1 -1
  52. data/static/constants.json +4 -0
  53. data/static/info_arch.json +131 -1
  54. data/static/previews.json +130 -0
  55. metadata +10 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67cd538e5c6104975ae7377a3d629436c5d0a78d62709427eba5f20ff9c8106f
4
- data.tar.gz: 44f0bbbdfbd0390aaedb2c3228824a010cea4b883d50e2b51e18d65cbf390397
3
+ metadata.gz: c8c0666212fe24f07031c2106dc20e02c313217b0845a3b1878161c217aa6d1b
4
+ data.tar.gz: 8e859436207d7f3b9f2dd0f36a199e73170ddbf498ddbb1f20b1a0bb5314c149
5
5
  SHA512:
6
- metadata.gz: 6cde777b3aadd799dd73ccf29c730c951e585dd592f3acc3a3dd9538834b40b595d899a39867503fa88f270fb1ea60488c1f4f88439bc44f484b98293db736cb
7
- data.tar.gz: c06bbf9fc61866111a8ca0be763120c41b1b15df4d93381aecae7b75df966d5d0412c47ec24f6fc1e636548ecea37576c165168d87cd6a9f43b2572355bd3411
6
+ metadata.gz: 580f4d609d4c52e1014770380cb01b2ed18c67ed516db6ed212350133129d26048de0121965058b575d0b503a08cb2af5fb81c44fd38df954abd13dcd40e63f9
7
+ data.tar.gz: 54283f101cb4fd154d484f9ac05a3306279516085720a60a9170b93da7f8945e79ade80e1d7cf3c9d9ea88cc4b6269ee6f9f933e93a104adc8a2cb8ea583f777
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.21.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ - [#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
10
+
11
+ ## 0.21.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#2603](https://github.com/primer/view_components/pull/2603) [`bbc1776`](https://github.com/primer/view_components/commit/bbc1776b44e089516658aa76d2fec3724a4dccfc) Thanks [@langermank](https://github.com/langermank)! - Tooltip visual refresh to match Primer React
16
+
17
+ - [#2693](https://github.com/primer/view_components/pull/2693) [`852e24f`](https://github.com/primer/view_components/commit/852e24ff578aa8c67902502fef4d7eda1476cfb8) Thanks [@camertron](https://github.com/camertron)! - - Bug fix: inactive button colors
18
+ - Bug fix: double border/box-shadow on popover and dropdown
19
+ - Bug fix: text color for primary button in dark dimmed
20
+
21
+ ### Patch Changes
22
+
23
+ - [#2706](https://github.com/primer/view_components/pull/2706) [`60c5f01`](https://github.com/primer/view_components/commit/60c5f014e60c6f2e5e5e1bcfb8702fdf48d26fa7) Thanks [@camertron](https://github.com/camertron)! - Fix dialog CSS to prevent tooltip issues
24
+
25
+ - [#2705](https://github.com/primer/view_components/pull/2705) [`90192bb`](https://github.com/primer/view_components/commit/90192bb652992cc47672a571aa8fb03b866703c5) Thanks [@langermank](https://github.com/langermank)! - Revert "Swap bg-gradient with bg-color for Banner/Flash"
26
+
3
27
  ## 0.20.0
4
28
 
5
29
  ### Minor Changes