primer_view_components 0.12.0 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -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_element.js +10 -3
  8. data/app/components/primer/alpha/action_bar_element.ts +10 -1
  9. data/app/components/primer/alpha/action_list/form_wrapper.html.erb +4 -2
  10. data/app/components/primer/alpha/action_list/form_wrapper.rb +20 -9
  11. data/app/components/primer/alpha/action_menu/action_menu_element.js +18 -12
  12. data/app/components/primer/alpha/action_menu/action_menu_element.ts +24 -12
  13. data/app/components/primer/alpha/action_menu.rb +120 -3
  14. data/app/components/primer/alpha/modal_dialog.js +10 -13
  15. data/app/components/primer/alpha/modal_dialog.ts +10 -13
  16. data/app/components/primer/alpha/segmented_control.css +1 -1
  17. data/app/components/primer/alpha/segmented_control.css.json +14 -13
  18. data/app/components/primer/alpha/segmented_control.css.map +1 -1
  19. data/app/components/primer/alpha/segmented_control.pcss +75 -68
  20. data/app/components/primer/alpha/segmented_control.rb +10 -0
  21. data/app/components/primer/alpha/text_field.css +1 -1
  22. data/app/components/primer/alpha/tool_tip.js +17 -26
  23. data/app/components/primer/alpha/tool_tip.ts +17 -26
  24. data/lib/primer/static/generate_info_arch.rb +86 -5
  25. data/lib/primer/view_components/version.rb +2 -2
  26. data/previews/primer/alpha/action_menu_preview/single_select_form_items.html.erb +31 -0
  27. data/previews/primer/alpha/action_menu_preview/with_actions.html.erb +1 -1
  28. data/previews/primer/alpha/action_menu_preview.rb +8 -2
  29. data/previews/primer/alpha/check_box_preview.rb +0 -2
  30. data/previews/primer/alpha/dialog_preview/autofocus_element.html.erb +8 -0
  31. data/previews/primer/alpha/dialog_preview/with_text_input.html.erb +2 -1
  32. data/previews/primer/alpha/dialog_preview.rb +5 -0
  33. data/previews/primer/alpha/radio_button_preview.rb +0 -2
  34. data/previews/primer/alpha/tooltip_preview.rb +2 -2
  35. data/previews/primer/beta/button_group_preview.rb +6 -6
  36. data/static/classes.json +12 -0
  37. data/static/constants.json +12 -1
  38. data/static/info_arch.json +28 -2
  39. data/static/previews.json +26 -0
  40. metadata +4 -310
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b294b273d321d94b44273ea687ea758b1e1859d5755504e81bf4762c8cdb0a7b
4
- data.tar.gz: 8513c0ad0d28cf4d6f1d4988e5a411edbe3465ec07e9784a4ab9401a9dfafada
3
+ metadata.gz: 0cd3fcb17cf9a8627092f5d48685341c292b6bea1487b112c9ad365080b72d89
4
+ data.tar.gz: 3273e1becaffe68a4ae939e209fec753a04576a49a8908410de062bdce7a8890
5
5
  SHA512:
