primer_view_components 0.44.0 → 0.44.1

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.
@@ -539,9 +539,8 @@ _SelectPanelElement_handleIncludeFragmentEvent = function _SelectPanelElement_ha
539
539
  // check if the errorElement is visible in the dom
540
540
  if (errorElement && !errorElement.hasAttribute('hidden')) {
541
541
  this.liveRegion.announceFromElement(errorElement, { politeness: 'assertive' });
542
- return;
543
542
  }
544
- break;
543
+ throw new Error(event.detail.error);
545
544
  }
546
545
  }
547
546
  };
@@ -554,10 +554,8 @@ export class SelectPanelElement extends HTMLElement {
554
554
  // check if the errorElement is visible in the dom
555
555
  if (errorElement && !errorElement.hasAttribute('hidden')) {
556
556
  this.liveRegion.announceFromElement(errorElement, {politeness: 'assertive'})
557
- return
558
557
  }
559
-
560
- break
558
+ throw new Error((event as CustomEvent).detail.error)
561
559
  }
562
560
  }
563
561
  }
@@ -6,7 +6,7 @@ module Primer
6
6
  module VERSION
7
7
  MAJOR = 0
8
8
  MINOR = 44
9
- PATCH = 0
9
+ PATCH = 1
10
10
 
11
11
  STRING = [MAJOR, MINOR, PATCH].join(".")
12
12
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: primer_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.44.0
4
+ version: 0.44.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Open Source
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-08-15 00:00:00.000000000 Z
11
+ date: 2025-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview