@maggioli-design-system/mds-status-bar
v1.1.2
Published
mds-status-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.
Keywords
Readme
mds-status-bar
Properties
| Property | Attribute | Description | Type | Default |
| ------------- | ------------- | --------------------------------------------------------------------------------------- | ---------------------- | ----------- |
| description | description | Specifies the description near the slotted actions | string \| undefined | undefined |
| overflow | overflow | Specifies if the component prevents the body from scrolling when modal window is opened | "auto" \| "manual" | 'manual' |
| visible | visible | Specifies if the component is visible | boolean \| undefined | undefined |
Methods
hide() => Promise<void>
Returns
Type: Promise<void>
Slots
| Slot | Description |
| ----------- | --------------------------------------------------------------------------------------- |
| "default" | Add HTML elements or components, it is recommended to use mds-button element. |
Shadow Parts
| Part | Description |
| ------------------- | --------------------------------------------------------------------------------------------- |
| "actions" | Selects the actions container element wrapped in shadowDOM. |
| "status-bar" | Selects the status-bar window component wrapped in shadowDOM. |
| "status-bar-area" | Selects the status-bar-area which wraps status-bar element with darker area in shadowDOM. |
Dependencies
Depends on
Graph
graph TD;
mds-status-bar --> mds-modal
mds-status-bar --> mds-text
mds-modal --> mds-button
mds-button --> mds-spinner
mds-button --> mds-icon
mds-button --> mds-text
style mds-status-bar fill:#f9f,stroke:#333,stroke-width:4pxBuilt with love @ Gruppo Maggioli from R&D Department
