@mantine-vue/carousel 1.1.2 → 1.1.4

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 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
@@ -155,7 +155,15 @@ export declare const CarouselSlide: {
155
155
  default: undefined;
156
156
  };
157
157
  }>> & Readonly<{}>, "classNames" | "styles" | "mod"> & {} & {} & import("vue").ComponentCustomProperties & {} & {
158
- $props: import("@mantine-vue/core").BoxProps;
158
+ $props: Partial<{
159
+ classNames: Function | Record<string, any>;
160
+ styles: Function | Record<string, any>;
161
+ mod: any;
162
+ }> & Omit<{
163
+ readonly classNames?: Function | Record<string, any> | undefined;
164
+ readonly styles?: Function | Record<string, any> | undefined;
165
+ readonly mod?: any;
166
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "classNames" | "styles" | "mod"> & Omit<import("@mantine-vue/core").BoxProps, keyof import("vue").VNodeProps | keyof import("vue").AllowedComponentProps | ("classNames" | "styles" | "mod")>;
159
167
  }) & {
160
168
  classes: Record<string, string>;
161
169
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantine-vue/carousel",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
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.1",
43
- "@mantine-vue/hooks": "1.1.2",
42
+ "@mantine-vue/core": "1.1.4",
43
+ "@mantine-vue/hooks": "1.1.4",
44
44
  "embla-carousel": ">=8.0.0",
45
45
  "embla-carousel-vue": ">=8.0.0",
46
46
  "vue": "^3.5.0"