@maggioli-design-system/mds-stepper-bar
v6.4.0
Published
mds-stepper-bar is a web-component from Magma Design System, 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.
Downloads
249
Keywords
Readme
mds-stepper-bar
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
| Property | Attribute | Description | Type | Default |
| ------------ | ------------ | --------------------------------------------------------------------------------------------------------------------- | ----------------------- | -------- |
| itemsDone | items-done | Sets the current item to the given index: 0 is none done, 1 is the first item done, last number + 1 is all items done | number | 1 |
| navigation | navigation | Specifies the navigation type | "none" \| "scrollbar" | 'none' |
Events
| Event | Description | Type |
| --------------------- | ---------------------------- | --------------------------------------- |
| mdsStepperBarChange | Emits when a step is changed | CustomEvent<MdsStepperBarEventDetail> |
Slots
| Slot | Description |
| ----------- | ----------------------------------------------------------------------- |
| "content" | Add HTML elements or components, one per mds-stepper-bar-item added |
| "default" | Add mds-tepper-bar-item element/s. |
Shadow Parts
| Part | Description |
| ------------ | -------------------------------------------------------------- |
| "contents" | Selects the contents container element wrapped in shadowDOM. |
| "items" | Selects the items container element wrapped in shadowDOM. |
CSS Custom Properties
| Name | Description |
| ----------------------------------- | ---------------------------------- |
| --mds-stepper-bar-scroll-behavior | Sets the scroll-behavior animation |
Built with love @ Gruppo Maggioli from R&D Department
