openproject-primer_view_components 0.49.0 → 0.49.2
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.
- 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: 138d168a620ee0ae3f26a4025aa4c254fd3528ea5eb35cedde2ea8054686fc90
|
4
|
+
data.tar.gz: 2c43fc07c52dd548f7aaff6313915f0c049978049e3e71b7a1800c8d1accabf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f543b09f11f15b6108b522d03ef17187123c310b842856656b047252c4b037516c53b95090462fcc7a22662cc0d82c20547b11f2090dc24963267a9164f30c96
|
7
|
+
data.tar.gz: e8554c27d2c0c74e10cb9980608a07f064d950a68c3f9582fd9a9b9fcf262c8056110f510d4e17432c9440f2e69d709c031bf0e84155ed8bbe5187a4426b1e9d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,23 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 0.49.2
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- [#3204](https://github.com/primer/view_components/pull/3204) [`f24feab`](https://github.com/opf/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/opf/primer_view_components/commit/a91aa93f0c75171e6f469b355c2ef747698d2280) Thanks [@camertron](https://github.com/camertron)! - [SelectPanel] Fix result count in screen reader announcements
|
10
|
+
|
11
|
+
## 0.49.1
|
12
|
+
|
13
|
+
### Patch Changes
|
14
|
+
|
15
|
+
- [#3177](https://github.com/primer/view_components/pull/3177) [`308a56b`](https://github.com/opf/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/opf/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/opf/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.49.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;
|