@maggioli-design-system/mds-entity
TypeScript icon, indicating that this package has built-in type declarations

4.11.9 • Public • Published

mds-entity

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

Property Attribute Description Type Default
await await Specifies if the component is awaiting a response from an external resource boolean | undefined undefined
icon icon Specifies the icon to be displayed if src propery is not used string | undefined undefined
initials initials The user's inizials displayed if there's no image available and icon is not set string | undefined undefined
src src Specifies the path to the image string | undefined undefined
tone tone Specifies the color tone of the component "strong" | "weak" | undefined undefined
variant variant Specifies the color variant of the component "amaranth" | "aqua" | "blue" | "error" | "green" | "info" | "lime" | "orange" | "orchid" | "primary" | "sky" | "success" | "violet" | "warning" | "yellow" | undefined undefined

Slots

Slot Description
"action" Add HTML elements or components, it is recommended to use mds-button element.
"default" Add text string, HTML elements or components to this slot.
"default" Add text string, HTML elements or components to this slot.

CSS Custom Properties

Name Description
--mds-entity-background The background-color of the entity
--mds-entity-color The color of the entity name
--mds-entity-detail-color The color of the text details
--mds-entity-icon-background The background-color of the icon
--mds-entity-icon-color The color of the icon
--mds-entity-shadow The box-shadow od the component

Dependencies

Depends on

Graph

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

Built with love @ Gruppo Maggioli from R&D Department

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.11.999latest

Version History

VersionDownloads (Last 7 Days)Published
4.11.999
4.11.80
4.11.70
4.11.60
4.11.50
4.11.40
4.11.30
4.11.20
4.11.10
4.11.00
4.10.40
4.10.30
4.10.20
4.10.10
4.10.00
4.9.00
4.8.00
4.6.40
4.6.30
4.6.20
4.6.11
4.6.00
4.5.00
4.4.20
4.4.10
4.4.00
4.3.00
4.2.00
4.1.00
4.0.00
3.1.10
3.0.10
3.0.00
2.1.00
2.0.01
1.1.10
1.0.00

Package Sidebar

Install

npm i @maggioli-design-system/mds-entity

Weekly Downloads

74

Version

4.11.9

License

MIT

Unpacked Size

924 kB

Total Files

210

Last publish

Collaborators

  • moodysmiles
  • vitto