@trafilea/afrodita-components 5.0.0-beta.46 → 5.0.0-beta.49

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 CHANGED
@@ -102,6 +102,7 @@ declare type Filter = {
102
102
  title: string;
103
103
  columns: number;
104
104
  isOpenByDefault?: boolean;
105
+ isMultiselect: boolean;
105
106
  items: Array<{
106
107
  label: string;
107
108
  checked?: boolean;
@@ -149,6 +150,12 @@ declare const Close: ({ height, width, fill }: IconProps) => JSX.Element;
149
150
 
150
151
  declare const Trash: ({ height, width, fill }: IconProps) => JSX.Element;
151
152
 
153
+ declare const Warning: ({ height, width, fill }: IconProps) => JSX.Element;
154
+
155
+ declare const Edit: ({ height, width, fill }: IconProps) => JSX.Element;
156
+
157
+ declare const SignOut: ({ height, width, fill }: IconProps) => JSX.Element;
158
+
152
159
  declare const Actions_Check: typeof Check;
153
160
  declare const Actions_ClearLight: typeof ClearLight;
154
161
  declare const Actions_LightExclamation: typeof LightExclamation;
@@ -157,6 +164,9 @@ declare const Actions_LightCheck: typeof LightCheck;
157
164
  declare const Actions_Question: typeof Question;
158
165
  declare const Actions_Close: typeof Close;
159
166
  declare const Actions_Trash: typeof Trash;
167
+ declare const Actions_Warning: typeof Warning;
168
+ declare const Actions_Edit: typeof Edit;
169
+ declare const Actions_SignOut: typeof SignOut;
160
170
  declare namespace Actions {
161
171
  export {
162
172
  Actions_Check as Check,
@@ -167,6 +177,9 @@ declare namespace Actions {
167
177
  Actions_Question as Question,
168
178
  Actions_Close as Close,
169
179
  Actions_Trash as Trash,
180
+ Actions_Warning as Warning,
181
+ Actions_Edit as Edit,
182
+ Actions_SignOut as SignOut,
170
183
  };
171
184
  }
172
185
 
@@ -183,11 +196,14 @@ declare const McAfee: ({ height, width }: IconProps) => JSX.Element;
183
196
 
184
197
  declare const GetDiscount: ({ height, width }: IconProps) => JSX.Element;
185
198
 
199
+ declare const ShapermintLogo: ({ height, width, fill }: IconProps) => JSX.Element;
200
+
186
201
  type Other_LoadingProps = LoadingProps;
187
202
  declare const Other_Loading: typeof Loading;
188
203
  declare const Other_Shapermint: typeof Shapermint;
189
204
  declare const Other_McAfee: typeof McAfee;
190
205
  declare const Other_GetDiscount: typeof GetDiscount;
206
+ declare const Other_ShapermintLogo: typeof ShapermintLogo;
191
207
  declare namespace Other {
192
208
  export {
193
209
  FitPredictor$1 as FitPredictor,
@@ -196,6 +212,7 @@ declare namespace Other {
196
212
  Other_Shapermint as Shapermint,
197
213
  Other_McAfee as McAfee,
198
214
  Other_GetDiscount as GetDiscount,
215
+ Other_ShapermintLogo as ShapermintLogo,
199
216
  };
200
217
  }
201
218
 
@@ -252,6 +269,10 @@ declare const Stopwatch: ({ height, width, fill, title }: IconProps) => JSX.Elem
252
269
 
253
270
  declare const Shipping: ({ height, width, fill }: IconProps) => JSX.Element;
254
271
 
272
+ declare const LightBulb: ({ height, width, fill }: IconProps) => JSX.Element;
273
+
274
+ declare const ErrorCross: ({ height, width, fill }: IconProps) => JSX.Element;
275
+
255
276
  declare const PDP_Clock: typeof Clock;
256
277
  declare const PDP_FlagUSA: typeof FlagUSA;
257
278
  declare const PDP_Minus: typeof Minus;
@@ -262,6 +283,8 @@ declare const PDP_StarEmpty: typeof StarEmpty;
262
283
  declare const PDP_StarHalf: typeof StarHalf;
263
284
  declare const PDP_Stopwatch: typeof Stopwatch;
264
285
  declare const PDP_Shipping: typeof Shipping;
286
+ declare const PDP_LightBulb: typeof LightBulb;
287
+ declare const PDP_ErrorCross: typeof ErrorCross;
265
288
  declare namespace PDP {
266
289
  export {
267
290
  PDP_Clock as Clock,
@@ -274,6 +297,8 @@ declare namespace PDP {
274
297
  PDP_StarHalf as StarHalf,
275
298
  PDP_Stopwatch as Stopwatch,
276
299
  PDP_Shipping as Shipping,
300
+ PDP_LightBulb as LightBulb,
301
+ PDP_ErrorCross as ErrorCross,
277
302
  };
278
303
  }
279
304
 
@@ -322,12 +347,21 @@ declare const MapMarker: ({ height, width, fill }: IconProps) => JSX.Element;
322
347
 
323
348
  declare const Hamburger: FC<IconProps>;
324
349
 
350
+ declare const AddressInformation: ({ height, width, fill }: IconProps) => JSX.Element;
351
+
352
+ declare const ClubMembership: ({ height, width, fill }: IconProps) => JSX.Element;
353
+
354
+ declare const Benefits: ({ height, width, fill }: IconProps) => JSX.Element;
355
+
325
356
  declare const Navigation_Search: typeof Search;
326
357
  declare const Navigation_User: typeof User;
327
358
  declare const Navigation_ShoppingBag: typeof ShoppingBag;
328
359
  declare const Navigation_ShoppingCart: typeof ShoppingCart;
329
360
  declare const Navigation_MapMarker: typeof MapMarker;
330
361
  declare const Navigation_Hamburger: typeof Hamburger;
362
+ declare const Navigation_AddressInformation: typeof AddressInformation;
363
+ declare const Navigation_ClubMembership: typeof ClubMembership;
364
+ declare const Navigation_Benefits: typeof Benefits;
331
365
  declare namespace Navigation {
332
366
  export {
333
367
  Navigation_Search as Search,
@@ -336,6 +370,9 @@ declare namespace Navigation {
336
370
  Navigation_ShoppingCart as ShoppingCart,
337
371
  Navigation_MapMarker as MapMarker,
338
372
  Navigation_Hamburger as Hamburger,
373
+ Navigation_AddressInformation as AddressInformation,
374
+ Navigation_ClubMembership as ClubMembership,
375
+ Navigation_Benefits as Benefits,
339
376
  };
340
377
  }
341
378
 
@@ -803,6 +840,12 @@ declare type ThemeComponent = {
803
840
  lineHeight: string;
804
841
  border: string;
805
842
  boxShadow: string;
843
+ errorBorder: string;
844
+ };
845
+ inputPlaceholder: {
846
+ fontSize: string;
847
+ padding: string;
848
+ focusBorder: string;
806
849
  };
807
850
  inputCustom: {
808
851
  button: {
@@ -1163,6 +1206,9 @@ interface BaseInputCommmonProps {
1163
1206
  required?: string;
1164
1207
  children?: React.ReactNode;
1165
1208
  size?: 'regular' | 'small';
1209
+ inlinePlaceholder?: boolean;
1210
+ hasError?: boolean;
1211
+ inputType?: 'text' | 'email' | 'password' | 'url';
1166
1212
  }
1167
1213
  interface BaseInputControlled extends BaseInputCommmonProps {
1168
1214
  value: string;
@@ -1211,7 +1257,7 @@ declare type CustomProps = BaseInputProps & {
1211
1257
  };
1212
1258
 
1213
1259
  declare const Input: {
1214
- Simple: ({ value, onChange, defaultValue, label, children, required, onValidation, size, ...rest }: BaseInputProps) => JSX.Element;
1260
+ Simple: ({ value, onChange, defaultValue, label, children, required, onValidation, size, placeholder, inlinePlaceholder, hasError, inputType, ...rest }: BaseInputProps) => JSX.Element;
1215
1261
  Custom: ({ onClick, text, variant, ...rest }: CustomProps) => JSX.Element;
1216
1262
  SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
1217
1263
  SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
@@ -1751,6 +1797,30 @@ interface SearchNavigationProps {
1751
1797
  }
1752
1798
  declare const SearchNavigation: ({ returnText, returnUrl, steps, returnAction, }: SearchNavigationProps) => JSX.Element;
1753
1799
 
1800
+ interface TabProps$1 {
1801
+ title: string;
1802
+ content: ReactNode;
1803
+ }
1804
+ interface TabsProps {
1805
+ backgroundColor?: string;
1806
+ initialSelected?: string;
1807
+ tabsMaxWidth?: string;
1808
+ tabs: TabProps$1[];
1809
+ }
1810
+ declare const Tabs: ({ backgroundColor, tabs, initialSelected, tabsMaxWidth, }: TabsProps) => JSX.Element | null;
1811
+
1812
+ interface TabProps {
1813
+ title: string;
1814
+ titleSize?: string;
1815
+ selectedTitleWeight?: number;
1816
+ height?: string;
1817
+ selected?: boolean;
1818
+ color?: string;
1819
+ tabsMaxWidth?: string;
1820
+ onClick: (clickedTab: string) => void;
1821
+ }
1822
+ declare const Tab: ({ title, titleSize, height, selectedTitleWeight, selected, onClick, color, tabsMaxWidth, }: TabProps) => JSX.Element;
1823
+
1754
1824
  declare global {
1755
1825
  interface Events {
1756
1826
  modal: {
@@ -1790,4 +1860,4 @@ declare const formatPrice: (value: number, { locale, currency }?: {
1790
1860
  currency?: string | undefined;
1791
1861
  }) => string;
1792
1862
 
1793
- 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, Filters, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, Modal, MultiColorPicker, OfferBanner, OrderBar, Overlay, PackSelector, Pagination, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, Rating, Review, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, Text, TextButton, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, decimalFormat, formatPrice, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, modalEvent, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
1863
+ 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, Filters, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, Modal, MultiColorPicker, OfferBanner, OrderBar, Overlay, PackSelector, Pagination, Pattern, PaymentMethod, PaypalButton, Portal, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, QuantityPicker, RadioGroupInput, RadioGroupOption, RadioInput, Rating, Review, ScrollToTop, SearchBar, SearchBarOptionItem, SearchNavigation, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spacing, Spinner, StarList, Tab, Tabs, Text, TextButton, Theme, ThemeAssets, ThemeBasicPallete, ThemeBreakpoints, ThemeColorPallete, ThemeColors, ThemeComponent, ThemeFonts, ThemeProvider, ThemeTypography, ThemeVariables, Timer, Tooltip, Totals, WithTestId, decimalFormat, formatPrice, isEmail, isEmpty, isNumber, isPhoneNumber, isValidDate, modalEvent, simulateMouseClick, sliceString, useModal, useModalEvent, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };