1.0.1 • Published 8 months ago

@maggioli-design-system/mds-radial-menu v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

mds-radial-menu

Properties

PropertyAttributeDescriptionTypeDefault
angleEndangle-endSpecifies the ending angle of the menunumber360
angleStartangle-startSpecifies the starting angle of the menunumber0
backdropbackdropSpecifies if the component has a backdrop backgroundboolean \| undefinedfalse
directiondirectionSpecifies the direction of the menu elements"clockwise" \| "counterclockwise"'clockwise'
discdiscSpecifies if the menu has a disc beneath or notboolean \| undefinedundefined
iconiconThe icon displayed in the buttonstring \| undefinedundefined
interactioninteractionSpecifies how to open the menu"click" \| "rightclick"'click'
openedopenedSpecifies if the menu is opened or notboolean \| undefinedundefined
radiusradiusSpecifies the radius of the menunumber5
sizesizeSpecifies the size for the button"lg" \| "md" \| "sm" \| "xl"'lg'
tonetoneSpecifies the tone variant for the button"ghost" \| "quiet" \| "strong" \| "weak" \| undefined'strong'
variantvariantSpecifies the color variant for the button"ai" \| "apple" \| "dark" \| "error" \| "google" \| "info" \| "light" \| "primary" \| "secondary" \| "success" \| "warning" \| undefined'dark'

Shadow Parts

PartDescription
"radial-menu"

CSS Custom Properties

NameDescription
--mds-radial-menu-angle-endSets the end angle of the menu
--mds-radial-menu-angle-startSets the start angle of the menu
--mds-radial-menu-context-menu-z-indexSets the z-index of the context menu with rightclick interaction
--mds-radial-menu-delaySets the delay before the menu items start appearing
--mds-radial-menu-directionSets the direction in which the menu items are positioned
--mds-radial-menu-disc-backgroundSets the background of the disc
--mds-radial-menu-disc-filterSets the filter of the disc
--mds-radial-menu-disc-shadowSets the shadow of the disc
--mds-radial-menu-disc-sizeSets the size of the disc
--mds-radial-menu-radiusSets the radius of the menu
--mds-radial-menu-transition-durationSet the transition duration of the menu
--mds-radial-menu-transition-timing-functionSet the transition timing function of the menu

Dependencies

Depends on

Graph

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

Built with love @ Gruppo Maggioli from R&D Department