@fluid-topics/ft-file-drop 0.3.70 → 1.0.0-alpha.0

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.
@@ -10,4 +10,3 @@ export declare const FtFileDropCssVariables: {
10
10
  activeBorderColor: import("@fluid-topics/ft-wc-utils").FtCssVariable;
11
11
  };
12
12
  export declare const styles: import("lit").CSSResult;
13
- //# sourceMappingURL=ft-file-drop.css.d.ts.map
@@ -92,4 +92,3 @@ export const styles = css `
92
92
  display: none;
93
93
  }
94
94
  `;
95
- //# sourceMappingURL=ft-file-drop.css.js.map
@@ -20,4 +20,3 @@ export declare class FtFileDrop extends FtLitElement implements FtFileDropProper
20
20
  private onDragLeave;
21
21
  private onDrop;
22
22
  }
23
- //# sourceMappingURL=ft-file-drop.d.ts.map
@@ -16,7 +16,7 @@ export class FileDropEvent extends CustomEvent {
16
16
  super("file-drop", { detail: { file } });
17
17
  }
18
18
  }
19
- export class FtFileDrop extends FtLitElement {
19
+ class FtFileDrop extends FtLitElement {
20
20
  constructor() {
21
21
  super(...arguments);
22
22
  this.dropHint = "Drop your file here";
@@ -41,7 +41,7 @@ export class FtFileDrop extends FtLitElement {
41
41
  <div id="overlay-background"></div>
42
42
  <div id="overlay-content">
43
43
  <ft-chip part="drop-hint" icon="upload" ?hidden=${this.fileError}>${this.dropHint}</ft-chip>
44
- <ft-chip part="error-message" icon="error" ?hidden=${!this.fileError}>
44
+ <ft-chip part="error-message" icon="warning" ?hidden=${!this.fileError}>
45
45
  ${this.fileTypeError}
46
46
  </ft-chip>
47
47
  </div>
@@ -102,4 +102,4 @@ __decorate([
102
102
  __decorate([
103
103
  state()
104
104
  ], FtFileDrop.prototype, "fileError", void 0);
105
- //# sourceMappingURL=ft-file-drop.js.map
105
+ export { FtFileDrop };