Skip to content

Commit

Permalink
feat(VSkeletonLoader): promote from labs
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Oct 25, 2023
1 parent fd76fd3 commit a1867e8
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 26 deletions.
5 changes: 1 addition & 4 deletions packages/docs/src/data/nav.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@
"progress-circular",
"progress-linear",
"ratings",
"skeleton-loaders",
"snackbars",
"timelines",
{ "divider": true },
Expand Down Expand Up @@ -233,10 +234,6 @@
{
"title": "otp-input",
"subfolder": "components"
},
{
"title": "skeleton-loaders",
"subfolder": "components"
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion packages/docs/src/pages/en/components/all.md
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ These components are used to provide feedback to the user within content, over c

</components-list-item>

<components-list-item name="Skeleton loader component" src="skeleton-loaders" labs>
<components-list-item name="Skeleton loader component" src="skeleton-loaders">

Displays a content, enhancing perceived performance during data-fetching & rendering

Expand Down
22 changes: 5 additions & 17 deletions packages/docs/src/pages/en/components/skeleton-loaders.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
emphasized: true
meta:
nav: Skeleton loaders
title: Skeleton loader component
Expand All @@ -9,8 +10,9 @@ related:
- /components/progress-circular/
- /components/buttons/
features:
figma: true
label: 'C: VSkeletonLoader'
github: /labs/VSkeletonLoader/
github: /components/VSkeletonLoader/
report: true
---

Expand All @@ -22,9 +24,9 @@ Skeleton loaders provide a simple way to display loading placeholders in your ap

<page-features />

::: warning
::: success

This feature requires [v3.2.0 (Orion)](/getting-started/release-notes/?version=v3.2.0)
This feature was introduced in [v3.4.0 (Orion)](/getting-started/release-notes/?version=v3.4.0)

:::

Expand All @@ -36,20 +38,6 @@ The `v-skeleton-loader` component provides a user with a visual indicator that c

<entry />

## Installation

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

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

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

## API

| Component | Description |
Expand Down
2 changes: 0 additions & 2 deletions packages/docs/src/pages/en/labs/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ The following is a list of available and up-and-coming components for use with L
| [v-infinite-scroll](/api/v-infinite-scroll/) | Primary Component | |
| **OTP input** | [Usage](/components/otp-input/) | [v3.3.11&nbsp;(Icarus)](/getting-started/release-notes/?version=v3.3.11) |
| [v-otp-input](/api/v-otp-input/) | Primary Component | |
| **Skeleton loader** | [Usage](/components/skeleton-loaders/) | [v3.2.0&nbsp;(Orion)](/getting-started/release-notes/?version=v3.2.0) |
| [v-skeleton-loader](/api/v-skeleton-loader/) | Primary Component | |

### Up Next

Expand Down
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export * from './VSelect'
export * from './VSelectionControl'
export * from './VSelectionControlGroup'
export * from './VSheet'
// export * from './VSkeletonLoader'
export * from './VSkeletonLoader'
export * from './VSlideGroup'
export * from './VSlider'
export * from './VSnackbar'
Expand Down
1 change: 0 additions & 1 deletion packages/vuetify/src/labs/components.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ export * from './VDatePicker'
export * from './VInfiniteScroll'
export * from './VOtpInput'
export * from './VPicker'
export * from './VSkeletonLoader'

0 comments on commit a1867e8

Please sign in to comment.