@openproject/primer-view-components 0.59.1 → 0.59.2-rc.0a7305768
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.
- package/app/assets/javascripts/components/primer/open_project/border_box/collapsible_header.d.ts +1 -1
- package/app/assets/javascripts/primer_view_components.js +1 -1
- package/app/assets/javascripts/primer_view_components.js.map +1 -1
- package/app/components/primer/open_project/border_box/collapsible_header.d.ts +1 -1
- package/app/components/primer/open_project/border_box/collapsible_header.js +6 -10
- package/package.json +1 -1
- package/static/info_arch.json +2 -2
|
@@ -29,19 +29,15 @@ let CollapsibleHeaderElement = class CollapsibleHeaderElement extends HTMLElemen
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
hideAll() {
|
|
32
|
-
this.arrowDown
|
|
33
|
-
this.arrowUp
|
|
34
|
-
|
|
35
|
-
this.description.classList.add('d-none');
|
|
36
|
-
}
|
|
32
|
+
this.arrowDown?.classList.remove('d-none');
|
|
33
|
+
this.arrowUp?.classList.add('d-none');
|
|
34
|
+
this.description?.classList.add('d-none');
|
|
37
35
|
this.classList.add('CollapsibleHeader--collapsed');
|
|
38
36
|
}
|
|
39
37
|
expandAll() {
|
|
40
|
-
this.arrowDown
|
|
41
|
-
this.arrowUp
|
|
42
|
-
|
|
43
|
-
this.description.classList.remove('d-none');
|
|
44
|
-
}
|
|
38
|
+
this.arrowDown?.classList.add('d-none');
|
|
39
|
+
this.arrowUp?.classList.remove('d-none');
|
|
40
|
+
this.description?.classList.remove('d-none');
|
|
45
41
|
this.classList.remove('CollapsibleHeader--collapsed');
|
|
46
42
|
}
|
|
47
43
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openproject/primer-view-components",
|
|
3
|
-
"version": "0.59.
|
|
3
|
+
"version": "0.59.2-rc.0a7305768",
|
|
4
4
|
"description": "ViewComponents of the Primer Design System for OpenProject",
|
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
|
6
6
|
"module": "app/components/primer/primer.js",
|
package/static/info_arch.json
CHANGED
|
@@ -17448,8 +17448,8 @@
|
|
|
17448
17448
|
},
|
|
17449
17449
|
{
|
|
17450
17450
|
"fully_qualified_name": "Primer::OpenProject::BorderBox::CollapsibleHeader",
|
|
17451
|
-
"description": "
|
|
17452
|
-
"accessibility_docs":
|
|
17451
|
+
"description": "A component to be used inside Primer::Beta::BorderBox.\nIt will toggle the visibility of the complete Box body",
|
|
17452
|
+
"accessibility_docs": null,
|
|
17453
17453
|
"is_form_component": false,
|
|
17454
17454
|
"is_published": true,
|
|
17455
17455
|
"requires_js": false,
|