Skip to content

Commit ca113fd

Browse files
Remove old drag-and-drop component
1 parent 8a4ef5d commit ca113fd

File tree

5 files changed

+6
-122
lines changed

5 files changed

+6
-122
lines changed

addon/components/drag-and-drop/component.js

Lines changed: 0 additions & 100 deletions
This file was deleted.

addon/components/drag-and-drop/template.hbs

Lines changed: 0 additions & 5 deletions
This file was deleted.

addon/components/u-edit/shared-triggers/modals/file-uploader.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { FileArtifact } from '@upfluence/oss-components/types/uploader';
88

99
interface UEditFileUploaderSignature {
1010
insertFile(fileURL: string): void;
11+
closeAction(): void;
1112
}
1213

1314
export default class UEditFileUploader extends Component<UEditFileUploaderSignature> {

app/components/drag-and-drop/component.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

app/styles/components/drag-and-drop.less

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,20 @@
1-
.__drag-and-drop {
2-
position: relative;
3-
}
4-
5-
.__drag-and-drop-overlay {
6-
position: absolute;
7-
top: 0;
8-
left: 0;
9-
bottom: 0;
10-
right: 0;
11-
z-index: 1000;
12-
}
13-
141
.uedit .uedit__loading-image-upload {
152
position: absolute;
163
bottom: 0;
174
right: 0;
18-
margin: @spacing-xxx-sm;
5+
margin: var(--spacing-px-6);
196

207
&--hidden {
218
visibility: hidden;
229
}
2310

2411
.spinner {
25-
margin: 0 0 0 @spacing-xxx-sm;
12+
margin: 0 0 0 var(--spacing-px-6);
2613
width: auto;
2714

28-
.bounce1, .bounce2, .bounce3 {
15+
.bounce1,
16+
.bounce2,
17+
.bounce3 {
2918
margin-left: 1px;
3019
width: 8px;
3120
height: 8px;

0 commit comments

Comments
 (0)