6.9.7 • Published 10 months ago

@maggioli-design-system/mds-tab-item v6.9.7

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

mds-tab-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 JavaScirpt framework you are using.

Properties

PropertyAttributeDescriptionTypeDefault
iconiconThe icon displayed in the tab itemstring \| undefinedundefined
iconPositionicon-positionSpecifies the horizontal position of the icon displayed in the tab item"left" \| "right" \| undefined'left'
selectedselectedSpecifies if the tab item is selected or notboolean \| undefinedundefined
sizesizeSpecifies the size for the tab item"lg" \| "md" \| "sm" \| "xl" \| undefined'md'
typetypeThe type of the tab item element"a" \| "button" \| "reset" \| "submit" \| undefined'submit'
valuevalueSpecifies an optional value to get from mdsTabItemSelect eventstring \| undefinedundefined

Events

EventDescriptionType
mdsTabItemSelectEmits when the tab item is selectedCustomEvent<MdsTabItemEventDetail>

Slots

SlotDescription
"default"Put text string here, avoid elements

Shadow Parts

PartDescription
"button"

CSS Custom Properties

NameDescription
--mds-tab-item-backgroundSets the background color of the component
--mds-tab-item-background-hoverSets the background when the mouse is over the component
--mds-tab-item-background-selectedSets the background when the component is selected
--mds-tab-item-colorSets the color of the component
--mds-tab-item-color-hoverSets the color when the mouse is over the component
--mds-tab-item-color-selectedSets the color when the component is selected
--mds-tab-item-radiusSets the border-radius of the component
--mds-tab-item-shadow-selectedSets the box-shadow when the component is selected

Dependencies

Used by

Depends on

Graph

graph TD;
  mds-tab-item --> mds-button
  mds-button --> mds-spinner
  mds-button --> mds-icon
  mds-button --> mds-text
  mds-input-upload --> mds-tab-item
  mds-pref-animation --> mds-tab-item
  mds-pref-consumption --> mds-tab-item
  mds-pref-contrast --> mds-tab-item
  mds-pref-language-nav --> mds-tab-item
  mds-pref-theme --> mds-tab-item
  style mds-tab-item fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Gruppo Maggioli from R&D Department

6.9.7

10 months ago

6.9.4

10 months ago

6.9.3

10 months ago

6.9.5

10 months ago

6.9.2

10 months ago

6.9.1

10 months ago

6.9.0

11 months ago

6.7.5

1 year ago

6.7.4

1 year ago

6.7.3

1 year ago

6.7.2

1 year ago

6.7.1

1 year ago

6.7.0

1 year ago

6.5.0

1 year ago

6.6.0

1 year ago

6.3.4

2 years ago

6.3.3

2 years ago

6.3.2

2 years ago

6.1.0

2 years ago

6.0.0

2 years ago

6.3.0

2 years ago

6.1.2

2 years ago

6.2.0

2 years ago

6.1.1

2 years ago

6.3.1

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.3.0

2 years ago

4.2.0

2 years ago

4.1.0

2 years ago

4.0.1

2 years ago

2.0.2

3 years ago

3.1.0

2 years ago

3.0.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago