Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
8926258
feat(ld-file-upload): add file upload component
leabarth Jul 19, 2023
c6e6cc8
feat(ld-file-upload): ldfileuploadready event changed; icon reresents…
leabarth Aug 9, 2023
85197b9
feat(ld-file-upload): changes in css
leabarth Aug 16, 2023
e508281
refactor(ld-file-upload): use input of type file in shadow dom
borisdiakur Aug 16, 2023
71babd1
feat(ld-file-upload): added different modi such as showProgress and o…
leabarth Aug 29, 2023
2a990a8
feat(ld-file-upload): add circular progress mode
leabarth Aug 30, 2023
7b7b446
feat(ld-file-upload): added progress simulation and other small changes
leabarth Oct 11, 2023
31d1a4d
test(ld-file-upload): use template to pass props to component
borisdiakur Oct 11, 2023
7aff811
test(ld-file-upload): resolve typing issue
borisdiakur Oct 11, 2023
9dba59d
test(ld-file-upload): added tests
leabarth Oct 25, 2023
298d358
feat(ld-file-upload): add labels to customize texts
leabarth Nov 3, 2023
f2fc1d2
feat(ld-file-upload): added labels for error messages and removed com…
leabarth Nov 7, 2023
48694bb
fix(ld-file-upload): remove redundant examples
leabarth Nov 7, 2023
ebc2f2b
fix(ld-file-upload): removed examples for internal components from do…
leabarth Nov 8, 2023
fec013b
feat(ld-file-upload): add react examples to documentation
leabarth Nov 8, 2023
eec3de3
feat(ld-file-upload): design changes
leabarth Nov 14, 2023
8839b61
fix(ld-file-upload): remove comments and unneccessary screenshots
leabarth Nov 15, 2023
3d0cf74
fix(ld-file-upload): small changes according to review
leabarth Nov 15, 2023
c8c2d31
fix(ld-file-upload): small changes
leabarth Nov 15, 2023
03a4c1f
feat(ld-file-upload): add aria labelledby to button
borisdiakur Nov 15, 2023
11baa12
fix(ld-file-upload): change prop names and other small changes
leabarth Nov 22, 2023
6ec7796
fix(ld-file-upload): changes according to comments
leabarth Nov 27, 2023
f02a30c
fix(ld-file-upload): small changes to react examples in readme, remov…
leabarth Nov 27, 2023
5ef636c
docs(ld-file-upload): resolve issues with react examples
borisdiakur Nov 27, 2023
d93fb0d
fix(ld-file-upload): add comments, changed some react examples
leabarth Nov 28, 2023
7e527dd
fix(ld-file-upload): fixed all react examples
leabarth Nov 29, 2023
6fc4bee
docs(ld-file-upload): resolve console error message
borisdiakur Dec 5, 2023
f20d8c0
docs(ld-file-upload): formatting
borisdiakur Dec 5, 2023
73926d0
docs(ld-file-upload): resolve syntax highlighting issues
borisdiakur Dec 5, 2023
b917e01
feat(ld-file-upload): remove circular progress mode
borisdiakur Dec 5, 2023
6ff5eb8
refactor(ld-file-upload): remove dead code
borisdiakur Dec 5, 2023
cb3ee12
refactor(ld-file-upload): rename prop to immediate
borisdiakur Dec 5, 2023
8a4b05f
refactor(ld-file-upload): compact mode
borisdiakur Dec 6, 2023
e445381
refactor(ld-file-upload): remove redundant default prop values
borisdiakur Dec 6, 2023
f8349c0
fix(ld-file-upload): delete button not rendering
borisdiakur Dec 6, 2023
bffa765
refactor(ld-file-upload): rename choose to select
borisdiakur Dec 6, 2023
a7865f5
refactor(ld-file-upload): get rid of renderOnlySelectFile state variable
borisdiakur Dec 6, 2023
7839e15
fix(ld-file-upload): make sure internal components are internal
borisdiakur Dec 12, 2023
7e77db9
fix(ld-file-upload): remove compact mode
borisdiakur Dec 12, 2023
5037db6
fix(ld-file-upload): removing of upload items
borisdiakur Dec 12, 2023
420ed08
fix(ld-file-upload): resolve minor issues and clean up docs
borisdiakur Dec 13, 2023
d81130d
feat(ld-file-upload): use a compact layout
borisdiakur Dec 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .idea/prettier.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/docs/assets/examples/file-upload-jpeg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/liquid/components/ld-button/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -684,19 +684,25 @@ Type: `Promise<void>`
### Used by

- [ld-cookie-consent](../ld-cookie-consent)
- [ld-file-upload](../ld-file-upload)
- [ld-menuitem](../ld-context-menu/ld-menuitem)
- [ld-pagination](../ld-pagination)
- ld-select-file-internal
- ld-select-popper
- [ld-table-header](../ld-table/ld-table-header)
- ld-upload-item-internal

### Graph
```mermaid
graph TD;
ld-cookie-consent --> ld-button
ld-file-upload --> ld-button
ld-menuitem --> ld-button
ld-pagination --> ld-button
ld-select-file-internal --> ld-button
ld-select-popper --> ld-button
ld-table-header --> ld-button
ld-upload-item-internal --> ld-button
style ld-button fill:#f9f,stroke:#333,stroke-width:4px
```

Expand Down
36 changes: 36 additions & 0 deletions src/liquid/components/ld-file-upload/ld-file-upload.shadow.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
:host {
align-items: center;
display: flex;
flex-direction: column;
gap: var(--ld-file-upload-gap, var(--ld-sp-16));
justify-items: center;
margin: 0;
width: var(--ld-file-upload-width, min(100%, 24rem));
}

.ld-file-upload__buttons,
.ld-file-upload__select-file,
.ld-file-upload__continue-paused-button,
.ld-file-upload__pause-all-button,
.ld-file-upload__progress,
.ld-file-upload__start-upload-button {
width: 100%;
}

.ld-file-upload__buttons {
align-items: center;
display: flex;
flex-direction: column;
gap: var(--ld-sp-8);
justify-items: center;
margin: 0;
padding: 0;
}

.ld-file-upload__input {
clip: rect(0, 0, 0, 0);
height: 1px;
position: absolute;
visibility: hidden;
width: 1px;
}
Loading