primer_view_components 0.35.2 → 0.36.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) 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/action_bar.rb +2 -2
  8. data/app/components/primer/alpha/action_bar_element.js +0 -7
  9. data/app/components/primer/alpha/action_bar_element.ts +0 -8
  10. data/app/components/primer/base_component.rb +4 -1
  11. data/app/components/primer/beta/auto_complete.rb +1 -0
  12. data/app/components/primer/beta/button.rb +0 -11
  13. data/app/components/primer/beta/link.css +1 -1
  14. data/app/components/primer/beta/link.css.json +2 -1
  15. data/app/components/primer/beta/link.css.map +1 -1
  16. data/app/components/primer/beta/link.html.erb +18 -0
  17. data/app/components/primer/beta/link.pcss +9 -0
  18. data/app/components/primer/beta/link.rb +26 -14
  19. data/app/components/primer/button_component.rb +0 -11
  20. data/app/components/primer/component.rb +7 -0
  21. data/app/components/primer/conditional_wrapper.rb +5 -2
  22. data/app/forms/horizontal_form.rb +2 -0
  23. data/app/lib/primer/forms/auto_complete.rb +2 -1
  24. data/app/lib/primer/forms/dsl/hidden_input.rb +4 -0
  25. data/app/lib/primer/forms/group.rb +4 -1
  26. data/lib/primer/classify/utilities.yml +63 -0
  27. data/lib/primer/classify.rb +1 -26
  28. data/lib/primer/static/generate_form_previews.rb +44 -0
  29. data/lib/primer/static.rb +8 -0
  30. data/lib/primer/view_components/version.rb +2 -2
  31. data/lib/rubocop/config/default.yml +0 -3
  32. data/lib/tasks/custom_utilities.yml +63 -0
  33. data/previews/primer/beta/link_preview.rb +24 -2
  34. data/previews/primer/forms_preview.rb +21 -0
  35. data/static/classes.json +3 -0
  36. data/static/form_previews.json +113 -0
  37. metadata +5 -3
  38. data/lib/rubocop/cop/primer/system_argument_instead_of_class.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e880e886a9bc7db466f4d743167949d9661ff189e92da4739333f339da40e53
4
- data.tar.gz: c1a232ed0aa1f1d0a0922d8e20e9fd8ee852264f233945abdeedff1b60dd16b1
3
+ metadata.gz: c94fae989b4359c72f7dfeeb678b4fafc93240645a4ff14d55ed16fdf0998cd8
4
+ data.tar.gz: 4ea33c5d1b3f88eb6033b99f368cdccf19ce9ff986c79b29b02bdb3c447e5bb2
5
5
  SHA512:
6
- metadata.gz: 3832aa3b1d976ee5af260f1aa9caad92ace2f74c08cee4ea7642280710a82aee811cd4476f29622f4e173c25d8da805b2b822fe374600261356398d3d707695a
7
- data.tar.gz: efb9a2154c7333c7c0584f5b3761917438a4a0e37b2c8eeacccf49ccfa8171378421429f42d05472b5f778c78688f0fe698713dc73f355694a05f8eac5df6526
6
+ metadata.gz: 48b79cf2df6eeef3791186744be2844a51979daff0f7f922af1b05fc6b2577ef293dd203b6f2bc451d959f2e2a3ba19111a79edf7a4d92fe2585ad26d153b5fe
7
+ data.tar.gz: cb5df33ba3522d34402d18e2fae5859f6544a1fb471ffd55e3a31af014efb6fb89f4485fcf6088344d410362cefc2cc28bc69a3898ec2b82fa3dd71dda8aa242
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.36.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3220](https://github.com/primer/view_components/pull/3220) [`688a4a2`](https://github.com/primer/view_components/commit/688a4a263deb4be70763b9ba39cae854896b44ce) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove SystemArgumentInsteadOfClass linter and fix bug with whitespace in rendered class
8
+
9
+ ## 0.36.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#3041](https://github.com/primer/view_components/pull/3041) [`14dd0d3`](https://github.com/primer/view_components/commit/14dd0d3c4cbf2e6ce46f4d80ed94ccc06374299e) Thanks [@HDinger](https://github.com/HDinger)! - Support leading and trailing icons for Links
14
+
15
+ - [#3219](https://github.com/primer/view_components/pull/3219) [`633bd05`](https://github.com/primer/view_components/commit/633bd05ea6675e2b54b1cd025d86462a810e6e94) Thanks [@camertron](https://github.com/camertron)! - Removing the validate classname check that forces system arguments instead of utility classes
16
+
17
+ ### Patch Changes
18
+
19
+ - [#3217](https://github.com/primer/view_components/pull/3217) [`0bbb076`](https://github.com/primer/view_components/commit/0bbb076a978f1029d3f1724bda821ee136be408b) Thanks [@camertron](https://github.com/camertron)! - Fix issue causing AutoComplete elements to overflow their container
20
+
21
+ - [#3205](https://github.com/primer/view_components/pull/3205) [`79ca4f9`](https://github.com/primer/view_components/commit/79ca4f91a67ac79623584a89d4afe5931ae0bbd6) Thanks [@camertron](https://github.com/camertron)! - Ensure `full_width:` option is respected by the auto_complete input
22
+
23
+ - [#3202](https://github.com/primer/view_components/pull/3202) [`a574b0e`](https://github.com/primer/view_components/commit/a574b0e2becdc057c23aa6e26230851f90976605) Thanks [@camertron](https://github.com/camertron)! - Prevent hidden inputs from taking up space on the page
24
+
25
+ - [#3216](https://github.com/primer/view_components/pull/3216) [`23dd4fa`](https://github.com/primer/view_components/commit/23dd4fa4308c91abef13e8e23876ab12ea79db2e) Thanks [@keithamus](https://github.com/keithamus)! - Remove redundant code for better performance.
26
+
3
27
  ## 0.35.2
4
28
 
5
29
  ### Patch Changes