@primer/view-components 0.34.0-rc.56027daf → 0.34.0-rc.bd9360f3

Sign up to get free protection for your applications and to get access to all the features.
@@ -435,12 +435,7 @@ _SelectPanelElement_updateTabIndices = function _SelectPanelElement_updateTabInd
435
435
  const itemContent = __classPrivateFieldGet(this, _SelectPanelElement_instances, "m", _SelectPanelElement_getItemContent).call(this, item);
436
436
  if (!itemContent)
437
437
  continue;
438
- if (!this.isItemHidden(item) && !setZeroTabIndex) {
439
- setZeroTabIndex = true;
440
- }
441
- else {
442
- itemContent.setAttribute('tabindex', '-1');
443
- }
438
+ itemContent.setAttribute('tabindex', '-1');
444
439
  // <li> elements should not themselves be tabbable
445
440
  item.removeAttribute('tabindex');
446
441
  }
@@ -718,6 +713,8 @@ _SelectPanelElement_inErrorState = function _SelectPanelElement_inErrorState() {
718
713
  if (this.fragmentErrorElement && !this.fragmentErrorElement.hasAttribute('hidden')) {
719
714
  return true;
720
715
  }
716
+ if (!this.bannerErrorElement)
717
+ return false;
721
718
  return !this.bannerErrorElement.hasAttribute('hidden');
722
719
  };
723
720
  _SelectPanelElement_setErrorState = function _SelectPanelElement_setErrorState(type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.34.0-rc.56027daf",
3
+ "version": "0.34.0-rc.bd9360f3",
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",