@mantine-vue/carousel 1.1.2 → 1.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -0
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# @mantine-vue/carousel
|
|
2
|
+
|
|
3
|
+
Responsive, touch-friendly carousel component built with [Embla Carousel](https://www.embla-carousel.com/), equivalent to `@mantine/carousel`.
|
|
4
|
+
|
|
5
|
+
> Mantine Vue is an independent community port of [Mantine](https://mantine.dev/) for Vue 3. It is not affiliated with or endorsed by the Mantine team.
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
yarn add @mantine-vue/carousel @mantine-vue/core @mantine-vue/hooks embla-carousel embla-carousel-vue
|
|
11
|
+
|
|
12
|
+
# or with npm
|
|
13
|
+
npm i @mantine-vue/carousel @mantine-vue/core @mantine-vue/hooks embla-carousel embla-carousel-vue
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```vue
|
|
19
|
+
<script setup>
|
|
20
|
+
import { Carousel } from '@mantine-vue/carousel'
|
|
21
|
+
import '@mantine-vue/carousel/styles.css'
|
|
22
|
+
</script>
|
|
23
|
+
|
|
24
|
+
<template>
|
|
25
|
+
<Carousel :height="200">
|
|
26
|
+
<Carousel.Slide>1</Carousel.Slide>
|
|
27
|
+
<Carousel.Slide>2</Carousel.Slide>
|
|
28
|
+
<Carousel.Slide>3</Carousel.Slide>
|
|
29
|
+
</Carousel>
|
|
30
|
+
</template>
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Documentation
|
|
34
|
+
|
|
35
|
+
Full API and examples: [mantine-vue.dev/x/carousel](https://mantine-vue.dev/x/carousel)
|
|
36
|
+
|
|
37
|
+
## Peer dependencies
|
|
38
|
+
|
|
39
|
+
- `vue` ^3.5.0
|
|
40
|
+
- `@mantine-vue/core`
|
|
41
|
+
- `@mantine-vue/hooks`
|
|
42
|
+
- `embla-carousel`, `embla-carousel-vue` >=8.0.0
|
|
43
|
+
|
|
44
|
+
## License
|
|
45
|
+
|
|
46
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine-vue/carousel",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Embla based carousel, Vue equivalent to @mantine/carousel",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"vue": "^3.5.0"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@mantine-vue/core": "1.1.
|
|
43
|
-
"@mantine-vue/hooks": "1.1.
|
|
42
|
+
"@mantine-vue/core": "1.1.3",
|
|
43
|
+
"@mantine-vue/hooks": "1.1.3",
|
|
44
44
|
"embla-carousel": ">=8.0.0",
|
|
45
45
|
"embla-carousel-vue": ">=8.0.0",
|
|
46
46
|
"vue": "^3.5.0"
|