@hestia-earth/ui-components 0.43.6 → 0.43.7

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.
@@ -13532,11 +13532,19 @@ class FilesDropZoneComponent {
13532
13532
  this.filesSelected = output();
13533
13533
  this.fileInput = viewChild.required('fileInput');
13534
13534
  }
13535
- onClick() {
13535
+ /**
13536
+ * Opens the file picker. Public because the zone is commonly hidden on mobile in favour of a
13537
+ * plain "Browse files" button placed *outside* it, which needs a way in — grab the component
13538
+ * with a template ref (`<he-files-drop-zone #zone />` … `(click)="zone.open()"`).
13539
+ */
13540
+ open() {
13536
13541
  if (!this.disabled()) {
13537
13542
  this.fileInput().nativeElement.click();
13538
13543
  }
13539
13544
  }
13545
+ onClick() {
13546
+ this.open();
13547
+ }
13540
13548
  onDropped({ files }) {
13541
13549
  if (!this.disabled()) {
13542
13550
  this.filesSelected.emit(files);