commerce-toolkit 0.5.0 → 0.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/dist/accordion-trigger-CpTcclGS.cjs +2 -0
- package/dist/accordion-trigger-CpTcclGS.cjs.map +1 -0
- package/dist/accordion-trigger-DFuN29lS.js +455 -0
- package/dist/accordion-trigger-DFuN29lS.js.map +1 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.js +7 -8
- package/dist/blog-post-card-author-CBXo2FqS.cjs +2 -0
- package/dist/blog-post-card-author-CBXo2FqS.cjs.map +1 -0
- package/dist/{blog-post-card-author-C1GuND4f.js → blog-post-card-author-VkGle9g8.js} +30 -24
- package/dist/blog-post-card-author-VkGle9g8.js.map +1 -0
- package/dist/blog-post-card.cjs +1 -1
- package/dist/blog-post-card.cjs.map +1 -1
- package/dist/blog-post-card.js +28 -34
- package/dist/blog-post-card.js.map +1 -1
- package/dist/carousel-next-C6jpZTlN.js +1480 -0
- package/dist/carousel-next-C6jpZTlN.js.map +1 -0
- package/dist/carousel-next-DEHDO98_.cjs +2 -0
- package/dist/{carousel-next-BGIZglEF.cjs.map → carousel-next-DEHDO98_.cjs.map} +1 -1
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.js +1 -1
- package/dist/category-card-link-BXoWFETv.cjs +2 -0
- package/dist/category-card-link-BXoWFETv.cjs.map +1 -0
- package/dist/category-card-link-D85RfMpf.js +186 -0
- package/dist/category-card-link-D85RfMpf.js.map +1 -0
- package/dist/category-card.cjs +1 -1
- package/dist/category-card.cjs.map +1 -1
- package/dist/category-card.js +23 -27
- package/dist/category-card.js.map +1 -1
- package/dist/compare-card.cjs +1 -1
- package/dist/compare-card.js +2 -2
- package/dist/components/accordion/accordion.d.ts +1 -2
- package/dist/components/accordion/accordion.d.ts.map +1 -1
- package/dist/components/accordion/primitives/accordion-chevron.d.ts.map +1 -1
- package/dist/components/accordion/primitives/accordion-content-area.d.ts.map +1 -1
- package/dist/components/accordion/primitives/accordion-item.d.ts.map +1 -1
- package/dist/components/accordion/primitives/accordion-root.d.ts +2 -10
- package/dist/components/accordion/primitives/accordion-root.d.ts.map +1 -1
- package/dist/components/accordion/primitives/accordion-title.d.ts.map +1 -1
- package/dist/components/accordion/primitives.d.ts +1 -1
- package/dist/components/accordion/primitives.d.ts.map +1 -1
- package/dist/components/blog-post-card/blog-post-card.d.ts +2 -1
- package/dist/components/blog-post-card/blog-post-card.d.ts.map +1 -1
- package/dist/components/blog-post-card/primitives/blog-post-card-root.d.ts +2 -1
- package/dist/components/blog-post-card/primitives/blog-post-card-root.d.ts.map +1 -1
- package/dist/components/blog-post-card/primitives/blog-post-card-skeleton.d.ts +2 -4
- package/dist/components/blog-post-card/primitives/blog-post-card-skeleton.d.ts.map +1 -1
- package/dist/components/blog-post-card/primitives/blog-post-card-thumbnail.d.ts.map +1 -1
- package/dist/components/calendar/calendar.d.ts +2 -4
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/carousel/primitives/carousel-controls.d.ts.map +1 -1
- package/dist/components/carousel/primitives/carousel-root.d.ts +1 -3
- package/dist/components/carousel/primitives/carousel-root.d.ts.map +1 -1
- package/dist/components/carousel/primitives/carousel-scrollbar.d.ts.map +1 -1
- package/dist/components/category-card/category-card.d.ts +2 -4
- package/dist/components/category-card/category-card.d.ts.map +1 -1
- package/dist/components/category-card/primitives/category-card-fallback.d.ts.map +1 -1
- package/dist/components/category-card/primitives/category-card-icon.d.ts.map +1 -1
- package/dist/components/category-card/primitives/category-card-image.d.ts.map +1 -1
- package/dist/components/category-card/primitives/category-card-link.d.ts.map +1 -1
- package/dist/components/category-card/primitives/category-card-overlay.d.ts.map +1 -1
- package/dist/components/category-card/primitives/category-card-root.d.ts +2 -14
- package/dist/components/category-card/primitives/category-card-root.d.ts.map +1 -1
- package/dist/components/category-card/primitives/category-card-skeleton.d.ts.map +1 -1
- package/dist/components/category-card/primitives/category-card-thumbnail.d.ts.map +1 -1
- package/dist/components/category-card/primitives/category-card-title.d.ts.map +1 -1
- package/dist/components/category-card/primitives.d.ts +1 -1
- package/dist/components/category-card/primitives.d.ts.map +1 -1
- package/dist/components/price/price.d.ts +1 -1
- package/dist/components/price/price.d.ts.map +1 -1
- package/dist/components/price/primitives/price-root.d.ts +2 -4
- package/dist/components/price/primitives/price-root.d.ts.map +1 -1
- package/dist/components/product-card/primitives/product-card-checkbox.d.ts.map +1 -1
- package/dist/components/product-card/primitives/product-card-fallback.d.ts.map +1 -1
- package/dist/components/product-card/primitives/product-card-image.d.ts.map +1 -1
- package/dist/components/product-card/primitives/product-card-label.d.ts.map +1 -1
- package/dist/components/product-card/primitives/product-card-link.d.ts.map +1 -1
- package/dist/components/product-card/primitives/product-card-price.d.ts.map +1 -1
- package/dist/components/product-card/primitives/product-card-root.d.ts +2 -10
- package/dist/components/product-card/primitives/product-card-root.d.ts.map +1 -1
- package/dist/components/product-card/primitives/product-card-skeleton.d.ts.map +1 -1
- package/dist/components/product-card/primitives/product-card-subtitle.d.ts.map +1 -1
- package/dist/components/product-card/primitives/product-card-thumbnail.d.ts.map +1 -1
- package/dist/components/product-card/primitives/product-card-title.d.ts.map +1 -1
- package/dist/components/product-card/primitives.d.ts +1 -1
- package/dist/components/product-card/primitives.d.ts.map +1 -1
- package/dist/components/product-card/product-card.d.ts +2 -3
- package/dist/components/product-card/product-card.d.ts.map +1 -1
- package/dist/components/range-input/range-input.d.ts +0 -1
- package/dist/components/range-input/range-input.d.ts.map +1 -1
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +415 -476
- package/dist/index.js.map +1 -1
- package/dist/{price-strike-Ciakdz8c.js → price-strike-D9Pzzzkr.js} +9 -18
- package/dist/price-strike-D9Pzzzkr.js.map +1 -0
- package/dist/price-strike-DqOP577f.cjs +2 -0
- package/dist/price-strike-DqOP577f.cjs.map +1 -0
- package/dist/price.cjs +1 -1
- package/dist/price.js +1 -1
- package/dist/product-card-label-CP4yzMhB.js +244 -0
- package/dist/product-card-label-CP4yzMhB.js.map +1 -0
- package/dist/product-card-label-DHKOJFTo.cjs +2 -0
- package/dist/product-card-label-DHKOJFTo.cjs.map +1 -0
- package/dist/product-card-root-BnBOoYFY.js +27 -0
- package/dist/product-card-root-BnBOoYFY.js.map +1 -0
- package/dist/product-card-root-DNqlSx52.cjs +2 -0
- package/dist/product-card-root-DNqlSx52.cjs.map +1 -0
- package/dist/product-card-skeleton-BgN1OCwY.cjs +2 -0
- package/dist/product-card-skeleton-BgN1OCwY.cjs.map +1 -0
- package/dist/product-card-skeleton-C-xXJrKi.js +29 -0
- package/dist/product-card-skeleton-C-xXJrKi.js.map +1 -0
- package/dist/product-card.cjs +1 -1
- package/dist/product-card.js +19 -20
- package/package.json +1 -1
- package/dist/accordion-trigger-Bj1Laf6l.cjs +0 -2
- package/dist/accordion-trigger-Bj1Laf6l.cjs.map +0 -1
- package/dist/accordion-trigger-Cdkd0tWD.js +0 -494
- package/dist/accordion-trigger-Cdkd0tWD.js.map +0 -1
- package/dist/blog-post-card-author-B55DKFff.cjs +0 -2
- package/dist/blog-post-card-author-B55DKFff.cjs.map +0 -1
- package/dist/blog-post-card-author-C1GuND4f.js.map +0 -1
- package/dist/carousel-next-BGIZglEF.cjs +0 -2
- package/dist/carousel-next-BzKOs3K-.js +0 -1495
- package/dist/carousel-next-BzKOs3K-.js.map +0 -1
- package/dist/category-card-link-BSmQDScF.cjs +0 -2
- package/dist/category-card-link-BSmQDScF.cjs.map +0 -1
- package/dist/category-card-link-mgtggmo_.js +0 -211
- package/dist/category-card-link-mgtggmo_.js.map +0 -1
- package/dist/price-strike-BTE4S5Na.cjs +0 -2
- package/dist/price-strike-BTE4S5Na.cjs.map +0 -1
- package/dist/price-strike-Ciakdz8c.js.map +0 -1
- package/dist/product-card-label-BQeJxNcX.cjs +0 -2
- package/dist/product-card-label-BQeJxNcX.cjs.map +0 -1
- package/dist/product-card-label-C6D-fYjj.js +0 -285
- package/dist/product-card-label-C6D-fYjj.js.map +0 -1
- package/dist/product-card-root-BGUa-vQ_.js +0 -43
- package/dist/product-card-root-BGUa-vQ_.js.map +0 -1
- package/dist/product-card-root-Q5lwSPd8.cjs +0 -2
- package/dist/product-card-root-Q5lwSPd8.cjs.map +0 -1
- package/dist/product-card-skeleton-B8DGleVJ.js +0 -33
- package/dist/product-card-skeleton-B8DGleVJ.js.map +0 -1
- package/dist/product-card-skeleton-CCbWpq16.cjs +0 -2
- package/dist/product-card-skeleton-CCbWpq16.cjs.map +0 -1
|
@@ -11,9 +11,7 @@ export interface CategoryCardContent {
|
|
|
11
11
|
}
|
|
12
12
|
export interface CategoryCardProps extends CategoryCardContent {
|
|
13
13
|
className?: string;
|
|
14
|
-
|
|
15
|
-
iconColorScheme?: 'light' | 'dark';
|
|
16
|
-
aspectRatio?: '5:6' | '3:4' | '1:1';
|
|
14
|
+
aspectRatio?: '5/6' | '3/4' | '1/1';
|
|
17
15
|
textSize?: 'small' | 'medium' | 'large' | 'x-large';
|
|
18
16
|
textPosition?: 'inside' | 'outside';
|
|
19
17
|
showOverlay?: boolean;
|
|
@@ -38,5 +36,5 @@ export interface CategoryCardProps extends CategoryCardContent {
|
|
|
38
36
|
* }
|
|
39
37
|
* ```
|
|
40
38
|
*/
|
|
41
|
-
export declare function CategoryCard({ className, title, image, link,
|
|
39
|
+
export declare function CategoryCard({ className, title, image, link, aspectRatio, textPosition, textSize, showOverlay, }: CategoryCardProps): import("react/jsx-runtime").JSX.Element;
|
|
42
40
|
//# sourceMappingURL=category-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category-card.d.ts","sourceRoot":"","sources":["../../../src/components/category-card/category-card.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,iBAAkB,SAAQ,mBAAmB;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,
|
|
1
|
+
{"version":3,"file":"category-card.d.ts","sourceRoot":"","sources":["../../../src/components/category-card/category-card.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,iBAAkB,SAAQ,mBAAmB;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;IACpD,YAAY,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;IACpC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,YAAY,CAAC,EAC3B,SAAS,EACT,KAAK,EACL,KAAK,EACL,IAAI,EACJ,WAAmB,EACnB,YAAwB,EACxB,QAAkB,EAClB,WAAkB,GACnB,EAAE,iBAAiB,2CA6BnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category-card-fallback.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-fallback.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"category-card-fallback.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-fallback.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE9D,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,yBAAyB,2CAehG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category-card-icon.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-icon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"category-card-icon.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-icon.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC;AAEhE,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAexF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category-card-image.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-image.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"category-card-image.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-image.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG;IAC3D,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,QAAQ,EACR,OAAe,EACf,GAAG,KAAK,EACT,EAAE,sBAAsB,2CAexB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category-card-link.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-link.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"category-card-link.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-link.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,WAAW,qBAAsB,SAAQ,cAAc,CAAC,GAAG,CAAC;IAChE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,gBAAgB,CAAC,EAAE,OAAe,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAiB/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category-card-overlay.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-overlay.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"category-card-overlay.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-overlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE7D,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,2CAoB9F"}
|
|
@@ -1,21 +1,9 @@
|
|
|
1
1
|
import type { ComponentProps, ElementType } from 'react';
|
|
2
|
-
interface CategoryCardContext {
|
|
3
|
-
textColorScheme: 'light' | 'dark';
|
|
4
|
-
iconColorScheme: 'light' | 'dark';
|
|
5
|
-
aspectRatio: '5:6' | '3:4' | '1:1';
|
|
6
|
-
textSize: 'small' | 'medium' | 'large' | 'x-large';
|
|
7
|
-
showOverlay: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare const CategoryCardContext: import("react").Context<CategoryCardContext | undefined>;
|
|
10
2
|
export type CategoryCardRootProps<E extends ElementType = 'article'> = Omit<ComponentProps<E>, 'as'> & {
|
|
11
3
|
as?: E;
|
|
12
|
-
|
|
13
|
-
iconColorScheme?: 'light' | 'dark';
|
|
14
|
-
aspectRatio?: '5:6' | '3:4' | '1:1';
|
|
4
|
+
aspectRatio?: '5/6' | '3/4' | '1/1';
|
|
15
5
|
textSize?: 'small' | 'medium' | 'large' | 'x-large';
|
|
16
6
|
showOverlay?: boolean;
|
|
17
7
|
};
|
|
18
|
-
export declare function CategoryCardRoot<T extends ElementType = 'article'>({ className, children, as,
|
|
19
|
-
export declare function useCategoryCard(): CategoryCardContext;
|
|
20
|
-
export {};
|
|
8
|
+
export declare function CategoryCardRoot<T extends ElementType = 'article'>({ className, children, as, aspectRatio, textSize, showOverlay, ...props }: CategoryCardRootProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
21
9
|
//# sourceMappingURL=category-card-root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category-card-root.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-root.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"category-card-root.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-root.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAIzD,MAAM,MAAM,qBAAqB,CAAC,CAAC,SAAS,WAAW,GAAG,SAAS,IAAI,IAAI,CACzE,cAAc,CAAC,CAAC,CAAC,EACjB,IAAI,CACL,GAAG;IACF,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,WAAW,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IACpC,QAAQ,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;IACpD,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAEF,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,WAAW,GAAG,SAAS,EAAE,EAClE,SAAS,EACT,QAAQ,EACR,EAAE,EACF,WAAmB,EACnB,QAAkB,EAClB,WAAkB,EAClB,GAAG,KAAK,EACT,EAAE,qBAAqB,CAAC,CAAC,CAAC,2CAuB1B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category-card-skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"category-card-skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAK5C,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE9D,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,yBAAyB,2CAiBtF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category-card-thumbnail.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-thumbnail.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"category-card-thumbnail.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-thumbnail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,0BAA0B,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE/D,wBAAgB,qBAAqB,CAAC,EACpC,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,0BAA0B,2CAqB5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"category-card-title.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-title.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"category-card-title.d.ts","sourceRoot":"","sources":["../../../../src/components/category-card/primitives/category-card-title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAE1D,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,2CAyB1F"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { CategoryCardRoot as Root, type CategoryCardRootProps as RootProps,
|
|
1
|
+
export { CategoryCardRoot as Root, type CategoryCardRootProps as RootProps, } from './primitives/category-card-root';
|
|
2
2
|
export { CategoryCardIcon as Icon, type CategoryCardIconProps as IconProps, } from './primitives/category-card-icon';
|
|
3
3
|
export { CategoryCardThumbnail as Thumbnail, type CategoryCardThumbnailProps as ThumbnailProps, } from './primitives/category-card-thumbnail';
|
|
4
4
|
export { CategoryCardImage as Image, type CategoryCardImageProps as ImageProps, } from './primitives/category-card-image';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../src/components/category-card/primitives.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,IAAI,EACxB,KAAK,qBAAqB,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../src/components/category-card/primitives.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,IAAI,EACxB,KAAK,qBAAqB,IAAI,SAAS,GACxC,MAAM,0DAA0D,CAAC;AAElE,OAAO,EACL,gBAAgB,IAAI,IAAI,EACxB,KAAK,qBAAqB,IAAI,SAAS,GACxC,MAAM,0DAA0D,CAAC;AAElE,OAAO,EACL,qBAAqB,IAAI,SAAS,EAClC,KAAK,0BAA0B,IAAI,cAAc,GAClD,MAAM,+DAA+D,CAAC;AAEvE,OAAO,EACL,iBAAiB,IAAI,KAAK,EAC1B,KAAK,sBAAsB,IAAI,UAAU,GAC1C,MAAM,2DAA2D,CAAC;AAEnE,OAAO,EACL,oBAAoB,IAAI,QAAQ,EAChC,KAAK,yBAAyB,IAAI,aAAa,GAChD,MAAM,8DAA8D,CAAC;AAEtE,OAAO,EACL,mBAAmB,IAAI,OAAO,EAC9B,KAAK,wBAAwB,IAAI,YAAY,GAC9C,MAAM,6DAA6D,CAAC;AAErE,OAAO,EACL,iBAAiB,IAAI,KAAK,EAC1B,KAAK,sBAAsB,IAAI,UAAU,GAC1C,MAAM,2DAA2D,CAAC;AAEnE,OAAO,EACL,gBAAgB,IAAI,IAAI,EACxB,KAAK,qBAAqB,IAAI,SAAS,GACxC,MAAM,0DAA0D,CAAC;AAElE,OAAO,EACL,oBAAoB,IAAI,QAAQ,EAChC,KAAK,yBAAyB,IAAI,aAAa,GAChD,MAAM,8DAA8D,CAAC"}
|
|
@@ -30,6 +30,6 @@ export interface PriceProps extends PricePrimitive.RootProps {
|
|
|
30
30
|
* }
|
|
31
31
|
* ```
|
|
32
32
|
*/
|
|
33
|
-
export declare function Price({ className,
|
|
33
|
+
export declare function Price({ className, price, ...props }: PriceProps): import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
export {};
|
|
35
35
|
//# sourceMappingURL=price.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"price.d.ts","sourceRoot":"","sources":["../../../src/components/price/price.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,oBAAoB,CAAC;AAErD,UAAU,YAAY;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,UAAU;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,KAAK,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,SAAS,CAAC;AAEvD,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,SAAS;IAC1D,KAAK,EAAE,SAAS,CAAC;CAClB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"price.d.ts","sourceRoot":"","sources":["../../../src/components/price/price.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,cAAc,MAAM,oBAAoB,CAAC;AAErD,UAAU,YAAY;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,UAAU,UAAU;IAClB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,KAAK,SAAS,GAAG,YAAY,GAAG,UAAU,GAAG,SAAS,CAAC;AAEvD,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,SAAS;IAC1D,KAAK,EAAE,SAAS,CAAC;CAClB;AAED;;;;;;;;;;;;GAYG;AACH,wBAAgB,KAAK,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,UAAU,2CAmB/D"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
|
-
export type PriceRootProps = ComponentProps<'div'
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
export declare function PriceRoot({ className, colorScheme, children, ...props }: PriceRootProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export type PriceRootProps = ComponentProps<'div'>;
|
|
3
|
+
export declare function PriceRoot({ className, children, ...props }: PriceRootProps): import("react/jsx-runtime").JSX.Element;
|
|
6
4
|
//# sourceMappingURL=price-root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"price-root.d.ts","sourceRoot":"","sources":["../../../../src/components/price/primitives/price-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"price-root.d.ts","sourceRoot":"","sources":["../../../../src/components/price/primitives/price-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAEnD,wBAAgB,SAAS,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,2CAa1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card-checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-checkbox.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-card-checkbox.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGjD,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEvE,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,2CAEpF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card-fallback.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-fallback.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-card-fallback.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-fallback.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE7D,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,2CAa9F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card-image.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-image.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-card-image.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-image.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,WAAW,qBAAsB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAClE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,SAAS,EACT,QAAQ,EACR,OAAe,EACf,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAavB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card-label.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-label.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-card-label.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAG3C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC;AAEjE,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAUxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card-link.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-link.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-card-link.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-link.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,WAAW,oBAAqB,SAAQ,cAAc,CAAC,GAAG,CAAC;IAC/D,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,eAAe,CAAC,EAAE,OAAe,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,2CAa7F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card-price.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-price.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"product-card-price.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-price.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAG3C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,KAAK,CAAC,CAAC;AAEjE,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CASrF"}
|
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
import type { ComponentProps, ElementType } from 'react';
|
|
2
|
-
interface ProductCardContext {
|
|
3
|
-
colorScheme: 'light' | 'dark';
|
|
4
|
-
aspectRatio: '5:6' | '3:4' | '1:1';
|
|
5
|
-
}
|
|
6
|
-
export declare const ProductCardContext: import("react").Context<ProductCardContext | undefined>;
|
|
7
2
|
export type ProductCardRootProps<E extends ElementType = 'article'> = Omit<ComponentProps<E>, 'as'> & {
|
|
8
3
|
as?: E;
|
|
9
|
-
|
|
10
|
-
aspectRatio?: '5:6' | '3:4' | '1:1';
|
|
4
|
+
aspectRatio?: '5/6' | '3/4' | '1/1';
|
|
11
5
|
};
|
|
12
|
-
export declare function ProductCardRoot<T extends ElementType = 'article'>({ className, children, as,
|
|
13
|
-
export declare function useProductCard(): ProductCardContext;
|
|
14
|
-
export {};
|
|
6
|
+
export declare function ProductCardRoot<T extends ElementType = 'article'>({ className, children, as, aspectRatio, ...props }: ProductCardRootProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
15
7
|
//# sourceMappingURL=product-card-root.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card-root.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-root.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-card-root.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-root.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAIzD,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,WAAW,GAAG,SAAS,IAAI,IAAI,CACxE,cAAc,CAAC,CAAC,CAAC,EACjB,IAAI,CACL,GAAG;IACF,EAAE,CAAC,EAAE,CAAC,CAAC;IACP,WAAW,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;CACrC,CAAC;AAEF,wBAAgB,eAAe,CAAC,CAAC,SAAS,WAAW,GAAG,SAAS,EAAE,EACjE,SAAS,EACT,QAAQ,EACR,EAAE,EACF,WAAmB,EACnB,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,CAAC,CAAC,2CAgBzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card-skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"product-card-skeleton.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,iBAAiB,MAAM,uBAAuB,CAAC;AAG3D,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC;AAErF,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,2CAoBpF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card-subtitle.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-subtitle.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-card-subtitle.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-subtitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,MAAM,CAAC,CAAC;AAE9D,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,2CAa9F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card-thumbnail.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-thumbnail.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-card-thumbnail.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-thumbnail.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAE9D,wBAAgB,oBAAoB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,yBAAyB,2CAgBhG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card-title.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-title.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"product-card-title.d.ts","sourceRoot":"","sources":["../../../../src/components/product-card/primitives/product-card-title.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAI5C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;AAEzD,wBAAgB,gBAAgB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,2CAaxF"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ProductCardRoot as Root, type ProductCardRootProps as RootProps,
|
|
1
|
+
export { ProductCardRoot as Root, type ProductCardRootProps as RootProps, } from './primitives/product-card-root';
|
|
2
2
|
export { ProductCardContent as Content, type ProductCardContentProps as ContentProps, } from './primitives/product-card-content';
|
|
3
3
|
export { ProductCardPreview as Preview, type ProductCardPreviewProps as PreviewProps, } from './primitives/product-card-preview';
|
|
4
4
|
export { ProductCardThumbnail as Thumbnail, type ProductCardThumbnailProps as ThumbnailProps, } from './primitives/product-card-thumbnail';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../src/components/product-card/primitives.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,IAAI,IAAI,EACvB,KAAK,oBAAoB,IAAI,SAAS,
|
|
1
|
+
{"version":3,"file":"primitives.d.ts","sourceRoot":"","sources":["../../../src/components/product-card/primitives.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,IAAI,IAAI,EACvB,KAAK,oBAAoB,IAAI,SAAS,GACvC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,kBAAkB,IAAI,OAAO,EAC7B,KAAK,uBAAuB,IAAI,YAAY,GAC7C,MAAM,2DAA2D,CAAC;AACnE,OAAO,EACL,kBAAkB,IAAI,OAAO,EAC7B,KAAK,uBAAuB,IAAI,YAAY,GAC7C,MAAM,2DAA2D,CAAC;AACnE,OAAO,EACL,oBAAoB,IAAI,SAAS,EACjC,KAAK,yBAAyB,IAAI,cAAc,GACjD,MAAM,6DAA6D,CAAC;AACrE,OAAO,EACL,gBAAgB,IAAI,KAAK,EACzB,KAAK,qBAAqB,IAAI,UAAU,GACzC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,gBAAgB,IAAI,KAAK,EACzB,KAAK,qBAAqB,IAAI,UAAU,GACzC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,mBAAmB,IAAI,QAAQ,EAC/B,KAAK,wBAAwB,IAAI,aAAa,GAC/C,MAAM,4DAA4D,CAAC;AACpE,OAAO,EACL,eAAe,IAAI,IAAI,EACvB,KAAK,oBAAoB,IAAI,SAAS,GACvC,MAAM,wDAAwD,CAAC;AAChE,OAAO,EACL,kBAAkB,IAAI,OAAO,EAC7B,KAAK,uBAAuB,IAAI,YAAY,GAC7C,MAAM,2DAA2D,CAAC;AACnE,OAAO,EACL,iBAAiB,IAAI,MAAM,EAC3B,KAAK,sBAAsB,IAAI,WAAW,GAC3C,MAAM,0DAA0D,CAAC;AAClE,OAAO,EACL,gBAAgB,IAAI,KAAK,EACzB,KAAK,qBAAqB,IAAI,UAAU,GACzC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,mBAAmB,IAAI,QAAQ,EAC/B,KAAK,wBAAwB,IAAI,aAAa,GAC/C,MAAM,4DAA4D,CAAC;AACpE,OAAO,EACL,gBAAgB,IAAI,KAAK,EACzB,KAAK,qBAAqB,IAAI,UAAU,GACzC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,mBAAmB,IAAI,QAAQ,EAC/B,KAAK,wBAAwB,IAAI,aAAa,GAC/C,MAAM,4DAA4D,CAAC;AACpE,OAAO,EACL,kBAAkB,IAAI,OAAO,EAC7B,KAAK,uBAAuB,IAAI,YAAY,GAC7C,MAAM,2DAA2D,CAAC;AACnE,OAAO,EACL,mBAAmB,IAAI,QAAQ,EAC/B,KAAK,wBAAwB,IAAI,aAAa,GAC/C,MAAM,4DAA4D,CAAC;AACpE,OAAO,EACL,gBAAgB,IAAI,KAAK,EACzB,KAAK,qBAAqB,IAAI,UAAU,GACzC,MAAM,yDAAyD,CAAC"}
|
|
@@ -23,8 +23,7 @@ interface CompareActions {
|
|
|
23
23
|
}
|
|
24
24
|
export interface ProductCardProps {
|
|
25
25
|
className?: string;
|
|
26
|
-
|
|
27
|
-
aspectRatio?: '5:6' | '3:4' | '1:1';
|
|
26
|
+
aspectRatio?: '5/6' | '3/4' | '1/1';
|
|
28
27
|
compareActions?: CompareActions;
|
|
29
28
|
product: Product;
|
|
30
29
|
}
|
|
@@ -49,6 +48,6 @@ export interface ProductCardProps {
|
|
|
49
48
|
* }
|
|
50
49
|
* ```
|
|
51
50
|
*/
|
|
52
|
-
export declare function ProductCard({ product: { title, subtitle, badge, price, image, link },
|
|
51
|
+
export declare function ProductCard({ product: { title, subtitle, badge, price, image, link }, className, aspectRatio, compareActions, }: ProductCardProps): import("react/jsx-runtime").JSX.Element;
|
|
53
52
|
export {};
|
|
54
53
|
//# sourceMappingURL=product-card.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-card.d.ts","sourceRoot":"","sources":["../../../src/components/product-card/product-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGrD,UAAU,OAAO;IACf,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,KAAK,CAAC,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,cAAc;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,eAAe,KAAK,IAAI,CAAC;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"product-card.d.ts","sourceRoot":"","sources":["../../../src/components/product-card/product-card.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGrD,UAAU,OAAO;IACf,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,KAAK,CAAC,EAAE;QACN,GAAG,EAAE,MAAM,CAAC;QACZ,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;IACF,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,CAAC,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,cAAc;IACtB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,GAAG,eAAe,KAAK,IAAI,CAAC;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,gBAAgB;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,KAAK,GAAG,KAAK,GAAG,KAAK,CAAC;IACpC,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,EACvD,SAAS,EACT,WAAmB,EACnB,cAAc,GACf,EAAE,gBAAgB,2CAkClB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range-input.d.ts","sourceRoot":"","sources":["../../../src/components/range-input/range-input.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAM9C,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,
|
|
1
|
+
{"version":3,"file":"range-input.d.ts","sourceRoot":"","sources":["../../../src/components/range-input/range-input.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAM9C,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,eAAe;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,eAAe,CAAC;IAC5B,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,GAAG,EAAE,MAAM,GAAG,IAAI,CAAA;KAAE,KAAK,IAAI,CAAC;IACtE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,EAAE,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAClF,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAC;CAClD;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM,KAAG,MAAM,GAAG,IAIxD,CAAC;AAEF,wBAAgB,UAAU,CAAC,EACzB,UAAoB,EACpB,QAAgB,EAChB,UAAU,EACV,GAAS,EACT,OAAe,EACf,cAAsB,EACtB,UAAiB,EACjB,OAAW,EACX,GAAO,EACP,OAAe,EACf,cAAsB,EACtB,UAAiB,EACjB,OAAW,EACX,OAAO,EACP,WAAW,EACX,aAAa,GACd,EAAE,eAAe,2CAuDjB"}
|