@trafilea/afrodita-components 4.0.2-beta.16 → 4.0.2-beta.17
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 +18 -3
- package/build/index.esm.js +312 -275
- package/build/index.esm.js.map +1 -1
- package/build/index.js +312 -274
- package/build/index.js.map +1 -1
- package/build/theme/shapermint.theme.js +7 -7
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { FC, ReactNode, ElementType, CSSProperties, AriaAttributes, AnchorHTMLAttributes, LabelHTMLAttributes, RefObject } from 'react';
|
|
3
3
|
import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
|
|
4
4
|
import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
|
|
5
5
|
import * as _emotion_styled from '@emotion/styled';
|
|
@@ -296,18 +296,26 @@ declare const User: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
|
296
296
|
|
|
297
297
|
declare const ShoppingBag: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
298
298
|
|
|
299
|
+
declare const ShoppingCart: FC<IconProps>;
|
|
300
|
+
|
|
299
301
|
declare const MapMarker: ({ height, width, fill }: IconProps) => JSX.Element;
|
|
300
302
|
|
|
303
|
+
declare const Hamburger: FC<IconProps>;
|
|
304
|
+
|
|
301
305
|
declare const Navigation_Search: typeof Search;
|
|
302
306
|
declare const Navigation_User: typeof User;
|
|
303
307
|
declare const Navigation_ShoppingBag: typeof ShoppingBag;
|
|
308
|
+
declare const Navigation_ShoppingCart: typeof ShoppingCart;
|
|
304
309
|
declare const Navigation_MapMarker: typeof MapMarker;
|
|
310
|
+
declare const Navigation_Hamburger: typeof Hamburger;
|
|
305
311
|
declare namespace Navigation {
|
|
306
312
|
export {
|
|
307
313
|
Navigation_Search as Search,
|
|
308
314
|
Navigation_User as User,
|
|
309
315
|
Navigation_ShoppingBag as ShoppingBag,
|
|
316
|
+
Navigation_ShoppingCart as ShoppingCart,
|
|
310
317
|
Navigation_MapMarker as MapMarker,
|
|
318
|
+
Navigation_Hamburger as Hamburger,
|
|
311
319
|
};
|
|
312
320
|
}
|
|
313
321
|
|
|
@@ -1233,13 +1241,14 @@ interface ProductOrderItemProps {
|
|
|
1233
1241
|
src: string;
|
|
1234
1242
|
alt: string;
|
|
1235
1243
|
};
|
|
1244
|
+
quantity?: number;
|
|
1236
1245
|
price: Price;
|
|
1237
1246
|
tag?: {
|
|
1238
1247
|
text: string;
|
|
1239
1248
|
backgroundColor: string;
|
|
1240
1249
|
};
|
|
1241
1250
|
}
|
|
1242
|
-
declare const SimpleOrderItem: ({ title, subtitle, image, price, tag }: ProductOrderItemProps) => JSX.Element;
|
|
1251
|
+
declare const SimpleOrderItem: ({ title, subtitle, image, price, tag, quantity, }: ProductOrderItemProps) => JSX.Element;
|
|
1243
1252
|
|
|
1244
1253
|
interface ReviewProps {
|
|
1245
1254
|
reviewerName: string;
|
|
@@ -1584,6 +1593,12 @@ declare const CartProductItem: {
|
|
|
1584
1593
|
CloseButton: ({ onClick }: CloseButtonProps) => JSX.Element;
|
|
1585
1594
|
};
|
|
1586
1595
|
|
|
1596
|
+
interface QuantityPickerProps {
|
|
1597
|
+
initialValue?: number;
|
|
1598
|
+
maxValue?: number;
|
|
1599
|
+
}
|
|
1600
|
+
declare const QuantityPicker: ({ initialValue, maxValue }: QuantityPickerProps) => JSX.Element;
|
|
1601
|
+
|
|
1587
1602
|
declare const useOnClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: Event) => void) => void;
|
|
1588
1603
|
|
|
1589
1604
|
declare const useWindowDimensions: (breakpoints: ThemeBreakpoints) => {
|
|
@@ -1594,4 +1609,4 @@ declare const useWindowDimensions: (breakpoints: ThemeBreakpoints) => {
|
|
|
1594
1609
|
};
|
|
1595
1610
|
};
|
|
1596
1611
|
|
|
1597
|
-
export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, Collection, Color, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, Modal, MultiColorPicker, OfferBanner, OrderBar, Overlay, Pagination, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, RadioGroupInput, RadioGroupOption, RadioInput, Rating, Review, ScrollToTop, SearchBar, SearchBarOptionItem, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spinner, StarList, Text, TextButton, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, modalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|
|
1612
|
+
export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, CartProductItem, CategoryTag, Checkbox, Collection, Color, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FilteringDropdown, Tags as FilteringTags, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, Modal, MultiColorPicker, OfferBanner, OrderBar, Overlay, Pagination, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, Rating, Review, ScrollToTop, SearchBar, SearchBarOptionItem, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spinner, StarList, Text, TextButton, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, modalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
|