@trafilea/afrodita-components 4.0.2-beta.6 → 4.1.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 +1035 -909
  2. package/build/index.esm.js +535 -346
  3. package/build/index.esm.js.map +1 -1
  4. package/build/index.js +543 -347
  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 +139 -63
  8. package/build/theme/truekind.theme.d.ts +383 -0
  9. package/build/theme/truekind.theme.js +82 -52
  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 -13
  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
@@ -0,0 +1,383 @@
1
+ import { CSSProperties } from 'react';
2
+
3
+ declare type Theme = {
4
+ name: string;
5
+ fontSizes: number[];
6
+ fontWeights: number[];
7
+ lineHeights: number[];
8
+ mediaQueries: ThemeBreakpoints;
9
+ radius: {
10
+ regular: string;
11
+ };
12
+ zIndex: {
13
+ modal: number;
14
+ overlay: number;
15
+ };
16
+ colors: ThemeColors;
17
+ component: ThemeComponent;
18
+ typography: ThemeTypography;
19
+ fonts: ThemeFonts;
20
+ assets: ThemeAssets;
21
+ };
22
+ declare type ThemeBreakpoints = {
23
+ mobile: number;
24
+ desktop: number;
25
+ };
26
+ declare type ThemeBasicPallete = {
27
+ color: string;
28
+ contrast: string;
29
+ };
30
+ declare type ThemeColorPallete = ThemeBasicPallete & {
31
+ soft: ThemeBasicPallete;
32
+ };
33
+ declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
34
+ 20: ThemeColorPallete;
35
+ 40: ThemeColorPallete;
36
+ 60: ThemeColorPallete;
37
+ 80: ThemeColorPallete;
38
+ };
39
+ declare type ThemeColors = {
40
+ pallete: {
41
+ primary: ThemeColorPrimaryPallete;
42
+ secondary: ThemeColorPrimaryPallete;
43
+ } & Partial<Record<string, ThemeColorPallete>>;
44
+ shades: {
45
+ black: ThemeBasicPallete;
46
+ white: ThemeBasicPallete;
47
+ 5: ThemeBasicPallete;
48
+ 10: ThemeBasicPallete;
49
+ 50: ThemeBasicPallete;
50
+ 100: ThemeBasicPallete;
51
+ 150: ThemeBasicPallete;
52
+ 200: ThemeBasicPallete;
53
+ 250: ThemeBasicPallete;
54
+ 300: ThemeBasicPallete;
55
+ 350: ThemeBasicPallete;
56
+ 400: ThemeBasicPallete;
57
+ 450: ThemeBasicPallete;
58
+ 500: ThemeBasicPallete;
59
+ 550: ThemeBasicPallete;
60
+ 600: ThemeBasicPallete;
61
+ 650: ThemeBasicPallete;
62
+ 700: ThemeBasicPallete;
63
+ 750: ThemeBasicPallete;
64
+ 800: ThemeBasicPallete;
65
+ 850: ThemeBasicPallete;
66
+ 900: ThemeBasicPallete;
67
+ 950: ThemeBasicPallete;
68
+ 990: ThemeBasicPallete;
69
+ };
70
+ semantic: {
71
+ positive: ThemeBasicPallete;
72
+ urgent: ThemeBasicPallete;
73
+ attention: ThemeBasicPallete;
74
+ informative: ThemeBasicPallete;
75
+ };
76
+ border: {
77
+ color: string;
78
+ disabled: string;
79
+ highlight: string;
80
+ };
81
+ background: {
82
+ color: string;
83
+ disabled: string;
84
+ };
85
+ text: {
86
+ color: string;
87
+ disabled: string;
88
+ };
89
+ };
90
+ declare type ThemeComponent = {
91
+ button: {
92
+ border: string;
93
+ borderRadius: string;
94
+ fontWeight: number;
95
+ size: {
96
+ small: {
97
+ fontSize: string;
98
+ padding: string;
99
+ };
100
+ medium: {
101
+ fontSize: string;
102
+ padding: string;
103
+ };
104
+ large: {
105
+ fontSize: string;
106
+ padding: string;
107
+ };
108
+ };
109
+ primary: {
110
+ active: {
111
+ backgroundColor: string;
112
+ color: string;
113
+ };
114
+ hover: {
115
+ backgroundColor: string;
116
+ color: string;
117
+ };
118
+ };
119
+ secondary: {
120
+ active: {
121
+ backgroundColor: string;
122
+ color: string;
123
+ };
124
+ hover: {
125
+ backgroundColor: string;
126
+ color: string;
127
+ };
128
+ };
129
+ };
130
+ input: {
131
+ background: string;
132
+ color: string;
133
+ placeholderColor: string;
134
+ borderRadius: string;
135
+ fontSize: string;
136
+ fontWeight: number;
137
+ padding: string;
138
+ lineHeight: string;
139
+ border: string;
140
+ boxShadow: string;
141
+ };
142
+ inputCustom: {
143
+ button: {
144
+ borderRadius: string;
145
+ };
146
+ input: {
147
+ borderRadius: string;
148
+ };
149
+ };
150
+ selector: {
151
+ size: {
152
+ small: {
153
+ padding: string;
154
+ borderRadius: string;
155
+ };
156
+ medium: {
157
+ padding: string;
158
+ borderRadius: string;
159
+ };
160
+ };
161
+ default: {
162
+ fontWeight: number;
163
+ border: string;
164
+ background: string;
165
+ color: string;
166
+ };
167
+ hover: {
168
+ fontWeight: number;
169
+ background: string;
170
+ border: string;
171
+ color: string;
172
+ };
173
+ disabled: {
174
+ border: string;
175
+ };
176
+ fontSize: string;
177
+ };
178
+ rating: {
179
+ fontWeight: number;
180
+ size: {
181
+ xsmall: {
182
+ fontSize: string;
183
+ lineHeight: string;
184
+ };
185
+ small: {
186
+ fontSize: string;
187
+ lineHeight: string;
188
+ };
189
+ medium: {
190
+ fontSize: string;
191
+ lineHeight: string;
192
+ };
193
+ large: {
194
+ fontSize: string;
195
+ lineHeight: string;
196
+ };
197
+ };
198
+ };
199
+ card: {
200
+ borderRadius: string;
201
+ };
202
+ radio: {
203
+ borderColor: string;
204
+ background: string;
205
+ size: {
206
+ small: {
207
+ borderWidth: string;
208
+ margin: string;
209
+ height: string;
210
+ active: {
211
+ borderWidth: string;
212
+ };
213
+ };
214
+ medium: {
215
+ borderWidth: string;
216
+ margin: string;
217
+ height: string;
218
+ active: {
219
+ borderWidth: string;
220
+ };
221
+ };
222
+ large: {
223
+ borderWidth: string;
224
+ margin: string;
225
+ height: string;
226
+ active: {
227
+ borderWidth: string;
228
+ };
229
+ };
230
+ };
231
+ };
232
+ label: {
233
+ fontSize: {
234
+ small: string;
235
+ medium: string;
236
+ large: string;
237
+ };
238
+ lineHeight: {
239
+ small: string;
240
+ medium: string;
241
+ large: string;
242
+ };
243
+ };
244
+ checkbox: {
245
+ background: string;
246
+ borderColor: string;
247
+ active: {
248
+ background: string;
249
+ };
250
+ size: {
251
+ large: {
252
+ width: string;
253
+ height: string;
254
+ borderRadius: string;
255
+ borderWidth: string;
256
+ margin: string;
257
+ icon: {
258
+ width: string;
259
+ height: string;
260
+ };
261
+ };
262
+ medium: {
263
+ width: string;
264
+ height: string;
265
+ borderRadius: string;
266
+ borderWidth: string;
267
+ margin: string;
268
+ icon: {
269
+ width: string;
270
+ height: string;
271
+ };
272
+ };
273
+ small: {
274
+ width: string;
275
+ height: string;
276
+ borderRadius: string;
277
+ borderWidth: string;
278
+ margin: string;
279
+ icon: {
280
+ width: string;
281
+ height: string;
282
+ };
283
+ };
284
+ };
285
+ };
286
+ accordion: {
287
+ variant: {
288
+ box: {
289
+ container: {
290
+ border: string;
291
+ borderColor: string;
292
+ borderRadius: string;
293
+ padding: string;
294
+ };
295
+ summary: {
296
+ fontWeight: number;
297
+ fontSize: string;
298
+ lineHeight: string;
299
+ color: string;
300
+ };
301
+ details: {
302
+ margin: string;
303
+ };
304
+ icon: {
305
+ width: number;
306
+ height: number;
307
+ color: string;
308
+ };
309
+ };
310
+ simple: {
311
+ container: {
312
+ borderTop: string;
313
+ borderBottom: string;
314
+ borderColor: string;
315
+ borderRadius: string;
316
+ padding: string;
317
+ };
318
+ summary: {
319
+ fontWeight: number;
320
+ fontSize: string;
321
+ lineHeight: string;
322
+ color: string;
323
+ };
324
+ details: {
325
+ margin: string;
326
+ };
327
+ icon: {
328
+ width: number;
329
+ height: number;
330
+ color: string;
331
+ };
332
+ };
333
+ };
334
+ };
335
+ dropdown: {
336
+ borderRadius: string;
337
+ fontSize: string;
338
+ fontWeight: number;
339
+ lineHeight: string;
340
+ padding: string;
341
+ color: string;
342
+ fill: string;
343
+ options: {
344
+ borderColor: string;
345
+ color: string;
346
+ };
347
+ };
348
+ modal: {
349
+ minWidth: string;
350
+ };
351
+ };
352
+ declare type ThemeTypography = {
353
+ config: {
354
+ weight: {
355
+ heavy: number;
356
+ bold: number;
357
+ demi: number;
358
+ regular: number;
359
+ };
360
+ };
361
+ variants: Record<string, CSSProperties>;
362
+ };
363
+ declare type ThemeFonts = {
364
+ url: string;
365
+ config: Array<{
366
+ src: string;
367
+ family: string;
368
+ weight?: number | string;
369
+ style?: string;
370
+ stretch?: string;
371
+ }>;
372
+ };
373
+ declare type ThemeAssets = {
374
+ images: {
375
+ favicon: string;
376
+ logo: string;
377
+ };
378
+ [key: string]: any;
379
+ };
380
+
381
+ declare const truekind: Theme;
382
+
383
+ export { truekind as default };
@@ -26,25 +26,6 @@ var __assign = function() {
26
26
  return __assign.apply(this, arguments);
27
27
  };
