@primer/view-components 0.35.0-rc.1b08528f → 0.35.0-rc.1cace282
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.
@@ -725,8 +725,8 @@ _SelectPanelElement_inErrorState = function _SelectPanelElement_inErrorState() {
|
|
725
725
|
};
|
726
726
|
_SelectPanelElement_setErrorState = function _SelectPanelElement_setErrorState(type) {
|
727
727
|
let errorElement = this.fragmentErrorElement;
|
728
|
-
if (type === ErrorStateType.BODY) {
|
729
|
-
this.fragmentErrorElement
|
728
|
+
if (type === ErrorStateType.BODY && this.fragmentErrorElement) {
|
729
|
+
this.fragmentErrorElement.removeAttribute('hidden');
|
730
730
|
this.bannerErrorElement.setAttribute('hidden', '');
|
731
731
|
}
|
732
732
|
else {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.35.0-rc.
|
3
|
+
"version": "0.35.0-rc.1cace282",
|
4
4
|
"description": "ViewComponents for the Primer Design System",
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
6
6
|
"module": "app/components/primer/primer.js",
|