@trafilea/afrodita-components 5.0.0-beta.29 → 5.0.0-beta.33
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/build/index.d.ts +12 -6
- package/build/index.esm.js +1992 -1988
- package/build/index.esm.js.map +1 -1
- package/build/index.js +1992 -1988
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
import { IconProps as IconProps$1 } from 'src/types/types';
|
|
3
3
|
import React, { FC, ReactNode, ElementType, CSSProperties, AriaAttributes, AnchorHTMLAttributes, LabelHTMLAttributes, RefObject } from 'react';
|
|
4
4
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
5
|
-
import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
|
|
6
5
|
import * as _emotion_styled from '@emotion/styled';
|
|
6
|
+
import { StyledComponent } from '@emotion/styled';
|
|
7
|
+
import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
|
|
7
8
|
import * as _emotion_react from '@emotion/react';
|
|
8
9
|
|
|
9
10
|
declare enum CardSectionType {
|
|
@@ -1338,19 +1339,22 @@ interface ReviewProps {
|
|
|
1338
1339
|
declare const Review: ({ reviewerName, date, rating, stars, title, description, image }: ReviewProps) => JSX.Element;
|
|
1339
1340
|
|
|
1340
1341
|
interface SliderNavigationProps {
|
|
1341
|
-
children: JSX.Element[]
|
|
1342
|
+
children: JSX.Element | JSX.Element[] | StyledComponent<any>;
|
|
1342
1343
|
infinite: boolean;
|
|
1343
1344
|
adaptiveHeight: boolean;
|
|
1344
|
-
dotsSize
|
|
1345
|
-
dotListMarginTop
|
|
1345
|
+
dotsSize?: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
|
|
1346
|
+
dotListMarginTop?: number;
|
|
1346
1347
|
initialSlide?: number;
|
|
1347
1348
|
arrows?: {
|
|
1348
1349
|
arrowWidth: number;
|
|
1349
1350
|
arrowHeight: number;
|
|
1350
1351
|
arrowPadding: number;
|
|
1351
1352
|
};
|
|
1353
|
+
dots?: boolean;
|
|
1354
|
+
slidesToShow?: number;
|
|
1355
|
+
speed?: number;
|
|
1352
1356
|
}
|
|
1353
|
-
declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1357
|
+
declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, dots, slidesToShow, speed, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
|
|
1354
1358
|
|
|
1355
1359
|
interface DropdownListIconsProps {
|
|
1356
1360
|
items: DropdownListIconsItem[];
|
|
@@ -1414,6 +1418,8 @@ interface ProductItemProps {
|
|
|
1414
1418
|
|
|
1415
1419
|
interface ProductItemSmallMobileProps extends ProductItemProps {
|
|
1416
1420
|
size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
|
|
1421
|
+
topTag?: JSX.Element;
|
|
1422
|
+
bottomTag?: JSX.Element;
|
|
1417
1423
|
onClick?: () => void;
|
|
1418
1424
|
}
|
|
1419
1425
|
|
|
@@ -1423,7 +1429,7 @@ declare function withProductGrid<P extends ProductItemProps>(ProductItemComponen
|
|
|
1423
1429
|
};
|
|
1424
1430
|
|
|
1425
1431
|
declare const Collection: {
|
|
1426
|
-
ProductItemMobile: ({ title, image, price, rating, size,
|
|
1432
|
+
ProductItemMobile: ({ title, image, price, rating, size, alignName, url, className, topTag, bottomTag, onClick, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
|
|
1427
1433
|
withProductGrid: typeof withProductGrid;
|
|
1428
1434
|
};
|
|
1429
1435
|
|