primer_view_components 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +18 -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 +45 -42
  11. data/app/components/primer/alpha/auto_complete.css +1 -1
  12. data/app/components/primer/alpha/auto_complete.css.map +1 -1
  13. data/app/components/primer/alpha/auto_complete.pcss +10 -10
  14. data/app/components/primer/alpha/banner.css +1 -1
  15. data/app/components/primer/alpha/banner.css.map +1 -1
  16. data/app/components/primer/alpha/banner.pcss +16 -16
  17. data/app/components/primer/alpha/button_marketing.css +1 -1
  18. data/app/components/primer/alpha/button_marketing.css.map +1 -1
  19. data/app/components/primer/alpha/button_marketing.pcss +9 -9
  20. data/app/components/primer/alpha/dialog.css +1 -1
  21. data/app/components/primer/alpha/dialog.css.map +1 -1
  22. data/app/components/primer/alpha/dialog.pcss +9 -9
  23. data/app/components/primer/alpha/dropdown.css +1 -1
  24. data/app/components/primer/alpha/dropdown.css.map +1 -1
  25. data/app/components/primer/alpha/dropdown.pcss +16 -16
  26. data/app/components/primer/alpha/layout.css +1 -1
  27. data/app/components/primer/alpha/layout.css.map +1 -1
  28. data/app/components/primer/alpha/layout.pcss +3 -3
  29. data/app/components/primer/alpha/menu.css +1 -1
  30. data/app/components/primer/alpha/menu.css.map +1 -1
  31. data/app/components/primer/alpha/menu.pcss +13 -13
  32. data/app/components/primer/alpha/nav_list/heading.rb +36 -0
  33. data/app/components/primer/alpha/nav_list.rb +16 -9
  34. data/app/components/primer/alpha/overlay.css +1 -1
  35. data/app/components/primer/alpha/overlay.css.json +3 -2
  36. data/app/components/primer/alpha/overlay.css.map +1 -1
  37. data/app/components/primer/alpha/overlay.html.erb +8 -6
  38. data/app/components/primer/alpha/overlay.pcss +9 -4
  39. data/app/components/primer/alpha/overlay.rb +2 -3
  40. data/app/components/primer/alpha/segmented_control.css +1 -1
  41. data/app/components/primer/alpha/segmented_control.css.map +1 -1
  42. data/app/components/primer/alpha/segmented_control.pcss +6 -6
  43. data/app/components/primer/alpha/tab_nav.css +1 -1
  44. data/app/components/primer/alpha/tab_nav.css.map +1 -1
  45. data/app/components/primer/alpha/tab_nav.pcss +10 -10
  46. data/app/components/primer/alpha/text_field.css +1 -1
  47. data/app/components/primer/alpha/text_field.css.map +1 -1
  48. data/app/components/primer/alpha/text_field.pcss +38 -38
  49. data/app/components/primer/alpha/toggle_switch.css +1 -1
  50. data/app/components/primer/alpha/toggle_switch.css.map +1 -1
  51. data/app/components/primer/alpha/toggle_switch.d.ts +1 -0
  52. data/app/components/primer/alpha/toggle_switch.js +11 -4
  53. data/app/components/primer/alpha/toggle_switch.pcss +23 -23
  54. data/app/components/primer/alpha/toggle_switch.ts +9 -2
  55. data/app/components/primer/alpha/tooltip.rb +13 -13
  56. data/app/components/primer/alpha/underline_nav.css +1 -1
  57. data/app/components/primer/alpha/underline_nav.css.map +1 -1
  58. data/app/components/primer/alpha/underline_nav.pcss +15 -15
  59. data/app/components/primer/anchored_position.js +1 -3
  60. data/app/components/primer/anchored_position.ts +1 -15
  61. data/app/components/primer/beta/avatar.css +1 -1
  62. data/app/components/primer/beta/avatar.css.map +1 -1
  63. data/app/components/primer/beta/avatar.pcss +2 -2
  64. data/app/components/primer/beta/avatar_stack.css +1 -1
  65. data/app/components/primer/beta/avatar_stack.css.map +1 -1
  66. data/app/components/primer/beta/avatar_stack.pcss +10 -10
  67. data/app/components/primer/beta/blankslate.css +1 -1
  68. data/app/components/primer/beta/blankslate.css.map +1 -1
  69. data/app/components/primer/beta/blankslate.pcss +4 -4
  70. data/app/components/primer/beta/border_box.css +1 -1
  71. data/app/components/primer/beta/border_box.css.map +1 -1
  72. data/app/components/primer/beta/border_box.pcss +31 -31
  73. data/app/components/primer/beta/breadcrumbs.css +1 -1
  74. data/app/components/primer/beta/breadcrumbs.css.map +1 -1
  75. data/app/components/primer/beta/breadcrumbs.pcss +2 -2
  76. data/app/components/primer/beta/button.css +1 -1
  77. data/app/components/primer/beta/button.css.map +1 -1
  78. data/app/components/primer/beta/button.pcss +70 -70
  79. data/app/components/primer/beta/counter.css +1 -1
  80. data/app/components/primer/beta/counter.css.map +1 -1
  81. data/app/components/primer/beta/counter.pcss +7 -7
  82. data/app/components/primer/beta/flash.css +1 -1
  83. data/app/components/primer/beta/flash.css.map +1 -1
  84. data/app/components/primer/beta/flash.pcss +19 -19
  85. data/app/components/primer/beta/label.css +1 -1
  86. data/app/components/primer/beta/label.css.map +1 -1
  87. data/app/components/primer/beta/label.pcss +23 -23
  88. data/app/components/primer/beta/link.css +1 -1
  89. data/app/components/primer/beta/link.css.map +1 -1
  90. data/app/components/primer/beta/link.pcss +8 -8
  91. data/app/components/primer/beta/popover.css +1 -1
  92. data/app/components/primer/beta/popover.css.map +1 -1
  93. data/app/components/primer/beta/popover.pcss +10 -10
  94. data/app/components/primer/beta/progress_bar.css +1 -1
  95. data/app/components/primer/beta/progress_bar.css.map +1 -1
  96. data/app/components/primer/beta/progress_bar.pcss +1 -1
  97. data/app/components/primer/beta/state.css +1 -1
  98. data/app/components/primer/beta/state.css.map +1 -1
  99. data/app/components/primer/beta/state.pcss +8 -8
  100. data/app/components/primer/beta/subhead.css +1 -1
  101. data/app/components/primer/beta/subhead.css.map +1 -1
  102. data/app/components/primer/beta/subhead.pcss +3 -3
  103. data/app/components/primer/beta/timeline_item.css +1 -1
  104. data/app/components/primer/beta/timeline_item.css.map +1 -1
  105. data/app/components/primer/beta/timeline_item.pcss +13 -13
  106. data/lib/postcss_mixins/activeIndicatorLine.pcss +1 -1
  107. data/lib/postcss_mixins/focusBoxShadowInset.pcss +2 -2
  108. data/lib/postcss_mixins/focusOutline.pcss +1 -1
  109. data/lib/postcss_mixins/focusOutlineOnEmphasis.pcss +2 -2
  110. data/lib/postcss_mixins/targetBoxShadow.pcss +3 -3
  111. data/lib/primer/view_components/linters/accessibility.yml +7 -0
  112. data/lib/primer/view_components/linters/argument_mappers/base.rb +2 -2
  113. data/lib/primer/view_components/linters/base_linter.rb +2 -12
  114. data/lib/primer/view_components/linters/helpers/deprecated_components_helpers.rb +2 -2
  115. data/lib/primer/view_components/linters/helpers/rule_helpers.rb +39 -0
  116. data/lib/primer/view_components/linters/tooltipped_migration.rb +37 -0
  117. data/lib/primer/view_components/version.rb +1 -1
  118. data/previews/primer/alpha/nav_list_preview.rb +6 -4
  119. data/previews/primer/alpha/overlay_preview.rb +11 -0
  120. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57fe49ec1bdc4feb70860edd88d98f67795e2c82ba78e1e2f4b27e5a4c090dfe
