@max-ts/components 1.5.0 → 1.6.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/lib/components/Carousel/Carousel.d.ts +17 -0
- package/lib/components/Carousel/Carousel.d.ts.map +1 -0
- package/lib/components/Carousel/CarouselContext.d.ts +17 -0
- package/lib/components/Carousel/CarouselContext.d.ts.map +1 -0
- package/lib/components/Carousel/Content/Content.d.ts +2 -0
- package/lib/components/Carousel/Content/Content.d.ts.map +1 -0
- package/lib/components/Carousel/Content/index.d.ts +2 -0
- package/lib/components/Carousel/Content/index.d.ts.map +1 -0
- package/lib/components/Carousel/Content/styles.d.ts +5 -0
- package/lib/components/Carousel/Content/styles.d.ts.map +1 -0
- package/lib/components/Carousel/Dots/Dots.d.ts +6 -0
- package/lib/components/Carousel/Dots/Dots.d.ts.map +1 -0
- package/lib/components/Carousel/Dots/index.d.ts +2 -0
- package/lib/components/Carousel/Dots/index.d.ts.map +1 -0
- package/lib/components/Carousel/Dots/styles.d.ts +8 -0
- package/lib/components/Carousel/Dots/styles.d.ts.map +1 -0
- package/lib/components/Carousel/Dots/useLogic/index.d.ts +2 -0
- package/lib/components/Carousel/Dots/useLogic/index.d.ts.map +1 -0
- package/lib/components/Carousel/Dots/useLogic/useLogic.d.ts +7 -0
- package/lib/components/Carousel/Dots/useLogic/useLogic.d.ts.map +1 -0
- package/lib/components/Carousel/Item/Item.d.ts +2 -0
- package/lib/components/Carousel/Item/Item.d.ts.map +1 -0
- package/lib/components/Carousel/Item/index.d.ts +2 -0
- package/lib/components/Carousel/Item/index.d.ts.map +1 -0
- package/lib/components/Carousel/Item/styles.d.ts +4 -0
- package/lib/components/Carousel/Item/styles.d.ts.map +1 -0
- package/lib/components/Carousel/Next/Next.d.ts +3 -0
- package/lib/components/Carousel/Next/Next.d.ts.map +1 -0
- package/lib/components/Carousel/Next/index.d.ts +2 -0
- package/lib/components/Carousel/Next/index.d.ts.map +1 -0
- package/lib/components/Carousel/Next/styles.d.ts +12 -0
- package/lib/components/Carousel/Next/styles.d.ts.map +1 -0
- package/lib/components/Carousel/Previous/Previous.d.ts +3 -0
- package/lib/components/Carousel/Previous/Previous.d.ts.map +1 -0
- package/lib/components/Carousel/Previous/index.d.ts +2 -0
- package/lib/components/Carousel/Previous/index.d.ts.map +1 -0
- package/lib/components/Carousel/Previous/styles.d.ts +12 -0
- package/lib/components/Carousel/Previous/styles.d.ts.map +1 -0
- package/lib/components/Carousel/index.d.ts +2 -0
- package/lib/components/Carousel/index.d.ts.map +1 -0
- package/lib/components/Carousel/styles.d.ts +2 -0
- package/lib/components/Carousel/styles.d.ts.map +1 -0
- package/lib/components/Carousel/types.d.ts +7 -0
- package/lib/components/Carousel/types.d.ts.map +1 -0
- package/lib/components/Carousel/useLogic/index.d.ts +2 -0
- package/lib/components/Carousel/useLogic/index.d.ts.map +1 -0
- package/lib/components/Carousel/useLogic/useLogic.d.ts +20 -0
- package/lib/components/Carousel/useLogic/useLogic.d.ts.map +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.d.ts.map +1 -1
- package/lib/index.mjs +309 -252
- package/package.json +2 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { CSSProperties } from 'react';
|
|
2
|
+
import type { CarouselApi, CarouselOptions, CarouselPlugin } from './types';
|
|
3
|
+
export type CarouselProps<TData> = {
|
|
4
|
+
opts?: CarouselOptions;
|
|
5
|
+
plugins?: CarouselPlugin;
|
|
6
|
+
orientation?: 'horizontal' | 'vertical';
|
|
7
|
+
setApi?: (api: CarouselApi) => void;
|
|
8
|
+
className?: string;
|
|
9
|
+
width?: CSSProperties['width'];
|
|
10
|
+
height?: CSSProperties['height'];
|
|
11
|
+
data: TData[];
|
|
12
|
+
keyId: keyof TData;
|
|
13
|
+
showDots?: boolean;
|
|
14
|
+
renderItem: (item: TData) => React.ReactNode;
|
|
15
|
+
};
|
|
16
|
+
export declare function Carousel<TData>({ width, height, ...props }: CarouselProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
//# sourceMappingURL=Carousel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAQ3C,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAG5E,MAAM,MAAM,aAAa,CAAC,KAAK,IAAI;IAClC,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC,OAAO,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IACjC,IAAI,EAAE,KAAK,EAAE,CAAC;IACd,KAAK,EAAE,MAAM,KAAK,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,CAAC,IAAI,EAAE,KAAK,KAAK,KAAK,CAAC,SAAS,CAAC;CAC7C,CAAC;AAEF,wBAAgB,QAAQ,CAAC,KAAK,EAAE,EAC/B,KAAc,EACd,MAAe,EACf,GAAG,KAAK,EACR,EAAE,aAAa,CAAC,KAAK,CAAC,2CAwDtB"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { EmblaViewportRefType } from 'embla-carousel-react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import type { CarouselApi, CarouselOptions } from './types';
|
|
4
|
+
type CarouselContextProps = {
|
|
5
|
+
carouselRef: EmblaViewportRefType;
|
|
6
|
+
api: CarouselApi;
|
|
7
|
+
opts: CarouselOptions;
|
|
8
|
+
orientation: 'horizontal' | 'vertical';
|
|
9
|
+
scrollPrev: () => void;
|
|
10
|
+
scrollNext: () => void;
|
|
11
|
+
canScrollPrev: boolean;
|
|
12
|
+
canScrollNext: boolean;
|
|
13
|
+
};
|
|
14
|
+
export declare const CarouselContext: React.Context<CarouselContextProps | null>;
|
|
15
|
+
export declare function useCarousel(): CarouselContextProps;
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=CarouselContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CarouselContext.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/CarouselContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE5D,KAAK,oBAAoB,GAAG;IAC3B,WAAW,EAAE,oBAAoB,CAAC;IAClC,GAAG,EAAE,WAAW,CAAC;IACjB,IAAI,EAAE,eAAe,CAAC;IACtB,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACvC,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,eAAO,MAAM,eAAe,4CAE3B,CAAC;AAEF,wBAAgB,WAAW,yBAQ1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Content/Content.tsx"],"names":[],"mappings":"AAGA,wBAAgB,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAQzD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Content/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2
|
+
export declare const ContentWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
3
|
+
orientation: "horizontal" | "vertical";
|
|
4
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Content/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,6NAEnB,CAAC;AAEF,eAAO,MAAM,cAAc;iBAET,YAAY,GAAG,UAAU;yGAK1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Dots.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Dots/Dots.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAI5C,eAAO,MAAM,IAAI,GAAI,uBAGlB;IACF,GAAG,EAAE,WAAW,CAAC;IACjB,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;CACvC,4CAcA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Dots/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
2
|
+
orientation: "horizontal" | "vertical";
|
|
3
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
export declare const DotButton: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
5
|
+
selected: boolean;
|
|
6
|
+
orientation: "horizontal" | "vertical";
|
|
7
|
+
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
8
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Dots/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;iBAEF,YAAY,GAAG,UAAU;yGAY1C,CAAC;AAEF,eAAO,MAAM,SAAS;cAEP,OAAO;iBAAe,YAAY,GAAG,UAAU;qHAkB7D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Carousel/Dots/useLogic/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLogic.d.ts","sourceRoot":"","sources":["../../../../../src/components/Carousel/Dots/useLogic/useLogic.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE/C,eAAO,MAAM,QAAQ,GAAI,KAAK,WAAW;;;8BAK/B,MAAM;CA8Bf,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Item/Item.tsx"],"names":[],"mappings":"AAGA,wBAAgB,IAAI,CAAC,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,2CAYtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Item/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
2
|
+
orientation: "horizontal" | "vertical";
|
|
3
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Item/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;iBAEF,YAAY,GAAG,UAAU;yGAOxC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Next.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Next/Next.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,wBAAgB,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,kDAwBtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Next/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<Omit<import("../../types").WithoutEmotionSpecific<import("@mui/material").ButtonProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>>>, "color" | "variant"> & {
|
|
2
|
+
variant?: `${import("../../index.ts").ButtonVariants}`;
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
loadingIndicator?: import("react").ReactNode;
|
|
5
|
+
loadingPosition?: "start" | "end" | "center";
|
|
6
|
+
color?: `${import("~/components").ButtonColors}`;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
10
|
+
orientation: "horizontal" | "vertical";
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Next/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;iBAEP,YAAY,GAAG,UAAU;UAS1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Previous.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Previous/Previous.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,wBAAgB,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,kDAwB1E"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Previous/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<Omit<import("../../types").WithoutEmotionSpecific<import("@mui/material").ButtonProps<import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements>>>, "color" | "variant"> & {
|
|
2
|
+
variant?: `${import("../../index.ts").ButtonVariants}`;
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
loadingIndicator?: import("react").ReactNode;
|
|
5
|
+
loadingPosition?: "start" | "end" | "center";
|
|
6
|
+
color?: `${import("~/components").ButtonColors}`;
|
|
7
|
+
selected?: boolean;
|
|
8
|
+
component?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
+
} & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
10
|
+
orientation: "horizontal" | "vertical";
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/Previous/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;iBAEP,YAAY,GAAG,UAAU;UAS1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
export declare const Wrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
2
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,6NAEnB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type useEmblaCarousel from 'embla-carousel-react';
|
|
2
|
+
import type { UseEmblaCarouselType } from 'embla-carousel-react';
|
|
3
|
+
export type CarouselApi = UseEmblaCarouselType[1];
|
|
4
|
+
export type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
5
|
+
export type CarouselOptions = UseCarouselParameters[0];
|
|
6
|
+
export type CarouselPlugin = UseCarouselParameters[1];
|
|
7
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,sBAAsB,CAAC;AACzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAEjE,MAAM,MAAM,WAAW,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAC;AAClD,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAC;AACxE,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC;AACvD,MAAM,MAAM,cAAc,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/useLogic/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { CarouselProps } from '../Carousel';
|
|
2
|
+
import type { CarouselApi, CarouselOptions } from '../types';
|
|
3
|
+
type UseLogicReturn<TData> = {
|
|
4
|
+
carouselRef: (emblaRoot: HTMLElement | null) => void;
|
|
5
|
+
api: CarouselApi | undefined;
|
|
6
|
+
scrollPrev: () => void;
|
|
7
|
+
scrollNext: () => void;
|
|
8
|
+
canScrollPrev: boolean;
|
|
9
|
+
canScrollNext: boolean;
|
|
10
|
+
handleKeyDown: (event: React.KeyboardEvent<HTMLDivElement>) => void;
|
|
11
|
+
opts: CarouselOptions | undefined;
|
|
12
|
+
orientation: 'horizontal' | 'vertical';
|
|
13
|
+
onDotButtonClick: (index: number) => void;
|
|
14
|
+
isShowButtons: boolean;
|
|
15
|
+
isShowDots: boolean;
|
|
16
|
+
data: TData[];
|
|
17
|
+
};
|
|
18
|
+
export declare const useLogic: <TData>({ orientation, opts, setApi, plugins, data, showDots, }: CarouselProps<TData>) => UseLogicReturn<TData>;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=useLogic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useLogic.d.ts","sourceRoot":"","sources":["../../../../src/components/Carousel/useLogic/useLogic.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAE7D,KAAK,cAAc,CAAC,KAAK,IAAI;IAC5B,WAAW,EAAE,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI,KAAK,IAAI,CAAC;IACrD,GAAG,EAAE,WAAW,GAAG,SAAS,CAAC;IAC7B,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,OAAO,CAAC;IACvB,aAAa,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC;IACpE,IAAI,EAAE,eAAe,GAAG,SAAS,CAAC;IAClC,WAAW,EAAE,YAAY,GAAG,UAAU,CAAC;IACvC,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,aAAa,EAAE,OAAO,CAAC;IACvB,UAAU,EAAE,OAAO,CAAC;IACpB,IAAI,EAAE,KAAK,EAAE,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,KAAK,EAAE,yDAO7B,aAAa,CAAC,KAAK,CAAC,KAAG,cAAc,CAAC,KAAK,CAiF7C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"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"}
|