3.1.0 • Published 10 months ago

@maggioli-design-system/mds-badge v3.1.0

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

mds-badge

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
tonetoneSets the tone of the color variant"ghost" \| "quiet" \| "strong" \| "weak" \| undefined'weak'
typographytypographySpecifies the typography of the element"caption" \| "detail" \| "label" \| "option" \| "paragraph" \| "tip"'option'
typographyVarianttypography-variantSpecifies the variant for typography"code" \| "info" \| "read" \| "title" \| undefinedundefined
variantvariantSets the theme variant colors"amaranth" \| "aqua" \| "blue" \| "dark" \| "error" \| "green" \| "info" \| "light" \| "lime" \| "orange" \| "orchid" \| "sky" \| "success" \| "violet" \| "warning" \| "yellow" \| undefined'green'

Slots

SlotDescription
"default"Add text string to this slot, avoid to add HTML elements or components here.

CSS Custom Properties

NameDescription
--mds-badge-backgroundSets the background-color of the component
--mds-badge-colorSets the text color of the component
--mds-badge-radiusSets the border-radius of the component

Dependencies

Used by

Depends on

Graph

graph TD;
  mds-badge --> mds-text
  mds-file --> mds-badge
  mds-file-preview --> mds-badge
  mds-stepper-bar-item --> mds-badge
  style mds-badge fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Gruppo Maggioli from R&D Department

3.1.0

10 months ago

3.0.2

10 months ago

3.0.1

10 months ago

3.0.0

10 months ago

2.9.4

1 year ago

2.9.2

1 year ago

2.9.3

1 year ago

2.9.1

1 year ago

2.9.0

1 year ago

2.8.0

1 year ago

2.7.4

2 years ago

2.7.3

2 years ago

2.7.2

2 years ago

2.5.0

2 years ago

2.7.0

2 years ago

2.5.2

2 years ago

2.6.0

2 years ago

2.5.1

2 years ago

2.7.1

2 years ago

2.3.0

2 years ago

2.4.0

2 years ago

2.2.0

2 years ago

2.1.1

3 years ago

2.0.2

3 years ago

2.0.0

3 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.0.0

4 years ago