openproject-primer_view_components 0.44.2 → 0.45.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +28 -0
  3. data/app/assets/javascripts/app/components/primer/alpha/x_banner.d.ts +5 -0
  4. data/app/assets/javascripts/primer_view_components.js +1 -1
  5. data/app/assets/javascripts/primer_view_components.js.map +1 -1
  6. data/app/assets/styles/primer_view_components.css +1 -1
  7. data/app/assets/styles/primer_view_components.css.map +1 -1
  8. data/app/components/primer/alpha/banner.rb +6 -0
  9. data/app/components/primer/alpha/overlay.css +1 -1
  10. data/app/components/primer/alpha/overlay.css.json +1 -0
  11. data/app/components/primer/alpha/overlay.css.map +1 -1
  12. data/app/components/primer/alpha/overlay.pcss +4 -0
  13. data/app/components/primer/alpha/select_panel_element.js +6 -4
  14. data/app/components/primer/alpha/select_panel_element.ts +6 -5
  15. data/app/components/primer/alpha/x_banner.d.ts +5 -0
  16. data/app/components/primer/alpha/x_banner.js +4 -3
  17. data/app/components/primer/alpha/x_banner.ts +11 -3
  18. data/app/components/primer/beta/button.css +1 -1
  19. data/app/components/primer/beta/button.css.map +1 -1
  20. data/app/components/primer/beta/button.pcss +1 -1
  21. data/app/components/primer/beta/spinner.html.erb +8 -6
  22. data/app/components/primer/beta/spinner.rb +3 -0
  23. data/app/components/primer/open_project/feedback_message.rb +1 -1
  24. data/app/lib/primer/attributes_helper.rb +10 -0
  25. data/lib/primer/forms/primer_text_field.js +0 -3
  26. data/lib/primer/forms/primer_text_field.ts +0 -3
  27. data/lib/primer/view_components/linters/base_linter.rb +4 -2
  28. data/lib/primer/view_components/linters/blankslate_component_migration_counter.rb +1 -1
  29. data/lib/primer/view_components/linters/select_menu_migration_counter.rb +14 -0
  30. data/lib/primer/view_components/version.rb +2 -2
  31. data/previews/primer/alpha/select_panel_preview/eventually_local_fetch.html.erb +2 -1
  32. data/previews/primer/alpha/select_panel_preview.rb +3 -2
  33. data/static/info_arch.json +1 -1
  34. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c8c0f7f24d54cdfcce3bcb9c1623fa25c9d89d66a72534e7de455a0860a70de
4
- data.tar.gz: f1b2b1b0871e2fb5d9a567e409b23e8d1c4e85255fec0821377a98fddf5e9ede
3
+ metadata.gz: 200c93917da76df084b238c3ece5f0044b3b3277c4a4b9a13a4a56cb2738b854
4
+ data.tar.gz: 7fe82bcb136c96f6034ab3e7e23006f421bbcc085aa9ba4bc92ec2e20611b6ff
5
5
  SHA512:
6
- metadata.gz: 2aa571fdaf4760b71e7fb5cb74f4112e5de5b4902ad3a8ed0985de4a3f30c5aac74d5ad9264826ae9ffc5a6b938afc9f0331728b8e3495026ae120431e3fcb54
7
- data.tar.gz: ffdf0ed995a4abce7f9275cca4c0507a6877326411827897cb2a26f33c7e88592fc926ed31a6c97547490ce8d17eef021e16d4d0aaaf06bac142dd1d90a17fe8
6
+ metadata.gz: 73bbbd97e26037041987f0d1777b555eba176b38788007cf385b9fb64f401cb528b047727f39867d25528bc96b68428b6f6df863915d2d317468fb1fd1541523
7
+ data.tar.gz: d09fc23e471daa0095de4b36449bd013cddaae7a19d1b11ca206feacfab6926b06ea615ad5267da708eff2ae673fbf94a269b3af63e9beb20334593a754bb8e8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.45.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#3026](https://github.com/primer/view_components/pull/3026) [`5be0a0f`](https://github.com/opf/primer_view_components/commit/5be0a0f1e60e02cb5140e159fd6b68dfd25194fa) Thanks [@camertron](https://github.com/camertron)! - Fire an event when banners are dismissed
8
+
9
+ - [#3023](https://github.com/primer/view_components/pull/3023) [`3fb46ed`](https://github.com/opf/primer_view_components/commit/3fb46ed1130f4a31e238b583de79db9d862c06a7) Thanks [@langermank](https://github.com/langermank)! - Bump `primer/primitives` v9
10
+
11
+ - [#3022](https://github.com/primer/view_components/pull/3022) [`01cbbea`](https://github.com/opf/primer_view_components/commit/01cbbea74f1b102cfffed69b83b464394c8019b9) Thanks [@camertron](https://github.com/camertron)! - Add a linter for migrating from SelectMenu -> SelectPanel
12
+
13
+ ### Patch Changes
14
+
15
+ - [#3027](https://github.com/primer/view_components/pull/3027) [`5a205cd`](https://github.com/opf/primer_view_components/commit/5a205cd63543c119b985e83e2800b8c2548cc051) Thanks [@camertron](https://github.com/camertron)! - Remove SelectPanel's backdrop
16
+
17
+ - [#3021](https://github.com/primer/view_components/pull/3021) [`8a16336`](https://github.com/opf/primer_view_components/commit/8a16336d254321f43969c9ed5b72861dc4c53c2e) Thanks [@camertron](https://github.com/camertron)! - When hiding a `Spinner`, also hide its screen reader text
18
+
19
+ - [#3040](https://github.com/primer/view_components/pull/3040) [`612307d`](https://github.com/opf/primer_view_components/commit/612307dd374352ccd71c8f82dbe7f065db54b9d4) Thanks [@camertron](https://github.com/camertron)! - Revert leading/trailing visuals for link component
20
+
21
+ - [#3038](https://github.com/primer/view_components/pull/3038) [`6b4983e`](https://github.com/opf/primer_view_components/commit/6b4983e1ecc29e7cf80cb68f0d274346882123b7) Thanks [@jamieshark](https://github.com/jamieshark)! - SelectPanel: check for filter input when loading remote items.
22
+
23
+ ## 0.44.3
24
+
25
+ ### Patch Changes
26
+
27
+ - [#180](https://github.com/opf/primer_view_components/pull/180) [`259491b`](https://github.com/opf/primer_view_components/commit/259491b418f1179537cee5caee5f306af30b83d8) Thanks [@HDinger](https://github.com/HDinger)! - Allow FeedbackMessage to show no icon at all
28
+
29
+ - [#182](https://github.com/opf/primer_view_components/pull/182) [`e0f7e87`](https://github.com/opf/primer_view_components/commit/e0f7e871f24a52901915e2310bf2445f0ab46f72) Thanks [@HDinger](https://github.com/HDinger)! - Upgrade Vite; stop updating bundle in CI
30
+
3
31
  ## 0.44.2
4
32
 
5
33
  ### Patch Changes
@@ -1,3 +1,8 @@
1
+ declare global {
2
+ interface HTMLElementEventMap {
3
+ 'banner:dismiss': CustomEvent<void>;
4
+ }
5
+ }
1
6
  declare class XBannerElement extends HTMLElement {
2
7
  #private;
3
8
  titleText: HTMLElement;