primer_view_components 0.4.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +31 -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_bar.css +1 -1
  8. data/app/components/primer/alpha/action_bar.css.map +1 -1
  9. data/app/components/primer/alpha/action_bar.pcss +1 -1
  10. data/app/components/primer/alpha/action_list.css +1 -1
  11. data/app/components/primer/alpha/action_list.css.map +1 -1
  12. data/app/components/primer/alpha/action_list.pcss +42 -42
  13. data/app/components/primer/alpha/action_list.rb +1 -0
  14. data/app/components/primer/alpha/auto_complete.css +1 -1
  15. data/app/components/primer/alpha/auto_complete.css.map +1 -1
  16. data/app/components/primer/alpha/auto_complete.pcss +10 -10
  17. data/app/components/primer/alpha/banner.css +1 -1
  18. data/app/components/primer/alpha/banner.css.map +1 -1
  19. data/app/components/primer/alpha/banner.pcss +16 -16
  20. data/app/components/primer/alpha/button_marketing.css +1 -1
  21. data/app/components/primer/alpha/button_marketing.css.map +1 -1
  22. data/app/components/primer/alpha/button_marketing.pcss +9 -9
  23. data/app/components/primer/alpha/dialog.css +1 -1
  24. data/app/components/primer/alpha/dialog.css.map +1 -1
  25. data/app/components/primer/alpha/dialog.pcss +10 -9
  26. data/app/components/primer/alpha/dropdown.css +1 -1
  27. data/app/components/primer/alpha/dropdown.css.map +1 -1
  28. data/app/components/primer/alpha/dropdown.pcss +16 -16
  29. data/app/components/primer/alpha/layout.css +1 -1
  30. data/app/components/primer/alpha/layout.css.map +1 -1
  31. data/app/components/primer/alpha/layout.pcss +3 -3
  32. data/app/components/primer/alpha/menu.css +1 -1
  33. data/app/components/primer/alpha/menu.css.map +1 -1
  34. data/app/components/primer/alpha/menu.pcss +13 -13
  35. data/app/components/primer/alpha/modal_dialog.js +1 -1
  36. data/app/components/primer/alpha/modal_dialog.ts +1 -1
  37. data/app/components/primer/alpha/nav_list.rb +1 -0
  38. data/app/components/primer/alpha/segmented_control.css +1 -1
  39. data/app/components/primer/alpha/segmented_control.css.json +2 -0
  40. data/app/components/primer/alpha/segmented_control.css.map +1 -1
  41. data/app/components/primer/alpha/segmented_control.pcss +16 -6
  42. data/app/components/primer/alpha/tab_nav.css +1 -1
  43. data/app/components/primer/alpha/tab_nav.css.map +1 -1
  44. data/app/components/primer/alpha/tab_nav.pcss +10 -10
  45. data/app/components/primer/alpha/text_field.css +1 -1
  46. data/app/components/primer/alpha/text_field.css.map +1 -1
  47. data/app/components/primer/alpha/text_field.pcss +38 -38
  48. data/app/components/primer/alpha/toggle_switch.css +1 -1
  49. data/app/components/primer/alpha/toggle_switch.css.map +1 -1
  50. data/app/components/primer/alpha/toggle_switch.pcss +23 -23
  51. data/app/components/primer/alpha/underline_nav.css +1 -1
  52. data/app/components/primer/alpha/underline_nav.css.map +1 -1
  53. data/app/components/primer/alpha/underline_nav.pcss +15 -15
  54. data/app/components/primer/beta/avatar.css +1 -1
  55. data/app/components/primer/beta/avatar.css.map +1 -1
  56. data/app/components/primer/beta/avatar.pcss +2 -2
  57. data/app/components/primer/beta/avatar_stack.css +1 -1
  58. data/app/components/primer/beta/avatar_stack.css.map +1 -1
  59. data/app/components/primer/beta/avatar_stack.pcss +10 -10
  60. data/app/components/primer/beta/blankslate.css +1 -1
  61. data/app/components/primer/beta/blankslate.css.map +1 -1
  62. data/app/components/primer/beta/blankslate.pcss +4 -4
  63. data/app/components/primer/beta/border_box.css +1 -1
  64. data/app/components/primer/beta/border_box.css.map +1 -1
  65. data/app/components/primer/beta/border_box.pcss +31 -31
  66. data/app/components/primer/beta/breadcrumbs.css +1 -1
  67. data/app/components/primer/beta/breadcrumbs.css.map +1 -1
  68. data/app/components/primer/beta/breadcrumbs.pcss +2 -2
  69. data/app/components/primer/beta/button.css +1 -1
  70. data/app/components/primer/beta/button.css.map +1 -1
  71. data/app/components/primer/beta/button.pcss +70 -70
  72. data/app/components/primer/beta/counter.css +1 -1
  73. data/app/components/primer/beta/counter.css.map +1 -1
  74. data/app/components/primer/beta/counter.pcss +7 -7
  75. data/app/components/primer/beta/flash.css +1 -1
  76. data/app/components/primer/beta/flash.css.map +1 -1
  77. data/app/components/primer/beta/flash.pcss +19 -19
  78. data/app/components/primer/beta/label.css +1 -1
  79. data/app/components/primer/beta/label.css.map +1 -1
  80. data/app/components/primer/beta/label.pcss +23 -23
  81. data/app/components/primer/beta/link.css +1 -1
  82. data/app/components/primer/beta/link.css.map +1 -1
  83. data/app/components/primer/beta/link.pcss +8 -8
  84. data/app/components/primer/beta/popover.css +1 -1
  85. data/app/components/primer/beta/popover.css.map +1 -1
  86. data/app/components/primer/beta/popover.pcss +10 -10
  87. data/app/components/primer/beta/progress_bar.css +1 -1
  88. data/app/components/primer/beta/progress_bar.css.map +1 -1
  89. data/app/components/primer/beta/progress_bar.pcss +1 -1
  90. data/app/components/primer/beta/state.css +1 -1
  91. data/app/components/primer/beta/state.css.map +1 -1
  92. data/app/components/primer/beta/state.pcss +8 -8
  93. data/app/components/primer/beta/subhead.css +1 -1
  94. data/app/components/primer/beta/subhead.css.map +1 -1
  95. data/app/components/primer/beta/subhead.pcss +3 -3
  96. data/app/components/primer/beta/timeline_item.css +1 -1
  97. data/app/components/primer/beta/timeline_item.css.map +1 -1
  98. data/app/components/primer/beta/timeline_item.pcss +13 -13
  99. data/lib/postcss_mixins/activeIndicatorLine.pcss +1 -1
  100. data/lib/postcss_mixins/focusBoxShadowInset.pcss +2 -2
  101. data/lib/postcss_mixins/focusOutline.pcss +1 -1
  102. data/lib/postcss_mixins/focusOutlineOnEmphasis.pcss +2 -2
  103. data/lib/postcss_mixins/targetBoxShadow.pcss +2 -1
  104. data/lib/primer/view_components/linters/accessibility.yml +2 -0
  105. data/lib/primer/view_components/linters/argument_mappers/label.rb +4 -4
  106. data/lib/primer/view_components/linters/details_menu_migration.rb +35 -0
  107. data/lib/primer/view_components/linters/label_component_migration_counter.rb +1 -1
  108. data/lib/primer/view_components/version.rb +2 -2
  109. data/previews/primer/alpha/toggle_switch_preview.rb +11 -11
  110. data/previews/primer/beta/button_preview/all_schemes.html.erb +4 -0
  111. data/previews/primer/beta/button_preview.rb +7 -2
  112. data/static/arguments.json +4 -4
  113. data/static/audited_at.json +4 -4
  114. data/static/info_arch.json +4 -4
  115. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6efd473bb25628d5714fbb19659dc8b9f7dfc4278f2a19f149979d19abba17f6
