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

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ .SelectPanel-emptyPanel,.SelectPanel-loadingPanel{min-height:min(var(--overlay-height) - 10rem,100vh - 2rem)}
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "alpha/select_panel",
3
+ "selectors": [
4
+ ".SelectPanel-emptyPanel",
5
+ ".SelectPanel-loadingPanel"
6
+ ]
7
+ }
@@ -47,6 +47,7 @@ let PrimerTextFieldElement = class PrimerTextFieldElement extends HTMLElement {
47
47
  clearContents() {
48
48
  this.inputElement.value = '';
49
49
  this.inputElement.focus();
50
+ this.inputElement.dispatchEvent(new Event('input', { bubbles: true, cancelable: false }));
50
51
  }
51
52
  clearError() {
52
53
  this.inputElement.removeAttribute('invalid');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.33.1-rc.a8598029",
3
+ "version": "0.34.0-rc.56027daf",
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",
@@ -495,6 +495,12 @@
495
495
  "SegmentedControl-item": [
496
496
  "Primer::Alpha::SegmentedControl"
497
497
  ],
498
+ "SelectPanel-emptyPanel": [
499
+ "Primer::Alpha::SelectPanel"
500
+ ],
501
+ "SelectPanel-loadingPanel": [
502
+ "Primer::Alpha::SelectPanel"
503
+ ],
498
504
  "State": [
499
505
  "Primer::Beta::State"
500
506
  ],
@@ -611,7 +611,8 @@
611
611
  "single",
612
612
  "multiple",
613
613
  "none"
614
- ]
614
+ ],
615
+ "Utils": "Primer::Alpha::SelectPanel::Utils"
615
616
  },
616
617
  "Primer::Alpha::SelectPanel::ItemList": {
617
618
  },