openproject-primer_view_components 0.44.3 → 0.46.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +30 -0
- data/app/assets/javascripts/app/components/primer/alpha/x_banner.d.ts +5 -0
- data/app/assets/javascripts/app/components/primer/open_project/sub_header_element.d.ts +5 -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/banner.rb +6 -0
- data/app/components/primer/alpha/overlay.css +1 -1
- data/app/components/primer/alpha/overlay.css.json +1 -0
- data/app/components/primer/alpha/overlay.css.map +1 -1
- data/app/components/primer/alpha/overlay.pcss +4 -0
- data/app/components/primer/alpha/select_panel_element.js +6 -4
- data/app/components/primer/alpha/select_panel_element.ts +6 -5
- data/app/components/primer/alpha/x_banner.d.ts +5 -0
- data/app/components/primer/alpha/x_banner.js +4 -3
- data/app/components/primer/alpha/x_banner.ts +11 -3
- data/app/components/primer/beta/button.css +1 -1
- data/app/components/primer/beta/button.css.map +1 -1
- data/app/components/primer/beta/button.pcss +1 -1
- data/app/components/primer/beta/spinner.html.erb +8 -6
- data/app/components/primer/beta/spinner.rb +3 -0
- data/app/components/primer/open_project/sub_header.css +1 -1
- data/app/components/primer/open_project/sub_header.css.json +3 -1
- data/app/components/primer/open_project/sub_header.css.map +1 -1
- data/app/components/primer/open_project/sub_header.pcss +12 -0
- data/app/components/primer/open_project/sub_header.rb +19 -2
- data/app/components/primer/open_project/sub_header_element.d.ts +5 -1
- data/app/components/primer/open_project/sub_header_element.js +32 -0
- data/app/components/primer/open_project/sub_header_element.ts +39 -1
- data/app/lib/primer/attributes_helper.rb +10 -0
- data/lib/primer/forms/primer_text_field.js +0 -3
- data/lib/primer/forms/primer_text_field.ts +0 -3
- data/lib/primer/view_components/linters/base_linter.rb +4 -2
- data/lib/primer/view_components/linters/blankslate_component_migration_counter.rb +1 -1
- data/lib/primer/view_components/linters/select_menu_migration_counter.rb +14 -0
- data/lib/primer/view_components/version.rb +2 -2
- data/previews/primer/alpha/select_panel_preview/eventually_local_fetch.html.erb +2 -1
- data/previews/primer/alpha/select_panel_preview.rb +3 -2
- data/previews/primer/open_project/sub_header_preview.rb +15 -2
- data/static/classes.json +3 -0
- data/static/info_arch.json +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b709c407f6608c68093b59a4a9b86efe18c9d0f733c9e691abff9beb127b867
|
4
|
+
data.tar.gz: 77c2f77d4b45c3e5caf1f07e64fcf6dfa0330d7b44c3960992f30039a791ed91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f0121bf228358a9c5045e4598c069363b14f97e5cb2d3d07108376ed8b12e8e58c7dd017ae21c3ec8acd36c3937996cc6c94ddc6198e6dca763adc0b129bbc8a
|
7
|
+
data.tar.gz: d8fb908c972817644d14dab0cde00c95b0b9a72abadafb7ab0c4dfb5178d97866f27a3e6a129c0320c0d5e584acec21bfc25ed24c5a0f1b2f3484d18005fa5c6
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,35 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
## 0.46.0
|
4
|
+
|
5
|
+
### Minor Changes
|
6
|
+
|
7
|
+
- [#174](https://github.com/opf/primer_view_components/pull/174) [`95adbb8`](https://github.com/opf/primer_view_components/commit/95adbb8f59be14e0db515e944b8f9c81f0ea778b) Thanks [@dombesz](https://github.com/dombesz)! - Toggle the visibility of the clear button on the SubHeader component's filter input based on its content.
|
8
|
+
|
9
|
+
### Patch Changes
|
10
|
+
|
11
|
+
- [#184](https://github.com/opf/primer_view_components/pull/184) [`1a72661`](https://github.com/opf/primer_view_components/commit/1a72661224108a9af87644d5e826579a03c8615c) Thanks [@HDinger](https://github.com/HDinger)! - Increase default width of the filter input in the SubHeader
|
12
|
+
|
13
|
+
## 0.45.0
|
14
|
+
|
15
|
+
### Minor Changes
|
16
|
+
|
17
|
+
- [#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
|
18
|
+
|
19
|
+
- [#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
|
20
|
+
|
21
|
+
- [#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
|
22
|
+
|
23
|
+
### Patch Changes
|
24
|
+
|
25
|
+
- [#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
|
26
|
+
|
27
|
+
- [#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
|
28
|
+
|
29
|
+
- [#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
|
30
|
+
|
31
|
+
- [#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.
|
32
|
+
|
3
33
|
## 0.44.3
|
4
34
|
|
5
35
|
### Patch Changes
|
@@ -1,9 +1,13 @@
|
|
1
1
|
declare class SubHeaderElement extends HTMLElement {
|
2
|
-
filterInput:
|
2
|
+
filterInput: HTMLInputElement;
|
3
3
|
hiddenItemsOnExpandedFilter: HTMLElement[];
|
4
4
|
shownItemsOnExpandedFilter: HTMLElement[];
|
5
|
+
connectedCallback(): void;
|
6
|
+
setupFilterInputClearButton(): void;
|
7
|
+
toggleFilterInputClearButton(): void;
|
5
8
|
expandFilterInput(): void;
|
6
9
|
collapseFilterInput(): void;
|
10
|
+
private waitForCondition;
|
7
11
|
}
|
8
12
|
declare global {
|
9
13
|
interface Window {
|