4
- data.tar.gz: 7737271c70bf2ab758f77d23fdb5aaaf4b8a2c9f57efe9968f12dc85f54a3214
3
+ metadata.gz: c56da5d8c87afc356d7126bd8bc00db2dca3f16bfa39bef54f6d74a4b6656af3
4
+ data.tar.gz: 624b20fb84352a134330e339823f777353798a013ad901242581c59912e7a0ae
5
5
  SHA512:
6
- metadata.gz: a11563f087fd14efa64c7d5a1f87cc0f308fea1c9ce05b7477e32a8c1836fe6e4a60d896d17f0c71a1b697eb13b5020d5ea755a9ccc29d986d7fb1bdaf6c1c61
7
- data.tar.gz: e0befd04591d1d23aea3a368ec6d4517548e0348666d442e0dd38210b1890833e1fe882066af05e8f9ca5598a40f1a6c0bedd5ba04a3bd586979e2c7694459ea
6
+ metadata.gz: 65597735adb8bf2c9154d7813dc23d9465db1ef8e31dfda679610f8173f4ecad57c1688e722595d63f3c71361a2f4c99f8cc5ab973814748b094ea199189b19c
7
+ data.tar.gz: ca0c947fa808d4a79c47ea05789dd7f094cada17f86226ae462fece7d1ce9a0cf20ac07355399fb7c692849c34159e02f1ea58de1ce63a3facbeca2b10b7e710
data/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2156](https://github.com/primer/view_components/pull/2156) [`5f809724`](https://github.com/primer/view_components/commit/5f8097241df130e5b54cd5a1bcfda0ca11258cda) Thanks [@langermank](https://github.com/langermank)! - Add correct fallbacks to `State` label
8
+
9
+ <!-- Changed components: _none_ -->
10
+
11
+ - [#2151](https://github.com/primer/view_components/pull/2151) [`78e0d175`](https://github.com/primer/view_components/commit/78e0d175d266534ab9042b671057bed3e6dfb7c5) Thanks [@jdrush89](https://github.com/jdrush89)! - Checking document scrollbar width before making dialog backdrop visible to fix issue with document padding on mobile screens.
12
+
13
+ <!-- Changed components: Primer::Alpha::Dialog -->
14
+
15
+ - [#2154](https://github.com/primer/view_components/pull/2154) [`9005b5cd`](https://github.com/primer/view_components/commit/9005b5cdb00a628f4f9efe93066dab5413b181e5) Thanks [@langermank](https://github.com/langermank)! - Add color declaration for Dialog `title`
16
+
17
+ <!-- Changed components: _none_ -->
18
+
19
+ ## 0.5.0
20
+
21
+ ### Minor Changes
22
+
23
+ - [#2148](https://github.com/primer/view_components/pull/2148) [`cbd5c84d`](https://github.com/primer/view_components/commit/cbd5c84d8d290b0d018f15c5ee84cd94afcd4b0b) Thanks [@keithamus](https://github.com/keithamus)! - Add a linter discouraging use of <details-menu> in favor of Primer::Alpha::ActionMenu
24
+
25
+ <!-- Changed components: _none_ -->
26
+
27
+ - [#2123](https://github.com/primer/view_components/pull/2123) [`f9119d95`](https://github.com/primer/view_components/commit/f9119d95f281d528f3c0086ebc521afd33bd4295) Thanks [@langermank](https://github.com/langermank)! - - Use Primitive v8 color tokens
28
+ - Add tests for compiled CSS to ensure CSS color variables have a fallback
29
+
30
+ ### Patch Changes
31
+
32
+ - [#2153](https://github.com/primer/view_components/pull/2153) [`b9871598`](https://github.com/primer/view_components/commit/b98715986852c5f0f51aaf9f9af0463d2eda727c) Thanks [@langermank](https://github.com/langermank)! - Update color fallback for `UnderlineNav` counter
33
+
3
34
  ## 0.4.0
4
35
 
5
36
  ### Minor Changes