openproject-primer_view_components 0.44.3 → 0.45.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -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/lib/primer/attributes_helper.rb +10 -0
  24. data/lib/primer/forms/primer_text_field.js +0 -3
  25. data/lib/primer/forms/primer_text_field.ts +0 -3
  26. data/lib/primer/view_components/linters/base_linter.rb +4 -2
  27. data/lib/primer/view_components/linters/blankslate_component_migration_counter.rb +1 -1
  28. data/lib/primer/view_components/linters/select_menu_migration_counter.rb +14 -0
  29. data/lib/primer/view_components/version.rb +2 -2
  30. data/previews/primer/alpha/select_panel_preview/eventually_local_fetch.html.erb +2 -1
  31. data/previews/primer/alpha/select_panel_preview.rb +3 -2
  32. data/static/info_arch.json +1 -1
  33. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73a4696100a12779bd22f474145dabb70cf5e961951308ff0c31f171910f8844
4
- data.tar.gz: 5689ce9147a4aafdfacdcf7a2d92e03d8402f28fd8af7fdf67078da3abb8c85e
3
+ metadata.gz: 200c93917da76df084b238c3ece5f0044b3b3277c4a4b9a13a4a56cb2738b854
4
+ data.tar.gz: 7fe82bcb136c96f6034ab3e7e23006f421bbcc085aa9ba4bc92ec2e20611b6ff
5
5
  SHA512:
6
- metadata.gz: 6b31ea331978ffb53836339bc10571d4e7894f5f24c8a9949b55f3bea4a8116009e4499035da620ee857f2954e06c4688cc863c5ea691df08666da4bd0f963ec
7
- data.tar.gz: df6928a7664073476e4565058b58bdc30a988f630be267c21e03e49b6123b6342fa137a4557d4719d6abd061fb7e4b9378b0abf964ca48ca08968e2c1bf68dea
6
+ metadata.gz: 73bbbd97e26037041987f0d1777b555eba176b38788007cf385b9fb64f401cb528b047727f39867d25528bc96b68428b6f6df863915d2d317468fb1fd1541523
7
+ data.tar.gz: d09fc23e471daa0095de4b36449bd013cddaae7a19d1b11ca206feacfab6926b06ea615ad5267da708eff2ae673fbf94a269b3af63e9beb20334593a754bb8e8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
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
+
3
23
  ## 0.44.3
4
24
 
5
25
  ### 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;