Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@maggioli-design-system/mds-file

Package Overview
Dependencies
Maintainers
3
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maggioli-design-system/mds-file

mds-file 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.

latest
npmnpm
Version
4.3.4
Version published
Weekly downloads
55
19.57%
Maintainers
3
Weekly downloads
 
Created
Source

mds-file

This is a web-component from Maggioli Design System Magma, 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.

Properties

PropertyAttributeDescriptionTypeDefault
descriptiondescriptionOverrides the default filetype descriptionstring | undefinedundefined
filenamefilenameThe filename shown as component title, is used to auto assign one of the filetype known in the filetype dictionarystringundefined
formatformatSets if the download icon must be shown or notstring | undefinedundefined
previewpreviewThe image preview src if available of a file, useful if you have a logo to display, or a smaller version of a bigger imagestring | undefinedundefined
showDownloadedIconshow-downloaded-iconSets if the download icon must be shown or notboolean | undefinedtrue
suffixsuffixOverrides the automatic filetype recongition by forcing the suffix to one of the available formats choosenExtensionSuffixType | undefinedundefined

Events

EventDescriptionType
mdsFileDownloadEmits when the component is clicked, returning file infosCustomEvent<MdsFileEventDetail>

Methods

updateLang() => Promise<void>

Returns

Type: Promise<void>

Dependencies

Depends on

Graph

graph TD;
  mds-file --> mds-icon
  mds-file --> mds-text
  mds-file --> mds-badge
  mds-badge --> mds-text
  style mds-file fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Gruppo Maggioli from R&D Department

FAQs

Package last updated on 03 Jun 2025

Did you know?

Socket

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.

Install

Related posts