🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@maggioli-design-system/mds-note

Package Overview
Dependencies
Maintainers
3
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maggioli-design-system/mds-note

mds-note 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
5.6.4
Version published
Maintainers
3
Created
Source

mds-note

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
deletabledeletableEnables the cross icon to perform cancel/delete action on elementboolean | undefinedfalse
variantvariantSpecifies the color variant for the element"amaranth" | "aqua" | "blue" | "green" | "lime" | "orange" | "orchid" | "sky" | "violet" | "yellow" | undefined'yellow'

Events

EventDescriptionType
mdsNoteDeleteEmits when the note has to be cancelledCustomEvent<void>

Methods

updateLang() => Promise<void>

Returns

Type: Promise<void>

Slots

SlotDescription
"default"Add text string, HTML elements or components to this slot.
"title"Add text string, HTML elements or components to this slot.

CSS Custom Properties

NameDescription
--mds-note-backgroundSets the background-color of the component
--mds-note-colorSets the text color of the component
--mds-note-fold-sizeSets the size of the fold decoration at the bottom right of the component
--mds-note-selection-backgroundSets the selection text background-color of the component
--mds-note-selection-colorSets the selection text color of the component

Dependencies

Depends on

  • mds-button

Graph

graph TD;
  mds-note --> mds-button
  mds-button --> mds-spinner
  mds-button --> mds-icon
  mds-button --> mds-text
  style mds-note fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Gruppo Maggioli from R&D Department

FAQs

Package last updated on 04 Jul 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