openproject-primer_view_components 0.43.0 → 0.43.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- 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/open_project/sub_header.css +1 -1
- data/app/components/primer/open_project/sub_header.css.json +1 -0
- data/app/components/primer/open_project/sub_header.css.map +1 -1
- data/app/components/primer/open_project/sub_header.pcss +3 -2
- data/app/components/primer/open_project/sub_header_element.js +2 -2
- data/app/components/primer/open_project/sub_header_element.ts +2 -2
- data/lib/primer/view_components/version.rb +1 -1
- data/static/classes.json +3 -0
- metadata +2 -2
@@ -1 +1 @@
|
|
1
|
-
.SubHeader{align-items:center;display:grid;
|
1
|
+
.SubHeader{align-items:center;display:grid;grid-template-areas:"left middle right" "bottom bottom bottom";grid-template-columns:auto 1fr auto;margin-bottom:16px}.SubHeader--expandedSearch{grid-template-areas:"left left left" "bottom bottom bottom"}.SubHeader-rightPane{align-items:center;column-gap:12px;display:flex;grid-area:right}.SubHeader-middlePane{grid-area:middle;text-align:center}.SubHeader-bottomPane{grid-area:bottom}.SubHeader-leftPane{align-items:center;display:flex;gap:12px;grid-area:left;width:100%}.SubHeader-filterContainer{display:flex;gap:8px;width:100%}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["sub_header.pcss"],"names":[],"mappings":"AAEA,WAII,kBAAmB,CAHnB,YAAa,
|
1
|
+
{"version":3,"sources":["sub_header.pcss"],"names":[],"mappings":"AAEA,WAII,kBAAmB,CAHnB,YAAa,CACb,8DAA+D,CAC/D,mCAAoC,CAEpC,kBACJ,CAEA,2BACI,2DACJ,CAEA,qBAGI,kBAAmB,CACnB,eAAgB,CAFhB,YAAa,CADb,eAIJ,CAEA,sBACI,gBAAiB,CACjB,iBACJ,CAEA,sBACI,gBACJ,CAEA,oBAGI,kBAAmB,CADnB,YAAa,CAGb,QAAS,CAJT,cAAe,CAGf,UAEJ,CAEA,2BACI,YAAa,CAEb,OAAQ,CADR,UAEJ","file":"sub_header.css","sourcesContent":["/* CSS for SubHeader */\n\n.SubHeader {\n display: grid;\n grid-template-areas: \"left middle right\" \"bottom bottom bottom\";\n grid-template-columns: auto 1fr auto;\n align-items: center;\n margin-bottom: 16px;\n}\n\n.SubHeader--expandedSearch {\n grid-template-areas: \"left left left\" \"bottom bottom bottom\";\n}\n\n.SubHeader-rightPane {\n grid-area: right;\n display: flex;\n align-items: center;\n column-gap: 12px;\n}\n\n.SubHeader-middlePane {\n grid-area: middle;\n text-align: center;\n}\n\n.SubHeader-bottomPane {\n grid-area: bottom;\n}\n\n.SubHeader-leftPane {\n grid-area: left;\n display: flex;\n align-items: center;\n width: 100%;\n gap: 12px;\n}\n\n.SubHeader-filterContainer {\n display: flex;\n width: 100%;\n gap: 8px;\n}\n"]}
|
@@ -6,9 +6,10 @@
|
|
6
6
|
grid-template-columns: auto 1fr auto;
|
7
7
|
align-items: center;
|
8
8
|
margin-bottom: 16px;
|
9
|
+
}
|
9
10
|
|
10
|
-
|
11
|
-
|
11
|
+
.SubHeader--expandedSearch {
|
12
|
+
grid-template-areas: "left left left" "bottom bottom bottom";
|
12
13
|
}
|
13
14
|
|
14
15
|
.SubHeader-rightPane {
|
@@ -13,7 +13,7 @@ let SubHeaderElement = class SubHeaderElement extends HTMLElement {
|
|
13
13
|
for (const item of this.shownItemsOnExpandedFilter) {
|
14
14
|
item.classList.remove('d-none');
|
15
15
|
}
|
16
|
-
this.classList.add('
|
16
|
+
this.classList.add('SubHeader--expandedSearch');
|
17
17
|
this.filterInput.focus();
|
18
18
|
}
|
19
19
|
collapseFilterInput() {
|
@@ -23,7 +23,7 @@ let SubHeaderElement = class SubHeaderElement extends HTMLElement {
|
|
23
23
|
for (const item of this.shownItemsOnExpandedFilter) {
|
24
24
|
item.classList.add('d-none');
|
25
25
|
}
|
26
|
-
this.classList.remove('
|
26
|
+
this.classList.remove('SubHeader--expandedSearch');
|
27
27
|
}
|
28
28
|
};
|
29
29
|
__decorate([
|
@@ -15,7 +15,7 @@ class SubHeaderElement extends HTMLElement {
|
|
15
15
|
item.classList.remove('d-none')
|
16
16
|
}
|
17
17
|
|
18
|
-
this.classList.add('
|
18
|
+
this.classList.add('SubHeader--expandedSearch')
|
19
19
|
|
20
20
|
this.filterInput.focus()
|
21
21
|
}
|
@@ -29,7 +29,7 @@ class SubHeaderElement extends HTMLElement {
|
|
29
29
|
item.classList.add('d-none')
|
30
30
|
}
|
31
31
|
|
32
|
-
this.classList.remove('
|
32
|
+
this.classList.remove('SubHeader--expandedSearch')
|
33
33
|
}
|
34
34
|
}
|
35
35
|
|
data/static/classes.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openproject-primer_view_components
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.43.
|
4
|
+
version: 0.43.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Open Source
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-09-03 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionview
|