@mantine/carousel 7.13.3 → 7.13.5-alpha.0
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/package.json +7 -7
- package/cjs/Carousel.cjs +0 -272
- package/cjs/Carousel.cjs.map +0 -1
- package/cjs/Carousel.context.cjs +0 -12
- package/cjs/Carousel.context.cjs.map +0 -1
- package/cjs/Carousel.module.css.cjs +0 -7
- package/cjs/Carousel.module.css.cjs.map +0 -1
- package/cjs/CarouselSlide/CarouselSlide.cjs +0 -31
- package/cjs/CarouselSlide/CarouselSlide.cjs.map +0 -1
- package/cjs/CarouselVariables/CarouselVariables.cjs +0 -39
- package/cjs/CarouselVariables/CarouselVariables.cjs.map +0 -1
- package/cjs/get-chevron-rotation.cjs +0 -12
- package/cjs/get-chevron-rotation.cjs.map +0 -1
- package/cjs/index.cjs +0 -12
- package/cjs/index.cjs.map +0 -1
- package/cjs/use-animation-offset-effect.cjs +0 -17
- package/cjs/use-animation-offset-effect.cjs.map +0 -1
- package/esm/Carousel.context.mjs +0 -9
- package/esm/Carousel.context.mjs.map +0 -1
- package/esm/Carousel.mjs +0 -266
- package/esm/Carousel.mjs.map +0 -1
- package/esm/Carousel.module.css.mjs +0 -5
- package/esm/Carousel.module.css.mjs.map +0 -1
- package/esm/CarouselSlide/CarouselSlide.mjs +0 -29
- package/esm/CarouselSlide/CarouselSlide.mjs.map +0 -1
- package/esm/CarouselVariables/CarouselVariables.mjs +0 -37
- package/esm/CarouselVariables/CarouselVariables.mjs.map +0 -1
- package/esm/get-chevron-rotation.mjs +0 -10
- package/esm/get-chevron-rotation.mjs.map +0 -1
- package/esm/index.mjs +0 -4
- package/esm/index.mjs.map +0 -1
- package/esm/use-animation-offset-effect.mjs +0 -15
- package/esm/use-animation-offset-effect.mjs.map +0 -1
- package/lib/Carousel.context.d.ts +0 -11
- package/lib/Carousel.d.ts +0 -87
- package/lib/CarouselSlide/CarouselSlide.d.ts +0 -16
- package/lib/CarouselVariables/CarouselVariables.d.ts +0 -6
- package/lib/get-chevron-rotation.d.ts +0 -7
- package/lib/index.d.mts +0 -6
- package/lib/index.d.ts +0 -6
- package/lib/use-animation-offset-effect.d.ts +0 -2
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BoxProps, CompoundStylesApiProps, ElementProps, Factory } from '@mantine/core';
|
|
2
|
-
export type CarouselSlideStylesNames = 'slide';
|
|
3
|
-
export interface CarouselSlideProps extends BoxProps, CompoundStylesApiProps<CarouselSlideFactory>, ElementProps<'div'> {
|
|
4
|
-
}
|
|
5
|
-
export type CarouselSlideFactory = Factory<{
|
|
6
|
-
props: CarouselSlideProps;
|
|
7
|
-
ref: HTMLDivElement;
|
|
8
|
-
stylesNames: CarouselSlideStylesNames;
|
|
9
|
-
compound: true;
|
|
10
|
-
}>;
|
|
11
|
-
export declare const CarouselSlide: import("@mantine/core").MantineComponent<{
|
|
12
|
-
props: CarouselSlideProps;
|
|
13
|
-
ref: HTMLDivElement;
|
|
14
|
-
stylesNames: CarouselSlideStylesNames;
|
|
15
|
-
compound: true;
|
|
16
|
-
}>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { CarouselProps } from '../Carousel';
|
|
2
|
-
interface CarouselVariablesProps extends CarouselProps {
|
|
3
|
-
selector: string;
|
|
4
|
-
}
|
|
5
|
-
export declare function CarouselVariables({ slideGap, slideSize, selector }: CarouselVariablesProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
export {};
|
package/lib/index.d.mts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { EmblaCarouselType } from 'embla-carousel-react';
|
|
2
|
-
export type Embla = EmblaCarouselType;
|
|
3
|
-
export { Carousel } from './Carousel';
|
|
4
|
-
export { useAnimationOffsetEffect } from './use-animation-offset-effect';
|
|
5
|
-
export { CarouselSlide } from './CarouselSlide/CarouselSlide';
|
|
6
|
-
export type { CarouselProps, CarouselCssVariables, CarouselFactory, CarouselStylesNames, } from './Carousel';
|
package/lib/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { EmblaCarouselType } from 'embla-carousel-react';
|
|
2
|
-
export type Embla = EmblaCarouselType;
|
|
3
|
-
export { Carousel } from './Carousel';
|
|
4
|
-
export { useAnimationOffsetEffect } from './use-animation-offset-effect';
|
|
5
|
-
export { CarouselSlide } from './CarouselSlide/CarouselSlide';
|
|
6
|
-
export type { CarouselProps, CarouselCssVariables, CarouselFactory, CarouselStylesNames, } from './Carousel';
|