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

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

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

mds-accordion-timer-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.

  • 4.0.1
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

mds-accordion-timer-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
description (required)descriptionSpecifies the title shown when the accordion is closed or openedstringundefined
durationdurationSpecifies the duration of the single component when selected, it overrides the global duration of itself onlynumber | undefinedundefined
progressprogressA value between 0 and 100 that rapresents the status progressnumber0
selectedselectedSpecifies if the accordion item is opened or notbooleanfalse
typographytypographySpecifies the typography of the element"action" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6"'h5'
uuiduuidUsed automatically by MdsAccordionTimer wrapper to handle it's siblingsnumber0

Events

EventDescriptionType
mdsAccordionTimerItemClickSelectEmits when the accordion is clicked by the mouseCustomEvent<MdsAccordionTimerItemEventDetail>
mdsAccordionTimerItemMouseEnterSelectEmits when the accordion is hovered by the mouseCustomEvent<MdsAccordionTimerItemEventDetail>
mdsAccordionTimerItemMouseLeaveSelectEmits when the accordion is hovered by the mouseCustomEvent<MdsAccordionTimerItemEventDetail>
mdsAccordionTimerItemSelectEmits when the accordion is changed from codeCustomEvent<MdsAccordionTimerItemEventDetail>

Slots

SlotDescription
"default"Add content 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
"progress"The progress bar of the component

CSS Custom Properties

NameDescription
--mds-accordion-timer-item-colorSets the text color of the component
--mds-accordion-timer-item-durationSets the transition duration of open/close animation
--mds-accordion-timer-item-progress-bar-backgroundSets the background-color of the progress bar when the item is selected
--mds-accordion-timer-item-progress-bar-colorSets the color of the progress bar when the item is selected
--mds-accordion-timer-item-progress-bar-thicknessSets thickness of the progress bar

Dependencies

Depends on

Graph

graph TD;
  mds-accordion-timer-item --> mds-progress
  mds-accordion-timer-item --> mds-text
  style mds-accordion-timer-item fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Gruppo Maggioli from R&D Department

FAQs

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