@trafilea/afrodita-components 2.3.4 → 3.0.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/build/index.d.ts CHANGED
@@ -59,15 +59,19 @@ declare const Loading: ({ height, width, fill, backgroundColor }: LoadingProps)
59
59
 
60
60
  declare const Shapermint: ({ height, width }: IconProps) => JSX.Element;
61
61
 
62
+ declare const McAfee: ({ height, width }: IconProps) => JSX.Element;
63
+
62
64
  type Other_LoadingProps = LoadingProps;
63
65
  declare const Other_Loading: typeof Loading;
64
66
  declare const Other_Shapermint: typeof Shapermint;
67
+ declare const Other_McAfee: typeof McAfee;
65
68
  declare namespace Other {
66
69
  export {
67
70
  FitPredictor$1 as FitPredictor,
68
71
  Other_LoadingProps as LoadingProps,
69
72
  Other_Loading as Loading,
70
73
  Other_Shapermint as Shapermint,
74
+ Other_McAfee as McAfee,
71
75
  };
72
76
  }
73
77
 
@@ -313,47 +317,114 @@ declare enum InputValidationType {
313
317
  }
314
318
 
315
319
  interface Theme {
316
- palette: {
317
- primary: {
318
- default: string;
319
- hover: string;
320
- pressed: string;
320
+ name: string;
321
+ colors: {
322
+ primary: string;
323
+ secondary: string;
324
+ black: string;
325
+ white: string;
326
+ neutral10: string;
327
+ neutral50: string;
328
+ neutral100: string;
329
+ neutral150: string;
330
+ neutral200: string;
331
+ neutral250: string;
332
+ neutral300: string;
333
+ neutral350: string;
334
+ neutral400: string;
335
+ neutral450: string;
336
+ neutral500: string;
337
+ neutral550: string;
338
+ neutral600: string;
339
+ neutral650: string;
340
+ neutral700: string;
341
+ neutral750: string;
342
+ neutral800: string;
343
+ neutral850: string;
344
+ neutral900: string;
345
+ neutral950: string;
346
+ neutral990: string;
347
+ semantic: {
348
+ error: string;
349
+ success: string;
321
350
  };
322
- secondary: {
323
- default: string;
324
- hover: string;
325
- pressed: string;
351
+ border: {
352
+ disabled: string;
353
+ highlight: string;
354
+ };
355
+ background: {
356
+ disabled: string;
357
+ };
358
+ text: {
359
+ disabled: string;
326
360
  };
327
- };
328
- shades: {
329
- white: string;
330
- gray010: string;
331
- gray050: string;
332
- gray100: string;
333
- gray150: string;
334
- gray200: string;
335
- gray250: string;
336
- gray300: string;
337
- gray350: string;
338
- gray400: string;
339
- gray450: string;
340
- gray500: string;
341
- gray550: string;
342
- gray600: string;
343
- gray650: string;
344
- gray700: string;
345
- gray750: string;
346
- gray800: string;
347
- gray850: string;
348
- gray900: string;
349
- gray950: string;
350
- gray990: string;
351
361
  };
352
362
  text: {
353
363
  weight: {
354
364
  bold: number;
355
365
  };
356
366
  };
367
+ component: {
368
+ button: {
369
+ border: string;
370
+ borderRadius: string;
371
+ fontWeight: number;
372
+ size: {
373
+ small: {
374
+ fontSize: string;
375
+ padding: string;
376
+ };
377
+ medium: {
378
+ fontSize: string;
379
+ padding: string;
380
+ };
381
+ large: {
382
+ fontSize: string;
383
+ padding: string;
384
+ };
385
+ };
386
+ primary: {
387
+ active: {
388
+ backgroundColor: string;
389
+ color: string;
390
+ };
391
+ hover: {
392
+ backgroundColor: string;
393
+ color: string;
394
+ };
395
+ };
396
+ secondary: {
397
+ active: {
398
+ backgroundColor: string;
399
+ color: string;
400
+ };
401
+ hover: {
402
+ backgroundColor: string;
403
+ color: string;
404
+ };
405
+ };
406
+ };
407
+ input: {
408
+ background: string;
409
+ color: string;
410
+ placeholderColor: string;
411
+ borderRadius: string;
412
+ fontSize: string;
413
+ fontWeight: number;
414
+ padding: string;
415
+ lineHeight: string;
416
+ border: string;
417
+ boxShadow: string;
418
+ };
419
+ inputCustom: {
420
+ button: {
421
+ borderRadius: string;
422
+ };
423
+ input: {
424
+ borderRadius: string;
425
+ };
426
+ };
427
+ };
357
428
  }
358
429
  interface IconProps {
359
430
  width?: number;
@@ -1017,4 +1088,27 @@ interface StarListProps {
1017
1088
  }
1018
1089
  declare const StarList: ({ rating, starsNumber, fill, size, }: StarListProps) => _emotion_react_jsx_runtime.JSX.Element;
1019
1090
 
1020
- export { _default as Accordion, AccordionBox, AccordionIcon, AmazonPaypalButtons_d as AmazonAndPaypalButtons, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default$1 as Card, CardSectionType, CategoryTag, Checkbox, Collection, Color, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, index_d$1 as Input, InputValidationType, MultiColorPicker, OfferBanner, OrderBar, Pattern, PaymentMethod, PriceLabel, ProductGallery, ProgressBar, RadioGroupInput, RadioGroupOption, Rating, Review, ScrollToTop, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, StarList, TextButton, Theme, ThemeProvider, Timer, Tooltip, Totals, WithTestId };
1091
+ interface DrawerProps {
1092
+ children: React.ReactNode;
1093
+ isOpen: boolean;
1094
+ onClose?: () => void;
1095
+ onOpen?: () => void;
1096
+ onClickOutside?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
1097
+ backgroundColor?: string;
1098
+ backdropColor?: string;
1099
+ position?: 'left' | 'right';
1100
+ width?: string;
1101
+ }
1102
+ declare const Drawer: ({ children, isOpen, onClose, onOpen, backgroundColor, backdropColor, position, width, onClickOutside, }: DrawerProps) => JSX.Element | null;
1103
+
1104
+ interface SpinnerProps {
1105
+ fill: string;
1106
+ background: string;
1107
+ animationDuration?: number;
1108
+ complete?: boolean;
1109
+ completeIconStroke?: number;
1110
+ size?: string;
1111
+ }
1112
+ declare const Spinner: ({ fill, background, animationDuration, complete, completeIconStroke, size, }: SpinnerProps) => JSX.Element;
1113
+
1114
+ export { _default as Accordion, AccordionBox, AccordionIcon, AmazonPaypalButtons_d as AmazonAndPaypalButtons, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default$1 as Card, CardSectionType, CategoryTag, Checkbox, Collection, Color, ColorPickerOption, ComponentPosition, ComponentSize, index_d as CrossSell, DeliveryDetails, DiscountTag, Drawer, DropdownListIcons, DropdownListIconsItem, DropdownListIconsSubItem, DropdownOption, Filter, FilterChange, FitPredictor, Icon, IconButton, IconProps, IconWithOpacityProps, Image, ImageType, index_d$1 as Input, InputValidationType, MultiColorPicker, OfferBanner, OrderBar, Pattern, PaymentMethod, PriceLabel, ProductGallery, ProgressBar, RadioGroupInput, RadioGroupOption, Rating, Review, ScrollToTop, SeasonOfferTag, SimpleDropdown, SimpleOrderItem, SingleColorPicker, SizeFitGuide, SizeOption, SizeSelector, SizeTable, SliderNavigation, Spinner, StarList, TextButton, Theme, ThemeProvider, Timer, Tooltip, Totals, WithTestId };