Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
0
Versions
39
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 JavaScirpt framework you are using.

  • 5.7.2
  • npm
  • Socket score

Version published
Weekly downloads
181
decreased by-44.65%
Maintainers
0
Weekly downloads
 
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 JavaScirpt 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"
"label"

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 17 Sep 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc