🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@maggioli-design-system/mds-accordion-item

Package Overview
Dependencies
Maintainers
3
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maggioli-design-system/mds-accordion-item

mds-accordion-item 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.10.4
Version published
Maintainers
3
Created
Source

mds-accordion-item

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
label (required)labelSpecifies the title shown when the component is closed or selectedstringundefined
selectedselectedSpecifies if the component item is selected or notboolean | undefinedundefined
typographytypographySpecifies the typography of the element"action" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined'h5'

Events

EventDescriptionType
mdsAccordionItemChangeEmits when the component attribute selected is changedCustomEvent<MdsAccordionItemEventDetail>
mdsAccordionItemSelectEmits when the component is selectedCustomEvent<MdsAccordionItemEventDetail>
mdsAccordionItemUnselectEmits when the component is unselectedCustomEvent<MdsAccordionItemEventDetail>

Slots

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

Shadow Parts

PartDescription
"content"the content wrapper of the default slot
"icon"The arrow icon of the component
"label"The text label of the component

CSS Custom Properties

NameDescription
--mds-accordion-item-border-colorSets the border-color of the component
--mds-accordion-item-border-widthSets the border-width of the separators of the component
--mds-accordion-item-colorSets the text-color of the component
--mds-accordion-item-description-colorSets the color of the always visible title description
--mds-accordion-item-durationSets the transition duration of the close/open animation of the component
--mds-accordion-item-padding-selectedSets the vertical padding of the component when it's selected
--mds-accordion-item-padding-unselectedSets the vertical padding of the component when it's unselected

Dependencies

Depends on

  • mds-text

Graph

graph TD;
  mds-accordion-item --> mds-text
  style mds-accordion-item 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