primer_view_components 0.32.0 → 0.33.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 +1 -1
  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: c1610cdfe75fea880531dfa774fc5f9089468cfd87ede0579fc540fcc06e1576
4
- data.tar.gz: 297bfe3ccfdf56378a935945af1dfb8ce42a38652d805ae544d5ce8b49712e7e
3
+ metadata.gz: 35e6f316ff10780d56803278c1fd7da7afb60de270f8d73c4a7cabacc5f2a991
4
+ data.tar.gz: 0dac08367aa635097cd13b41bc753bdd2e20b95c7835093cd092d23e154bdf69
5
5
  SHA512:
6
- metadata.gz: 5af328feb8f98e3a35fb551b038c3932d49c36d70fc3217ed759060b3212b3b1b9d05fc39c88c0ad6d1f7a7193b5aba5b2bc3254e5feabff5040d3230e2fe095
7
- data.tar.gz: 9c3c36edc613e20b81b096800fd92d046afd8a3fb670fe4f21e3cdfc8989d1d879ff168a184be641aec170d0aab5a16630e27dc87f12c9cc5f82990495416967
6
+ metadata.gz: 86ac6ca76b8496cd3a5d7d32f5f82477d56a08fcfa37e8346ff58dca1c7da1395f4f6d8c78452868ede454ed43910893c4ff0bc5ec09dceab4ca1cb5fd696c07
7
+ data.tar.gz: d1c8315d615c17757ef19c2a8ffea19448ba03ce736a2b4b073c0219beaa28945ec697b59ada88531eb9d2681ece7a2da67dfa51049a28c4c5c6ae28203c76fa
data/CHANGELOG.md CHANGED
@@ -1,5 +1,25 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 0.33.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#3026](https://github.com/primer/view_components/pull/3026) [`5be0a0f`](https://github.com/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/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/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/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/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/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/primer/view_components/commit/6b4983e1ecc29e7cf80cb68f0d274346882123b7) Thanks [@jamieshark](https://github.com/jamieshark)! - SelectPanel: check for filter input when loading remote items.
22
+
3
23
  ## 0.32.0
4
24
 
5
25
  ### Minor 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;