openproject-primer_view_components 0.91.1 → 0.91.3

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 (44) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -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/layout.css +1 -1
  8. data/app/components/primer/alpha/layout.css.json +2 -0
  9. data/app/components/primer/alpha/layout.css.map +1 -1
  10. data/app/components/primer/alpha/layout.pcss +20 -0
  11. data/app/components/primer/alpha/layout.rb +3 -1
  12. data/app/components/primer/alpha/toggle_switch.css +1 -1
  13. data/app/components/primer/alpha/toggle_switch.css.map +1 -1
  14. data/app/components/primer/alpha/toggle_switch.pcss +6 -0
  15. data/app/components/primer/alpha/tree_view/sub_tree.html.erb +2 -2
  16. data/app/components/primer/alpha/tree_view/sub_tree.rb +6 -0
  17. data/app/components/primer/alpha/tree_view/tree_view.d.ts +1 -1
  18. data/app/components/primer/alpha/tree_view/tree_view.js +13 -3
  19. data/app/components/primer/alpha/tree_view/tree_view.ts +17 -3
  20. data/app/components/primer/alpha/tree_view.css +1 -1
  21. data/app/components/primer/alpha/tree_view.css.map +1 -1
  22. data/app/components/primer/alpha/tree_view.pcss +1 -1
  23. data/app/components/primer/open_project/border_box/collapsible_header.d.ts +1 -2
  24. data/app/components/primer/open_project/border_box/collapsible_header.js +1 -0
  25. data/app/components/primer/open_project/border_box/collapsible_header.ts +1 -1
  26. data/app/components/primer/open_project/collapsible_section.d.ts +1 -2
  27. data/app/components/primer/open_project/collapsible_section.js +1 -0
  28. data/app/components/primer/open_project/collapsible_section.ts +1 -1
  29. data/app/components/primer/open_project/zen_mode_button.js +0 -1
  30. data/app/components/primer/open_project/zen_mode_button.ts +0 -1
  31. data/app/controllers/primer/view_components/tree_view_items_controller.rb +1 -1
  32. data/app/lib/primer/forms/text_field.html.erb +7 -3
  33. data/app/views/primer/view_components/tree_view_items/async_alpha.html_fragment.erb +1 -1
  34. data/config/locales/en.yml +3 -0
  35. data/lib/primer/view_components/version.rb +1 -1
  36. data/previews/primer/alpha/layout_preview.rb +16 -0
  37. data/previews/primer/alpha/tree_view_preview/async_alpha.html.erb +1 -1
  38. data/previews/primer/alpha/tree_view_preview.rb +3 -3
  39. data/static/classnames.cjs +2 -0
  40. data/static/classnames.js +2 -0
  41. data/static/constants.json +6 -2
  42. data/static/info_arch.json +27 -1
  43. data/static/previews.json +26 -0
  44. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be766eb77ec473d51b373b6ed134b1dd46aafd94808076fad3f418586ccf30df
4
- data.tar.gz: 290f9486c239152e122f895cb25e6a3a3ba43a66ed55ef5324faa2d7083316cb
3
+ metadata.gz: fbcceb17625789e4c15fab534be4aff9a7537d192effe7499c88bb2c385dd1be
4
+ data.tar.gz: 85d870f9059a2bbf6e1e9ff0ba6dee1fb8c38682618f6110850c0faeded8fdb1
5
5
  SHA512:
6
- metadata.gz: d1609d1643e8891d56d6b27c9cc30ce0993c25f1a3d73df254351058edb175827a40799080afddf28011f4ecd4a3034770bf5e545a0c4fa3f9f0c4548fa9dc84
7
- data.tar.gz: e9b0f2fde2720b037887dc8eadb1217f658770fb12170c8964e8fa6430da268172b7b45d20d35e35c864f77662b91a5e46a3037a203e36920ebc2bb9b45e147d
6
+ metadata.gz: 07e9d7128baabb1247a34a35ef380dbcfa8ad9cd6d901bfc79443cb387c810cf9ab43a10b377825ab9e375b3eb0bc68fe17c24af7b10cf2c639ed86041d9f0ac
7
+ data.tar.gz: 355c3e917927ec57b9e6f5c8d47b93f2bdffca1e058eeb1c01e94e71187bad1b37eb93133ba5982843cf7fb7658e3016db1192ea9492d16bdf0df8a1fbd83bbf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.91.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#522](https://github.com/opf/primer_view_components/pull/522) [`494d7d7`](https://github.com/opf/primer_view_components/commit/494d7d7a7099e4721d0201031e23ec3dd8e7df53) Thanks [@bsatarnejad](https://github.com/bsatarnejad)! - Align asynchronously loaded single-select TreeView labels with their toggles
8
+
9
+ - [#527](https://github.com/opf/primer_view_components/pull/527) [`a2e2a12`](https://github.com/opf/primer_view_components/commit/a2e2a12305c62ee9e2edd6324bcc3e124c7c48f4) Thanks [@lwassermann](https://github.com/lwassermann)! - Introduce translation "tree_view.label_empty_sub_tree" to use as a default
10
+ message when a tree view sub tree is empty. Adjust the empty message alignment
11
+ to match other children, and mark it as disabled.
12
+
13
+ - [#524](https://github.com/opf/primer_view_components/pull/524) [`cc4f33e`](https://github.com/opf/primer_view_components/commit/cc4f33e2146aeb8ced87f784d03be84fed93a875) Thanks [@HDinger](https://github.com/HDinger)! - Add a tooltip to the clearbutton of text fields
14
+
15
+ ## 0.91.2
16
+
17
+ ### Patch Changes
18
+
19
+ - [#4152](https://github.com/primer/view_components/pull/4152) [`0c0462d`](https://github.com/opf/primer_view_components/commit/0c0462d3a2e50fdcc9e0ecab9429aeb001c682cf) Thanks [@gabrielhl](https://github.com/gabrielhl)! - Reserve height as well as width in `.ToggleSwitch-statusIcon` so the switch doesn't jump when the loading spinner is shown
20
+
21
+ - [#515](https://github.com/opf/primer_view_components/pull/515) [`849bb15`](https://github.com/opf/primer_view_components/commit/849bb155805600614343cc272fe80e192a95b39b) Thanks [@myabc](https://github.com/myabc)! - Fix TreeView hidden form inputs falling out of sync when checked nodes are inserted or removed after the component connects.
22
+
23
+ - [#525](https://github.com/opf/primer_view_components/pull/525) [`881330f`](https://github.com/opf/primer_view_components/commit/881330fe721640b28251fa30e943bb724c88acb6) Thanks [@HDinger](https://github.com/HDinger)! - Add "xwide" and "xxwide" as options for sidebar in Primer::Alpha::Layout
24
+
3
25
  ## 0.91.1
4
26
 
5
27
  ### Patch Changes