28
28
 
29
- /* istanbul ignore next */
30
- function color(color, contrast, softColor, softContrast) {
31
- return {
32
- color: color,
33
- contrast: contrast,
34
- soft: {
35
- color: softColor,
36
- contrast: softContrast,
37
- },
38
- };
39
- }
40
- /* istanbul ignore next */
41
- function basic(color, contrast) {
42
- return {
43
- color: color,
44
- contrast: contrast,
45
- };
46
- }
47
-
48
29
  var truekind = {
49
30
  name: 'Truekind',
50
31
  fontSizes: [10, 12, 14, 16, 18, 20, 24, 30, 36, 42, 52, 60, 68, 72, 76],
@@ -54,43 +35,89 @@ var truekind = {
54
35
  mobile: 0,
55
36
  desktop: 1200,
56
37
  },
38
+ radius: {
39
+ regular: '8px',
40
+ },
41
+ zIndex: {
42
+ modal: 50,
43
+ overlay: 49,
44
+ },
57
45
  colors: {
58
46
  pallete: {
59
- primary: __assign(__assign({}, color('#cc4125', '--colors-shades-white-color', '', '')), { 20: color('#f5d9d3', '--colors-shades-700-color', '', ''), 40: color('#ebb3a8', '--colors-shades-700-color', '', ''), 60: color('#e08d7c', '--colors-shades-700-color', '', ''), 80: color('#d66751', '--colors-shades-700-color', '', '') }),
60
- secondary: __assign(__assign({}, color('#292929', '--colors-shades-white-color', '#bbbbbb', '--colors-shades-700-color')), { 20: color('#d4d4d4', '--colors-shades-700-color', '#f1f1f1', '--colors-shades-700-color'), 40: color('#a9a9a9', '--colors-shades-700-color', '#e4e4e4', '--colors-shades-700-color'), 60: color('#7f7f7f', '--colors-shades-white-color', '#d6d6d6', '--colors-shades-700-color'), 80: color('#545454', '--colors-shades-white-color', '#c9c9c9', '--colors-shades-700-color') }),
61
- cloud: color('#', '#', '#', '#'),
47
+ primary: __assign({
48
+ color: '#cc4125',
49
+ contrast: '--colors-shades-white-color',
50
+ soft: { color: '', contrast: '' },
51
+ }, { 20: {
52
+ color: '#f5d9d3',
53
+ contrast: '--colors-shades-700-color',
54
+ soft: { color: '', contrast: '' },
55
+ }, 40: {
56
+ color: '#ebb3a8',
57
+ contrast: '--colors-shades-700-color',
58
+ soft: { color: '', contrast: '' },
59
+ }, 60: {
60
+ color: '#e08d7c',
61
+ contrast: '--colors-shades-700-color',
62
+ soft: { color: '', contrast: '' },
63
+ }, 80: {
64
+ color: '#d66751',
65
+ contrast: '--colors-shades-700-color',
66
+ soft: { color: '', contrast: '' },
67
+ } }),
68
+ secondary: __assign({
69
+ color: '#292929',
70
+ contrast: '--colors-shades-white-color',
71
+ soft: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
72
+ }, { 20: {
73
+ color: '#d4d4d4',
74
+ contrast: '--colors-shades-700-color',
75
+ soft: { color: '#f1f1f1', contrast: '--colors-shades-700-color' },
76
+ }, 40: {
77
+ color: '#a9a9a9',
78
+ contrast: '--colors-shades-700-color',
79
+ soft: { color: '#e4e4e4', contrast: '--colors-shades-700-color' },
80
+ }, 60: {
81
+ color: '#7f7f7f',
82
+ contrast: '--colors-shades-white-color',
83
+ soft: { color: '#d6d6d6', contrast: '--colors-shades-700-color' },
84
+ }, 80: {
85
+ color: '#545454',
86
+ contrast: '--colors-shades-white-color',
87
+ soft: { color: '#c9c9c9', contrast: '--colors-shades-700-color' },
88
+ } }),
62
89
  },
63
90
  shades: {
64
- black: basic('#000', '--colors-shades-white-color'),
65
- white: basic('#fff', '--colors-shades-700-color'),
66
- 5: basic('#fafafa', '--colors-shades-700-color'),
67
- 10: basic('#f7f7f7', '--colors-shades-700-color'),
68
- 50: basic('#efefef', '--colors-shades-700-color'),
69
- 100: basic('#e5e5e5', '--colors-shades-700-color'),
70
- 150: basic('#d1d1d1', '--colors-shades-700-color'),
71
- 200: basic('#bbbbbb', '--colors-shades-700-color'),
72
- 250: basic('#a6a6a6', '--colors-shades-700-color'),
73
- 300: basic('#9e9e9e', '--colors-shades-700-color'),
74
- 350: basic('#949494', '--colors-shades-700-color'),
75
- 400: basic('#808080', '--colors-shades-700-color'),
76
- 450: basic('#767676', '--colors-shades-700-color'),
77
- 500: basic('#5a5a5a', '--colors-shades-white-color'),
78
- 550: basic('#3a3a3a', '--colors-shades-white-color'),
79
- 600: basic('#343434', '--colors-shades-white-color'),
80
- 650: basic('#2d2d2d', '--colors-shades-white-color'),
81
- 700: basic('#292929', '--colors-shades-white-color'),
82
- 750: basic('#232323', '--colors-shades-white-color'),
83
- 800: basic('#202020', '--colors-shades-white-color'),
84
- 850: basic('#1b1b1b', '--colors-shades-white-color'),
85
- 900: basic('#191919', '--colors-shades-white-color'),
86
- 950: basic('#141414', '--colors-shades-white-color'),
87
- 990: basic('#0b0b0b', '--colors-shades-white-color'),
91
+ black: { color: '#000', contrast: '--colors-shades-white-color' },
92
+ white: { color: '#fff', contrast: '--colors-shades-700-color' },
93
+ 5: { color: '#fafafa', contrast: '--colors-shades-700-color' },
94
+ 10: { color: '#f7f7f7', contrast: '--colors-shades-700-color' },
95
+ 50: { color: '#efefef', contrast: '--colors-shades-700-color' },
96
+ 100: { color: '#e5e5e5', contrast: '--colors-shades-700-color' },
97
+ 150: { color: '#d1d1d1', contrast: '--colors-shades-700-color' },
98
+ 200: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
99
+ 250: { color: '#a6a6a6', contrast: '--colors-shades-700-color' },
100
+ 300: { color: '#9e9e9e', contrast: '--colors-shades-700-color' },
101
+ 350: { color: '#949494', contrast: '--colors-shades-700-color' },
102
+ 400: { color: '#808080', contrast: '--colors-shades-700-color' },
103
+ 450: { color: '#767676', contrast: '--colors-shades-700-color' },
104
+ 500: { color: '#5a5a5a', contrast: '--colors-shades-white-color' },
105
+ 550: { color: '#3a3a3a', contrast: '--colors-shades-white-color' },
106
+ 600: { color: '#343434', contrast: '--colors-shades-white-color' },
107
+ 650: { color: '#2d2d2d', contrast: '--colors-shades-white-color' },
108
+ 700: { color: '#292929', contrast: '--colors-shades-white-color' },
109
+ 750: { color: '#232323', contrast: '--colors-shades-white-color' },
110
+ 800: { color: '#202020', contrast: '--colors-shades-white-color' },
111
+ 850: { color: '#1b1b1b', contrast: '--colors-shades-white-color' },
112
+ 900: { color: '#191919', contrast: '--colors-shades-white-color' },
113
+ 950: { color: '#141414', contrast: '--colors-shades-white-color' },
114
+ 990: { color: '#0b0b0b', contrast: '--colors-shades-white-color' },
88
115
  },
89
116
  semantic: {
90
- positive: basic('#2579C8', '--colors-shades-white-color'),
91
- urgent: basic('#D82A2D', '--colors-shades-white-color'),
92
- attention: basic('#FFA877', '--colors-shades-700-color'),
93
- informative: basic('#686872', '--colors-shades-white-color'),
117
+ positive: { color: '#2579C8', contrast: '--colors-shades-white-color' },
118
+ urgent: { color: '#D82A2D', contrast: '--colors-shades-white-color' },
119
+ attention: { color: '#FFA877', contrast: '--colors-shades-700-color' },
120
+ informative: { color: '#686872', contrast: '--colors-shades-white-color' },
94
121
  },
95
122
  border: {
96
123
  color: '',
@@ -487,9 +514,12 @@ var truekind = {
487
514
  color: '#292929',
488
515
  },
489
516
  },
517
+ modal: {
518
+ minWidth: '540px',
519
+ },
490
520
  },
491
521
  fonts: {
492
- url: 'https://cdn.jsdelivr.net/gh/igor-ribeiro/storefront-static@main/fonts/truekind',
522
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/truekind',
493
523
  config: [
494
524
  {
495
525
  family: 'CircularXX',
@@ -612,7 +642,7 @@ var truekind = {
612
642
  assets: {
613
643
  images: {
614
644
  favicon: 'https://cdn.shopify.com/s/files/1/2679/8624/files/shapermint_favicon-128x128.png',
615
- logo: 'https://cdn.jsdelivr.net/gh/igor-ribeiro/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
645
+ logo: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/images/shapermint/shapermint_logo_black.svg',
616
646
  },
617
647
  },
618
648
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Trafilea's Design System",
4
4
  "author": "Trafilea",
5
5
  "repository": "https://github.com/trafilea/afrodita-components",
6
- "version": "4.0.2-beta.6",
6
+ "version": "4.1.0",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",
@@ -1,7 +0,0 @@
1
- import { Story } from '@storybook/react';
2
- declare const _default: {
3
- title: string;
4
- component: null;
5
- };
6
- export default _default;
7
- export declare const Demo: Story<{}>;
@@ -1,12 +0,0 @@
1
- import React from 'react';
2
- export interface IconWrapperProps {
3
- width?: number;
4
- height?: number;
5
- title?: string;
6
- viewBoxX: number;
7
- viewBoxY: number;
8
- children: React.ReactNode;
9
- testid?: string;
10
- fill?: string;
11
- }
12
- export declare const IconWrapper: ({ height, width, title, viewBoxX, viewBoxY, children, testid, fill, }: IconWrapperProps) => JSX.Element;
@@ -1,13 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { IconType } from '../icons';
3
- export interface AccordionProps {
4
- defaultOpen?: boolean;
5
- variant: 'simple' | 'box';
6
- header: ReactNode;
7
- content: ReactNode;
8
- disabled?: boolean;
9
- openIcon: IconType;
10
- closeIcon: IconType;
11
- }
12
- declare const Accordion: ({ header, content, defaultOpen, variant, disabled, openIcon, closeIcon, }: AccordionProps) => JSX.Element;
13
- export default Accordion;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- declare const _default: {
3
- title: string;
4
- component: ({ header, content, defaultOpen, variant, disabled, openIcon, closeIcon, }: import("./Accordion").AccordionProps) => JSX.Element;
5
- };
6
- export default _default;
7
- export declare const Box: () => JSX.Element;
8
- export declare const Simple: () => JSX.Element;
9
- export declare const SimpleWithComplexContent: () => JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,16 +0,0 @@
1
- import { Theme } from 'src/core/theme/Theme';
2
- export declare const AccordionStyles: {
3
- baseStyles: import("@emotion/utils").SerializedStyles;
4
- simple: (theme: Theme, disabled: boolean) => import("@emotion/utils").SerializedStyles;
5
- box: (theme: Theme, disabled: boolean) => import("@emotion/utils").SerializedStyles;
6
- };
7
- export declare const AccordionSummaryStyles: {
8
- baseStyles: import("@emotion/utils").SerializedStyles;
9
- simple: (theme: Theme, disabled: boolean) => import("@emotion/utils").SerializedStyles;
10
- box: (theme: Theme, disabled: boolean) => import("@emotion/utils").SerializedStyles;
11
- };
12
- export declare const AccordionDetailsStyles: {
13
- baseStyles: import("@emotion/utils").SerializedStyles;
14
- simple: (theme: Theme) => import("@emotion/utils").SerializedStyles;
15
- box: (theme: Theme) => import("@emotion/utils").SerializedStyles;
16
- };
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const Bundle: {
3
- Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: import("./minimalistic/Minimalistic").MinimalisticProps) => JSX.Element;
4
- Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: import("./simple/Simple").SimpleProps) => JSX.Element;
5
- };
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- export interface MinimalisticProps {
3
- backgroundColor?: string;
4
- borderColor?: string;
5
- originalPrice: string;
6
- price: string;
7
- savingPrice: string;
8
- getMorePayLessText: string;
9
- youAreSavingText: string;
10
- getQtyForText: string;
11
- discount: number;
12
- offText: string;
13
- widthAuto?: boolean;
14
- }
15
- export declare const Minimalistic: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import { Story } from '@storybook/react';
3
- import { MinimalisticProps } from './Minimalistic';
4
- declare const _default: {
5
- title: string;
6
- component: ({ backgroundColor, borderColor, originalPrice, price, savingPrice, getMorePayLessText, youAreSavingText, getQtyForText, discount, offText, widthAuto, }: MinimalisticProps) => JSX.Element;
7
- };
8
- export default _default;
9
- export declare const MinimalisticBundle: Story<MinimalisticProps>;
@@ -1,10 +0,0 @@
1
- /// <reference types="react" />
2
- export interface SimpleProps {
3
- title: string;
4
- freeShippingText: string;
5
- price: string;
6
- anyQtyForText: string;
7
- backgroundColor: string;
8
- widthAuto?: boolean;
9
- }
10
- export declare const Simple: ({ title, freeShippingText, price, anyQtyForText, backgroundColor, widthAuto, }: SimpleProps) => JSX.Element;