@trafilea/afrodita-components 4.0.2-beta.8 → 4.3.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.
Files changed (388) hide show
  1. package/build/index.d.ts +1066 -912
  2. package/build/index.esm.js +607 -358
  3. package/build/index.esm.js.map +1 -1
  4. package/build/index.js +625 -359
  5. package/build/index.js.map +1 -1
  6. package/build/{dts/core/theme/Theme.d.ts → theme/shapermint.theme.d.ts} +26 -25
  7. package/build/theme/shapermint.theme.js +30 -15
  8. package/build/theme/truekind.theme.d.ts +383 -0
  9. package/build/theme/truekind.theme.js +12 -2
  10. package/package.json +1 -1
  11. package/build/dts/components/Demo.stories.d.ts +0 -7
  12. package/build/dts/components/Icon-wrapper/IconWrapper.d.ts +0 -12
  13. package/build/dts/components/Icon-wrapper/IconWrapper.test.d.ts +0 -1
  14. package/build/dts/components/accordion/Accordion.d.ts +0 -13
  15. package/build/dts/components/accordion/Accordion.stories.d.ts +0 -9
  16. package/build/dts/components/accordion/Accordion.test.d.ts +0 -1
  17. package/build/dts/components/accordion/styles.d.ts +0 -16
  18. package/build/dts/components/bundle/index.d.ts +0 -5
  19. package/build/dts/components/bundle/minimalistic/Minimalistic.d.ts +0 -15
  20. package/build/dts/components/bundle/minimalistic/Minimalistic.stories.d.ts +0 -9
  21. package/build/dts/components/bundle/minimalistic/Minimalistic.test.d.ts +0 -1
  22. package/build/dts/components/bundle/simple/Simple.d.ts +0 -10
  23. package/build/dts/components/bundle/simple/Simple.stories.d.ts +0 -9
  24. package/build/dts/components/bundle/simple/Simple.test.d.ts +0 -1
  25. package/build/dts/components/cartProductItem/CloseIcon/Close.test.d.ts +0 -1
  26. package/build/dts/components/cartProductItem/CloseIcon/CloseButton.d.ts +0 -5
  27. package/build/dts/components/cartProductItem/CloseIcon/CloseButton.stories.d.ts +0 -9
  28. package/build/dts/components/cartProductItem/Description/Description.d.ts +0 -5
  29. package/build/dts/components/cartProductItem/Description/Description.stories.d.ts +0 -9
  30. package/build/dts/components/cartProductItem/Description/Description.test.d.ts +0 -1
  31. package/build/dts/components/cartProductItem/Promo/Promo.d.ts +0 -5
  32. package/build/dts/components/cartProductItem/Promo/Promo.stories.d.ts +0 -9
  33. package/build/dts/components/cartProductItem/Promo/Promo.test.d.ts +0 -1
  34. package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.d.ts +0 -5
  35. package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.stories.d.ts +0 -9
  36. package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.test.d.ts +0 -1
  37. package/build/dts/components/cartProductItem/Title/Title.d.ts +0 -5
  38. package/build/dts/components/cartProductItem/Title/Title.stories.d.ts +0 -9
  39. package/build/dts/components/cartProductItem/Title/Title.test.d.ts +0 -1
  40. package/build/dts/components/cartProductItem/index.d.ts +0 -8
  41. package/build/dts/components/checkbox/Checkbox.d.ts +0 -21
  42. package/build/dts/components/checkbox/Checkbox.stories.d.ts +0 -24
  43. package/build/dts/components/checkbox/Checkbox.test.d.ts +0 -1
  44. package/build/dts/components/checkbox/styles.d.ts +0 -9
  45. package/build/dts/components/collection/grid/WithProductGrid.d.ts +0 -11
  46. package/build/dts/components/collection/grid/WithProductGrid.stories.d.ts +0 -9
  47. package/build/dts/components/collection/grid/WithProductGrid.test.d.ts +0 -1
  48. package/build/dts/components/collection/index.d.ts +0 -5
  49. package/build/dts/components/collection/product/mobile/ProductItemMobile.d.ts +0 -7
  50. package/build/dts/components/collection/product/mobile/ProductItemMobile.stories.d.ts +0 -24
  51. package/build/dts/components/collection/product/mobile/ProductItemMobile.test.d.ts +0 -1
  52. package/build/dts/components/collection/product/types.d.ts +0 -14
  53. package/build/dts/components/color/ColorRadioGroup.d.ts +0 -25
  54. package/build/dts/components/color/MultiColorPicker.d.ts +0 -10
  55. package/build/dts/components/color/MultiColorPicker.stories.d.ts +0 -9
  56. package/build/dts/components/color/MultiColorPicker.test.d.ts +0 -1
  57. package/build/dts/components/color/SingleColorPicker.d.ts +0 -10
  58. package/build/dts/components/color/SingleColorPicker.stories.d.ts +0 -9
  59. package/build/dts/components/color/SingleColorPicker.test.d.ts +0 -1
  60. package/build/dts/components/color/selector/ColorSelector.d.ts +0 -15
  61. package/build/dts/components/color/selector/ColorSelector.stories.d.ts +0 -14
  62. package/build/dts/components/color/selector/ColorSelector.test.d.ts +0 -1
  63. package/build/dts/components/color/selector/OneColorSelector.d.ts +0 -8
  64. package/build/dts/components/color/selector/OutOfStock.d.ts +0 -6
  65. package/build/dts/components/color/selector/PatternSelector.d.ts +0 -8
  66. package/build/dts/components/color/selector/PatternSelector.test.d.ts +0 -1
  67. package/build/dts/components/color/selector/ThreeColorSelector.d.ts +0 -10
  68. package/build/dts/components/color/selector/TwoColorSelector.d.ts +0 -9
  69. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.d.ts +0 -13
  70. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.stories.d.ts +0 -9
  71. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.test.d.ts +0 -1
  72. package/build/dts/components/cross-sell/index.d.ts +0 -1
  73. package/build/dts/components/cta/BaseCTA.d.ts +0 -13
  74. package/build/dts/components/cta/BaseCTA.test.d.ts +0 -1
  75. package/build/dts/components/cta/index.d.ts +0 -3
  76. package/build/dts/components/cta/primary/ButtonPrimary.d.ts +0 -3
  77. package/build/dts/components/cta/primary/ButtonPrimary.stories.d.ts +0 -37
  78. package/build/dts/components/cta/primary/ButtonPrimary.test.d.ts +0 -1
  79. package/build/dts/components/cta/secondary/ButtonSecondary.d.ts +0 -3
  80. package/build/dts/components/cta/secondary/ButtonSecondary.stories.d.ts +0 -37
  81. package/build/dts/components/cta/secondary/ButtonSecondary.test.d.ts +0 -1
  82. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.d.ts +0 -3
  83. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.stories.d.ts +0 -37
  84. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.test.d.ts +0 -1
  85. package/build/dts/components/delivery-details/DeliveryDetails.d.ts +0 -26
  86. package/build/dts/components/delivery-details/DeliveryDetails.stories.d.ts +0 -9
  87. package/build/dts/components/delivery-details/DeliveryDetails.test.d.ts +0 -1
  88. package/build/dts/components/delivery-details/Note/Note.d.ts +0 -9
  89. package/build/dts/components/delivery-details/Note/Note.stories.d.ts +0 -9
  90. package/build/dts/components/delivery-details/Note/Note.test.d.ts +0 -1
  91. package/build/dts/components/drawer/Drawer.d.ts +0 -13
  92. package/build/dts/components/drawer/Drawer.stories.d.ts +0 -14
  93. package/build/dts/components/drawer/Drawer.test.d.ts +0 -1
  94. package/build/dts/components/dropdown/base/BaseDropdown.d.ts +0 -17
  95. package/build/dts/components/dropdown/base/BaseDropdownButton.d.ts +0 -12
  96. package/build/dts/components/dropdown/base/BaseDropdownOption.d.ts +0 -11
  97. package/build/dts/components/dropdown/base/BaseDropdownOptions.d.ts +0 -6
  98. package/build/dts/components/dropdown/variants/filtering/Filtering.test.d.ts +0 -1
  99. package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.d.ts +0 -13
  100. package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.stories.d.ts +0 -12
  101. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.d.ts +0 -20
  102. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.stories.d.ts +0 -13
  103. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.test.d.ts +0 -1
  104. package/build/dts/components/dropdown-list-icons/DropdownListIcons.d.ts +0 -6
  105. package/build/dts/components/dropdown-list-icons/DropdownListIcons.stories.d.ts +0 -9
  106. package/build/dts/components/dropdown-list-icons/DropdownListIcons.test.d.ts +0 -1
  107. package/build/dts/components/dropdown-list-icons/Styled.d.ts +0 -34
  108. package/build/dts/components/filtering/Accordion.d.ts +0 -8
  109. package/build/dts/components/filtering/Filters.d.ts +0 -15
  110. package/build/dts/components/filtering/Filters.stories.d.ts +0 -9
  111. package/build/dts/components/filtering/Filters.test.d.ts +0 -1
  112. package/build/dts/components/filtering/FiltersStyled.d.ts +0 -43
  113. package/build/dts/components/filtering/Tags/Tags.d.ts +0 -24
  114. package/build/dts/components/filtering/Tags/Tags.stories.d.ts +0 -9
  115. package/build/dts/components/filtering/Tags/Tags.test.d.ts +0 -1
  116. package/build/dts/components/fit/FitPredictor.d.ts +0 -5
  117. package/build/dts/components/fit/FitPredictor.stories.d.ts +0 -7
  118. package/build/dts/components/fit/FitPredictor.test.d.ts +0 -1
  119. package/build/dts/components/gallery/ImagePreviewList.d.ts +0 -9
  120. package/build/dts/components/gallery/ImagePreviewList.test.d.ts +0 -1
  121. package/build/dts/components/gallery/ImageProductWithTags.d.ts +0 -10
  122. package/build/dts/components/gallery/ImageProductWithTags.test.d.ts +0 -1
  123. package/build/dts/components/gallery/ImageSmallPreview.d.ts +0 -9
  124. package/build/dts/components/gallery/ImageSmallPreview.test.d.ts +0 -1
  125. package/build/dts/components/gallery/ProductGallery.d.ts +0 -12
  126. package/build/dts/components/gallery/ProductGallery.stories.d.ts +0 -9
  127. package/build/dts/components/gallery/ProductGallery.test.d.ts +0 -1
  128. package/build/dts/components/icon-button/IconButton.d.ts +0 -16
  129. package/build/dts/components/icon-button/IconButton.stories.d.ts +0 -23
  130. package/build/dts/components/icon-button/IconButton.test.d.ts +0 -1
  131. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.d.ts +0 -6
  132. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.stories.d.ts +0 -7
  133. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.test.d.ts +0 -1
  134. package/build/dts/components/icons/Actions/Check.d.ts +0 -3
  135. package/build/dts/components/icons/Actions/ClearLight.d.ts +0 -3
  136. package/build/dts/components/icons/Actions/Close.d.ts +0 -3
  137. package/build/dts/components/icons/Actions/LightCheck.d.ts +0 -6
  138. package/build/dts/components/icons/Actions/LightExclamation.d.ts +0 -3
  139. package/build/dts/components/icons/Actions/Question.d.ts +0 -3
  140. package/build/dts/components/icons/Actions/Trash.d.ts +0 -3
  141. package/build/dts/components/icons/Actions/index.d.ts +0 -7
  142. package/build/dts/components/icons/Arrows/ChevronDown.d.ts +0 -3
  143. package/build/dts/components/icons/Arrows/ChevronLeft.d.ts +0 -3
  144. package/build/dts/components/icons/Arrows/ChevronRight.d.ts +0 -3
  145. package/build/dts/components/icons/Arrows/ChevronRightVariant.d.ts +0 -3
  146. package/build/dts/components/icons/Arrows/ChevronUp.d.ts +0 -3
  147. package/build/dts/components/icons/Arrows/ChevronUpSolid.d.ts +0 -3
  148. package/build/dts/components/icons/Arrows/CircleUp.d.ts +0 -3
  149. package/build/dts/components/icons/Arrows/index.d.ts +0 -7
  150. package/build/dts/components/icons/Custom/SixtyDaysGuarantee.d.ts +0 -3
  151. package/build/dts/components/icons/Custom/index.d.ts +0 -1
  152. package/build/dts/components/icons/Download/AppleStore.d.ts +0 -3
  153. package/build/dts/components/icons/Download/GooglePlay.d.ts +0 -3
  154. package/build/dts/components/icons/Download/index.d.ts +0 -2
  155. package/build/dts/components/icons/Messaging/Comment.d.ts +0 -3
  156. package/build/dts/components/icons/Messaging/Mail.d.ts +0 -2
  157. package/build/dts/components/icons/Messaging/Message.d.ts +0 -8
  158. package/build/dts/components/icons/Messaging/Messenger.d.ts +0 -3
  159. package/build/dts/components/icons/Messaging/QuestionCircle.d.ts +0 -3
  160. package/build/dts/components/icons/Messaging/index.d.ts +0 -5
  161. package/build/dts/components/icons/Navigation/MapMarker.d.ts +0 -3
  162. package/build/dts/components/icons/Navigation/Search.d.ts +0 -3
  163. package/build/dts/components/icons/Navigation/ShoppingBag.d.ts +0 -3
  164. package/build/dts/components/icons/Navigation/User.d.ts +0 -3
  165. package/build/dts/components/icons/Navigation/index.d.ts +0 -4
  166. package/build/dts/components/icons/Other/FitPredictor.d.ts +0 -3
  167. package/build/dts/components/icons/Other/Loading.d.ts +0 -6
  168. package/build/dts/components/icons/Other/Shapermint.d.ts +0 -3
  169. package/build/dts/components/icons/Other/index.d.ts +0 -4
  170. package/build/dts/components/icons/Other/mcAfee.d.ts +0 -3
  171. package/build/dts/components/icons/PDP/Clock.d.ts +0 -3
  172. package/build/dts/components/icons/PDP/FlagUSA.d.ts +0 -3
  173. package/build/dts/components/icons/PDP/Minus.d.ts +0 -3
  174. package/build/dts/components/icons/PDP/Plus.d.ts +0 -3
  175. package/build/dts/components/icons/PDP/Rule.d.ts +0 -3
  176. package/build/dts/components/icons/PDP/Shipping.d.ts +0 -3
  177. package/build/dts/components/icons/PDP/Star.d.ts +0 -3
  178. package/build/dts/components/icons/PDP/StarEmpty.d.ts +0 -3
  179. package/build/dts/components/icons/PDP/StarHalf.d.ts +0 -3
  180. package/build/dts/components/icons/PDP/Stopwatch.d.ts +0 -3
  181. package/build/dts/components/icons/PDP/index.d.ts +0 -10
  182. package/build/dts/components/icons/Payment/Amazon.d.ts +0 -3
  183. package/build/dts/components/icons/Payment/Amex.d.ts +0 -3
  184. package/build/dts/components/icons/Payment/JCB.d.ts +0 -3
  185. package/build/dts/components/icons/Payment/Klarna.d.ts +0 -3
  186. package/build/dts/components/icons/Payment/MasterCard.d.ts +0 -3
  187. package/build/dts/components/icons/Payment/Paypal.d.ts +0 -3
  188. package/build/dts/components/icons/Payment/Visa.d.ts +0 -3
  189. package/build/dts/components/icons/Payment/index.d.ts +0 -7
  190. package/build/dts/components/icons/SlideDots/SlideDot.d.ts +0 -3
  191. package/build/dts/components/icons/SlideDots/index.d.ts +0 -1
  192. package/build/dts/components/icons/SocialMedia/Facebook.d.ts +0 -3
  193. package/build/dts/components/icons/SocialMedia/FacebookSolid.d.ts +0 -3
  194. package/build/dts/components/icons/SocialMedia/Instagram.d.ts +0 -3
  195. package/build/dts/components/icons/SocialMedia/InstagramSolid.d.ts +0 -3
  196. package/build/dts/components/icons/SocialMedia/Pinterest.d.ts +0 -3
  197. package/build/dts/components/icons/SocialMedia/Twitter.d.ts +0 -3
  198. package/build/dts/components/icons/SocialMedia/Youtube.d.ts +0 -3
  199. package/build/dts/components/icons/SocialMedia/index.d.ts +0 -7
  200. package/build/dts/components/icons/index.d.ts +0 -27
  201. package/build/dts/components/index.d.ts +0 -48
  202. package/build/dts/components/input/base/BaseInput.d.ts +0 -14
  203. package/build/dts/components/input/base/BaseInput.stories.d.ts +0 -9
  204. package/build/dts/components/input/base/BaseInput.test.d.ts +0 -1
  205. package/build/dts/components/input/base/Error.d.ts +0 -6
  206. package/build/dts/components/input/base/Styled.d.ts +0 -31
  207. package/build/dts/components/input/basePlusButton/BasePlusButton.d.ts +0 -13
  208. package/build/dts/components/input/basePlusButton/BasePlusButton.stories.d.ts +0 -9
  209. package/build/dts/components/input/basePlusButton/BasePlusButton.test.d.ts +0 -1
  210. package/build/dts/components/input/basePlusButton/Success.d.ts +0 -6
  211. package/build/dts/components/input/basePlusIcon/BasePlusIcon.d.ts +0 -7
  212. package/build/dts/components/input/basePlusIcon/BasePlusIcon.stories.d.ts +0 -9
  213. package/build/dts/components/input/basePlusIcon/BasePlusIcon.test.d.ts +0 -1
  214. package/build/dts/components/input/custom/Custom.d.ts +0 -8
  215. package/build/dts/components/input/custom/Custom.stories.d.ts +0 -9
  216. package/build/dts/components/input/custom/Custom.test.d.ts +0 -1
  217. package/build/dts/components/input/index.d.ts +0 -7
  218. package/build/dts/components/input/label/Label.d.ts +0 -15
  219. package/build/dts/components/input/label/Label.stories.d.ts +0 -9
  220. package/build/dts/components/input/label/Label.test.d.ts +0 -1
  221. package/build/dts/components/mobile/gallery/ImageProductWithTagsMobile.d.ts +0 -10
  222. package/build/dts/components/mobile/gallery/ProductGalleryMobile.d.ts +0 -12
  223. package/build/dts/components/mobile/gallery/ProductGalleryMobile.stories.d.ts +0 -8
  224. package/build/dts/components/mobile/gallery/ProductGalleryMobile.test.d.ts +0 -1
  225. package/build/dts/components/mobile/gallery/slide_navigation/ArrowButton.d.ts +0 -8
  226. package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.d.ts +0 -8
  227. package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.test.d.ts +0 -1
  228. package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.d.ts +0 -9
  229. package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.test.d.ts +0 -1
  230. package/build/dts/components/offer-banner/OfferBanner.d.ts +0 -15
  231. package/build/dts/components/offer-banner/OfferBanner.stories.d.ts +0 -9
  232. package/build/dts/components/offer-banner/OfferBanner.test.d.ts +0 -1
  233. package/build/dts/components/order-bar/OrderBar.d.ts +0 -17
  234. package/build/dts/components/order-bar/OrderBar.stories.d.ts +0 -9
  235. package/build/dts/components/order-bar/OrderBar.test.d.ts +0 -1
  236. package/build/dts/components/pagination/Pagination.d.ts +0 -11
  237. package/build/dts/components/pagination/Pagination.stories.d.ts +0 -9
  238. package/build/dts/components/pagination/Pagination.test.d.ts +0 -1
  239. package/build/dts/components/pagination/styles.d.ts +0 -29
  240. package/build/dts/components/payment-methods/PaymentMethod.d.ts +0 -20
  241. package/build/dts/components/payment-methods/PaymentMethod.stories.d.ts +0 -13
  242. package/build/dts/components/payment-methods/PaymentMethod.test.d.ts +0 -1
  243. package/build/dts/components/pricing/discount/DiscountTag.d.ts +0 -21
  244. package/build/dts/components/pricing/discount/DiscountTag.stories.d.ts +0 -23
  245. package/build/dts/components/pricing/discount/DiscountTag.test.d.ts +0 -1
  246. package/build/dts/components/pricing/index.d.ts +0 -2
  247. package/build/dts/components/pricing/price/PriceLabel.d.ts +0 -11
  248. package/build/dts/components/pricing/price/PriceLabel.stories.d.ts +0 -23
  249. package/build/dts/components/pricing/price/PriceLabel.test.d.ts +0 -1
  250. package/build/dts/components/product/order/item/SimpleOrderItem.d.ts +0 -20
  251. package/build/dts/components/product/order/item/SimpleOrderItem.stories.d.ts +0 -11
  252. package/build/dts/components/product/order/item/SimpleOrderItem.test.d.ts +0 -1
  253. package/build/dts/components/progress-bar/ProgressBar.d.ts +0 -8
  254. package/build/dts/components/progress-bar/ProgressBar.stories.d.ts +0 -8
  255. package/build/dts/components/progress-bar/ProgressBar.test.d.ts +0 -1
  256. package/build/dts/components/quantityPicker/QuantityPicker.d.ts +0 -6
  257. package/build/dts/components/quantityPicker/QuantityPicker.stories.d.ts +0 -9
  258. package/build/dts/components/quantityPicker/QuantityPicker.test.d.ts +0 -1
  259. package/build/dts/components/radio/container/group.d.ts +0 -12
  260. package/build/dts/components/radio/container/group.stories.d.ts +0 -23
  261. package/build/dts/components/radio/container/group.test.d.ts +0 -1
  262. package/build/dts/components/radio/index.d.ts +0 -1
  263. package/build/dts/components/radio/input/radio.d.ts +0 -13
  264. package/build/dts/components/radio/input/radio.stories.d.ts +0 -23
  265. package/build/dts/components/radio/input/radio.test.d.ts +0 -1
  266. package/build/dts/components/radio/input/styles.d.ts +0 -13
  267. package/build/dts/components/rating/Rating.d.ts +0 -9
  268. package/build/dts/components/rating/Rating.stories.d.ts +0 -24
  269. package/build/dts/components/rating/Rating.test.d.ts +0 -1
  270. package/build/dts/components/rating/starList/StarList.d.ts +0 -9
  271. package/build/dts/components/rating/starList/StarList.stories.d.ts +0 -24
  272. package/build/dts/components/rating/starList/StarList.test.d.ts +0 -1
  273. package/build/dts/components/rating/starList/styles.d.ts +0 -12
  274. package/build/dts/components/rating/styles.d.ts +0 -13
  275. package/build/dts/components/review/Review.d.ts +0 -19
  276. package/build/dts/components/review/Review.stories.d.ts +0 -9
  277. package/build/dts/components/review/Review.test.d.ts +0 -1
  278. package/build/dts/components/scroll-to-top/ScrollToTop.d.ts +0 -18
  279. package/build/dts/components/scroll-to-top/ScrollToTop.stories.d.ts +0 -9
  280. package/build/dts/components/scroll-to-top/ScrollToTop.test.d.ts +0 -1
  281. package/build/dts/components/search-bar/ClearButton.d.ts +0 -6
  282. package/build/dts/components/search-bar/ClearButton.test.d.ts +0 -1
  283. package/build/dts/components/search-bar/Footer.d.ts +0 -7
  284. package/build/dts/components/search-bar/Input.d.ts +0 -9
  285. package/build/dts/components/search-bar/ProductItem.d.ts +0 -8
  286. package/build/dts/components/search-bar/ProductItem.test.d.ts +0 -1
  287. package/build/dts/components/search-bar/ResultsPanel.d.ts +0 -12
  288. package/build/dts/components/search-bar/ResultsPanel.test.d.ts +0 -1
  289. package/build/dts/components/search-bar/SearchBar.d.ts +0 -11
  290. package/build/dts/components/search-bar/SearchBar.stories.d.ts +0 -7
  291. package/build/dts/components/search-bar/SearchBar.test.d.ts +0 -1
  292. package/build/dts/components/search-bar/SearchControl.d.ts +0 -7
  293. package/build/dts/components/search-bar/SearchControl.test.d.ts +0 -1
  294. package/build/dts/components/search-bar/index.d.ts +0 -1
  295. package/build/dts/components/selector/simple/SelectorSecondary.d.ts +0 -4
  296. package/build/dts/components/selector/simple/SelectorSecondary.stories.d.ts +0 -23
  297. package/build/dts/components/selector/simple/SelectorSecondary.test.d.ts +0 -1
  298. package/build/dts/components/selector/simple/SimpleSelector.d.ts +0 -11
  299. package/build/dts/components/selector/simple/SimpleSelector.test.d.ts +0 -1
  300. package/build/dts/components/shared/button/BaseButton.d.ts +0 -14
  301. package/build/dts/components/shared/button/BaseButton.stories.d.ts +0 -14
  302. package/build/dts/components/shared/card/Card.d.ts +0 -18
  303. package/build/dts/components/shared/card/Card.stories.d.ts +0 -7
  304. package/build/dts/components/shared/card/Card.test.d.ts +0 -1
  305. package/build/dts/components/shared/card/CardBody.d.ts +0 -5
  306. package/build/dts/components/shared/card/CardSection.d.ts +0 -6
  307. package/build/dts/components/shared/card/index.d.ts +0 -2
  308. package/build/dts/components/shared/image/Image.d.ts +0 -14
  309. package/build/dts/components/shared/image/Image.test.d.ts +0 -1
  310. package/build/dts/components/shared/label/label.d.ts +0 -13
  311. package/build/dts/components/shared/label/label.test.d.ts +0 -1
  312. package/build/dts/components/shared/label/styles.d.ts +0 -7
  313. package/build/dts/components/shared/select/BaseSelect.d.ts +0 -16
  314. package/build/dts/components/shared/select/BaseSelect.stories.d.ts +0 -11
  315. package/build/dts/components/shared/select/BaseSelectButton.d.ts +0 -17
  316. package/build/dts/components/shared/select/BaseSelectOption.d.ts +0 -22
  317. package/build/dts/components/shared/select/BaseSelectOptions.d.ts +0 -7
  318. package/build/dts/components/size/guide/SizeFitGuide.d.ts +0 -9
  319. package/build/dts/components/size/guide/SizeFitGuide.stories.d.ts +0 -9
  320. package/build/dts/components/size/guide/SizeFitGuide.test.d.ts +0 -1
  321. package/build/dts/components/size/selector/SizeSelector.d.ts +0 -10
  322. package/build/dts/components/size/selector/SizeSelector.stories.d.ts +0 -8
  323. package/build/dts/components/size/selector/SizeSelector.test.d.ts +0 -1
  324. package/build/dts/components/size-table/SizeTable.d.ts +0 -6
  325. package/build/dts/components/size-table/SizeTable.stories.d.ts +0 -9
  326. package/build/dts/components/size-table/SizeTable.test.d.ts +0 -1
  327. package/build/dts/components/slider/ArrowButton.d.ts +0 -14
  328. package/build/dts/components/slider/SliderNatigation.test.d.ts +0 -1
  329. package/build/dts/components/slider/SliderNavigation.d.ts +0 -17
  330. package/build/dts/components/slider/SliderNavigation.stories.d.ts +0 -9
  331. package/build/dts/components/slider/StyledSlider.d.ts +0 -16
  332. package/build/dts/components/spinner/Spinner.d.ts +0 -10
  333. package/build/dts/components/spinner/Spinner.stories.d.ts +0 -9
  334. package/build/dts/components/spinner/Spinner.test.d.ts +0 -1
  335. package/build/dts/components/tag/Tag.d.ts +0 -7
  336. package/build/dts/components/tag/Tag.test.d.ts +0 -1
  337. package/build/dts/components/tag/index.d.ts +0 -3
  338. package/build/dts/components/tag/variants/pdp/category/CategoryTag.d.ts +0 -8
  339. package/build/dts/components/tag/variants/pdp/category/CategoryTag.stories.d.ts +0 -22
  340. package/build/dts/components/tag/variants/pdp/category/CategoryTag.test.d.ts +0 -1
  341. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.d.ts +0 -9
  342. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.stories.d.ts +0 -22
  343. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.test.d.ts +0 -1
  344. package/build/dts/components/text/Text.d.ts +0 -99
  345. package/build/dts/components/text/Text.stories.d.ts +0 -16
  346. package/build/dts/components/text-button/TextButton.d.ts +0 -13
  347. package/build/dts/components/text-button/TextButton.stories.d.ts +0 -58
  348. package/build/dts/components/text-button/TextButton.test.d.ts +0 -1
  349. package/build/dts/components/timer/Timer.d.ts +0 -13
  350. package/build/dts/components/timer/Timer.stories.d.ts +0 -9
  351. package/build/dts/components/timer/Timer.test.d.ts +0 -1
  352. package/build/dts/components/tooltip/Arrow.d.ts +0 -6
  353. package/build/dts/components/tooltip/Styled.d.ts +0 -56
  354. package/build/dts/components/tooltip/Tooltip.d.ts +0 -15
  355. package/build/dts/components/tooltip/Tooltip.stories.d.ts +0 -35
  356. package/build/dts/components/tooltip/Tooltip.test.d.ts +0 -1
  357. package/build/dts/components/tooltip/utils.d.ts +0 -7
  358. package/build/dts/components/totals/index.d.ts +0 -5
  359. package/build/dts/components/totals/subtotal/Subtotal.d.ts +0 -22
  360. package/build/dts/components/totals/subtotal/Subtotal.stories.d.ts +0 -9
  361. package/build/dts/components/totals/subtotal/Subtotal.test.d.ts +0 -1
  362. package/build/dts/components/totals/total/Total.d.ts +0 -38
  363. package/build/dts/components/totals/total/Total.stories.d.ts +0 -9
  364. package/build/dts/components/totals/total/Total.test.d.ts +0 -1
  365. package/build/dts/config/breakpoints.d.ts +0 -5
  366. package/build/dts/core/theme/Theme.test.d.ts +0 -1
  367. package/build/dts/core/theme/shapermint.theme.d.ts +0 -3
  368. package/build/dts/core/theme/theme.helpers.d.ts +0 -13
  369. package/build/dts/core/theme/truekind.theme.d.ts +0 -3
  370. package/build/dts/hooks/WindowDimensions.d.ts +0 -8
  371. package/build/dts/hooks/click-outside.d.ts +0 -3
  372. package/build/dts/hooks/index.d.ts +0 -3
  373. package/build/dts/index.d.ts +0 -5
  374. package/build/dts/setupTests.d.ts +0 -1
  375. package/build/dts/types/enums.d.ts +0 -21
  376. package/build/dts/types/types.d.ts +0 -81
  377. package/build/dts/utils/dateFormatter/dateFormatter.d.ts +0 -1
  378. package/build/dts/utils/dateFormatter/dateFormatter.test.d.ts +0 -1
  379. package/build/dts/utils/decimalParser/decimalParser.d.ts +0 -4
  380. package/build/dts/utils/decimalParser/decimalParser.test.d.ts +0 -1
  381. package/build/dts/utils/index.d.ts +0 -4
  382. package/build/dts/utils/media.d.ts +0 -7
  383. package/build/dts/utils/simulateClick/simulateClick.d.ts +0 -1
  384. package/build/dts/utils/simulateClick/simulateClick.test.d.ts +0 -1
  385. package/build/dts/utils/sliceString/sliceString.d.ts +0 -1
  386. package/build/dts/utils/sliceString/sliceString.test.d.ts +0 -1
  387. package/build/dts/utils/validations/validations.d.ts +0 -5
  388. package/build/dts/utils/validations/validations.test.d.ts +0 -1
package/build/index.d.ts CHANGED
@@ -1,10 +1,9 @@
1
1
  /// <reference types="react" />
2
- import { IconWrapperProps } from 'src/components/Icon-wrapper/IconWrapper';
3
- import React, { ReactNode, FC, AriaAttributes, CSSProperties, AnchorHTMLAttributes, LabelHTMLAttributes, ElementType, RefObject } from 'react';
2
+ import React, { FC, ReactNode, ElementType, CSSProperties, AriaAttributes, AnchorHTMLAttributes, LabelHTMLAttributes, RefObject } from 'react';
4
3
  import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
5
4
  import * as _emotion_react_types_jsx_namespace from '@emotion/react/types/jsx-namespace';
6
- import { SearchBarOptionItem as SearchBarOptionItem$1 } from 'src/types/types';
7
- import { ThemeBreakpoints as ThemeBreakpoints$1 } from 'src/core/theme/Theme';
5
+ import * as _emotion_styled from '@emotion/styled';
6
+ import * as _emotion_react from '@emotion/react';
8
7
 
9
8
  declare enum CardSectionType {
10
9
  Header = 0,
@@ -28,7 +27,7 @@ declare enum InputValidationType {
28
27
  Empty = 2
29
28
  }
30
29
 
31
- interface IconProps$1 {
30
+ interface IconProps {
32
31
  width?: number;
33
32
  height?: number;
34
33
  fill?: string;
@@ -43,6 +42,7 @@ interface CTAProps {
43
42
  text: string;
44
43
  type?: ButtonType;
45
44
  className?: string;
45
+ inline?: boolean;
46
46
  }
47
47
  declare type DropdownOption<T> = {
48
48
  key: string;
@@ -77,7 +77,7 @@ declare type ImageType = {
77
77
  imageUrl: string;
78
78
  alt: string;
79
79
  };
80
- interface IconWithOpacityProps extends IconProps$1 {
80
+ interface IconWithOpacityProps extends IconProps {
81
81
  opacity?: number;
82
82
  }
83
83
  interface WithTestId {
@@ -108,7 +108,7 @@ interface SearchBarOptionItem {
108
108
  title: string;
109
109
  }
110
110
 
111
- declare const SixtyDaysGuarantee: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
111
+ declare const SixtyDaysGuarantee: ({ height, width, fill, title }: IconProps) => JSX.Element;
112
112
 
113
113
  declare const Custom_SixtyDaysGuarantee: typeof SixtyDaysGuarantee;
114
114
  declare namespace Custom {
@@ -117,22 +117,22 @@ declare namespace Custom {
117
117
  };
118
118
  }
119
119
 
120
- declare const Check: ({ height, width, fill }: IconProps$1) => JSX.Element;
120
+ declare const Check: ({ height, width, fill }: IconProps) => JSX.Element;
121
121
 
122
- declare const ClearLight: ({ height, width, fill }: IconProps$1) => JSX.Element;
122
+ declare const ClearLight: ({ height, width, fill }: IconProps) => JSX.Element;
123
123
 
124
- declare const LightExclamation: ({ height, width, fill }: IconProps$1) => JSX.Element;
124
+ declare const LightExclamation: ({ height, width, fill }: IconProps) => JSX.Element;
125
125
 
126
- interface LightCheckProps extends IconProps$1 {
126
+ interface LightCheckProps extends IconProps {
127
127
  strokeWidth?: number;
128
128
  }
129
129
  declare const LightCheck: ({ height, width, fill, strokeWidth }: LightCheckProps) => JSX.Element;
130
130
 
131
- declare const Question: ({ height, width, fill }: IconProps$1) => JSX.Element;
131
+ declare const Question: ({ height, width, fill }: IconProps) => JSX.Element;
132
132
 
133
- declare const Close: ({ height, width, fill }: IconProps$1) => JSX.Element;
133
+ declare const Close: ({ height, width, fill }: IconProps) => JSX.Element;
134
134
 
135
- declare const Trash: ({ height, width, fill }: IconProps$1) => JSX.Element;
135
+ declare const Trash: ({ height, width, fill }: IconProps) => JSX.Element;
136
136
 
137
137
  declare const Actions_Check: typeof Check;
138
138
  declare const Actions_ClearLight: typeof ClearLight;
@@ -155,16 +155,16 @@ declare namespace Actions {
155
155
  };
156
156
  }
157
157
 
158
- declare const FitPredictor$1: ({ height, width, fill }: IconProps$1) => JSX.Element;
158
+ declare const FitPredictor$1: ({ height, width, fill }: IconProps) => JSX.Element;
159
159
 
160
- interface LoadingProps extends IconProps$1 {
160
+ interface LoadingProps extends IconProps {
161
161
  backgroundColor: string;
162
162
  }
163
163
  declare const Loading: ({ height, width, fill, backgroundColor }: LoadingProps) => JSX.Element;
164
164
 
165
- declare const Shapermint: ({ height, width }: IconProps$1) => JSX.Element;
165
+ declare const Shapermint: ({ height, width }: IconProps) => JSX.Element;
166
166
 
167
- declare const McAfee: ({ height, width }: IconProps$1) => JSX.Element;
167
+ declare const McAfee: ({ height, width }: IconProps) => JSX.Element;
168
168
 
169
169
  type Other_LoadingProps = LoadingProps;
170
170
  declare const Other_Loading: typeof Loading;
@@ -180,19 +180,19 @@ declare namespace Other {
180
180
  };
181
181
  }
182
182
 
183
- declare const ChevronDown: ({ height, width, fill }: IconProps$1) => JSX.Element;
183
+ declare const ChevronDown: ({ height, width, fill }: IconProps) => JSX.Element;
184
184
 
185
185
  declare const ChevronLeft: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
186
186
 
187
187
  declare const ChevronRight: ({ height, width, fill, opacity }: IconWithOpacityProps) => JSX.Element;
188
188
 
189
- declare const ChevronRightVariant: ({ height, width, fill }: IconProps$1) => JSX.Element;
189
+ declare const ChevronRightVariant: ({ height, width, fill }: IconProps) => JSX.Element;
190
190
 
191
- declare const ChevronUp: ({ height, width, fill }: IconProps$1) => JSX.Element;
191
+ declare const ChevronUp: ({ height, width, fill }: IconProps) => JSX.Element;
192
192
 
193
- declare const ChevronUpSolid: ({ height, width, fill }: IconProps$1) => JSX.Element;
193
+ declare const ChevronUpSolid: ({ height, width, fill }: IconProps) => JSX.Element;
194
194
 
195
- declare const CircleUp: ({ width, height, fill }: IconProps$1) => JSX.Element;
195
+ declare const CircleUp: ({ width, height, fill }: IconProps) => JSX.Element;
196
196
 
197
197
  declare const Arrows_ChevronDown: typeof ChevronDown;
198
198
  declare const Arrows_ChevronLeft: typeof ChevronLeft;
@@ -213,25 +213,25 @@ declare namespace Arrows {
213
213
  };
214
214
  }
215
215
 
216
- declare const Clock: ({ height, width, fill }: IconProps$1) => JSX.Element;
216
+ declare const Clock: ({ height, width, fill }: IconProps) => JSX.Element;
217
217
 
218
- declare const FlagUSA: ({ height, width, fill }: IconProps$1) => JSX.Element;
218
+ declare const FlagUSA: ({ height, width, fill }: IconProps) => JSX.Element;
219
219
 
220
- declare const Minus: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
220
+ declare const Minus: ({ height, width, fill, title }: IconProps) => JSX.Element;
221
221
 
222
- declare const Plus: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
222
+ declare const Plus: ({ height, width, fill, title }: IconProps) => JSX.Element;
223
223
 
224
- declare const Rule: ({ width, height, fill }: IconProps$1) => JSX.Element;
224
+ declare const Rule: ({ width, height, fill }: IconProps) => JSX.Element;
225
225
 
226
- declare const Star: ({ height, width, fill }: IconProps$1) => JSX.Element;
226
+ declare const Star: ({ height, width, fill }: IconProps) => JSX.Element;
227
227
 
228
- declare const StarEmpty: ({ height, width, fill }: IconProps$1) => JSX.Element;
228
+ declare const StarEmpty: ({ height, width, fill }: IconProps) => JSX.Element;
229
229
 
230
- declare const StarHalf: ({ height, width, fill }: IconProps$1) => JSX.Element;
230
+ declare const StarHalf: ({ height, width, fill }: IconProps) => JSX.Element;
231
231
 
232
- declare const Stopwatch: ({ height, width, fill, title }: IconProps$1) => JSX.Element;
232
+ declare const Stopwatch: ({ height, width, fill, title }: IconProps) => JSX.Element;
233
233
 
234
- declare const Shipping: ({ height, width, fill }: IconProps$1) => JSX.Element;
234
+ declare const Shipping: ({ height, width, fill }: IconProps) => JSX.Element;
235
235
 
236
236
  declare const PDP_Clock: typeof Clock;
237
237
  declare const PDP_FlagUSA: typeof FlagUSA;
@@ -258,19 +258,19 @@ declare namespace PDP {
258
258
  };
259
259
  }
260
260
 
261
- declare const Facebook: ({ height, width, fill }: IconProps$1) => JSX.Element;
261
+ declare const Facebook: ({ height, width, fill }: IconProps) => JSX.Element;
262
262
 
263
- declare const FacebookSolid: ({ height, width, fill }: IconProps$1) => JSX.Element;
263
+ declare const FacebookSolid: ({ height, width, fill }: IconProps) => JSX.Element;
264
264
 
265
- declare const Instagram: ({ height, width, fill }: IconProps$1) => JSX.Element;
265
+ declare const Instagram: ({ height, width, fill }: IconProps) => JSX.Element;
266
266
 
267
- declare const InstagramSolid: ({ height, width, fill }: IconProps$1) => JSX.Element;
267
+ declare const InstagramSolid: ({ height, width, fill }: IconProps) => JSX.Element;
268
268
 
269
- declare const Pinterest: ({ height, width, fill }: IconProps$1) => JSX.Element;
269
+ declare const Pinterest: ({ height, width, fill }: IconProps) => JSX.Element;
270
270
 
271
- declare const Twitter: ({ height, width, fill }: IconProps$1) => JSX.Element;
271
+ declare const Twitter: ({ height, width, fill }: IconProps) => JSX.Element;
272
272
 
273
- declare const Youtube: ({ height, width, fill }: IconProps$1) => JSX.Element;
273
+ declare const Youtube: ({ height, width, fill }: IconProps) => JSX.Element;
274
274
 
275
275
  declare const SocialMedia_Facebook: typeof Facebook;
276
276
  declare const SocialMedia_FacebookSolid: typeof FacebookSolid;
@@ -291,61 +291,70 @@ declare namespace SocialMedia {
291
291
  };
292
292
  }
293
293
 
294
- declare const Search: ({ height, width, fill }: IconProps$1) => JSX.Element;
294
+ declare const Search: ({ height, width, fill }: IconProps) => JSX.Element;
295
+
296
+ declare const User: ({ height, width, fill }: IconProps) => JSX.Element;
297
+
298
+ declare const ShoppingBag: ({ height, width, fill }: IconProps) => JSX.Element;
295
299
 
296
- declare const User: ({ height, width, fill }: IconProps$1) => JSX.Element;
300
+ declare const ShoppingCart: FC<IconProps>;
297
301
 
298
- declare const ShoppingBag: ({ height, width, fill }: IconProps$1) => JSX.Element;
302
+ declare const MapMarker: ({ height, width, fill }: IconProps) => JSX.Element;
299
303
 
300
- declare const MapMarker: ({ height, width, fill }: IconProps$1) => JSX.Element;
304
+ declare const Hamburger: FC<IconProps>;
301
305
 
302
306
  declare const Navigation_Search: typeof Search;
303
307
  declare const Navigation_User: typeof User;
304
308
  declare const Navigation_ShoppingBag: typeof ShoppingBag;
309
+ declare const Navigation_ShoppingCart: typeof ShoppingCart;
305
310
  declare const Navigation_MapMarker: typeof MapMarker;
311
+ declare const Navigation_Hamburger: typeof Hamburger;
306
312
  declare namespace Navigation {
307
313
  export {
308
314
  Navigation_Search as Search,
309
315
  Navigation_User as User,
310
316
  Navigation_ShoppingBag as ShoppingBag,
317
+ Navigation_ShoppingCart as ShoppingCart,
311
318
  Navigation_MapMarker as MapMarker,
319
+ Navigation_Hamburger as Hamburger,
312
320
  };
313
321
  }
314
322
 
315
- declare const QuestionCircle: ({ height, width, fill }: IconProps$1) => JSX.Element;
323
+ declare const QuestionCircle: ({ height, width, fill }: IconProps) => JSX.Element;
316
324
 
317
- declare const Messenger: ({ height, width, fill }: IconProps$1) => JSX.Element;
325
+ declare const Messenger: ({ height, width, fill }: IconProps) => JSX.Element;
318
326
 
319
- declare const Comment: ({ height, width, fill }: IconProps$1) => JSX.Element;
327
+ declare const Comment: ({ height, width, fill }: IconProps) => JSX.Element;
320
328
 
321
- interface IconProps {
329
+ interface IconWrapperProps {
322
330
  width?: number;
323
331
  height?: number;
324
- fill?: string;
325
332
  title?: string;
326
- }
327
- declare const Message: ({ height, width, fill }: IconProps) => JSX.Element;
333
+ viewBoxX: number;
334
+ viewBoxY: number;
335
+ children: React.ReactNode;
336
+ testid?: string;
337
+ fill?: string;
338
+ }
328
339
 
329
340
  declare const Mail: ({ height, width }: IconWrapperProps) => JSX.Element;
330
341
 
331
342
  declare const Messaging_QuestionCircle: typeof QuestionCircle;
332
343
  declare const Messaging_Messenger: typeof Messenger;
333
344
  declare const Messaging_Comment: typeof Comment;
334
- declare const Messaging_Message: typeof Message;
335
345
  declare const Messaging_Mail: typeof Mail;
336
346
  declare namespace Messaging {
337
347
  export {
338
348
  Messaging_QuestionCircle as QuestionCircle,
339
349
  Messaging_Messenger as Messenger,
340
350
  Messaging_Comment as Comment,
341
- Messaging_Message as Message,
342
351
  Messaging_Mail as Mail,
343
352
  };
344
353
  }
345
354
 
346
- declare const AppleStore: ({ height, width }: IconProps$1) => JSX.Element;
355
+ declare const AppleStore: ({ height, width }: IconProps) => JSX.Element;
347
356
 
348
- declare const GooglePlay: ({ height, width }: IconProps$1) => JSX.Element;
357
+ declare const GooglePlay: ({ height, width }: IconProps) => JSX.Element;
349
358
 
350
359
  declare const Download_AppleStore: typeof AppleStore;
351
360
  declare const Download_GooglePlay: typeof GooglePlay;
@@ -356,23 +365,23 @@ declare namespace Download {
356
365
  };
357
366
  }
358
367
 
359
- declare const Visa: ({ height, width }: IconProps$1) => JSX.Element;
368
+ declare const Visa: ({ height, width }: IconProps) => JSX.Element;
360
369
 
361
- declare const MasterCard: ({ height, width }: IconProps$1) => JSX.Element;
370
+ declare const MasterCard: ({ height, width }: IconProps) => JSX.Element;
362
371
 
363
- declare const AMEX: ({ height, width }: IconProps$1) => JSX.Element;
372
+ declare const Amex: ({ height, width }: IconProps) => JSX.Element;
364
373
 
365
- declare const JCB: ({ height, width }: IconProps$1) => JSX.Element;
374
+ declare const JCB: ({ height, width }: IconProps) => JSX.Element;
366
375
 
367
- declare const Paypal: ({ height, width }: IconProps$1) => JSX.Element;
376
+ declare const Paypal: ({ height, width }: IconProps) => JSX.Element;
368
377
 
369
- declare const Klarna: ({ height, width }: IconProps$1) => JSX.Element;
378
+ declare const Klarna: ({ height, width }: IconProps) => JSX.Element;
370
379
 
371
- declare const Amazon: ({ height, width }: IconProps$1) => JSX.Element;
380
+ declare const Amazon: ({ height, width }: IconProps) => JSX.Element;
372
381
 
373
382
  declare const Payment_Visa: typeof Visa;
374
383
  declare const Payment_MasterCard: typeof MasterCard;
375
- declare const Payment_AMEX: typeof AMEX;
384
+ declare const Payment_Amex: typeof Amex;
376
385
  declare const Payment_JCB: typeof JCB;
377
386
  declare const Payment_Paypal: typeof Paypal;
378
387
  declare const Payment_Klarna: typeof Klarna;
@@ -381,7 +390,7 @@ declare namespace Payment {
381
390
  export {
382
391
  Payment_Visa as Visa,
383
392
  Payment_MasterCard as MasterCard,
384
- Payment_AMEX as AMEX,
393
+ Payment_Amex as Amex,
385
394
  Payment_JCB as JCB,
386
395
  Payment_Paypal as Paypal,
387
396
  Payment_Klarna as Klarna,
@@ -398,7 +407,7 @@ declare namespace SlideDots {
398
407
  };
399
408
  }
400
409
 
401
- declare type IconType = ({ height, width, fill }: IconProps$1) => JSX.Element;
410
+ declare type IconType = ({ height, width, fill }: IconProps) => JSX.Element;
402
411
  declare const Icon: {
403
412
  Custom: typeof Custom;
404
413
  Arrows: typeof Arrows;
@@ -438,29 +447,33 @@ declare const _default: (({ children, backgroundColor, widthAuto, border, flex }
438
447
  Body: ({ children }: CardBodyProps) => JSX.Element;
439
448
  };
440
449
 
441
- declare const ButtonPrimary: ({ text, onClick, disabled, wide, size, type }: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
450
+ declare const ButtonPrimary: (props: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
442
451
 
443
- declare const ButtonSecondary: ({ text, onClick, disabled, wide, size, className }: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
452
+ declare const ButtonSecondary: (props: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
444
453
 
445
- declare const ButtonSecondaryOutline: ({ text, onClick, disabled, wide, size, className, }: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
454
+ declare const ButtonSecondaryOutline: (props: CTAProps) => _emotion_react_jsx_runtime.JSX.Element;
446
455
 
456
+ declare type Value<T> = DropdownOption<T>;
457
+ declare type OnChange<T> = (option: Value<T>) => void;
447
458
  declare type CommonProps<T> = {
448
- options: DropdownOption<T>[];
459
+ options: Value<T>[];
449
460
  disabled?: boolean;
450
461
  wide?: boolean;
451
- onChange: (option: DropdownOption<T>) => void;
452
462
  label?: string;
453
463
  sort?: boolean;
454
- };
455
- declare type ConditionalProps<T> = {
456
- initialValue: DropdownOption<T>;
457
- placeHolder?: string;
458
- } | {
459
- initialValue?: undefined;
464
+ initialValue?: Value<T>;
460
465
  placeHolder: string;
461
466
  };
462
- declare type SimpleDropdownProps<T> = CommonProps<T> & ConditionalProps<T>;
463
- declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, sort, onChange, }: SimpleDropdownProps<T>): JSX.Element;
467
+ declare type ControlledProps<T> = {
468
+ value: Value<T>;
469
+ onChange: OnChange<T>;
470
+ } & CommonProps<T>;
471
+ declare type UncontrolledProps<T> = {
472
+ value?: never;
473
+ onChange?: OnChange<T>;
474
+ } & CommonProps<T>;
475
+ declare type SimpleDropdownProps<T> = UncontrolledProps<T> | ControlledProps<T>;
476
+ declare function SimpleDropdown<T>({ options, disabled, initialValue, placeHolder, label, wide, sort, onChange, value, }: SimpleDropdownProps<T>): JSX.Element;
464
477
 
465
478
  interface SizeSelectorProps {
466
479
  label: string;
@@ -600,892 +613,1013 @@ interface AccordionProps {
600
613
  }
601
614
  declare const Accordion: ({ header, content, defaultOpen, variant, disabled, openIcon, closeIcon, }: AccordionProps) => JSX.Element;
602
615
 
603
- interface CheckboxProps {
604
- disabled?: boolean;
605
- onChange: (checked: boolean) => void;
606
- size?: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
607
- text: string;
608
- checked?: boolean;
609
- id: string;
610
- backgroundColor?: string;
611
- variant: 'primary' | 'secondary';
612
- }
613
- declare const Checkbox: ({ disabled, onChange, size, text, checked, id, variant, }: CheckboxProps) => JSX.Element;
614
-
615
- interface RadioGroupInputProps {
616
+ declare const ThemeProvider: FC<{
617
+ theme: Theme;
618
+ children: ReactNode;
619
+ }>;
620
+ declare const useTheme: () => Theme;
621
+ declare const ThemeVariables: FC<{
622
+ theme: Theme;
623
+ Container?: ElementType;
624
+ }>;
625
+ declare const AssetsProvider: FC<{
626
+ assets: ThemeAssets;
627
+ }>;
628
+ declare const useThemeAssets: () => ThemeAssets;
629
+ declare type Theme = {
616
630
  name: string;
617
- options?: RadioGroupOption[];
618
- value?: RadioGroupOption;
619
- onChange: (value: RadioGroupOption) => void;
620
- size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
621
- disabled?: boolean;
622
- }
623
- declare const RadioGroupInput: ({ name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
624
-
625
- interface SimpleProps {
626
- title: string;
627
- freeShippingText: string;
628
- price: string;
629
- anyQtyForText: string;
630
- backgroundColor: string;
631
- widthAuto?: boolean;
632
- }
633
-
634
- interface MinimalisticProps {
635
- backgroundColor?: string;
636
- borderColor?: string;
637
- originalPrice: string;
638
- price: string;
639
- savingPrice: string;
640
- getMorePayLessText: string;
641
- youAreSavingText: string;
642
- getQtyForText: string;
643
- discount: number;
644
- offText: string;
645
- widthAuto?: boolean;
646
- }
647
-
648
- declare const Bundle: {
649
- Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
650
- Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
651
- };
652
-
653
- interface CategoryTagProps {
654
- text: string;
655
- size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
656
- className?: string;
657
- }
658
- declare const CategoryTag: ({ text, size, className }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
659
-
660
- interface SeasonOfferTagProps {
661
- text: string;
662
- backgroundColor?: string;
663
- size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
664
- className?: string;
665
- }
666
- declare const SeasonOfferTag: ({ text, backgroundColor, size, className, }: SeasonOfferTagProps) => _emotion_react_jsx_runtime.JSX.Element;
667
-
668
- interface TimeProps {
669
- hours: number;
670
- minutes: number;
671
- seconds: number;
672
- }
673
- interface TimerProps extends TimeProps {
674
- onTimeUp: () => void;
675
- }
676
- declare const Timer: ({ onTimeUp, ...rest }: TimerProps) => JSX.Element;
677
-
678
- interface BaseInputProps {
679
- defaultValue?: string;
680
- maxLength?: number;
681
- placeholder?: string;
682
- label?: string;
683
- onChange?: (value: string) => void;
684
- onValidation?: (status: InputValidationType) => void;
685
- disabled?: boolean;
686
- required?: string;
687
- children?: React.ReactNode;
688
- }
689
-
690
- interface BasePlusIconProps extends BaseInputProps {
691
- Icon: IconType;
692
- }
693
-
694
- declare type BaseInputPropsWithoutLabel = Omit<BaseInputProps, 'label'>;
695
- interface BasePlusButtonProps extends BaseInputPropsWithoutLabel {
696
- onClick: () => void;
697
- onClickEdit: () => void;
698
- text: string;
699
- success: boolean;
700
- editText: string;
701
- successText: string;
702
- }
703
-
704
- interface CustomProps extends BaseInputProps {
705
- onClick: () => void;
706
- text: string;
707
- type: 'primary' | 'secondary';
708
- }
709
-
710
- declare const Input: {
711
- Simple: ({ onChange, defaultValue, label, children, required, onValidation, ...rest }: BaseInputProps) => JSX.Element;
712
- Custom: ({ onClick, text, type, ...rest }: CustomProps) => JSX.Element;
713
- SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
714
- SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
715
- };
716
-
717
- interface PaymentMethodsProps {
718
- Icon: IconType;
719
- width: string;
720
- height: string;
721
- onClick?: () => void;
722
- }
723
- declare const PaymentMethod: ({ Icon, width, height, onClick }: PaymentMethodsProps) => JSX.Element;
724
-
725
- interface OfferBannerProps {
726
- discountAppliedText: string;
727
- backgroundColor: string;
728
- }
729
- declare const OfferBanner: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
730
-
731
- declare type SubtotalOption = {
732
- label: string;
733
- value: string;
631
+ fontSizes: number[];
632
+ fontWeights: number[];
633
+ lineHeights: number[];
634
+ mediaQueries: ThemeBreakpoints;
635
+ radius: {
636
+ regular: string;
637
+ };
638
+ zIndex: {
639
+ modal: number;
640
+ overlay: number;
641
+ };
642
+ colors: ThemeColors;
643
+ component: ThemeComponent;
644
+ typography: ThemeTypography;
645
+ fonts: ThemeFonts;
646
+ assets: ThemeAssets;
734
647
  };
735
- declare type Coupon = {
736
- code: string;
737
- amount: string;
648
+ declare type ThemeBreakpoints = {
649
+ mobile: number;
650
+ desktop: number;
738
651
  };
739
- interface SubtotalProps {
740
- subtotal: SubtotalOption;
741
- shipping: SubtotalOption;
742
- taxes: SubtotalOption;
743
- highlightColor?: string;
744
- coupon?: {
745
- couponText: string;
746
- appliedText: string;
747
- coupons: Coupon[];
652
+ declare type ThemeBasicPallete = {
653
+ color: string;
654
+ contrast: string;
655
+ };
656
+ declare type ThemeColorPallete = ThemeBasicPallete & {
657
+ soft: ThemeBasicPallete;
658
+ };
659
+ declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
660
+ 20: ThemeColorPallete;
661
+ 40: ThemeColorPallete;
662
+ 60: ThemeColorPallete;
663
+ 80: ThemeColorPallete;
664
+ };
665
+ declare type ThemeColors = {
666
+ pallete: {
667
+ primary: ThemeColorPrimaryPallete;
668
+ secondary: ThemeColorPrimaryPallete;
669
+ } & Partial<Record<string, ThemeColorPallete>>;
670
+ shades: {
671
+ black: ThemeBasicPallete;
672
+ white: ThemeBasicPallete;
673
+ 5: ThemeBasicPallete;
674
+ 10: ThemeBasicPallete;
675
+ 50: ThemeBasicPallete;
676
+ 100: ThemeBasicPallete;
677
+ 150: ThemeBasicPallete;
678
+ 200: ThemeBasicPallete;
679
+ 250: ThemeBasicPallete;
680
+ 300: ThemeBasicPallete;
681
+ 350: ThemeBasicPallete;
682
+ 400: ThemeBasicPallete;
683
+ 450: ThemeBasicPallete;
684
+ 500: ThemeBasicPallete;
685
+ 550: ThemeBasicPallete;
686
+ 600: ThemeBasicPallete;
687
+ 650: ThemeBasicPallete;
688
+ 700: ThemeBasicPallete;
689
+ 750: ThemeBasicPallete;
690
+ 800: ThemeBasicPallete;
691
+ 850: ThemeBasicPallete;
692
+ 900: ThemeBasicPallete;
693
+ 950: ThemeBasicPallete;
694
+ 990: ThemeBasicPallete;
748
695
  };
749
- }
750
-
751
- interface TotalProps {
752
- total: string;
753
- currency: string;
754
- highlightColor?: string;
755
- saving?: {
756
- amount: string;
757
- savingText: string;
696
+ semantic: {
697
+ positive: ThemeBasicPallete;
698
+ urgent: ThemeBasicPallete;
699
+ attention: ThemeBasicPallete;
700
+ informative: ThemeBasicPallete;
758
701
  };
759
- }
760
-
761
- declare const Totals: {
762
- Total: ({ total, currency, saving, highlightColor }: TotalProps) => JSX.Element;
763
- Subtotal: ({ subtotal, shipping, taxes, coupon, highlightColor, }: SubtotalProps) => JSX.Element;
764
- };
765
-
766
- declare type detail = {
767
- title: string;
768
- details: string;
769
- };
770
- interface orderUpdate extends detail {
771
- keepMeUpdated: {
772
- title: string;
773
- onClick: () => void;
702
+ border: {
703
+ color: string;
704
+ disabled: string;
705
+ highlight: string;
774
706
  };
775
- }
776
- interface DeliveryDetailsProps {
777
- deliveryDetailsText: string;
778
- arrivingBy: detail;
779
- shippingTo: detail;
780
- instantOrderUpdate: orderUpdate;
781
- note?: {
782
- importantNoteText: string;
783
- text: string;
784
- accentColor: string;
785
- backgroundColor: string;
707
+ background: {
786
708
  color: string;
709
+ disabled: string;
787
710
  };
788
- }
789
- declare const DeliveryDetails: ({ deliveryDetailsText, arrivingBy, shippingTo, instantOrderUpdate, note, }: DeliveryDetailsProps) => JSX.Element;
790
-
791
- interface ScrollToTopProps {
792
- scrollToTopText: string;
793
- onClick: () => void;
794
- }
795
- declare const ScrollToTop: ({ scrollToTopText, onClick }: ScrollToTopProps) => JSX.Element;
796
-
797
- interface OrderBarProps {
798
- message: string;
799
- }
800
- declare const OrderBar: ({ message }: OrderBarProps) => JSX.Element;
801
-
802
- interface TableProps {
803
- headers: string[];
804
- data: string[][];
805
- }
806
- declare const SizeTable: ({ headers, data }: TableProps) => JSX.Element;
807
-
808
- interface Price extends Pick<PriceLabelProps, 'finalPrice' | 'originalPrice'> {
809
- color?: string;
810
- }
811
- interface ProductOrderItemProps {
812
- title: string;
813
- subtitle: string;
814
- image: {
815
- src: string;
816
- alt: string;
711
+ text: {
712
+ color: string;
713
+ disabled: string;
817
714
  };
818
- price: Price;
819
- tag?: {
820
- text: string;
821
- backgroundColor: string;
715
+ };
716
+ declare type ThemeComponent = {
717
+ button: {
718
+ border: string;
719
+ borderRadius: string;
720
+ fontWeight: number;
721
+ size: {
722
+ small: {
723
+ fontSize: string;
724
+ padding: string;
725
+ };
726
+ medium: {
727
+ fontSize: string;
728
+ padding: string;
729
+ };
730
+ large: {
731
+ fontSize: string;
732
+ padding: string;
733
+ };
734
+ };
735
+ primary: {
736
+ active: {
737
+ backgroundColor: string;
738
+ color: string;
739
+ };
740
+ hover: {
741
+ backgroundColor: string;
742
+ color: string;
743
+ };
744
+ };
745
+ secondary: {
746
+ active: {
747
+ backgroundColor: string;
748
+ color: string;
749
+ };
750
+ hover: {
751
+ backgroundColor: string;
752
+ color: string;
753
+ };
754
+ };
822
755
  };
823
- }
824
- declare const SimpleOrderItem: ({ title, subtitle, image, price, tag }: ProductOrderItemProps) => JSX.Element;
825
-
826
- interface ReviewProps {
827
- reviewerName: string;
828
- date: Date;
829
- rating: number;
830
- stars: {
756
+ input: {
757
+ background: string;
831
758
  color: string;
832
- size: ComponentSize.Medium | ComponentSize.Small;
759
+ placeholderColor: string;
760
+ borderRadius: string;
761
+ fontSize: string;
762
+ fontWeight: number;
763
+ padding: string;
764
+ lineHeight: string;
765
+ border: string;
766
+ boxShadow: string;
833
767
  };
834
- title: string;
835
- description: string;
836
- image: {
837
- src: string;
838
- alt: string;
768
+ inputCustom: {
769
+ button: {
770
+ borderRadius: string;
771
+ };
772
+ input: {
773
+ borderRadius: string;
774
+ };
839
775
  };
840
- }
841
- declare const Review: ({ reviewerName, date, rating, stars, title, description, image }: ReviewProps) => JSX.Element;
842
-
843
- interface SliderNavigationProps {
844
- children: JSX.Element[];
845
- infinite: boolean;
846
- adaptiveHeight: boolean;
847
- dotsSize: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
848
- dotListMarginTop: number;
849
- initialSlide?: number;
850
- arrows?: {
851
- arrowWidth: number;
852
- arrowHeight: number;
853
- arrowPadding: number;
776
+ selector: {
777
+ size: {
778
+ small: {
779
+ padding: string;
780
+ borderRadius: string;
781
+ };
782
+ medium: {
783
+ padding: string;
784
+ borderRadius: string;
785
+ };
786
+ };
787
+ default: {
788
+ fontWeight: number;
789
+ border: string;
790
+ background: string;
791
+ color: string;
792
+ };
793
+ hover: {
794
+ fontWeight: number;
795
+ background: string;
796
+ border: string;
797
+ color: string;
798
+ };
799
+ disabled: {
800
+ border: string;
801
+ };
802
+ fontSize: string;
854
803
  };
855
- }
856
- declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
857
-
858
- interface DropdownListIconsProps {
859
- items: DropdownListIconsItem[];
860
- }
861
- declare const DropdownListIcons: ({ items }: DropdownListIconsProps) => JSX.Element;
862
-
863
- interface ImageStyleProps {
864
- height?: string;
865
- width?: string;
866
- borderRadius?: string;
867
- objectFit?: string;
868
- objectPosition?: string;
869
- }
870
- interface ImageProps extends ImageStyleProps {
871
- src: string;
872
- alt: string;
873
- }
874
- declare const Image: ({ src, alt, height, width, borderRadius, objectFit, objectPosition, }: ImageProps) => JSX.Element;
875
-
876
- interface AmazonPaypalBtnProps {
877
- onClick: () => void;
878
- }
879
- declare const AmazonButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
880
- declare const PaypalButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
881
-
882
- interface CrossSellCheckboxProps extends rightToLeftProps {
883
- imageURL: string;
884
- title: string;
885
- description: string;
886
- freeShippingText: string;
887
- onChange: (checked: Boolean) => void;
888
- }
889
- interface rightToLeftProps {
890
- rightToLeft: boolean;
891
- }
892
- declare const CrossSellCheckbox: ({ imageURL, title, description, freeShippingText, rightToLeft, onChange, }: CrossSellCheckboxProps) => JSX.Element;
893
-
894
- type index_d_CrossSellCheckboxProps = CrossSellCheckboxProps;
895
- declare const index_d_CrossSellCheckbox: typeof CrossSellCheckbox;
896
- declare namespace index_d {
897
- export {
898
- index_d_CrossSellCheckboxProps as CrossSellCheckboxProps,
899
- index_d_CrossSellCheckbox as CrossSellCheckbox,
900
- };
901
- }
902
-
903
- interface ProductItemProps {
904
- title: string;
905
- image: ImageProps;
906
- price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
907
- rating: Pick<RatingProps, 'rating' | 'reviews'>;
908
- tags?: {
909
- categoryTagText: string;
910
- seasonOfferTagText: string;
804
+ rating: {
805
+ fontWeight: number;
806
+ size: {
807
+ xsmall: {
808
+ fontSize: string;
809
+ lineHeight: string;
810
+ };
811
+ small: {
812
+ fontSize: string;
813
+ lineHeight: string;
814
+ };
815
+ medium: {
816
+ fontSize: string;
817
+ lineHeight: string;
818
+ };
819
+ large: {
820
+ fontSize: string;
821
+ lineHeight: string;
822
+ };
823
+ };
911
824
  };
912
- alignName?: 'left' | 'center';
913
- }
914
-
915
- interface ProductItemSmallMobileProps extends ProductItemProps {
916
- size: ComponentSize.Medium | ComponentSize.Small;
917
- }
918
-
919
- declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React.FC<P>, data: ProductItemProps[]): {
920
- (props: Omit<P, 'title' | 'image' | 'price' | 'rating'>): JSX.Element;
921
- displayName: string;
922
- };
923
-
924
- declare const Collection: {
925
- ProductItemMobile: ({ title, image, price, rating, size, tags, alignName, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
926
- withProductGrid: typeof withProductGrid;
927
- };
928
-
929
- interface StarListProps {
930
- rating: number;
931
- size?: ComponentSize;
932
- starsNumber: number;
933
- fill: string;
934
- }
935
- declare const StarList: ({ rating, starsNumber, fill, size, }: StarListProps) => JSX.Element;
936
-
937
- interface DrawerProps {
938
- children: React.ReactNode;
939
- isOpen: boolean;
940
- onClose?: () => void;
941
- onOpen?: () => void;
942
- onClickOutside?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
825
+ card: {
826
+ borderRadius: string;
827
+ };
828
+ radio: {
829
+ borderColor: string;
830
+ background: string;
831
+ size: {
832
+ small: {
833
+ borderWidth: string;
834
+ margin: string;
835
+ height: string;
836
+ active: {
837
+ borderWidth: string;
838
+ };
839
+ };
840
+ medium: {
841
+ borderWidth: string;
842
+ margin: string;
843
+ height: string;
844
+ active: {
845
+ borderWidth: string;
846
+ };
847
+ };
848
+ large: {
849
+ borderWidth: string;
850
+ margin: string;
851
+ height: string;
852
+ active: {
853
+ borderWidth: string;
854
+ };
855
+ };
856
+ };
857
+ };
858
+ label: {
859
+ fontSize: {
860
+ small: string;
861
+ medium: string;
862
+ large: string;
863
+ };
864
+ lineHeight: {
865
+ small: string;
866
+ medium: string;
867
+ large: string;
868
+ };
869
+ };
870
+ checkbox: {
871
+ background: string;
872
+ borderColor: string;
873
+ active: {
874
+ background: string;
875
+ };
876
+ size: {
877
+ large: {
878
+ width: string;
879
+ height: string;
880
+ borderRadius: string;
881
+ borderWidth: string;
882
+ margin: string;
883
+ icon: {
884
+ width: string;
885
+ height: string;
886
+ };
887
+ };
888
+ medium: {
889
+ width: string;
890
+ height: string;
891
+ borderRadius: string;
892
+ borderWidth: string;
893
+ margin: string;
894
+ icon: {
895
+ width: string;
896
+ height: string;
897
+ };
898
+ };
899
+ small: {
900
+ width: string;
901
+ height: string;
902
+ borderRadius: string;
903
+ borderWidth: string;
904
+ margin: string;
905
+ icon: {
906
+ width: string;
907
+ height: string;
908
+ };
909
+ };
910
+ };
911
+ };
912
+ accordion: {
913
+ variant: {
914
+ box: {
915
+ container: {
916
+ border: string;
917
+ borderColor: string;
918
+ borderRadius: string;
919
+ padding: string;
920
+ };
921
+ summary: {
922
+ fontWeight: number;
923
+ fontSize: string;
924
+ lineHeight: string;
925
+ color: string;
926
+ };
927
+ details: {
928
+ margin: string;
929
+ };
930
+ icon: {
931
+ width: number;
932
+ height: number;
933
+ color: string;
934
+ };
935
+ };
936
+ simple: {
937
+ container: {
938
+ borderTop: string;
939
+ borderBottom: string;
940
+ borderColor: string;
941
+ borderRadius: string;
942
+ padding: string;
943
+ };
944
+ summary: {
945
+ fontWeight: number;
946
+ fontSize: string;
947
+ lineHeight: string;
948
+ color: string;
949
+ };
950
+ details: {
951
+ margin: string;
952
+ };
953
+ icon: {
954
+ width: number;
955
+ height: number;
956
+ color: string;
957
+ };
958
+ };
959
+ };
960
+ };
961
+ dropdown: {
962
+ borderRadius: string;
963
+ fontSize: string;
964
+ fontWeight: number;
965
+ lineHeight: string;
966
+ padding: string;
967
+ color: string;
968
+ fill: string;
969
+ options: {
970
+ borderColor: string;
971
+ color: string;
972
+ };
973
+ };
974
+ modal: {
975
+ minWidth: string;
976
+ };
977
+ };
978
+ declare type ThemeTypography = {
979
+ config: {
980
+ weight: {
981
+ heavy: number;
982
+ bold: number;
983
+ demi: number;
984
+ regular: number;
985
+ };
986
+ };
987
+ variants: Record<string, CSSProperties>;
988
+ };
989
+ declare type ThemeFonts = {
990
+ url: string;
991
+ config: Array<{
992
+ src: string;
993
+ family: string;
994
+ weight?: number | string;
995
+ style?: string;
996
+ stretch?: string;
997
+ }>;
998
+ };
999
+ declare type ThemeAssets = {
1000
+ images: {
1001
+ favicon: string;
1002
+ logo: string;
1003
+ };
1004
+ [key: string]: any;
1005
+ };
1006
+
1007
+ interface CheckboxProps {
1008
+ disabled?: boolean;
1009
+ onChange: (checked: boolean) => void;
1010
+ size?: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
1011
+ text: string;
1012
+ checked?: boolean;
1013
+ id: string;
943
1014
  backgroundColor?: string;
944
- backdropColor?: string;
945
- position?: 'left' | 'right';
946
- width?: string;
1015
+ variant: 'primary' | 'secondary';
947
1016
  }
948
- declare const Drawer: ({ children, isOpen, onClose, onOpen, backgroundColor, backdropColor, position, width, onClickOutside, }: DrawerProps) => JSX.Element | null;
1017
+ declare const Checkbox: ({ disabled, onChange, size, text, checked, id, variant, }: CheckboxProps) => JSX.Element;
949
1018
 
950
- interface SpinnerProps {
951
- fill: string;
952
- background: string;
953
- animationDuration?: number;
954
- complete?: boolean;
955
- completeIconStroke?: number;
956
- size?: string;
1019
+ interface RadioGroupInputProps {
1020
+ name: string;
1021
+ options?: RadioGroupOption[];
1022
+ value?: RadioGroupOption;
1023
+ onChange: (value: RadioGroupOption) => void;
1024
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
1025
+ disabled?: boolean;
957
1026
  }
958
- declare const Spinner: ({ fill, background, animationDuration, complete, completeIconStroke, size, }: SpinnerProps) => JSX.Element;
1027
+ declare const RadioGroupInput: ({ name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
959
1028
 
960
- interface TagsProps {
961
- color?: string;
962
- items: string[];
963
- onCloseClick: (index: number) => void;
964
- }
965
- declare const Tags: ({ color, items, onCloseClick }: TagsProps) => JSX.Element;
1029
+ interface SimpleProps {
1030
+ title: string;
1031
+ freeShippingText: string;
1032
+ price: string;
1033
+ anyQtyForText: string;
1034
+ backgroundColor: string;
1035
+ widthAuto?: boolean;
1036
+ }
966
1037
 
967
- declare type FilteringDropdownProps<T> = {
968
- options: DropdownOption<T>[];
969
- disabled?: boolean;
970
- wide?: boolean;
971
- onChange: (options: DropdownOption<T>[]) => void;
972
- filter?: boolean;
973
- sliceAfter?: number;
974
- placeHolder: string;
975
- };
976
- declare function FilteringDropdown<T>({ options, disabled, placeHolder, wide, sliceAfter, filter, onChange, }: FilteringDropdownProps<T>): JSX.Element;
1038
+ interface MinimalisticProps {
1039
+ backgroundColor?: string;
1040
+ borderColor?: string;
1041
+ originalPrice: string;
1042
+ price: string;
1043
+ savingPrice: string;
1044
+ getMorePayLessText: string;
1045
+ youAreSavingText: string;
1046
+ getQtyForText: string;
1047
+ discount: number;
1048
+ offText: string;
1049
+ widthAuto?: boolean;
1050
+ }
977
1051
 
978
- interface PaginationProps {
979
- from: number;
980
- to: number;
981
- onChange: (page: number) => void;
982
- currentPage?: number;
983
- underlineActive?: boolean;
984
- boldActive?: boolean;
985
- disabled?: boolean;
1052
+ declare const Bundle: {
1053
+ Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
1054
+ Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;
1055
+ };
1056
+
1057
+ interface CategoryTagProps {
1058
+ text: string;
1059
+ size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
1060
+ className?: string;
986
1061
  }
987
- declare const Pagination: ({ from, to, currentPage, onChange, underlineActive, boldActive, disabled, }: PaginationProps) => JSX.Element;
1062
+ declare const CategoryTag: ({ text, size, className }: CategoryTagProps) => _emotion_react_jsx_runtime.JSX.Element;
988
1063
 
989
- declare const Text: FC<TextProps>;
990
-
991
- declare type TextHeroProps = {
992
- variant: 'hero1' | 'hero2' | 'hero3';
993
- weight?: 'heavy' | 'bold' | 'demi';
994
- size?: 'regular';
995
- underline?: never;
996
- disabled?: never;
997
- wide?: never;
998
- original?: never;
999
- allCaps?: never;
1000
- };
1001
- declare type TextDisplayProps = {
1002
- variant: 'display1' | 'display2';
1003
- weight?: 'bold' | 'demi';
1004
- size?: 'regular';
1005
- underline?: never;
1006
- disabled?: never;
1007
- wide?: never;
1008
- original?: never;
1009
- allCaps?: never;
1010
- };
1011
- declare type TextHeadingProps = {
1012
- variant: 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6';
1013
- weight?: 'bold' | 'demi' | 'regular';
1014
- size?: 'regular';
1015
- underline?: never;
1016
- disabled?: never;
1017
- wide?: never;
1018
- original?: never;
1019
- allCaps?: never;
1020
- };
1021
- declare type TextBodyProps = {
1022
- variant: 'body';
1023
- size?: 'regular' | 'small';
1024
- weight?: 'bold' | 'demi' | 'regular';
1025
- underline?: never;
1026
- disabled?: never;
1027
- wide?: never;
1028
- original?: never;
1029
- allCaps?: never;
1030
- };
1031
- declare type TextButtonProps = {
1032
- variant: 'button';
1033
- size: 'large' | 'regular' | 'small';
1034
- weight: 'bold' | 'demi';
1035
- underline?: never;
1036
- disabled?: never;
1037
- wide?: boolean;
1038
- original?: never;
1039
- allCaps?: never;
1040
- };
1041
- declare type TextPricingProps = {
1042
- variant: 'pricing';
1043
- size: 'large' | 'medium' | 'regular' | 'small';
1044
- weight?: never;
1045
- underline?: never;
1046
- disabled?: never;
1047
- wide?: never;
1048
- original?: boolean;
1049
- allCaps?: never;
1050
- };
1051
- declare type TextLinkProps = {
1052
- variant: 'link';
1053
- weight?: 'demi' | 'regular';
1054
- size?: 'regular' | 'small';
1055
- underline?: boolean;
1064
+ interface SeasonOfferTagProps {
1065
+ text: string;
1066
+ backgroundColor?: string;
1067
+ size: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
1068
+ className?: string;
1069
+ }
1070
+ declare const SeasonOfferTag: ({ text, backgroundColor, size, className, }: SeasonOfferTagProps) => _emotion_react_jsx_runtime.JSX.Element;
1071
+
1072
+ interface TimeProps {
1073
+ hours: number;
1074
+ minutes: number;
1075
+ seconds: number;
1076
+ }
1077
+ interface TimerProps extends TimeProps {
1078
+ onTimeUp: () => void;
1079
+ }
1080
+ declare const Timer: ({ onTimeUp, ...rest }: TimerProps) => JSX.Element;
1081
+
1082
+ interface BaseInputCommmonProps {
1083
+ defaultValue?: string;
1084
+ maxLength?: number;
1085
+ placeholder?: string;
1086
+ label?: string;
1087
+ onValidation?: (status: InputValidationType) => void;
1056
1088
  disabled?: boolean;
1057
- wide?: never;
1058
- original?: never;
1059
- allCaps?: never;
1060
- } & AnchorHTMLAttributes<'a'>;
1061
- declare type TextLabelProps = {
1062
- variant: 'label';
1063
- weight?: 'regular' | 'demi';
1089
+ required?: string;
1090
+ children?: React.ReactNode;
1064
1091
  size?: 'regular' | 'small';
1065
- underline?: never;
1066
- disabled?: boolean;
1067
- wide?: never;
1068
- original?: never;
1069
- allCaps?: never;
1070
- } & LabelHTMLAttributes<'label'>;
1071
- declare type TextTagProps = {
1072
- variant: 'tag';
1073
- size?: 'regular' | 'small' | 'x-small';
1074
- weight?: 'regular' | 'demi' | 'bold';
1075
- underline?: never;
1092
+ }
1093
+ interface BaseInputControlled extends BaseInputCommmonProps {
1094
+ value: string;
1095
+ onChange: (value: string) => void;
1096
+ }
1097
+ interface BaseInputUncontrolled extends BaseInputCommmonProps {
1098
+ value?: never;
1099
+ onChange?: (value: string) => void;
1100
+ }
1101
+ declare type BaseInputProps = BaseInputControlled | BaseInputUncontrolled;
1102
+
1103
+ declare type BasePlusIconProps = BaseInputProps & {
1104
+ Icon: IconType;
1105
+ };
1106
+
1107
+ declare type BasePlusButtonProps = BaseInputProps & {
1108
+ label?: undefined;
1109
+ onClick: (value: string) => void;
1110
+ onClickEdit: () => void;
1111
+ text: string;
1112
+ success: boolean;
1113
+ editText: string;
1114
+ successText: string;
1115
+ };
1116
+
1117
+ interface BaseCTAProps {
1118
+ onClick: () => void;
1076
1119
  disabled?: boolean;
1077
- wide?: never;
1078
- original?: never;
1079
- allCaps?: boolean;
1080
- };
1081
- declare type TextProps = AriaAttributes & {
1082
- style?: CSSProperties;
1120
+ wide?: boolean;
1083
1121
  className?: string;
1084
- } & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
1122
+ size?: ComponentSize;
1123
+ text: string;
1124
+ type?: ButtonType;
1125
+ inline?: boolean;
1126
+ }
1085
1127
 
1086
- interface SearchBarProps {
1087
- suggestions: SearchBarOptionItem$1[];
1088
- resultOptions: SearchBarOptionItem$1[];
1089
- onChange: (text: string) => void;
1090
- onSearch: (term: string) => void;
1091
- resultsPanelDataTestId?: string;
1128
+ declare type ButtonProps = {
1129
+ variant: 'primary' | 'secondary' | 'secondary-outline';
1130
+ } & BaseCTAProps;
1131
+
1132
+ declare type CustomProps = BaseInputProps & {
1133
+ onClick: () => void;
1134
+ text: string;
1135
+ variant: ButtonProps['variant'];
1136
+ };
1137
+
1138
+ declare const Input: {
1139
+ Simple: ({ value, onChange, defaultValue, label, children, required, onValidation, size, ...rest }: BaseInputProps) => JSX.Element;
1140
+ Custom: ({ onClick, text, variant, ...rest }: CustomProps) => JSX.Element;
1141
+ SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: BasePlusButtonProps) => JSX.Element;
1142
+ SimplePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
1143
+ };
1144
+
1145
+ interface PaymentMethodsProps {
1146
+ Icon: IconType;
1147
+ width: string;
1148
+ height: string;
1149
+ onClick?: () => void;
1092
1150
  }
1093
- declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, resultsPanelDataTestId, }: SearchBarProps) => JSX.Element;
1151
+ declare const PaymentMethod: ({ Icon, width, height, onClick }: PaymentMethodsProps) => JSX.Element;
1094
1152
 
1095
- interface ProductGalleryMobileProps {
1096
- images: ImageType[];
1097
- selectedValue?: ImageType;
1098
- DiscountTagElement?: JSX.Element;
1099
- BestSellerTagElement?: JSX.Element;
1100
- productImageDataTestId?: string;
1101
- slideDotsDataTestId?: string;
1153
+ interface OfferBannerProps {
1154
+ discountAppliedText: string;
1155
+ backgroundColor: string;
1102
1156
  }
1103
- declare const ProductGalleryMobile: ({ images, selectedValue, DiscountTagElement, BestSellerTagElement, productImageDataTestId, slideDotsDataTestId, }: ProductGalleryMobileProps) => JSX.Element;
1157
+ declare const OfferBanner: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
1104
1158
 
1105
- declare const ThemeProvider: FC<{
1106
- theme: Theme;
1107
- children: ReactNode;
1108
- }>;
1109
- declare const useTheme: () => Theme;
1110
- declare const ThemeVariables: FC<{
1111
- theme: Theme;
1112
- Container?: ElementType;
1113
- }>;
1114
- declare const AssetsProvider: FC<{
1115
- assets: ThemeAssets;
1116
- }>;
1117
- declare const useThemeAssets: () => ThemeAssets;
1118
- declare type Theme = {
1119
- name: string;
1120
- fontSizes: number[];
1121
- fontWeights: number[];
1122
- lineHeights: number[];
1123
- mediaQueries: ThemeBreakpoints;
1124
- colors: ThemeColors;
1125
- component: ThemeComponent;
1126
- typography: ThemeTypography;
1127
- fonts: ThemeFonts;
1128
- assets: ThemeAssets;
1129
- };
1130
- declare type ThemeBreakpoints = {
1131
- mobile: number;
1132
- desktop: number;
1159
+ declare type SubtotalOption = {
1160
+ label: string;
1161
+ value: string;
1133
1162
  };
1134
- declare type ThemeBasicPallete = {
1135
- color: string;
1136
- contrast: string;
1163
+ declare type Coupon = {
1164
+ code: string;
1165
+ amount: string;
1137
1166
  };
1138
- declare type ThemeColorPallete = ThemeBasicPallete & {
1139
- soft: ThemeBasicPallete;
1167
+ interface SubtotalProps {
1168
+ subtotal: SubtotalOption;
1169
+ shipping: SubtotalOption;
1170
+ taxes: SubtotalOption;
1171
+ highlightColor?: string;
1172
+ coupon?: {
1173
+ couponText: string;
1174
+ appliedText: string;
1175
+ coupons: Coupon[];
1176
+ };
1177
+ }
1178
+
1179
+ interface TotalProps {
1180
+ total: string;
1181
+ currency: string;
1182
+ highlightColor?: string;
1183
+ saving?: {
1184
+ amount: string;
1185
+ savingText: string;
1186
+ };
1187
+ }
1188
+
1189
+ declare const Totals: {
1190
+ Total: ({ total, currency, saving, highlightColor }: TotalProps) => JSX.Element;
1191
+ Subtotal: ({ subtotal, shipping, taxes, coupon, highlightColor, }: SubtotalProps) => JSX.Element;
1192
+ };
1193
+
1194
+ declare type detail = {
1195
+ title: string;
1196
+ details: string;
1140
1197
  };
1141
- declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
1142
- 20: ThemeColorPallete;
1143
- 40: ThemeColorPallete;
1144
- 60: ThemeColorPallete;
1145
- 80: ThemeColorPallete;
1146
- };
1147
- declare type ThemeColors = {
1148
- pallete: {
1149
- primary: ThemeColorPrimaryPallete;
1150
- secondary: ThemeColorPrimaryPallete;
1151
- } & Partial<Record<string, ThemeColorPallete>>;
1152
- shades: {
1153
- black: ThemeBasicPallete;
1154
- white: ThemeBasicPallete;
1155
- 5: ThemeBasicPallete;
1156
- 10: ThemeBasicPallete;
1157
- 50: ThemeBasicPallete;
1158
- 100: ThemeBasicPallete;
1159
- 150: ThemeBasicPallete;
1160
- 200: ThemeBasicPallete;
1161
- 250: ThemeBasicPallete;
1162
- 300: ThemeBasicPallete;
1163
- 350: ThemeBasicPallete;
1164
- 400: ThemeBasicPallete;
1165
- 450: ThemeBasicPallete;
1166
- 500: ThemeBasicPallete;
1167
- 550: ThemeBasicPallete;
1168
- 600: ThemeBasicPallete;
1169
- 650: ThemeBasicPallete;
1170
- 700: ThemeBasicPallete;
1171
- 750: ThemeBasicPallete;
1172
- 800: ThemeBasicPallete;
1173
- 850: ThemeBasicPallete;
1174
- 900: ThemeBasicPallete;
1175
- 950: ThemeBasicPallete;
1176
- 990: ThemeBasicPallete;
1177
- };
1178
- semantic: {
1179
- positive: ThemeBasicPallete;
1180
- urgent: ThemeBasicPallete;
1181
- attention: ThemeBasicPallete;
1182
- informative: ThemeBasicPallete;
1183
- };
1184
- border: {
1185
- color: string;
1186
- disabled: string;
1187
- highlight: string;
1198
+ interface orderUpdate extends detail {
1199
+ keepMeUpdated: {
1200
+ title: string;
1201
+ onClick: () => void;
1188
1202
  };
1189
- background: {
1203
+ }
1204
+ interface DeliveryDetailsProps {
1205
+ deliveryDetailsText: string;
1206
+ arrivingBy: detail;
1207
+ shippingTo: detail;
1208
+ instantOrderUpdate: orderUpdate;
1209
+ note?: {
1210
+ importantNoteText: string;
1211
+ text: string;
1212
+ accentColor: string;
1213
+ backgroundColor: string;
1190
1214
  color: string;
1191
- disabled: string;
1192
1215
  };
1193
- text: {
1194
- color: string;
1195
- disabled: string;
1216
+ }
1217
+ declare const DeliveryDetails: ({ deliveryDetailsText, arrivingBy, shippingTo, instantOrderUpdate, note, }: DeliveryDetailsProps) => JSX.Element;
1218
+
1219
+ interface ScrollToTopProps {
1220
+ scrollToTopText: string;
1221
+ onClick: () => void;
1222
+ }
1223
+ declare const ScrollToTop: ({ scrollToTopText, onClick }: ScrollToTopProps) => JSX.Element;
1224
+
1225
+ interface OrderBarProps {
1226
+ message: string;
1227
+ }
1228
+ declare const OrderBar: ({ message }: OrderBarProps) => JSX.Element;
1229
+
1230
+ interface TableProps {
1231
+ headers: string[];
1232
+ data: string[][];
1233
+ }
1234
+ declare const SizeTable: ({ headers, data }: TableProps) => JSX.Element;
1235
+
1236
+ interface Price extends Pick<PriceLabelProps, 'finalPrice' | 'originalPrice'> {
1237
+ color?: string;
1238
+ }
1239
+ interface ProductOrderItemProps {
1240
+ title: string;
1241
+ subtitle: string;
1242
+ image: {
1243
+ src: string;
1244
+ alt: string;
1196
1245
  };
1197
- };
1198
- declare type ThemeComponent = {
1199
- button: {
1200
- border: string;
1201
- borderRadius: string;
1202
- fontWeight: number;
1203
- size: {
1204
- small: {
1205
- fontSize: string;
1206
- padding: string;
1207
- };
1208
- medium: {
1209
- fontSize: string;
1210
- padding: string;
1211
- };
1212
- large: {
1213
- fontSize: string;
1214
- padding: string;
1215
- };
1216
- };
1217
- primary: {
1218
- active: {
1219
- backgroundColor: string;
1220
- color: string;
1221
- };
1222
- hover: {
1223
- backgroundColor: string;
1224
- color: string;
1225
- };
1226
- };
1227
- secondary: {
1228
- active: {
1229
- backgroundColor: string;
1230
- color: string;
1231
- };
1232
- hover: {
1233
- backgroundColor: string;
1234
- color: string;
1235
- };
1236
- };
1246
+ quantity?: number;
1247
+ price: Price;
1248
+ tag?: {
1249
+ text: string;
1250
+ backgroundColor: string;
1237
1251
  };
1238
- input: {
1239
- background: string;
1252
+ }
1253
+ declare const SimpleOrderItem: ({ title, subtitle, image, price, tag, quantity, }: ProductOrderItemProps) => JSX.Element;
1254
+
1255
+ interface ReviewProps {
1256
+ reviewerName: string;
1257
+ date: Date;
1258
+ rating: number;
1259
+ stars: {
1240
1260
  color: string;
1241
- placeholderColor: string;
1242
- borderRadius: string;
1243
- fontSize: string;
1244
- fontWeight: number;
1245
- padding: string;
1246
- lineHeight: string;
1247
- border: string;
1248
- boxShadow: string;
1249
- };
1250
- inputCustom: {
1251
- button: {
1252
- borderRadius: string;
1253
- };
1254
- input: {
1255
- borderRadius: string;
1256
- };
1257
- };
1258
- selector: {
1259
- size: {
1260
- small: {
1261
- padding: string;
1262
- borderRadius: string;
1263
- };
1264
- medium: {
1265
- padding: string;
1266
- borderRadius: string;
1267
- };
1268
- };
1269
- default: {
1270
- fontWeight: number;
1271
- border: string;
1272
- background: string;
1273
- color: string;
1274
- };
1275
- hover: {
1276
- fontWeight: number;
1277
- background: string;
1278
- border: string;
1279
- color: string;
1280
- };
1281
- disabled: {
1282
- border: string;
1283
- };
1284
- fontSize: string;
1285
- };
1286
- rating: {
1287
- fontWeight: number;
1288
- size: {
1289
- xsmall: {
1290
- fontSize: string;
1291
- lineHeight: string;
1292
- };
1293
- small: {
1294
- fontSize: string;
1295
- lineHeight: string;
1296
- };
1297
- medium: {
1298
- fontSize: string;
1299
- lineHeight: string;
1300
- };
1301
- large: {
1302
- fontSize: string;
1303
- lineHeight: string;
1304
- };
1305
- };
1306
- };
1307
- card: {
1308
- borderRadius: string;
1309
- };
1310
- radio: {
1311
- borderColor: string;
1312
- background: string;
1313
- size: {
1314
- small: {
1315
- borderWidth: string;
1316
- margin: string;
1317
- height: string;
1318
- active: {
1319
- borderWidth: string;
1320
- };
1321
- };
1322
- medium: {
1323
- borderWidth: string;
1324
- margin: string;
1325
- height: string;
1326
- active: {
1327
- borderWidth: string;
1328
- };
1329
- };
1330
- large: {
1331
- borderWidth: string;
1332
- margin: string;
1333
- height: string;
1334
- active: {
1335
- borderWidth: string;
1336
- };
1337
- };
1338
- };
1339
- };
1340
- label: {
1341
- fontSize: {
1342
- small: string;
1343
- medium: string;
1344
- large: string;
1345
- };
1346
- lineHeight: {
1347
- small: string;
1348
- medium: string;
1349
- large: string;
1350
- };
1261
+ size: ComponentSize.Medium | ComponentSize.Small;
1351
1262
  };
1352
- checkbox: {
1353
- background: string;
1354
- borderColor: string;
1355
- active: {
1356
- background: string;
1357
- };
1358
- size: {
1359
- large: {
1360
- width: string;
1361
- height: string;
1362
- borderRadius: string;
1363
- borderWidth: string;
1364
- margin: string;
1365
- icon: {
1366
- width: string;
1367
- height: string;
1368
- };
1369
- };
1370
- medium: {
1371
- width: string;
1372
- height: string;
1373
- borderRadius: string;
1374
- borderWidth: string;
1375
- margin: string;
1376
- icon: {
1377
- width: string;
1378
- height: string;
1379
- };
1380
- };
1381
- small: {
1382
- width: string;
1383
- height: string;
1384
- borderRadius: string;
1385
- borderWidth: string;
1386
- margin: string;
1387
- icon: {
1388
- width: string;
1389
- height: string;
1390
- };
1391
- };
1392
- };
1263
+ title: string;
1264
+ description: string;
1265
+ image: {
1266
+ src: string;
1267
+ alt: string;
1393
1268
  };
1394
- accordion: {
1395
- variant: {
1396
- box: {
1397
- container: {
1398
- border: string;
1399
- borderColor: string;
1400
- borderRadius: string;
1401
- padding: string;
1402
- };
1403
- summary: {
1404
- fontWeight: number;
1405
- fontSize: string;
1406
- lineHeight: string;
1407
- color: string;
1408
- };
1409
- details: {
1410
- margin: string;
1411
- };
1412
- icon: {
1413
- width: number;
1414
- height: number;
1415
- color: string;
1416
- };
1417
- };
1418
- simple: {
1419
- container: {
1420
- borderTop: string;
1421
- borderBottom: string;
1422
- borderColor: string;
1423
- borderRadius: string;
1424
- padding: string;
1425
- };
1426
- summary: {
1427
- fontWeight: number;
1428
- fontSize: string;
1429
- lineHeight: string;
1430
- color: string;
1431
- };
1432
- details: {
1433
- margin: string;
1434
- };
1435
- icon: {
1436
- width: number;
1437
- height: number;
1438
- color: string;
1439
- };
1440
- };
1441
- };
1269
+ }
1270
+ declare const Review: ({ reviewerName, date, rating, stars, title, description, image }: ReviewProps) => JSX.Element;
1271
+
1272
+ interface SliderNavigationProps {
1273
+ children: JSX.Element[];
1274
+ infinite: boolean;
1275
+ adaptiveHeight: boolean;
1276
+ dotsSize: ComponentSize.Large | ComponentSize.Medium | ComponentSize.Small;
1277
+ dotListMarginTop: number;
1278
+ initialSlide?: number;
1279
+ arrows?: {
1280
+ arrowWidth: number;
1281
+ arrowHeight: number;
1282
+ arrowPadding: number;
1442
1283
  };
1443
- dropdown: {
1444
- borderRadius: string;
1445
- fontSize: string;
1446
- fontWeight: number;
1447
- lineHeight: string;
1448
- padding: string;
1449
- color: string;
1450
- fill: string;
1451
- options: {
1452
- borderColor: string;
1453
- color: string;
1454
- };
1284
+ }
1285
+ declare const SliderNavigation: ({ children, infinite, arrows, adaptiveHeight, dotsSize, dotListMarginTop, initialSlide, }: SliderNavigationProps) => _emotion_react_jsx_runtime.JSX.Element;
1286
+
1287
+ interface DropdownListIconsProps {
1288
+ items: DropdownListIconsItem[];
1289
+ }
1290
+ declare const DropdownListIcons: ({ items }: DropdownListIconsProps) => JSX.Element;
1291
+
1292
+ interface ImageStyleProps {
1293
+ height?: string;
1294
+ width?: string;
1295
+ borderRadius?: string;
1296
+ objectFit?: string;
1297
+ objectPosition?: string;
1298
+ className?: string;
1299
+ }
1300
+ interface ImageProps extends ImageStyleProps {
1301
+ src: string;
1302
+ alt: string;
1303
+ }
1304
+ declare const Image: ({ src, alt, height, width, borderRadius, objectFit, objectPosition, className, }: ImageProps) => JSX.Element;
1305
+
1306
+ interface AmazonPaypalBtnProps {
1307
+ onClick: () => void;
1308
+ }
1309
+ declare const AmazonButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
1310
+ declare const PaypalButton: ({ onClick }: AmazonPaypalBtnProps) => JSX.Element;
1311
+
1312
+ interface CrossSellCheckboxProps extends rightToLeftProps {
1313
+ imageURL: string;
1314
+ title: string;
1315
+ description: string;
1316
+ freeShippingText: string;
1317
+ onChange: (checked: Boolean) => void;
1318
+ }
1319
+ interface rightToLeftProps {
1320
+ rightToLeft: boolean;
1321
+ }
1322
+ declare const CrossSellCheckbox: ({ imageURL, title, description, freeShippingText, rightToLeft, onChange, }: CrossSellCheckboxProps) => JSX.Element;
1323
+
1324
+ type index_d_CrossSellCheckboxProps = CrossSellCheckboxProps;
1325
+ declare const index_d_CrossSellCheckbox: typeof CrossSellCheckbox;
1326
+ declare namespace index_d {
1327
+ export {
1328
+ index_d_CrossSellCheckboxProps as CrossSellCheckboxProps,
1329
+ index_d_CrossSellCheckbox as CrossSellCheckbox,
1330
+ };
1331
+ }
1332
+
1333
+ interface ProductItemProps {
1334
+ title: string;
1335
+ image: ImageProps;
1336
+ price: Pick<PriceLabelProps, 'finalPrice' | 'originalPrice' | 'color'>;
1337
+ rating: Pick<RatingProps, 'rating' | 'reviews'>;
1338
+ tags?: {
1339
+ categoryTagText: string;
1340
+ seasonOfferTagText: string;
1455
1341
  };
1342
+ alignName?: 'left' | 'center';
1343
+ }
1344
+
1345
+ interface ProductItemSmallMobileProps extends ProductItemProps {
1346
+ size: ComponentSize.Medium | ComponentSize.Small | ComponentSize.Large;
1347
+ }
1348
+
1349
+ declare function withProductGrid<P extends ProductItemProps>(ProductItemComponent: React.FC<P>, data: ProductItemProps[]): {
1350
+ (props: Omit<P, 'title' | 'image' | 'price' | 'rating'>): JSX.Element;
1351
+ displayName: string;
1352
+ };
1353
+
1354
+ declare const Collection: {
1355
+ ProductItemMobile: ({ title, image, price, rating, size, tags, alignName, }: ProductItemSmallMobileProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
1356
+ withProductGrid: typeof withProductGrid;
1357
+ };
1358
+
1359
+ interface StarListProps {
1360
+ rating: number;
1361
+ size?: ComponentSize;
1362
+ starsNumber: number;
1363
+ fill: string;
1364
+ }
1365
+ declare const StarList: ({ rating, starsNumber, fill, size, }: StarListProps) => JSX.Element;
1366
+
1367
+ interface DrawerProps {
1368
+ children: React.ReactNode;
1369
+ isOpen: boolean;
1370
+ onClose?: () => void;
1371
+ onOpen?: () => void;
1372
+ onClickOutside?: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
1373
+ backgroundColor?: string;
1374
+ backdropColor?: string;
1375
+ position?: 'left' | 'right';
1376
+ width?: string;
1377
+ }
1378
+ declare const Drawer: ({ children, isOpen, onClose, onOpen, backgroundColor, backdropColor, position, width, onClickOutside, }: DrawerProps) => JSX.Element | null;
1379
+
1380
+ interface SpinnerProps {
1381
+ fill: string;
1382
+ background: string;
1383
+ animationDuration?: number;
1384
+ complete?: boolean;
1385
+ completeIconStroke?: number;
1386
+ size?: string;
1387
+ }
1388
+ declare const Spinner: ({ fill, background, animationDuration, complete, completeIconStroke, size, }: SpinnerProps) => JSX.Element;
1389
+
1390
+ interface TagsProps {
1391
+ color?: string;
1392
+ items: string[];
1393
+ onCloseClick: (index: number) => void;
1394
+ }
1395
+ declare const Tags: ({ color, items, onCloseClick }: TagsProps) => JSX.Element;
1396
+
1397
+ declare type FilteringDropdownProps<T> = {
1398
+ options: DropdownOption<T>[];
1399
+ disabled?: boolean;
1400
+ wide?: boolean;
1401
+ onChange: (options: DropdownOption<T>[]) => void;
1402
+ filter?: boolean;
1403
+ sliceAfter?: number;
1404
+ placeHolder: string;
1456
1405
  };
1457
- declare type ThemeTypography = {
1458
- config: {
1459
- weight: {
1460
- heavy: number;
1461
- bold: number;
1462
- demi: number;
1463
- regular: number;
1464
- };
1465
- };
1466
- variants: Record<string, CSSProperties>;
1406
+ declare function FilteringDropdown<T>({ options, disabled, placeHolder, wide, sliceAfter, filter, onChange, }: FilteringDropdownProps<T>): JSX.Element;
1407
+
1408
+ interface PaginationProps {
1409
+ from: number;
1410
+ to: number;
1411
+ onChange: (page: number) => void;
1412
+ currentPage?: number;
1413
+ underlineActive?: boolean;
1414
+ boldActive?: boolean;
1415
+ disabled?: boolean;
1416
+ }
1417
+ declare const Pagination: ({ from, to, currentPage, onChange, underlineActive, boldActive, disabled, }: PaginationProps) => JSX.Element;
1418
+
1419
+ declare const Text: FC<TextProps>;
1420
+ declare type TextHeroProps = {
1421
+ variant: 'hero1' | 'hero2' | 'hero3';
1422
+ weight?: 'heavy' | 'bold' | 'demi';
1423
+ size?: 'regular';
1424
+ underline?: never;
1425
+ disabled?: never;
1426
+ wide?: never;
1427
+ original?: never;
1428
+ allCaps?: never;
1467
1429
  };
1468
- declare type ThemeFonts = {
1469
- url: string;
1470
- config: Array<{
1471
- src: string;
1472
- family: string;
1473
- weight?: number | string;
1474
- style?: string;
1475
- stretch?: string;
1476
- }>;
1430
+ declare type TextDisplayProps = {
1431
+ variant: 'display1' | 'display2';
1432
+ weight?: 'bold' | 'demi';
1433
+ size?: 'regular';
1434
+ underline?: never;
1435
+ disabled?: never;
1436
+ wide?: never;
1437
+ original?: never;
1438
+ allCaps?: never;
1477
1439
  };
1478
- declare type ThemeAssets = {
1479
- images: {
1480
- favicon: string;
1481
- logo: string;
1482
- };
1483
- [key: string]: any;
1440
+ declare type TextHeadingProps = {
1441
+ variant: 'heading1' | 'heading2' | 'heading3' | 'heading4' | 'heading5' | 'heading6';
1442
+ weight?: 'bold' | 'demi' | 'regular';
1443
+ size?: 'regular';
1444
+ underline?: never;
1445
+ disabled?: never;
1446
+ wide?: never;
1447
+ original?: never;
1448
+ allCaps?: never;
1449
+ };
1450
+ declare type TextBodyProps = {
1451
+ variant: 'body';
1452
+ size?: 'regular' | 'small';
1453
+ weight?: 'bold' | 'demi' | 'regular';
1454
+ underline?: never;
1455
+ disabled?: never;
1456
+ wide?: never;
1457
+ original?: never;
1458
+ allCaps?: never;
1459
+ };
1460
+ declare type TextButtonProps = {
1461
+ variant: 'button';
1462
+ size: 'large' | 'regular' | 'small';
1463
+ weight: 'bold' | 'demi';
1464
+ underline?: never;
1465
+ disabled?: never;
1466
+ wide?: boolean;
1467
+ original?: never;
1468
+ allCaps?: never;
1469
+ };
1470
+ declare type TextPricingProps = {
1471
+ variant: 'pricing';
1472
+ size: 'large' | 'medium' | 'regular' | 'small';
1473
+ weight?: never;
1474
+ underline?: never;
1475
+ disabled?: never;
1476
+ wide?: never;
1477
+ original?: boolean;
1478
+ allCaps?: never;
1479
+ };
1480
+ declare type TextLinkProps = {
1481
+ variant: 'link';
1482
+ weight?: 'demi' | 'regular';
1483
+ size?: 'regular' | 'small';
1484
+ underline?: boolean;
1485
+ disabled?: boolean;
1486
+ wide?: never;
1487
+ original?: never;
1488
+ allCaps?: never;
1489
+ } & AnchorHTMLAttributes<'a'>;
1490
+ declare type TextLabelProps = {
1491
+ variant: 'label';
1492
+ weight?: 'regular' | 'demi';
1493
+ size?: 'regular' | 'small';
1494
+ underline?: never;
1495
+ disabled?: boolean;
1496
+ wide?: never;
1497
+ original?: never;
1498
+ allCaps?: never;
1499
+ } & LabelHTMLAttributes<'label'>;
1500
+ declare type TextTagProps = {
1501
+ variant: 'tag';
1502
+ size?: 'regular' | 'small' | 'x-small';
1503
+ weight?: 'regular' | 'demi' | 'bold';
1504
+ underline?: never;
1505
+ disabled?: boolean;
1506
+ wide?: never;
1507
+ original?: never;
1508
+ allCaps?: boolean;
1509
+ };
1510
+ declare type TextProps = AriaAttributes & {
1511
+ style?: CSSProperties;
1512
+ className?: string;
1513
+ } & (TextHeroProps | TextDisplayProps | TextHeadingProps | TextBodyProps | TextLinkProps | TextButtonProps | TextPricingProps | TextLabelProps | TextTagProps);
1514
+
1515
+ interface SearchBarProps {
1516
+ suggestions: SearchBarOptionItem[];
1517
+ resultOptions: SearchBarOptionItem[];
1518
+ onChange: (text: string) => void;
1519
+ onSearch: (term: string) => void;
1520
+ resultsPanelDataTestId?: string;
1521
+ }
1522
+ declare const SearchBar: ({ suggestions, resultOptions, onChange, onSearch, resultsPanelDataTestId, }: SearchBarProps) => JSX.Element;
1523
+
1524
+ interface ProductGalleryMobileProps {
1525
+ images: ImageType[];
1526
+ selectedValue?: ImageType;
1527
+ DiscountTagElement?: JSX.Element;
1528
+ BestSellerTagElement?: JSX.Element;
1529
+ productImageDataTestId?: string;
1530
+ slideDotsDataTestId?: string;
1531
+ }
1532
+ declare const ProductGalleryMobile: ({ images, selectedValue, DiscountTagElement, BestSellerTagElement, productImageDataTestId, slideDotsDataTestId, }: ProductGalleryMobileProps) => JSX.Element;
1533
+
1534
+ interface RadioProps {
1535
+ name: string;
1536
+ value: string;
1537
+ id: string;
1538
+ label: string;
1539
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
1540
+ checked?: boolean;
1541
+ disabled?: boolean;
1542
+ onChange: (option: RadioGroupOption) => void;
1543
+ }
1544
+ declare const RadioInput: ({ name, value, id, label, checked, disabled, onChange, size, }: RadioProps) => JSX.Element;
1545
+
1546
+ declare type PortalProps = {
1547
+ id: string;
1548
+ className?: string;
1549
+ };
1550
+ declare const Portal: FC<PortalProps>;
1551
+
1552
+ declare type ModalProps = {
1553
+ id: string;
1554
+ dismissable?: boolean;
1555
+ };
1556
+ declare const Overlay: _emotion_styled.StyledComponent<{
1557
+ theme?: _emotion_react.Theme | undefined;
1558
+ as?: React.ElementType<any> | undefined;
1559
+ } & {
1560
+ opened?: boolean | undefined;
1561
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
1562
+ declare const Modal: FC<ModalProps>;
1563
+ declare type ModalEventDetail = {
1564
+ id: string;
1565
+ type: 'open' | 'close';
1566
+ };
1567
+ declare const modalEvent: (id: string, detail: Omit<ModalEventDetail, 'id'>) => void;
1568
+ declare global {
1569
+ interface WindowEventMap {
1570
+ modal: CustomEvent<ModalEventDetail>;
1571
+ }
1572
+ }
1573
+
1574
+ interface CloseButtonProps {
1575
+ onClick: () => void;
1576
+ }
1577
+
1578
+ interface DescriptionProps {
1579
+ text: string;
1580
+ }
1581
+
1582
+ interface PromoProps {
1583
+ text: string;
1584
+ }
1585
+
1586
+ interface TitleProps {
1587
+ title: string;
1588
+ }
1589
+
1590
+ declare const CartProductItem: {
1591
+ Title: ({ title }: TitleProps) => JSX.Element;
1592
+ Tag: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
1593
+ Promo: ({ text }: PromoProps) => JSX.Element;
1594
+ Description: ({ text }: DescriptionProps) => JSX.Element;
1595
+ CloseButton: ({ onClick }: CloseButtonProps) => JSX.Element;
1484
1596
  };
1485
1597
 
1598
+ declare type QuantityPickerPropsOnChange = (value: number) => void;
1599
+ declare type QuantityPickerPropsControlled = {
1600
+ value: number;
1601
+ onChange: QuantityPickerPropsOnChange;
1602
+ };
1603
+ declare type QuantityPickerPropsUncontrolled = {
1604
+ value?: never;
1605
+ onChange?: QuantityPickerPropsOnChange;
1606
+ };
1607
+ declare type QuantityPickerProps = {
1608
+ initialValue?: number;
1609
+ maxValue?: number;
1610
+ } & (QuantityPickerPropsControlled | QuantityPickerPropsUncontrolled);
1611
+ declare const QuantityPicker: ({ initialValue, maxValue, value, onChange, }: QuantityPickerProps) => JSX.Element;
1612
+
1613
+ declare type SpacingProps = {
1614
+ size: number;
1615
+ type?: 'block' | 'inline';
1616
+ style?: CSSProperties;
1617
+ };
1618
+ declare const Spacing: FC<SpacingProps>;
1619
+
1486
1620
  declare const useOnClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: Event) => void) => void;
1487
1621
 
1488
- declare const useWindowDimensions: (breakpoints: ThemeBreakpoints$1) => {
1622
+ declare const useWindowDimensions: (breakpoints: ThemeBreakpoints) => {
1489
1623
  isMobile: boolean;
1490
1624
  windowDimensions: {
1491
1625
  width: number;
@@ -1493,4 +1627,24 @@ declare const useWindowDimensions: (breakpoints: ThemeBreakpoints$1) => {
1493
1627
  };
1494
1628
  };
1495
1629
 
1496
- export { Accordion, AmazonButton, AssetsProvider, Bundle, ButtonPrimary, ButtonSecondary, ButtonSecondaryOutline, ButtonType, CTAProps, _default as Card, CardSectionType, 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$1 as IconProps, IconWithOpacityProps, Image, ImageType, Input, InputValidationType, MultiColorPicker, OfferBanner, OrderBar, Pagination, Pattern, PaymentMethod, PaypalButton, PriceLabel, ProductGallery, ProductGalleryMobile, ProgressBar, RadioGroupInput, RadioGroupOption, 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, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };
1630
+ /**
1631
+ * @returns number formatted with "," and 2 decimals as string
1632
+ */
1633
+ declare const decimalFormat: (number: number) => string;
1634
+
1635
+ declare const isEmpty: (value: string) => boolean;
1636
+ declare const isEmail: (value: string) => boolean;
1637
+ declare const isNumber: (value: string) => boolean;
1638
+ declare const isPhoneNumber: (value: string) => boolean;
1639
+ declare const isValidDate: (value: string) => boolean;
1640
+
1641
+ declare const simulateMouseClick: (element: HTMLElement) => void;
1642
+
1643
+ declare const sliceString: (str: string, maxLength: number) => string;
1644
+
1645
+ declare const formatPrice: (value: number, { locale, currency }?: {
1646
+ locale?: string | undefined;
1647
+ currency?: string | undefined;
1648
+ }) => string;
1649
+
1650
+ 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, 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, useOnClickOutside, useTheme, useThemeAssets, useWindowDimensions };