primer_view_components 0.35.0 → 0.35.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +18 -0
- data/app/assets/javascripts/components/primer/alpha/select_panel_element.d.ts +3 -1
- data/app/assets/javascripts/components/primer/primer.d.ts +0 -1
- data/app/assets/javascripts/primer_view_components.js +1 -1
- data/app/assets/javascripts/primer_view_components.js.map +1 -1
- data/app/assets/styles/primer_view_components.css +1 -1
- data/app/assets/styles/primer_view_components.css.map +1 -1
- data/app/components/primer/alpha/action_list/item.rb +1 -1
- data/app/components/primer/alpha/select_panel.html.erb +1 -1
- data/app/components/primer/alpha/select_panel_element.d.ts +3 -1
- data/app/components/primer/alpha/select_panel_element.js +16 -16
- data/app/components/primer/alpha/select_panel_element.ts +16 -14
- data/app/components/primer/beta/popover.css +1 -1
- data/app/components/primer/beta/popover.css.map +1 -1
- data/app/components/primer/beta/popover.pcss +4 -0
- data/app/components/primer/primer.d.ts +0 -1
- data/app/components/primer/primer.js +0 -1
- data/app/components/primer/primer.ts +0 -1
- data/lib/primer/classify/utilities.rb +13 -13
- data/lib/primer/view_components/version.rb +1 -1
- data/previews/primer/alpha/select_panel_preview/list_of_links.html.erb +2 -2
- metadata +2 -6
- data/app/assets/javascripts/components/primer/aria_live.d.ts +0 -8
- data/app/components/primer/aria_live.d.ts +0 -8
- data/app/components/primer/aria_live.js +0 -38
- data/app/components/primer/aria_live.ts +0 -41
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e880e886a9bc7db466f4d743167949d9661ff189e92da4739333f339da40e53
|
4
|
+
data.tar.gz: c1a232ed0aa1f1d0a0922d8e20e9fd8ee852264f233945abdeedff1b60dd16b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3832aa3b1d976ee5af260f1aa9caad92ace2f74c08cee4ea7642280710a82aee811cd4476f29622f4e173c25d8da805b2b822fe374600261356398d3d707695a
|
7
|
+
data.tar.gz: efb9a2154c7333c7c0584f5b3761917438a4a0e37b2c8eeacccf49ccfa8171378421429f42d05472b5f778c78688f0fe698713dc73f355694a05f8eac5df6526
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 0.35.2
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#3204](https://github.com/primer/view_components/pull/3204) [`f24feab`](https://github.com/primer/view_components/commit/f24feab6546fe1ae6be5938fbd42fb1daebf3951) Thanks [@joshblack](https://github.com/joshblack)! - Update caret styles for Popover to correctly position caret in different orientations
|
8
|
+
|
9
|
+
- [#3187](https://github.com/primer/view_components/pull/3187) [`a91aa93`](https://github.com/primer/view_components/commit/a91aa93f0c75171e6f469b355c2ef747698d2280) Thanks [@camertron](https://github.com/camertron)! - [SelectPanel] Fix result count in screen reader announcements
|
10
|
+
|
11
|
+
## 0.35.1
|
12
|
+
|
13
|
+
### Patch Changes
|
14
|
+
|
15
|
+
- [#3177](https://github.com/primer/view_components/pull/3177) [`308a56b`](https://github.com/primer/view_components/commit/308a56b3a7fe3e29bb12aec0c3cf05a3bb7e32f4) Thanks [@mathias](https://github.com/mathias)! - Switch Ruby match from Regexps to String's starts_with method
|
16
|
+
|
17
|
+
- [#3186](https://github.com/primer/view_components/pull/3186) [`4d46a3a`](https://github.com/primer/view_components/commit/4d46a3a146d8cc1a56d8472f049c329dfb0ac432) Thanks [@camertron](https://github.com/camertron)! - [SelectPanel] Don't clear selection if input field doesn't exist
|
18
|
+
|
19
|
+
- [#3179](https://github.com/primer/view_components/pull/3179) [`93297d2`](https://github.com/primer/view_components/commit/93297d249420656b90c968201c6a57505260e2ed) Thanks [@langermank](https://github.com/langermank)! - Update the primer/primitives dependency to be 9.x || 10.x and move it to peer
|
20
|
+
|
3
21
|
## 0.35.0
|
4
22
|
|
5
23
|
### Minor Changes
|
@@ -1,5 +1,7 @@
|
|
1
1
|
import { IncludeFragmentElement } from '@github/include-fragment-element';
|
2
2
|
import type { AnchorAlignment, AnchorSide } from '@primer/behaviors';
|
3
|
+
import type { LiveRegionElement } from '@primer/live-region-element';
|
4
|
+
import '@primer/live-region-element';
|
3
5
|
import '@oddbird/popover-polyfill';
|
4
6
|
type SelectVariant = 'none' | 'single' | 'multiple' | null;
|
5
7
|
type SelectedItem = {
|
@@ -16,11 +18,11 @@ export declare class SelectPanelElement extends HTMLElement {
|
|
16
18
|
filterInputTextField: HTMLInputElement;
|
17
19
|
remoteInput: HTMLElement;
|
18
20
|
list: HTMLElement;
|
19
|
-
ariaLiveContainer: HTMLElement;
|
20
21
|
noResults: HTMLElement;
|
21
22
|
fragmentErrorElement: HTMLElement;
|
22
23
|
bannerErrorElement: HTMLElement;
|
23
24
|
bodySpinner: HTMLElement;
|
25
|
+
liveRegion: LiveRegionElement;
|
24
26
|
filterFn?: FilterFn;
|
25
27
|
get open(): boolean;
|
26
28
|
get selectVariant(): SelectVariant;
|