
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
@maggioli-design-system/mds-input-upload
Advanced tools
mds-input-upload is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
accept | accept | Defines the file types the file input should accept | string | '' |
maxFileSize | max-file-size | Specifies the max size of a single file that can be uploaded in MB | number | 20 |
maxFiles | max-files | Specifies the max number of files that can be uploaded | number | 1 |
sort | sort | Specifies if the component should show a sort widget by status or date of upload, if not defined let user choose | "date" | "status" | undefined | undefined |
Event | Description | Type |
---|---|---|
mdsInputUploadChange | Emits when the component files are changed | CustomEvent<FileList | null> |
getFiles() => Promise<FileList | null>
Returns a promise of files uploaded as Filelist or null if there's none
Type: Promise<FileList | null>
getFilesError() => Promise<FileError[] | null>
Returns a promise of files error or null if there's none
Type: Promise<FileError[] | null>
updateLang() => Promise<void>
Type: Promise<void>
Name | Description |
---|---|
--mds-input-upload-drag-area-background-color | Sets the background-color of the drag area. |
--mds-input-upload-drag-area-background-color-on-drag | Set the background color of the drag area when a file is dragged over it. |
--mds-input-upload-drag-area-border | Sets the border of the drag area. |
--mds-input-upload-drag-area-border-on-drag | Set the border of the drag area when a file is dragged over it. |
--mds-input-upload-min-cols | Set the minimum number of columns for the file list. |
graph TD;
mds-input-upload --> mds-text
mds-input-upload --> mds-button
mds-input-upload --> mds-progress
mds-input-upload --> mds-tab
mds-input-upload --> mds-tab-item
mds-input-upload --> mds-file-preview
mds-button --> mds-spinner
mds-button --> mds-icon
mds-button --> mds-text
mds-tab-item --> mds-button
mds-file-preview --> mds-button
mds-file-preview --> mds-img
mds-file-preview --> mds-icon
mds-file-preview --> mds-text
mds-file-preview --> mds-badge
mds-img --> mds-icon
mds-img --> mds-text
mds-img --> mds-button
mds-badge --> mds-text
style mds-input-upload fill:#f9f,stroke:#333,stroke-width:4px
Built with love @ Gruppo Maggioli from R&D Department
FAQs
mds-input-upload is a web-component from Magma Design System, built with StencilJS, TypeScript, Storybook. It's based on the web-component standard and it's designed to be agnostic from the JavaScript framework you are using.
The npm package @maggioli-design-system/mds-input-upload receives a total of 23 weekly downloads. As such, @maggioli-design-system/mds-input-upload popularity was classified as not popular.
We found that @maggioli-design-system/mds-input-upload demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.