Skip to content

Commit

Permalink
docs(VSnackbarQueue): add to labs intro, add install instructions, ad…
Browse files Browse the repository at this point in the history
…d api
  • Loading branch information
johnleider committed Apr 21, 2024
1 parent 468a9c1 commit baf9365
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/api-generator/src/locale/en/VSnackbarQueue.json
@@ -0,0 +1,6 @@
{
"props": {
"closable": "Adds a dismiss button that closes the active snackbar.",
"closeText": "The text used in the close button when using the **closable** prop."
}
}
1 change: 1 addition & 0 deletions packages/docs/src/data/page-to-api.json
Expand Up @@ -125,6 +125,7 @@
"components/slide-groups": ["VSlideGroup", "VSlideGroupItem"],
"components/sliders": ["VRangeSlider", "VSlider"],
"components/snackbars": ["VSnackbar"],
"components/snackbar-queue": ["VSnackbarQueue", "VSnackbar"],
"components/sparklines": ["VSparkline"],
"components/steppers": [
"VStepper",
Expand Down
20 changes: 20 additions & 0 deletions packages/docs/src/pages/en/components/snackbar-queue.md
Expand Up @@ -22,6 +22,26 @@ The `v-snackbar-queue` component is used to queue up multiple snackbar messages

<PageFeatures />

::: warning

This feature requires [v3.6.0](/getting-started/release-notes/?version=v3.6.0)

:::

## Installation

Labs components require a manual import and installation of the component.

```js { resource="src/plugins/vuetify.js" }
import { VSnackbarQueue } from 'vuetify/labs/VSnackbarQueue'

export default createVuetify({
components: {
VSnackbarQueue,
},
})
```

## Usage

<ExamplesUsage name="v-snackbar-queue" />
Expand Down
1 change: 1 addition & 0 deletions packages/docs/src/pages/en/labs/introduction.md
Expand Up @@ -81,6 +81,7 @@ The following is a list of available and up-and-coming components for use with L
| [v-empty-state](/components/empty-states/) | A component for displaying empty states | [v3.5.7](/getting-started/release-notes/?version=v3.5.7) |
| [v-fab](/components/floating-action-buttons/) | A layout aware [v-btn](/components/buttons/) | [v3.5.7](/getting-started/release-notes/?version=v3.5.7) |
| [v-number-input](/components/number-input/) | A component for numerical data | [v3.5.10](/getting-started/release-notes/?version=v3.5.10) |
| [v-snackbar-queue](/components/snackbar-queue/) | A queue for snackbars | [v3.6.0](/getting-started/release-notes/?version=v3.6.0) |
| [v-sparkline](/components/sparklines/) | A basic data display component | [v3.5.5](/getting-started/release-notes/?version=v3.5.5) |
| [v-speed-dial](/components/speed-dials/) | A component for display actions | [v3.5.8](/getting-started/release-notes/?version=v3.5.8) |
| [v-time-picker](/components/time-pickers/) | A time-picker component | [v3.5.12](/getting-started/release-notes/?version=v3.5.12) |
Expand Down

0 comments on commit baf9365

Please sign in to comment.