-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Forms): add Value.Upload
component
#4233
Merged
Merged
Changes from 11 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
2eddf74
add Value.Upload component
langz 6d8c4c6
Update packages/dnb-design-system-portal/src/docs/uilib/extensions/fo…
langz f3128ba
add Value.Upload component
langz 0a7c91c
Update packages/dnb-eufemia/src/components/upload/UploadFileListCell.tsx
langz f02681d
removes value.upload from summarylist examples
langz bc8b623
import createMockFile in Examples.tsx
langz 5ec4e98
import createMockFile in Examples.tsx
langz 68bd389
update examples
langz 903fb87
update screenshot tests
langz c596b76
update exampels
langz db36f7f
Update packages/dnb-design-system-portal/src/docs/uilib/extensions/fo…
langz 5592624
address comments from review
langz c4fc398
Update packages/dnb-eufemia/src/extensions/forms/Value/Upload/Upload.tsx
langz ab59727
import createMockFile from Examples in upload component
langz 1ee7aac
update screenshot tests
langz 4532980
removes changelog
langz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
packages/dnb-design-system-portal/src/docs/uilib/extensions/forms/Value/Upload.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
title: 'Upload' | ||
description: '`Value.Upload` is a wrapper component for displaying Upload files, with user experience tailored for an array of files.' | ||
componentType: 'feature-value' | ||
showTabs: true | ||
tabs: | ||
- title: Info | ||
key: '/info' | ||
- title: Demos | ||
key: '/demos' | ||
- title: Properties | ||
key: '/properties' | ||
breadcrumb: | ||
- text: Forms | ||
href: /uilib/extensions/forms/ | ||
- text: Value | ||
href: /uilib/extensions/forms/Value/ | ||
- text: Upload | ||
href: /uilib/extensions/forms/Value/Upload/ | ||
--- | ||
|
||
import Info from 'Docs/uilib/extensions/forms/Value/Upload/info' | ||
import Demos from 'Docs/uilib/extensions/forms/Value/Upload/demos' | ||
|
||
<Info /> | ||
<Demos /> |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't import them for inside tests – but rather export it from one of the upload Examples.tsx files and import it in the other one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okok, I'll do so then 🫡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this better?
ab59727