4
- data.tar.gz: 2a2156d5287320bcae2e4e6a0500ed93ce4b9891a3e951ac10020383de79058f
3
+ metadata.gz: 2de5743a26b35c6ef9dd6d411b6b57c31dcad5056f510dd324597bc145ce7ba3
4
+ data.tar.gz: 4429c55f81c6536d68c6aa9b5283cd50a1b6480b67239b45f1870241e6b79653
5
5
  SHA512:
6
- metadata.gz: 2ad88804adfd95f446059c38aa16d47c80675737c7d13de582dd21491024d77795a34274fcae8a3e66d5f2fa6a31d0c83d4c8e7042da3bdb17ad6b2c51737da4
7
- data.tar.gz: 85d15c556219d0d22634f3c4af9f41e12ad5dfa6d4696c3d301c551d95817cc4f862b7f53174756a870ae9052cc14974bb06206b2e2b3814fce27daac512ddaf
6
+ metadata.gz: 90fa978cf2f61c64aa513163c9c4bf02761d0cdf9da8f3c02fdeb31ded459f3a74376862eefcfa5dfafe30b81bb5334ee394a0de69f31d9880045b069ccf7a33
7
+ data.tar.gz: 11c388e1b9371fb1881fcb472f219efc73dc76ef0f759bdcdc7d98f92acd426b53d9a05f280fc9c5b14e6b57d904522962b934f8cb8cabb576a4918bb2d639e7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2079](https://github.com/primer/view_components/pull/2079) [`f36ecc39`](https://github.com/primer/view_components/commit/f36ecc3969d339e43693d2fd81eee02e817e29db) Thanks [@camertron](https://github.com/camertron)! - Additional NavList accessibility improvements
8
+
9
+ * [#2086](https://github.com/primer/view_components/pull/2086) [`10abe7a0`](https://github.com/primer/view_components/commit/10abe7a0b068f2d7c6e8efe0d4f905b32e35253d) Thanks [@khiga8](https://github.com/khiga8)! - Add lint rule against .tooltipped and introduce accessibility.yml config
10
+
11
+ - [#2088](https://github.com/primer/view_components/pull/2088) [`b79fec8e`](https://github.com/primer/view_components/commit/b79fec8e134bd784658d2000a7ff4440e0cc34fb) Thanks [@jonrohan](https://github.com/jonrohan)! - Separating `<anchored-position>` web component and the .Overlay class into separate markup.
12
+
13
+ ### Patch Changes
14
+
15
+ - [#2083](https://github.com/primer/view_components/pull/2083) [`e38ae1ec`](https://github.com/primer/view_components/commit/e38ae1ec7c5f0704b42f8978c03e4338dcd2c5e7) Thanks [@langermank](https://github.com/langermank)! - Update colors to use Primitive v8 CSS vars
16
+
17
+ * [#2078](https://github.com/primer/view_components/pull/2078) [`6bd439da`](https://github.com/primer/view_components/commit/6bd439da54b88a7aeb2900075405339415e9cc43) Thanks [@camertron](https://github.com/camertron)! - ToggleSwitch: Remove @debounce annotation in favor of a boolean flag to prevent confusing screen reader output
18
+
19
+ - [#2089](https://github.com/primer/view_components/pull/2089) [`4acf85d0`](https://github.com/primer/view_components/commit/4acf85d0cd8a6ce213ed8bc0313f07d947ebabbe) Thanks [@camertron](https://github.com/camertron)! - Change the 'skip changelog' label to 'skip changeset'
20
+
3
21
  ## 0.2.0
4
22
 
5
23
  ### Minor Changes