6
- metadata.gz: 61d049223096cb39f37b0859145009b5a3f921917655ca9b56b5f1a335c07faaeb4dc5b15bf332d0cbe5833db59cecf23bf879deae22efb19a8f48f7981de0bb
7
- data.tar.gz: f135e11c4cbaec662a3b729fc15fe67361e9fddd033580955d849b750e054fe7a876975a5a37a3087a494f86b93d854eaf54e37151d3f3ec9fbc3a2dd5465073
6
+ metadata.gz: 3337aac0da1477523991f18af4e478f625d4f7ffadc9aceed1c7959d1852416f305d1bddd3ed5961bd938d83c85758dfcfbdb2f4cfe0924a8d6a1895c7c1ed2e
7
+ data.tar.gz: 41bc70df5570a7951fcc1ad6247614756d8bddcaabf96b61d75908bfad7e062595f6c106168a381c7b6784aff8a5c357627a0dacaf67782af34c15504a61095b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,50 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.13.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2326](https://github.com/primer/view_components/pull/2326) [`4e05b7ec`](https://github.com/primer/view_components/commit/4e05b7ecb764b104a0afa35c478eff5c79f9270e) Thanks [@camertron](https://github.com/camertron)! - Prevent scrolling when activating ActionMenu items via space
8
+
9
+ - [#2324](https://github.com/primer/view_components/pull/2324) [`cc44952c`](https://github.com/primer/view_components/commit/cc44952c1c84e4fcd3ad6dc786db7211cdb82d36) Thanks [@langermank](https://github.com/langermank)! - Revert Tooltip caret removal
10
+
11
+ <!-- Changed components: Tooltip -->
12
+
13
+ ## 0.13.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [#2284](https://github.com/primer/view_components/pull/2284) [`374d10fd`](https://github.com/primer/view_components/commit/374d10fd18e7371f49abf75dde135c3ed29fe33d) Thanks [@langermank](https://github.com/langermank)! - Update tooltip design
18
+
19
+ - Removes caret
20
+ - Decrease offset
21
+ - Remove animation delay
22
+ - Use v8 color tokens
23
+
24
+ <!-- Changed components: Tooltip -->
25
+
26
+ - [#2293](https://github.com/primer/view_components/pull/2293) [`d7eafca0`](https://github.com/primer/view_components/commit/d7eafca0b2bbcea41f28c7ab16e6f396c150be8f) Thanks [@camertron](https://github.com/camertron)! - Fix multi-select behavior when ActionMenus are embedded in dialogs
27
+
28
+ <!-- Changed components: Primer::Alpha::ActionMenu -->
29
+
30
+ - [#2291](https://github.com/primer/view_components/pull/2291) [`725bbd95`](https://github.com/primer/view_components/commit/725bbd954564995667398b1ea0b1388d4f6d8410) Thanks [@camertron](https://github.com/camertron)! - Allow ActionMenu items to submit multiple values on form submission; fix keyboard handling for submit items
31
+
32
+ <!-- Changed components: Primer::Alpha::ActionMenu -->
33
+
34
+ ### Patch Changes
35
+
36
+ - [#2286](https://github.com/primer/view_components/pull/2286) [`02e7f785`](https://github.com/primer/view_components/commit/02e7f785666bb85f522fe31c51a51c9a58806e33) Thanks [@langermank](https://github.com/langermank)! - fix SegmentedControl alignment issues
37
+
38
+ <!-- Changed components: SegmentedControl -->
39
+
40
+ - [#2288](https://github.com/primer/view_components/pull/2288) [`caf09967`](https://github.com/primer/view_components/commit/caf09967dd29668f380e509514ec98b9aa95baa7) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Fixes issue where sometimes a dialog cannot be closed if another is open
41
+
42
+ <!-- Changed components: Primer::Alpha::Dialog -->
43
+
44
+ - [#2292](https://github.com/primer/view_components/pull/2292) [`46e3ff02`](https://github.com/primer/view_components/commit/46e3ff02bd1e253e2bfb3bb2a586c589b3aa0c5b) Thanks [@jonrohan](https://github.com/jonrohan)! - Fix ActionBar issue where left and end key don't loop around to end of the action bar items.
45
+
46
+ - [#2290](https://github.com/primer/view_components/pull/2290) [`f33eed35`](https://github.com/primer/view_components/commit/f33eed35e619550bf2937d3f8f2ecaa219369d46) Thanks [@jonrohan](https://github.com/jonrohan)! - Bug fix: Respect autofocus attributes inside of a Dialog when opening a modal-dialog. When the dialog was opening before it was always focusing the first focusable element which was always the close button.
47
+
3
48
  ## 0.12.0
4
49
 
5
50
  ### Minor Changes