4.7.4 • Published 5 months ago

@maggioli-design-system/mds-text v4.7.4

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

mds-text

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
animationanimationSpecifies if the text is animated when it is rendered"none" \| "yugop" \| undefined'none'
tagtagSpecifies the HTML tag of the element"h1" \| "h2" \| "h3" \| "h4" \| "h5" \| "h6" \| "label" \| "code" \| "strong" \| "abbr" \| "address" \| "article" \| "b" \| "bdo" \| "blockquote" \| "cite" \| "dd" \| "del" \| "details" \| "dfn" \| "div" \| "dl" \| "dt" \| "em" \| "figcaption" \| "i" \| "ins" \| "kbd" \| "legend" \| "li" \| "mark" \| "ol" \| "p" \| "pre" \| "q" \| "rb" \| "rt" \| "ruby" \| "s" \| "samp" \| "small" \| "span" \| "sub" \| "summary" \| "sup" \| "time" \| "u" \| "ul" \| "var"undefined
texttextSpecifies the text string to the component instead of passing an HTML nodestring \| undefinedundefined
truncatetruncateSpecifies if the text shoud be truncated or should behave as a normal text"all" \| "none" \| "word" \| undefinedundefined
typographytypographySpecifies the font typography of the element"action" \| "caption" \| "detail" \| "h1" \| "h2" \| "h3" \| "h4" \| "h5" \| "h6" \| "hack" \| "label" \| "option" \| "paragraph" \| "snippet" \| "tip"'detail'
variantvariantSpecifies the variant for typography"code" \| "info" \| "read" \| "title" \| undefinedundefined

Slots

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

CSS Custom Properties

NameDescription
--mds-text-animation-placeholder-charSets the animation placeholder char of the text when animation attribute is set to yugop
--mds-text-animation-speedSets the animation speed of the text when animation attribute is set to yugop
--mds-text-line-clampSets the max number of visible lines before the text overflows with ellipsis. It works only if attribute truncate='all' is set. WARNING: this is supported only by Chrome, Safare and Firefox with native browser prefixes.
--mds-text-selection-backgroundSets the background-color of the text when the text is selected
--mds-text-selection-colorSets the color of the text when the text is selected

Dependencies

Used by

Graph

graph TD;
  mds-accordion-item --> mds-text
  mds-accordion-timer-item --> mds-text
  mds-badge --> mds-text
  mds-banner --> mds-text
  mds-benchmark-bar --> mds-text
  mds-bibliography --> mds-text
  mds-breadcrumb-item --> mds-text
  mds-button --> mds-text
  mds-chip --> mds-text
  mds-file --> mds-text
  mds-file-preview --> mds-text
  mds-filter --> mds-text
  mds-filter-item --> mds-text
  mds-img --> mds-text
  mds-input-date-range --> mds-text
  mds-input-field --> mds-text
  mds-input-range --> mds-text
  mds-input-switch --> mds-text
  mds-input-tip-item --> mds-text
  mds-input-upload --> mds-text
  mds-keyboard --> mds-text
  mds-keyboard-key --> mds-text
  mds-kpi-item --> mds-text
  mds-label --> mds-text
  mds-list-item --> mds-text
  mds-notification --> mds-text
  mds-paginator-item --> mds-text
  mds-policy-ai --> mds-text
  mds-pref --> mds-text
  mds-pref-animation --> mds-text
  mds-pref-consumption --> mds-text
  mds-pref-contrast --> mds-text
  mds-pref-language --> mds-text
  mds-pref-theme --> mds-text
  mds-price-table-features --> mds-text
  mds-price-table-features-cell --> mds-text
  mds-price-table-list-item --> mds-text
  mds-push-notification-item --> mds-text
  mds-quote --> mds-text
  mds-stepper-bar-item --> mds-text
  mds-tab-bar-item --> mds-text
  mds-table-header-cell --> mds-text
  mds-toast --> mds-text
  mds-tooltip --> mds-text
  mds-url-view --> mds-text
  style mds-text fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Gruppo Maggioli from R&D Department

@infinitebrahmanuniverse/nolb-_mag@everything-registry/sub-chunk-571mds-input@zalastax/nolb-_mag@maggioli-design-system/mds-stepper-bar-item@maggioli-design-system/mds-url-view@maggioli-design-system/mds-usage@maggioli-design-system/mds-pref-language-nav@maggioli-design-system/mds-pref-theme@maggioli-design-system/mds-price-table-features-cell@maggioli-design-system/mds-price-table-list-item@maggioli-design-system/mds-push-notification-item@maggioli-design-system/mds-quote@maggioli-design-system/mds-accordion-item@maggioli-design-system/mds-accordion-timer-item@maggioli-design-system/mds-badge@maggioli-design-system/mds-banner@maggioli-design-system/mds-bibliography@maggioli-design-system/mds-breadcrumb-item@maggioli-design-system/mds-button@maggioli-design-system/mds-chip@maggioli-design-system/mds-file@maggioli-design-system/mds-file-preview@maggioli-design-system/mds-input-tip-item@maggioli-design-system/mds-input-upload@maggioli-design-system/mds-keyboard@maggioli-design-system/mds-keyboard-key@maggioli-design-system/mds-label@maggioli-design-system/mds-list-item@maggioli-design-system/mds-notification@maggioli-design-system/mds-paginator-item@maggioli-design-system/mds-policy-ai@maggioli-design-system/mds-pref-animation@maggioli-design-system/mds-pref-consumption@maggioli-design-system/mds-pref-contrast@maggioli-design-system/mds-pref-language@maggioli-design-system/mds-img@maggioli-design-system/mds-input@maggioli-design-system/mds-input-button@maggioli-design-system/mds-input-date-range@maggioli-design-system/mds-input-range
4.7.2

7 months ago

4.7.1

8 months ago

4.5.3

9 months ago

4.7.4

5 months ago

4.7.3

5 months ago

4.6.0

8 months ago

4.7.0

8 months ago

4.5.2

11 months ago

4.5.1

11 months ago

4.4.3

1 year ago

4.4.2

1 year ago

4.4.1

1 year ago

4.4.0

1 year ago

4.3.6

2 years ago

4.3.5

2 years ago

4.3.3

2 years ago

4.3.2

2 years ago

4.3.1

2 years ago

4.3.0

2 years ago

4.2.0

2 years ago

3.7.0

2 years ago

3.6.3

2 years ago

3.4.0

2 years ago

3.6.1

2 years ago

3.4.3

2 years ago

3.6.0

2 years ago

3.4.2

2 years ago

3.5.0

2 years ago

3.4.1

2 years ago

3.2.2

3 years ago

3.3.0

3 years ago

3.2.1

3 years ago

3.2.0

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.0.2

3 years ago

2.0.0

3 years ago

1.4.1

3 years ago

1.4.0

3 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.2.1

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago