@trafilea/afrodita-components 3.0.8-beta.0 → 4.0.1-beta.2

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 (385) hide show
  1. package/build/dts/components/Demo.stories.d.ts +7 -0
  2. package/build/dts/components/Icon-wrapper/IconWrapper.d.ts +12 -0
  3. package/build/dts/components/Icon-wrapper/IconWrapper.test.d.ts +1 -0
  4. package/build/dts/components/accordion/Accordion.d.ts +13 -0
  5. package/build/dts/components/accordion/Accordion.stories.d.ts +9 -0
  6. package/build/dts/components/accordion/Accordion.test.d.ts +1 -0
  7. package/build/dts/components/accordion/styles.d.ts +16 -0
  8. package/build/dts/components/bundle/index.d.ts +5 -0
  9. package/build/dts/components/bundle/minimalistic/Minimalistic.d.ts +15 -0
  10. package/build/dts/components/bundle/minimalistic/Minimalistic.stories.d.ts +9 -0
  11. package/build/dts/components/bundle/minimalistic/Minimalistic.test.d.ts +1 -0
  12. package/build/dts/components/bundle/simple/Simple.d.ts +10 -0
  13. package/build/dts/components/bundle/simple/Simple.stories.d.ts +9 -0
  14. package/build/dts/components/bundle/simple/Simple.test.d.ts +1 -0
  15. package/build/dts/components/cartProductItem/CloseIcon/Close.test.d.ts +1 -0
  16. package/build/dts/components/cartProductItem/CloseIcon/CloseButton.d.ts +5 -0
  17. package/build/dts/components/cartProductItem/CloseIcon/CloseButton.stories.d.ts +9 -0
  18. package/build/dts/components/cartProductItem/Description/Description.d.ts +5 -0
  19. package/build/dts/components/cartProductItem/Description/Description.stories.d.ts +9 -0
  20. package/build/dts/components/cartProductItem/Description/Description.test.d.ts +1 -0
  21. package/build/dts/components/cartProductItem/Promo/Promo.d.ts +5 -0
  22. package/build/dts/components/cartProductItem/Promo/Promo.stories.d.ts +9 -0
  23. package/build/dts/components/cartProductItem/Promo/Promo.test.d.ts +1 -0
  24. package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.d.ts +5 -0
  25. package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.stories.d.ts +9 -0
  26. package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.test.d.ts +1 -0
  27. package/build/dts/components/cartProductItem/Title/Title.d.ts +5 -0
  28. package/build/dts/components/cartProductItem/Title/Title.stories.d.ts +9 -0
  29. package/build/dts/components/cartProductItem/Title/Title.test.d.ts +1 -0
  30. package/build/dts/components/cartProductItem/index.d.ts +8 -0
  31. package/build/dts/components/checkbox/Checkbox.d.ts +21 -0
  32. package/build/dts/components/checkbox/Checkbox.stories.d.ts +24 -0
  33. package/build/dts/components/checkbox/Checkbox.test.d.ts +1 -0
  34. package/build/dts/components/checkbox/styles.d.ts +9 -0
  35. package/build/dts/components/collection/grid/WithProductGrid.d.ts +11 -0
  36. package/build/dts/components/collection/grid/WithProductGrid.stories.d.ts +9 -0
  37. package/build/dts/components/collection/grid/WithProductGrid.test.d.ts +1 -0
  38. package/build/dts/components/collection/index.d.ts +5 -0
  39. package/build/dts/components/collection/product/mobile/ProductItemMobile.d.ts +7 -0
  40. package/build/dts/components/collection/product/mobile/ProductItemMobile.stories.d.ts +24 -0
  41. package/build/dts/components/collection/product/mobile/ProductItemMobile.test.d.ts +1 -0
  42. package/build/dts/components/collection/product/types.d.ts +14 -0
  43. package/build/dts/components/color/ColorRadioGroup.d.ts +24 -0
  44. package/build/dts/components/color/MultiColorPicker.d.ts +10 -0
  45. package/build/dts/components/color/MultiColorPicker.stories.d.ts +9 -0
  46. package/build/dts/components/color/MultiColorPicker.test.d.ts +1 -0
  47. package/build/dts/components/color/SingleColorPicker.d.ts +10 -0
  48. package/build/dts/components/color/SingleColorPicker.stories.d.ts +9 -0
  49. package/build/dts/components/color/SingleColorPicker.test.d.ts +1 -0
  50. package/build/dts/components/color/selector/ColorSelector.d.ts +15 -0
  51. package/build/dts/components/color/selector/ColorSelector.stories.d.ts +14 -0
  52. package/build/dts/components/color/selector/ColorSelector.test.d.ts +1 -0
  53. package/build/dts/components/color/selector/OneColorSelector.d.ts +8 -0
  54. package/build/dts/components/color/selector/OutOfStock.d.ts +6 -0
  55. package/build/dts/components/color/selector/PatternSelector.d.ts +8 -0
  56. package/build/dts/components/color/selector/PatternSelector.test.d.ts +1 -0
  57. package/build/dts/components/color/selector/ThreeColorSelector.d.ts +10 -0
  58. package/build/dts/components/color/selector/TwoColorSelector.d.ts +9 -0
  59. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.d.ts +13 -0
  60. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.stories.d.ts +9 -0
  61. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.test.d.ts +1 -0
  62. package/build/dts/components/cross-sell/index.d.ts +1 -0
  63. package/build/dts/components/cta/BaseCTA.d.ts +13 -0
  64. package/build/dts/components/cta/BaseCTA.test.d.ts +1 -0
  65. package/build/dts/components/cta/index.d.ts +3 -0
  66. package/build/dts/components/cta/primary/ButtonPrimary.d.ts +3 -0
  67. package/build/dts/components/cta/primary/ButtonPrimary.stories.d.ts +37 -0
  68. package/build/dts/components/cta/primary/ButtonPrimary.test.d.ts +1 -0
  69. package/build/dts/components/cta/secondary/ButtonSecondary.d.ts +3 -0
  70. package/build/dts/components/cta/secondary/ButtonSecondary.stories.d.ts +37 -0
  71. package/build/dts/components/cta/secondary/ButtonSecondary.test.d.ts +1 -0
  72. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.d.ts +3 -0
  73. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.stories.d.ts +37 -0
  74. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.test.d.ts +1 -0
  75. package/build/dts/components/delivery-details/DeliveryDetails.d.ts +26 -0
  76. package/build/dts/components/delivery-details/DeliveryDetails.stories.d.ts +9 -0
  77. package/build/dts/components/delivery-details/DeliveryDetails.test.d.ts +1 -0
  78. package/build/dts/components/delivery-details/Note/Note.d.ts +9 -0
  79. package/build/dts/components/delivery-details/Note/Note.stories.d.ts +9 -0
  80. package/build/dts/components/delivery-details/Note/Note.test.d.ts +1 -0
  81. package/build/dts/components/drawer/Drawer.d.ts +13 -0
  82. package/build/dts/components/drawer/Drawer.stories.d.ts +14 -0
  83. package/build/dts/components/drawer/Drawer.test.d.ts +1 -0
  84. package/build/dts/components/dropdown/base/BaseDropdown.d.ts +17 -0
  85. package/build/dts/components/dropdown/base/BaseDropdownButton.d.ts +12 -0
  86. package/build/dts/components/dropdown/base/BaseDropdownOption.d.ts +11 -0
  87. package/build/dts/components/dropdown/base/BaseDropdownOptions.d.ts +6 -0
  88. package/build/dts/components/dropdown/variants/filtering/Filtering.test.d.ts +1 -0
  89. package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.d.ts +13 -0
  90. package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.stories.d.ts +12 -0
  91. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.d.ts +20 -0
  92. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.stories.d.ts +13 -0
  93. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.test.d.ts +1 -0
  94. package/build/dts/components/dropdown-list-icons/DropdownListIcons.d.ts +6 -0
  95. package/build/dts/components/dropdown-list-icons/DropdownListIcons.stories.d.ts +9 -0
  96. package/build/dts/components/dropdown-list-icons/DropdownListIcons.test.d.ts +1 -0
  97. package/build/dts/components/dropdown-list-icons/Styled.d.ts +34 -0
  98. package/build/dts/components/filtering/Accordion.d.ts +8 -0
  99. package/build/dts/components/filtering/Filters.d.ts +15 -0
  100. package/build/dts/components/filtering/Filters.stories.d.ts +9 -0
  101. package/build/dts/components/filtering/Filters.test.d.ts +1 -0
  102. package/build/dts/components/filtering/FiltersStyled.d.ts +43 -0
  103. package/build/dts/components/filtering/Tags/Tags.d.ts +24 -0
  104. package/build/dts/components/filtering/Tags/Tags.stories.d.ts +9 -0
  105. package/build/dts/components/filtering/Tags/Tags.test.d.ts +1 -0
  106. package/build/dts/components/fit/FitPredictor.d.ts +5 -0
  107. package/build/dts/components/fit/FitPredictor.stories.d.ts +7 -0
  108. package/build/dts/components/fit/FitPredictor.test.d.ts +1 -0
  109. package/build/dts/components/gallery/ImagePreviewList.d.ts +9 -0
  110. package/build/dts/components/gallery/ImagePreviewList.test.d.ts +1 -0
  111. package/build/dts/components/gallery/ImageProductWithTags.d.ts +10 -0
  112. package/build/dts/components/gallery/ImageProductWithTags.test.d.ts +1 -0
  113. package/build/dts/components/gallery/ImageSmallPreview.d.ts +9 -0
  114. package/build/dts/components/gallery/ImageSmallPreview.test.d.ts +1 -0
  115. package/build/dts/components/gallery/ProductGallery.d.ts +12 -0
  116. package/build/dts/components/gallery/ProductGallery.stories.d.ts +9 -0
  117. package/build/dts/components/gallery/ProductGallery.test.d.ts +1 -0
  118. package/build/dts/components/icon-button/IconButton.d.ts +16 -0
  119. package/build/dts/components/icon-button/IconButton.stories.d.ts +23 -0
  120. package/build/dts/components/icon-button/IconButton.test.d.ts +1 -0
  121. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.d.ts +6 -0
  122. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.stories.d.ts +7 -0
  123. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.test.d.ts +1 -0
  124. package/build/dts/components/icons/Actions/Check.d.ts +3 -0
  125. package/build/dts/components/icons/Actions/ClearLight.d.ts +3 -0
  126. package/build/dts/components/icons/Actions/Close.d.ts +3 -0
  127. package/build/dts/components/icons/Actions/LightCheck.d.ts +6 -0
  128. package/build/dts/components/icons/Actions/LightExclamation.d.ts +3 -0
  129. package/build/dts/components/icons/Actions/Question.d.ts +3 -0
  130. package/build/dts/components/icons/Actions/Trash.d.ts +3 -0
  131. package/build/dts/components/icons/Actions/index.d.ts +7 -0
  132. package/build/dts/components/icons/Arrows/ChevronDown.d.ts +3 -0
  133. package/build/dts/components/icons/Arrows/ChevronLeft.d.ts +3 -0
  134. package/build/dts/components/icons/Arrows/ChevronRight.d.ts +3 -0
  135. package/build/dts/components/icons/Arrows/ChevronRightVariant.d.ts +3 -0
  136. package/build/dts/components/icons/Arrows/ChevronUp.d.ts +3 -0
  137. package/build/dts/components/icons/Arrows/ChevronUpSolid.d.ts +3 -0
  138. package/build/dts/components/icons/Arrows/CircleUp.d.ts +3 -0
  139. package/build/dts/components/icons/Arrows/index.d.ts +7 -0
  140. package/build/dts/components/icons/Custom/SixtyDaysGuarantee.d.ts +3 -0
  141. package/build/dts/components/icons/Custom/index.d.ts +1 -0
  142. package/build/dts/components/icons/Download/AppleStore.d.ts +3 -0
  143. package/build/dts/components/icons/Download/GooglePlay.d.ts +3 -0
  144. package/build/dts/components/icons/Download/index.d.ts +2 -0
  145. package/build/dts/components/icons/Messaging/Comment.d.ts +3 -0
  146. package/build/dts/components/icons/Messaging/Messenger.d.ts +3 -0
  147. package/build/dts/components/icons/Messaging/QuestionCircle.d.ts +3 -0
  148. package/build/dts/components/icons/Messaging/index.d.ts +3 -0
  149. package/build/dts/components/icons/Navigation/MapMarker.d.ts +3 -0
  150. package/build/dts/components/icons/Navigation/Search.d.ts +3 -0
  151. package/build/dts/components/icons/Navigation/ShoppingBag.d.ts +3 -0
  152. package/build/dts/components/icons/Navigation/User.d.ts +3 -0
  153. package/build/dts/components/icons/Navigation/index.d.ts +4 -0
  154. package/build/dts/components/icons/Other/FitPredictor.d.ts +3 -0
  155. package/build/dts/components/icons/Other/Loading.d.ts +6 -0
  156. package/build/dts/components/icons/Other/Shapermint.d.ts +3 -0
  157. package/build/dts/components/icons/Other/index.d.ts +4 -0
  158. package/build/dts/components/icons/Other/mcAfee.d.ts +3 -0
  159. package/build/dts/components/icons/PDP/Clock.d.ts +3 -0
  160. package/build/dts/components/icons/PDP/FlagUSA.d.ts +3 -0
  161. package/build/dts/components/icons/PDP/Minus.d.ts +3 -0
  162. package/build/dts/components/icons/PDP/Plus.d.ts +3 -0
  163. package/build/dts/components/icons/PDP/Rule.d.ts +3 -0
  164. package/build/dts/components/icons/PDP/Shipping.d.ts +3 -0
  165. package/build/dts/components/icons/PDP/Star.d.ts +3 -0
  166. package/build/dts/components/icons/PDP/StarEmpty.d.ts +3 -0
  167. package/build/dts/components/icons/PDP/StarHalf.d.ts +3 -0
  168. package/build/dts/components/icons/PDP/Stopwatch.d.ts +3 -0
  169. package/build/dts/components/icons/PDP/index.d.ts +10 -0
  170. package/build/dts/components/icons/Payment/Amazon.d.ts +3 -0
  171. package/build/dts/components/icons/Payment/Amex.d.ts +3 -0
  172. package/build/dts/components/icons/Payment/JCB.d.ts +3 -0
  173. package/build/dts/components/icons/Payment/Klarna.d.ts +3 -0
  174. package/build/dts/components/icons/Payment/MasterCard.d.ts +3 -0
  175. package/build/dts/components/icons/Payment/Paypal.d.ts +3 -0
  176. package/build/dts/components/icons/Payment/Visa.d.ts +3 -0
  177. package/build/dts/components/icons/Payment/index.d.ts +7 -0
  178. package/build/dts/components/icons/SlideDots/SlideDot.d.ts +3 -0
  179. package/build/dts/components/icons/SlideDots/index.d.ts +1 -0
  180. package/build/dts/components/icons/SocialMedia/Facebook.d.ts +3 -0
  181. package/build/dts/components/icons/SocialMedia/FacebookSolid.d.ts +3 -0
  182. package/build/dts/components/icons/SocialMedia/Instagram.d.ts +3 -0
  183. package/build/dts/components/icons/SocialMedia/InstagramSolid.d.ts +3 -0
  184. package/build/dts/components/icons/SocialMedia/Pinterest.d.ts +3 -0
  185. package/build/dts/components/icons/SocialMedia/Twitter.d.ts +3 -0
  186. package/build/dts/components/icons/SocialMedia/Youtube.d.ts +3 -0
  187. package/build/dts/components/icons/SocialMedia/index.d.ts +7 -0
  188. package/build/dts/components/icons/index.d.ts +27 -0
  189. package/build/dts/components/index.d.ts +48 -0
  190. package/build/dts/components/input/base/BaseInput.d.ts +14 -0
  191. package/build/dts/components/input/base/BaseInput.stories.d.ts +9 -0
  192. package/build/dts/components/input/base/BaseInput.test.d.ts +1 -0
  193. package/build/dts/components/input/base/Error.d.ts +6 -0
  194. package/build/dts/components/input/base/Styled.d.ts +31 -0
  195. package/build/dts/components/input/basePlusButton/BasePlusButton.d.ts +13 -0
  196. package/build/dts/components/input/basePlusButton/BasePlusButton.stories.d.ts +9 -0
  197. package/build/dts/components/input/basePlusButton/BasePlusButton.test.d.ts +1 -0
  198. package/build/dts/components/input/basePlusButton/Success.d.ts +6 -0
  199. package/build/dts/components/input/basePlusIcon/BasePlusIcon.d.ts +7 -0
  200. package/build/dts/components/input/basePlusIcon/BasePlusIcon.stories.d.ts +9 -0
  201. package/build/dts/components/input/basePlusIcon/BasePlusIcon.test.d.ts +1 -0
  202. package/build/dts/components/input/custom/Custom.d.ts +8 -0
  203. package/build/dts/components/input/custom/Custom.stories.d.ts +9 -0
  204. package/build/dts/components/input/custom/Custom.test.d.ts +1 -0
  205. package/build/dts/components/input/index.d.ts +7 -0
  206. package/build/dts/components/input/label/Label.d.ts +15 -0
  207. package/build/dts/components/input/label/Label.stories.d.ts +9 -0
  208. package/build/dts/components/input/label/Label.test.d.ts +1 -0
  209. package/build/dts/components/mobile/gallery/ImageProductWithTagsMobile.d.ts +10 -0
  210. package/build/dts/components/mobile/gallery/ProductGalleryMobile.d.ts +12 -0
  211. package/build/dts/components/mobile/gallery/ProductGalleryMobile.stories.d.ts +8 -0
  212. package/build/dts/components/mobile/gallery/ProductGalleryMobile.test.d.ts +1 -0
  213. package/build/dts/components/mobile/gallery/slide_navigation/ArrowButton.d.ts +8 -0
  214. package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.d.ts +8 -0
  215. package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.test.d.ts +1 -0
  216. package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.d.ts +9 -0
  217. package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.test.d.ts +1 -0
  218. package/build/dts/components/offer-banner/OfferBanner.d.ts +15 -0
  219. package/build/dts/components/offer-banner/OfferBanner.stories.d.ts +9 -0
  220. package/build/dts/components/offer-banner/OfferBanner.test.d.ts +1 -0
  221. package/build/dts/components/order-bar/OrderBar.d.ts +17 -0
  222. package/build/dts/components/order-bar/OrderBar.stories.d.ts +9 -0
  223. package/build/dts/components/order-bar/OrderBar.test.d.ts +1 -0
  224. package/build/dts/components/pagination/Pagination.d.ts +11 -0
  225. package/build/dts/components/pagination/Pagination.stories.d.ts +9 -0
  226. package/build/dts/components/pagination/Pagination.test.d.ts +1 -0
  227. package/build/dts/components/pagination/styles.d.ts +29 -0
  228. package/build/dts/components/payment-methods/PaymentMethod.d.ts +20 -0
  229. package/build/dts/components/payment-methods/PaymentMethod.stories.d.ts +13 -0
  230. package/build/dts/components/payment-methods/PaymentMethod.test.d.ts +1 -0
  231. package/build/dts/components/pricing/discount/DiscountTag.d.ts +21 -0
  232. package/build/dts/components/pricing/discount/DiscountTag.stories.d.ts +23 -0
  233. package/build/dts/components/pricing/discount/DiscountTag.test.d.ts +1 -0
  234. package/build/dts/components/pricing/index.d.ts +2 -0
  235. package/build/dts/components/pricing/price/PriceLabel.d.ts +11 -0
  236. package/build/dts/components/pricing/price/PriceLabel.stories.d.ts +23 -0
  237. package/build/dts/components/pricing/price/PriceLabel.test.d.ts +1 -0
  238. package/build/dts/components/product/order/item/SimpleOrderItem.d.ts +20 -0
  239. package/build/dts/components/product/order/item/SimpleOrderItem.stories.d.ts +11 -0
  240. package/build/dts/components/product/order/item/SimpleOrderItem.test.d.ts +1 -0
  241. package/build/dts/components/progress-bar/ProgressBar.d.ts +8 -0
  242. package/build/dts/components/progress-bar/ProgressBar.stories.d.ts +8 -0
  243. package/build/dts/components/progress-bar/ProgressBar.test.d.ts +1 -0
  244. package/build/dts/components/quantityPicker/QuantityPicker.d.ts +6 -0
  245. package/build/dts/components/quantityPicker/QuantityPicker.stories.d.ts +9 -0
  246. package/build/dts/components/quantityPicker/QuantityPicker.test.d.ts +1 -0
  247. package/build/dts/components/radio/container/group.d.ts +12 -0
  248. package/build/dts/components/radio/container/group.stories.d.ts +23 -0
  249. package/build/dts/components/radio/container/group.test.d.ts +1 -0
  250. package/build/dts/components/radio/index.d.ts +1 -0
  251. package/build/dts/components/radio/input/radio.d.ts +13 -0
  252. package/build/dts/components/radio/input/radio.stories.d.ts +23 -0
  253. package/build/dts/components/radio/input/radio.test.d.ts +1 -0
  254. package/build/dts/components/radio/input/styles.d.ts +13 -0
  255. package/build/dts/components/rating/Rating.d.ts +9 -0
  256. package/build/dts/components/rating/Rating.stories.d.ts +24 -0
  257. package/build/dts/components/rating/Rating.test.d.ts +1 -0
  258. package/build/dts/components/rating/starList/StarList.d.ts +9 -0
  259. package/build/dts/components/rating/starList/StarList.stories.d.ts +24 -0
  260. package/build/dts/components/rating/starList/StarList.test.d.ts +1 -0
  261. package/build/dts/components/rating/starList/styles.d.ts +12 -0
  262. package/build/dts/components/rating/styles.d.ts +13 -0
  263. package/build/dts/components/review/Review.d.ts +19 -0
  264. package/build/dts/components/review/Review.stories.d.ts +9 -0
  265. package/build/dts/components/review/Review.test.d.ts +1 -0
  266. package/build/dts/components/scroll-to-top/ScrollToTop.d.ts +18 -0
  267. package/build/dts/components/scroll-to-top/ScrollToTop.stories.d.ts +9 -0
  268. package/build/dts/components/scroll-to-top/ScrollToTop.test.d.ts +1 -0
  269. package/build/dts/components/search-bar/ClearButton.d.ts +6 -0
  270. package/build/dts/components/search-bar/ClearButton.test.d.ts +1 -0
  271. package/build/dts/components/search-bar/Footer.d.ts +7 -0
  272. package/build/dts/components/search-bar/Input.d.ts +9 -0
  273. package/build/dts/components/search-bar/ProductItem.d.ts +8 -0
  274. package/build/dts/components/search-bar/ProductItem.test.d.ts +1 -0
  275. package/build/dts/components/search-bar/ResultsPanel.d.ts +12 -0
  276. package/build/dts/components/search-bar/ResultsPanel.test.d.ts +1 -0
  277. package/build/dts/components/search-bar/SearchBar.d.ts +11 -0
  278. package/build/dts/components/search-bar/SearchBar.stories.d.ts +7 -0
  279. package/build/dts/components/search-bar/SearchBar.test.d.ts +1 -0
  280. package/build/dts/components/search-bar/SearchControl.d.ts +7 -0
  281. package/build/dts/components/search-bar/SearchControl.test.d.ts +1 -0
  282. package/build/dts/components/search-bar/index.d.ts +1 -0
  283. package/build/dts/components/selector/simple/SelectorSecondary.d.ts +4 -0
  284. package/build/dts/components/selector/simple/SelectorSecondary.stories.d.ts +23 -0
  285. package/build/dts/components/selector/simple/SelectorSecondary.test.d.ts +1 -0
  286. package/build/dts/components/selector/simple/SimpleSelector.d.ts +11 -0
  287. package/build/dts/components/selector/simple/SimpleSelector.test.d.ts +1 -0
  288. package/build/dts/components/shared/button/BaseButton.d.ts +13 -0
  289. package/build/dts/components/shared/button/BaseButton.stories.d.ts +14 -0
  290. package/build/dts/components/shared/card/Card.d.ts +18 -0
  291. package/build/dts/components/shared/card/Card.stories.d.ts +7 -0
  292. package/build/dts/components/shared/card/Card.test.d.ts +1 -0
  293. package/build/dts/components/shared/card/CardBody.d.ts +5 -0
  294. package/build/dts/components/shared/card/CardSection.d.ts +6 -0
  295. package/build/dts/components/shared/card/index.d.ts +2 -0
  296. package/build/dts/components/shared/image/Image.d.ts +14 -0
  297. package/build/dts/components/shared/image/Image.test.d.ts +1 -0
  298. package/build/dts/components/shared/label/label.d.ts +13 -0
  299. package/build/dts/components/shared/label/label.test.d.ts +1 -0
  300. package/build/dts/components/shared/label/styles.d.ts +7 -0
  301. package/build/dts/components/shared/select/BaseSelect.d.ts +16 -0
  302. package/build/dts/components/shared/select/BaseSelect.stories.d.ts +11 -0
  303. package/build/dts/components/shared/select/BaseSelectButton.d.ts +17 -0
  304. package/build/dts/components/shared/select/BaseSelectOption.d.ts +22 -0
  305. package/build/dts/components/shared/select/BaseSelectOptions.d.ts +7 -0
  306. package/build/dts/components/size/guide/SizeFitGuide.d.ts +9 -0
  307. package/build/dts/components/size/guide/SizeFitGuide.stories.d.ts +9 -0
  308. package/build/dts/components/size/guide/SizeFitGuide.test.d.ts +1 -0
  309. package/build/dts/components/size/selector/SizeSelector.d.ts +8 -0
  310. package/build/dts/components/size/selector/SizeSelector.stories.d.ts +7 -0
  311. package/build/dts/components/size/selector/SizeSelector.test.d.ts +1 -0
  312. package/build/dts/components/size-table/SizeTable.d.ts +6 -0
  313. package/build/dts/components/size-table/SizeTable.stories.d.ts +9 -0
  314. package/build/dts/components/size-table/SizeTable.test.d.ts +1 -0
  315. package/build/dts/components/slider/ArrowButton.d.ts +14 -0
  316. package/build/dts/components/slider/SliderNatigation.test.d.ts +1 -0
  317. package/build/dts/components/slider/SliderNavigation.d.ts +17 -0
  318. package/build/dts/components/slider/SliderNavigation.stories.d.ts +9 -0
  319. package/build/dts/components/slider/StyledSlider.d.ts +16 -0
  320. package/build/dts/components/spinner/Spinner.d.ts +10 -0
  321. package/build/dts/components/spinner/Spinner.stories.d.ts +9 -0
  322. package/build/dts/components/spinner/Spinner.test.d.ts +1 -0
  323. package/build/dts/components/tag/Tag.d.ts +7 -0
  324. package/build/dts/components/tag/Tag.test.d.ts +1 -0
  325. package/build/dts/components/tag/index.d.ts +3 -0
  326. package/build/dts/components/tag/variants/pdp/category/CategoryTag.d.ts +8 -0
  327. package/build/dts/components/tag/variants/pdp/category/CategoryTag.stories.d.ts +22 -0
  328. package/build/dts/components/tag/variants/pdp/category/CategoryTag.test.d.ts +1 -0
  329. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.d.ts +9 -0
  330. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.stories.d.ts +22 -0
  331. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.test.d.ts +1 -0
  332. package/build/dts/components/text/Text.d.ts +98 -0
  333. package/build/dts/components/text/Text.stories.d.ts +16 -0
  334. package/build/dts/components/text-button/TextButton.d.ts +13 -0
  335. package/build/dts/components/text-button/TextButton.stories.d.ts +58 -0
  336. package/build/dts/components/text-button/TextButton.test.d.ts +1 -0
  337. package/build/dts/components/timer/Timer.d.ts +13 -0
  338. package/build/dts/components/timer/Timer.stories.d.ts +9 -0
  339. package/build/dts/components/timer/Timer.test.d.ts +1 -0
  340. package/build/dts/components/tooltip/Arrow.d.ts +6 -0
  341. package/build/dts/components/tooltip/Styled.d.ts +56 -0
  342. package/build/dts/components/tooltip/Tooltip.d.ts +15 -0
  343. package/build/dts/components/tooltip/Tooltip.stories.d.ts +35 -0
  344. package/build/dts/components/tooltip/Tooltip.test.d.ts +1 -0
  345. package/build/dts/components/tooltip/utils.d.ts +7 -0
  346. package/build/dts/components/totals/index.d.ts +5 -0
  347. package/build/dts/components/totals/subtotal/Subtotal.d.ts +22 -0
  348. package/build/dts/components/totals/subtotal/Subtotal.stories.d.ts +9 -0
  349. package/build/dts/components/totals/subtotal/Subtotal.test.d.ts +1 -0
  350. package/build/dts/components/totals/total/Total.d.ts +38 -0
  351. package/build/dts/components/totals/total/Total.stories.d.ts +9 -0
  352. package/build/dts/components/totals/total/Total.test.d.ts +1 -0
  353. package/build/dts/config/breakpoints.d.ts +5 -0
  354. package/build/dts/core/theme/Theme.d.ts +382 -0
  355. package/build/dts/core/theme/Theme.test.d.ts +1 -0
  356. package/build/dts/core/theme/shapermint.theme.d.ts +3 -0
  357. package/build/dts/core/theme/theme.helpers.d.ts +13 -0
  358. package/build/dts/core/theme/truekind.theme.d.ts +3 -0
  359. package/build/dts/hooks/WindowDimensions.d.ts +8 -0
  360. package/build/dts/hooks/click-outside.d.ts +3 -0
  361. package/build/dts/hooks/index.d.ts +3 -0
  362. package/build/dts/index.d.ts +5 -0
  363. package/build/dts/setupTests.d.ts +1 -0
  364. package/build/dts/types/enums.d.ts +21 -0
  365. package/build/dts/types/types.d.ts +81 -0
  366. package/build/dts/utils/dateFormatter/dateFormatter.d.ts +1 -0
  367. package/build/dts/utils/dateFormatter/dateFormatter.test.d.ts +1 -0
  368. package/build/dts/utils/decimalParser/decimalParser.d.ts +4 -0
  369. package/build/dts/utils/decimalParser/decimalParser.test.d.ts +1 -0
  370. package/build/dts/utils/index.d.ts +4 -0
  371. package/build/dts/utils/media.d.ts +7 -0
  372. package/build/dts/utils/simulateClick/simulateClick.d.ts +1 -0
  373. package/build/dts/utils/simulateClick/simulateClick.test.d.ts +1 -0
  374. package/build/dts/utils/sliceString/sliceString.d.ts +1 -0
  375. package/build/dts/utils/sliceString/sliceString.test.d.ts +1 -0
  376. package/build/dts/utils/validations/validations.d.ts +5 -0
  377. package/build/dts/utils/validations/validations.test.d.ts +1 -0
  378. package/build/index.d.ts +582 -527
  379. package/build/index.esm.js +2864 -2944
  380. package/build/index.esm.js.map +1 -1
  381. package/build/index.js +2913 -2989
  382. package/build/index.js.map +1 -1
  383. package/build/theme/shapermint.theme.js +566 -0
  384. package/build/theme/truekind.theme.js +608 -0
  385. package/package.json +20 -14
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface SuccessProps {
3
+ children: React.ReactNode;
4
+ successText: string;
5
+ }
6
+ export declare const Success: ({ children, successText }: SuccessProps) => JSX.Element;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { BaseInputProps } from '../base/BaseInput';
3
+ import { IconType } from '../../icons';
4
+ export interface BasePlusIconProps extends BaseInputProps {
5
+ Icon: IconType;
6
+ }
7
+ export declare const BasePlusIcon: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { BasePlusIconProps } from './BasePlusIcon';
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ Icon, ...rest }: BasePlusIconProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const Plusicon: Story<BasePlusIconProps>;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { BaseInputProps } from '../base/BaseInput';
3
+ export interface CustomProps extends BaseInputProps {
4
+ onClick: () => void;
5
+ text: string;
6
+ type: 'primary' | 'secondary';
7
+ }
8
+ export declare const Custom: ({ onClick, text, type, ...rest }: CustomProps) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { CustomProps } from './Custom';
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ onClick, text, type, ...rest }: CustomProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const Cstm: Story<CustomProps>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export declare const Input: {
3
+ Simple: ({ onChange, defaultValue, label, children, required, onValidation, ...rest }: import("./base/BaseInput").BaseInputProps) => JSX.Element;
4
+ Custom: ({ onClick, text, type, ...rest }: import("./custom/Custom").CustomProps) => JSX.Element;
5
+ SimplePlusButton: ({ onClick, onClickEdit, text, success, editText, successText, ...rest }: import("./basePlusButton/BasePlusButton").BasePlusButtonProps) => JSX.Element;
6
+ SimplePlusIcon: ({ Icon, ...rest }: import("./basePlusIcon/BasePlusIcon").BasePlusIconProps) => JSX.Element;
7
+ };
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ export interface InputLabelProps {
3
+ label: string;
4
+ isDisabled?: boolean;
5
+ isRequired?: boolean;
6
+ }
7
+ interface MandatoryIconProps {
8
+ color: string;
9
+ }
10
+ export declare const MandatoryIcon: import("@emotion/styled").StyledComponent<{
11
+ theme?: import("@emotion/react").Theme | undefined;
12
+ as?: React.ElementType<any> | undefined;
13
+ } & MandatoryIconProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
14
+ export declare const InputLabel: ({ label, isDisabled, isRequired }: InputLabelProps) => JSX.Element;
15
+ export {};
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { InputLabelProps } from './Label';
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ label, isDisabled, isRequired }: InputLabelProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const Label: Story<InputLabelProps>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { ImageType } from '../../../types/types';
3
+ export interface ImageProductWithTagsProps {
4
+ image: ImageType;
5
+ DiscountTagElement?: JSX.Element;
6
+ BestSellerTagElement?: JSX.Element;
7
+ dataTestId?: string;
8
+ }
9
+ declare const ImageProductWithTags: ({ image, DiscountTagElement, BestSellerTagElement, dataTestId, }: ImageProductWithTagsProps) => JSX.Element;
10
+ export default ImageProductWithTags;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { ImageType } from '../../../types/types';
3
+ export interface ProductGalleryMobileProps {
4
+ images: ImageType[];
5
+ selectedValue?: ImageType;
6
+ DiscountTagElement?: JSX.Element;
7
+ BestSellerTagElement?: JSX.Element;
8
+ productImageDataTestId?: string;
9
+ slideDotsDataTestId?: string;
10
+ }
11
+ declare const ProductGalleryMobile: ({ images, selectedValue, DiscountTagElement, BestSellerTagElement, productImageDataTestId, slideDotsDataTestId, }: ProductGalleryMobileProps) => JSX.Element;
12
+ export default ProductGalleryMobile;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({ images, selectedValue, DiscountTagElement, BestSellerTagElement, productImageDataTestId, slideDotsDataTestId, }: import("./ProductGalleryMobile").ProductGalleryMobileProps) => JSX.Element;
5
+ };
6
+ export default _default;
7
+ export declare const Default: () => JSX.Element;
8
+ export declare const InitialSelectedImage: () => JSX.Element;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface ArrowButtonProps {
3
+ Icon: JSX.Element;
4
+ onClick: () => void;
5
+ className?: string;
6
+ }
7
+ declare const ArrowButton: ({ Icon, onClick, className }: ArrowButtonProps) => JSX.Element;
8
+ export default ArrowButton;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ interface SlideDotsProps {
3
+ quantity: number;
4
+ selectedIndex: number;
5
+ containerDataTestId?: string;
6
+ }
7
+ declare const SlideDots: ({ quantity, selectedIndex, containerDataTestId }: SlideDotsProps) => JSX.Element;
8
+ export default SlideDots;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface SlideNavigationProps {
3
+ quantity: number;
4
+ initialIndex?: number;
5
+ onNavigate: (index: number) => void;
6
+ dataTestId?: string;
7
+ }
8
+ declare const SlideNavigation: ({ quantity, initialIndex, onNavigate, dataTestId, }: SlideNavigationProps) => JSX.Element;
9
+ export default SlideNavigation;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ export interface OfferBannerProps {
3
+ discountAppliedText: string;
4
+ backgroundColor: string;
5
+ }
6
+ interface ContainerProps {
7
+ backgroundColor: string;
8
+ color: string;
9
+ }
10
+ export declare const Text: import("@emotion/styled").StyledComponent<{
11
+ theme?: import("@emotion/react").Theme | undefined;
12
+ as?: React.ElementType<any> | undefined;
13
+ } & ContainerProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
14
+ export declare const OfferBanner: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
15
+ export {};
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { OfferBannerProps } from './OfferBanner';
3
+ import { Story } from '@storybook/react';
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ discountAppliedText, backgroundColor }: OfferBannerProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const Base: Story<OfferBannerProps>;
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ export interface OrderBarProps {
3
+ message: string;
4
+ }
5
+ export declare const Container: import("@emotion/styled").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme | undefined;
7
+ as?: React.ElementType<any> | undefined;
8
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ interface H1Props {
10
+ color: string;
11
+ }
12
+ export declare const H1: import("@emotion/styled").StyledComponent<{
13
+ theme?: import("@emotion/react").Theme | undefined;
14
+ as?: React.ElementType<any> | undefined;
15
+ } & H1Props, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
16
+ export declare const OrderBar: ({ message }: OrderBarProps) => JSX.Element;
17
+ export {};
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { OrderBarProps } from './OrderBar';
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ message }: OrderBarProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const Basic: Story<OrderBarProps>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export interface PaginationProps {
3
+ from: number;
4
+ to: number;
5
+ onChange: (page: number) => void;
6
+ currentPage?: number;
7
+ underlineActive?: boolean;
8
+ boldActive?: boolean;
9
+ disabled?: boolean;
10
+ }
11
+ export declare const Pagination: ({ from, to, currentPage, onChange, underlineActive, boldActive, disabled, }: PaginationProps) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { PaginationProps } from './Pagination';
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ from, to, currentPage, onChange, underlineActive, boldActive, disabled, }: PaginationProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const Base: Story<PaginationProps>;
@@ -0,0 +1,29 @@
1
+ /// <reference types="react" />
2
+ import { Theme } from 'src/core/theme/Theme';
3
+ export declare const Container: import("@emotion/styled").StyledComponent<{
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
+ export declare const IconContainer: import("@emotion/styled").StyledComponent<{
8
+ theme?: import("@emotion/react").Theme | undefined;
9
+ as?: import("react").ElementType<any> | undefined;
10
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ interface PageNumbersContainerProps {
12
+ theme: Theme;
13
+ }
14
+ export declare const PageNumbersContainer: import("@emotion/styled").StyledComponent<{
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ as?: import("react").ElementType<any> | undefined;
17
+ } & PageNumbersContainerProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
+ interface PageNumberProps {
19
+ bold: boolean;
20
+ underline: boolean;
21
+ color: string;
22
+ borderColor: string;
23
+ theme: Theme;
24
+ }
25
+ export declare const PageNumber: import("@emotion/styled").StyledComponent<{
26
+ theme?: import("@emotion/react").Theme | undefined;
27
+ as?: import("react").ElementType<any> | undefined;
28
+ } & PageNumberProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
29
+ export {};
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { IconType } from '../icons';
3
+ export interface PaymentMethodsProps {
4
+ Icon: IconType;
5
+ width: string;
6
+ height: string;
7
+ onClick?: () => void;
8
+ }
9
+ interface ContainerProps {
10
+ width: string;
11
+ height: string;
12
+ isClickable: boolean;
13
+ borderColor: string;
14
+ }
15
+ export declare const Container: import("@emotion/styled").StyledComponent<{
16
+ theme?: import("@emotion/react").Theme | undefined;
17
+ as?: React.ElementType<any> | undefined;
18
+ } & ContainerProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
19
+ export declare const PaymentMethod: ({ Icon, width, height, onClick }: PaymentMethodsProps) => JSX.Element;
20
+ export {};
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({ Icon, width, height, onClick }: import("./PaymentMethod").PaymentMethodsProps) => JSX.Element;
5
+ };
6
+ export default _default;
7
+ export declare const Visa: () => JSX.Element;
8
+ export declare const MasterCard: () => JSX.Element;
9
+ export declare const AMEX: () => JSX.Element;
10
+ export declare const JCB: () => JSX.Element;
11
+ export declare const Paypal: () => JSX.Element;
12
+ export declare const Klarna: () => JSX.Element;
13
+ export declare const AllMethods: () => JSX.Element;
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import { ComponentSize } from '../../../types/enums';
3
+ export interface DiscountTagProps {
4
+ discount: number;
5
+ offText: string;
6
+ disabled?: boolean;
7
+ backgroundColor?: string;
8
+ borderColor?: string;
9
+ textColor?: string;
10
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
11
+ }
12
+ export interface ContainerProps {
13
+ backgroundColor: string;
14
+ borderColor: string;
15
+ size: ComponentSize;
16
+ }
17
+ export interface TextProps {
18
+ size: ComponentSize;
19
+ textColor: string;
20
+ }
21
+ export declare const DiscountTag: ({ discount, offText, disabled, backgroundColor, borderColor, textColor, size, }: DiscountTagProps) => JSX.Element;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { ComponentSize } from '../../../types/enums';
4
+ import { DiscountTagProps } from './DiscountTag';
5
+ declare const _default: {
6
+ title: string;
7
+ component: ({ discount, offText, disabled, backgroundColor, borderColor, textColor, size, }: DiscountTagProps) => JSX.Element;
8
+ argTypes: {
9
+ size: {
10
+ options: ComponentSize[];
11
+ control: {
12
+ type: string;
13
+ labels: {
14
+ 0: string;
15
+ 1: string;
16
+ 2: string;
17
+ };
18
+ };
19
+ };
20
+ };
21
+ };
22
+ export default _default;
23
+ export declare const Discount: Story<DiscountTagProps>;
@@ -0,0 +1,2 @@
1
+ export * from './discount/DiscountTag';
2
+ export * from './price/PriceLabel';
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { DiscountTagProps } from '../discount/DiscountTag';
3
+ import { ComponentSize } from '../../../types/enums';
4
+ export interface PriceLabelProps {
5
+ finalPrice: string | number;
6
+ originalPrice?: string | number;
7
+ color?: string;
8
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
9
+ discount?: DiscountTagProps;
10
+ }
11
+ export declare const PriceLabel: ({ finalPrice, originalPrice, discount, color, size, }: PriceLabelProps) => JSX.Element;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { ComponentSize } from '../../../types/enums';
4
+ import { PriceLabelProps } from './PriceLabel';
5
+ declare const _default: {
6
+ title: string;
7
+ component: ({ finalPrice, originalPrice, discount, color, size, }: PriceLabelProps) => JSX.Element;
8
+ argTypes: {
9
+ size: {
10
+ options: ComponentSize[];
11
+ control: {
12
+ type: string;
13
+ labels: {
14
+ 0: string;
15
+ 1: string;
16
+ 2: string;
17
+ };
18
+ };
19
+ };
20
+ };
21
+ };
22
+ export default _default;
23
+ export declare const Price: Story<PriceLabelProps>;
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ import { PriceLabelProps } from '../../../pricing';
3
+ interface Price extends Pick<PriceLabelProps, 'finalPrice' | 'originalPrice'> {
4
+ color?: string;
5
+ }
6
+ export interface ProductOrderItemProps {
7
+ title: string;
8
+ subtitle: string;
9
+ image: {
10
+ src: string;
11
+ alt: string;
12
+ };
13
+ price: Price;
14
+ tag?: {
15
+ text: string;
16
+ backgroundColor: string;
17
+ };
18
+ }
19
+ declare const SimpleOrderItem: ({ title, subtitle, image, price, tag }: ProductOrderItemProps) => JSX.Element;
20
+ export default SimpleOrderItem;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { ProductOrderItemProps } from './SimpleOrderItem';
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ title, subtitle, image, price, tag }: ProductOrderItemProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const Default: Story<ProductOrderItemProps>;
10
+ export declare const PriceColor: Story<ProductOrderItemProps>;
11
+ export declare const WithTag: Story<ProductOrderItemProps>;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export interface ProgressBarProps {
3
+ description?: string;
4
+ fillColor: string;
5
+ widthAuto?: boolean;
6
+ percent?: number;
7
+ }
8
+ export declare const ProgressBar: ({ description, fillColor, widthAuto, percent, }: ProgressBarProps) => JSX.Element;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ declare const _default: {
3
+ title: string;
4
+ component: ({ description, fillColor, widthAuto, percent, }: import("./ProgressBar").ProgressBarProps) => JSX.Element;
5
+ };
6
+ export default _default;
7
+ export declare const Indeterminate: () => JSX.Element;
8
+ export declare const Fixed: () => JSX.Element;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export interface QuantityPickerProps {
3
+ initialValue?: number;
4
+ maxValue?: number;
5
+ }
6
+ export declare const QuantityPicker: ({ initialValue, maxValue }: QuantityPickerProps) => JSX.Element;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { QuantityPickerProps } from './QuantityPicker';
4
+ declare const _default: {
5
+ title: string;
6
+ component: ({ initialValue, maxValue }: QuantityPickerProps) => JSX.Element;
7
+ };
8
+ export default _default;
9
+ export declare const Base: Story<QuantityPickerProps>;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ import { RadioGroupOption } from '../../../types/types';
3
+ import { ComponentSize } from '../../..';
4
+ export interface RadioGroupInputProps {
5
+ name: string;
6
+ options?: RadioGroupOption[];
7
+ value?: RadioGroupOption;
8
+ onChange: (value: RadioGroupOption) => void;
9
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
10
+ disabled?: boolean;
11
+ }
12
+ export declare const RadioGroupInput: ({ name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { RadioGroupInputProps } from './group';
4
+ import { ComponentSize } from '../../..';
5
+ declare const _default: {
6
+ title: string;
7
+ component: ({ name, options, value, onChange, size, disabled, }: RadioGroupInputProps) => JSX.Element;
8
+ argTypes: {
9
+ size: {
10
+ options: ComponentSize[];
11
+ control: {
12
+ type: string;
13
+ labels: {
14
+ 0: string;
15
+ 1: string;
16
+ 2: string;
17
+ };
18
+ };
19
+ };
20
+ };
21
+ };
22
+ export default _default;
23
+ export declare const RadioGroup: Story<RadioGroupInputProps>;
@@ -0,0 +1 @@
1
+ export * from './container/group';
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { ComponentSize, RadioGroupOption } from '../../..';
3
+ export interface RadioProps {
4
+ name: string;
5
+ value: string;
6
+ id: string;
7
+ label: string;
8
+ size?: ComponentSize.Small | ComponentSize.Medium | ComponentSize.Large;
9
+ checked?: boolean;
10
+ disabled?: boolean;
11
+ onChange: (option: RadioGroupOption) => void;
12
+ }
13
+ export declare const RadioInput: ({ name, value, id, label, checked, disabled, onChange, size, }: RadioProps) => JSX.Element;
@@ -0,0 +1,23 @@
1
+ /// <reference types="react" />
2
+ import { Story } from '@storybook/react';
3
+ import { RadioProps } from './radio';
4
+ import { ComponentSize } from '../../..';
5
+ declare const _default: {
6
+ title: string;
7
+ component: ({ name, value, id, label, checked, disabled, onChange, size, }: RadioProps) => JSX.Element;
8
+ argTypes: {
9
+ size: {
10
+ options: ComponentSize[];
11
+ control: {
12
+ type: string;
13
+ labels: {
14
+ 0: string;
15
+ 1: string;
16
+ 2: string;
17
+ };
18
+ };
19
+ };
20
+ };
21
+ };
22
+ export default _default;
23
+ export declare const BasicRadio: Story<RadioProps>;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,13 @@
1
+ import { Theme } from 'src/core/theme/Theme';
2
+ export declare const CustomRadioStyles: {
3
+ baseStyles: (theme: Theme, disabled: boolean) => import("@emotion/utils").SerializedStyles;
4
+ small: (theme: Theme, active: boolean) => import("@emotion/utils").SerializedStyles;
5
+ medium: (theme: Theme, active: boolean) => import("@emotion/utils").SerializedStyles;
6
+ large: (theme: Theme, active: boolean) => import("@emotion/utils").SerializedStyles;
7
+ };
8
+ export declare const ContainerStyles: {
9
+ baseStyles: import("@emotion/utils").SerializedStyles;
10
+ small: (theme: Theme) => import("@emotion/utils").SerializedStyles;
11
+ medium: (theme: Theme) => import("@emotion/utils").SerializedStyles;
12
+ large: (theme: Theme) => import("@emotion/utils").SerializedStyles;
13
+ };
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import { ComponentSize } from '../../types/enums';
3
+ export interface RatingProps {
4
+ rating: number;
5
+ size?: ComponentSize;
6
+ reviews: number;
7
+ reviewsText: string;
8
+ }
9
+ export declare const Rating: ({ size, reviews, reviewsText, rating, }: RatingProps) => JSX.Element;