@primer/view-components 0.32.0 → 0.32.1-rc.29cbccb9

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,7 +19,6 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (
19
19
  var _PrimerTextFieldElement_abortController;
20
20
  import '@github/auto-check-element';
21
21
  import { controller, target } from '@github/catalyst';
22
- const SCREENREADER_TEXT_CLASSNAME = 'spinner-screenreader-text';
23
22
  let PrimerTextFieldElement = class PrimerTextFieldElement extends HTMLElement {
24
23
  constructor() {
25
24
  super(...arguments);
@@ -84,12 +83,10 @@ let PrimerTextFieldElement = class PrimerTextFieldElement extends HTMLElement {
84
83
  }
85
84
  showLeadingSpinner() {
86
85
  this.leadingSpinner?.removeAttribute('hidden');
87
- this.leadingSpinner?.querySelector(SCREENREADER_TEXT_CLASSNAME)?.removeAttribute('hidden');
88
86
  this.leadingVisual?.setAttribute('hidden', '');
89
87
  }
90
88
  hideLeadingSpinner() {
91
89
  this.leadingSpinner?.setAttribute('hidden', '');
92
- this.leadingSpinner?.querySelector(SCREENREADER_TEXT_CLASSNAME)?.setAttribute('hidden', '');
93
90
  this.leadingVisual?.removeAttribute('hidden');
94
91
  }
95
92
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.32.0",
3
+ "version": "0.32.1-rc.29cbccb9",
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",