primer_view_components 0.1.8 → 0.1.9

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 (57) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -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 -3
  8. data/app/components/primer/alpha/action_menu.rb +1 -1
  9. data/app/components/primer/alpha/modal_dialog.js +6 -0
  10. data/app/components/primer/alpha/modal_dialog.ts +6 -0
  11. data/app/components/primer/alpha/overlay/header.html.erb +5 -3
  12. data/app/components/primer/alpha/overlay/header.rb +4 -1
  13. data/app/components/primer/alpha/overlay.css +1 -1
  14. data/app/components/primer/alpha/overlay.css.json +1 -1
  15. data/app/components/primer/alpha/overlay.css.map +1 -1
  16. data/app/components/primer/alpha/overlay.pcss +1 -1
  17. data/app/components/primer/alpha/overlay.rb +1 -0
  18. data/app/components/primer/alpha/toggle_switch.css +1 -1
  19. data/app/components/primer/alpha/toggle_switch.css.json +11 -11
  20. data/app/components/primer/alpha/toggle_switch.css.map +1 -1
  21. data/app/components/primer/alpha/toggle_switch.d.ts +1 -1
  22. data/app/components/primer/alpha/toggle_switch.html.erb +2 -2
  23. data/app/components/primer/alpha/toggle_switch.js +44 -42
  24. data/app/components/primer/alpha/toggle_switch.pcss +4 -4
  25. data/app/components/primer/alpha/toggle_switch.rb +7 -0
  26. data/app/components/primer/alpha/toggle_switch.ts +50 -41
  27. data/app/components/primer/beta/auto_complete.rb +1 -1
  28. data/app/components/primer/focus_group.js +10 -6
  29. data/app/components/primer/focus_group.ts +10 -5
  30. data/lib/primer/forms/dsl/input.rb +4 -8
  31. data/lib/primer/forms/dsl/text_field_input.rb +0 -4
  32. data/lib/primer/forms/dsl/toggle_switch_input.rb +4 -0
  33. data/lib/primer/forms/form_control.html.erb +3 -5
  34. data/lib/primer/forms/primer_base_component_wrapper.html.erb +3 -0
  35. data/lib/primer/forms/primer_base_component_wrapper.rb +24 -0
  36. data/lib/primer/forms/toggle_switch.html.erb +3 -3
  37. data/lib/primer/forms/toggle_switch.rb +6 -2
  38. data/lib/primer/forms/toggle_switch_input.js +7 -2
  39. data/lib/primer/forms/toggle_switch_input.ts +9 -2
  40. data/lib/primer/static/generate_info_arch.rb +3 -0
  41. data/lib/primer/view_components/version.rb +1 -1
  42. data/lib/primer/yard/component_manifest.rb +1 -1
  43. data/lib/primer/yard/lookbook_pages_backend.rb +7 -1
  44. data/lib/primer/yard/registry.rb +4 -0
  45. data/previews/primer/alpha/overlay_preview/middle_of_page_with_relative_container.html.erb +19 -0
  46. data/previews/primer/alpha/overlay_preview.rb +31 -0
  47. data/static/arguments.json +7 -1
  48. data/static/info_arch.json +312 -1
  49. data/static/previews.json +5 -0
  50. metadata +5 -9
  51. data/lib/tasks/docs.rake +0 -185
  52. data/lib/tasks/helpers/ast_processor.rb +0 -44
  53. data/lib/tasks/helpers/ast_traverser.rb +0 -77
  54. data/lib/tasks/primer_view_components.rake +0 -47
  55. data/lib/tasks/static.rake +0 -29
  56. data/lib/tasks/test.rake +0 -83
  57. data/lib/tasks/utilities.rake +0 -109
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ca8db0231a1985bffb8647c75c67a5148f68b0774fdf09757f7e0af121b5680
4
- data.tar.gz: d581b1a386c45b0b73f1cac32e826a9cf7653bf14ba111e672d4b9e5cf03af4c
3
+ metadata.gz: 1fc0049327ce6689f3e96aadfd16f20977af7697d7c9a8ab3a78458ad6526716
4
+ data.tar.gz: 3485b9e3cdbcc22ec4e4df8347f6d1aab58206225e72ea7d8ffa51d448b617a8
5
5
  SHA512:
6
- metadata.gz: 3b9d4d9a0333958fb163228ab813acdd468cd0c77adbf2febb9b0c520545d49fb7c4eeafbd74dbf0e3c5ef7c38792571b462488dbfb2f50fc8d3fd3e3a07cc5a
7
- data.tar.gz: 5ca1ec35c6b6289f2dc4824d9ec3cf752fe40750fc07ef01521f05aacab8333628ada6f45265e950068885816b0616acf6f0ad4bc2994745c02ca56a107b55b7
6
+ metadata.gz: ff07055f38c33f61e0c8f1be6666a9d7b940f636ba4b63615d0bcc88d43f82dc760d1abd39779e6ac7028b0eec9d17de1f66e0f5ba67de5085540a3f921a2e11
7
+ data.tar.gz: f1f6e002bc2e2ebeb5598906b4aae85d66ee6c874a5d8da1069614c3312c94876e2533fd590f04561145907eef7a6208687c8775a540ed47326a819088b727c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.1.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1967](https://github.com/primer/view_components/pull/1967) [`20890415`](https://github.com/primer/view_components/commit/2089041551f0682b7c4cfa27a8656e148eec69ff) Thanks [@camertron](https://github.com/camertron)! - Toggle switch accessibility fixes
8
+
9
+ * [#2009](https://github.com/primer/view_components/pull/2009) [`65745bf4`](https://github.com/primer/view_components/commit/65745bf4c8044806a23e741eac0daf8e1fe65d53) Thanks [@camertron](https://github.com/camertron)! - Fix embedded example in SelectInput docs
10
+
11
+ - [#2011](https://github.com/primer/view_components/pull/2011) [`a1ca6fd0`](https://github.com/primer/view_components/commit/a1ca6fd0de5789f2b80fbc03257487dbe255b6f5) Thanks [@camertron](https://github.com/camertron)! - Make ActionList leading visual icons the same color as the item text.
12
+
13
+ * [#1998](https://github.com/primer/view_components/pull/1998) [`a23d5533`](https://github.com/primer/view_components/commit/a23d553372e08dbd57a0d4ad890b38c26d08674f) Thanks [@keithamus](https://github.com/keithamus)! - Fix style bug in popovers using native popover
14
+
15
+ - [#1996](https://github.com/primer/view_components/pull/1996) [`aeb9d2aa`](https://github.com/primer/view_components/commit/aeb9d2aa50238ade6b018b53a816d2c8b11e6457) Thanks [@keithamus](https://github.com/keithamus)! - Fix Dialogs aria-disabled attribute
16
+
17
+ * [#2003](https://github.com/primer/view_components/pull/2003) [`52ba2505`](https://github.com/primer/view_components/commit/52ba2505ca9897708357c5ed22a7bee0de4657c5) Thanks [@keithamus](https://github.com/keithamus)! - Fix positioning for native popovers
18
+
19
+ - [#1994](https://github.com/primer/view_components/pull/1994) [`064b0dea`](https://github.com/primer/view_components/commit/064b0dea7267a00ed5321ac9e1fe020f672ee085) Thanks [@keithamus](https://github.com/keithamus)! - Fix Overlay close buttons
20
+
21
+ * [#1995](https://github.com/primer/view_components/pull/1995) [`546df103`](https://github.com/primer/view_components/commit/546df103b50309ee8f9b6398707cd28eb99dcd98) Thanks [@keithamus](https://github.com/keithamus)! - Prevent page scrolling when using arrow keys in an ActionMenu
22
+
23
+ - [#1990](https://github.com/primer/view_components/pull/1990) [`15553fa9`](https://github.com/primer/view_components/commit/15553fa9d8f01a200053ddc45d1fc62e4da02738) Thanks [@jonrohan](https://github.com/jonrohan)! - Add custom properties fallback plugin to fallback primitives v8 colors
24
+
25
+ * [#1987](https://github.com/primer/view_components/pull/1987) [`01ad9325`](https://github.com/primer/view_components/commit/01ad932570295d03dd927646483c2f10b6fe6760) Thanks [@langermank](https://github.com/langermank)! - add padding back to autocomplete
26
+
27
+ - [#2002](https://github.com/primer/view_components/pull/2002) [`ef2540a1`](https://github.com/primer/view_components/commit/ef2540a1408c37e8d67fefcad62adcb1d99d938c) Thanks [@keithamus](https://github.com/keithamus)! - Fix focus groups when using native `popover`
28
+
29
+ * [#2004](https://github.com/primer/view_components/pull/2004) [`0cc69107`](https://github.com/primer/view_components/commit/0cc691072892f194f58796bef87eb832ea92a6d4) Thanks [@keithamus](https://github.com/keithamus)! - Fix bug where dialogs aren't shown due to keydown and pointer events firing
30
+
3
31
  ## 0.1.8
4
32
 
5
33
  ### Patch Changes