@trafilea/afrodita-components 4.0.2-beta.8 → 4.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (388) hide show
  1. package/build/index.d.ts +1066 -912
  2. package/build/index.esm.js +607 -358
  3. package/build/index.esm.js.map +1 -1
  4. package/build/index.js +625 -359
  5. package/build/index.js.map +1 -1
  6. package/build/{dts/core/theme/Theme.d.ts → theme/shapermint.theme.d.ts} +26 -25
  7. package/build/theme/shapermint.theme.js +30 -15
  8. package/build/theme/truekind.theme.d.ts +383 -0
  9. package/build/theme/truekind.theme.js +12 -2
  10. package/package.json +1 -1
  11. package/build/dts/components/Demo.stories.d.ts +0 -7
  12. package/build/dts/components/Icon-wrapper/IconWrapper.d.ts +0 -12
  13. package/build/dts/components/Icon-wrapper/IconWrapper.test.d.ts +0 -1
  14. package/build/dts/components/accordion/Accordion.d.ts +0 -13
  15. package/build/dts/components/accordion/Accordion.stories.d.ts +0 -9
  16. package/build/dts/components/accordion/Accordion.test.d.ts +0 -1
  17. package/build/dts/components/accordion/styles.d.ts +0 -16
  18. package/build/dts/components/bundle/index.d.ts +0 -5
  19. package/build/dts/components/bundle/minimalistic/Minimalistic.d.ts +0 -15
  20. package/build/dts/components/bundle/minimalistic/Minimalistic.stories.d.ts +0 -9
  21. package/build/dts/components/bundle/minimalistic/Minimalistic.test.d.ts +0 -1
  22. package/build/dts/components/bundle/simple/Simple.d.ts +0 -10
  23. package/build/dts/components/bundle/simple/Simple.stories.d.ts +0 -9
  24. package/build/dts/components/bundle/simple/Simple.test.d.ts +0 -1
  25. package/build/dts/components/cartProductItem/CloseIcon/Close.test.d.ts +0 -1
  26. package/build/dts/components/cartProductItem/CloseIcon/CloseButton.d.ts +0 -5
  27. package/build/dts/components/cartProductItem/CloseIcon/CloseButton.stories.d.ts +0 -9
  28. package/build/dts/components/cartProductItem/Description/Description.d.ts +0 -5
  29. package/build/dts/components/cartProductItem/Description/Description.stories.d.ts +0 -9
  30. package/build/dts/components/cartProductItem/Description/Description.test.d.ts +0 -1
  31. package/build/dts/components/cartProductItem/Promo/Promo.d.ts +0 -5
  32. package/build/dts/components/cartProductItem/Promo/Promo.stories.d.ts +0 -9
  33. package/build/dts/components/cartProductItem/Promo/Promo.test.d.ts +0 -1
  34. package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.d.ts +0 -5
  35. package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.stories.d.ts +0 -9
  36. package/build/dts/components/cartProductItem/ThinPrice/ThinPrice.test.d.ts +0 -1
  37. package/build/dts/components/cartProductItem/Title/Title.d.ts +0 -5
  38. package/build/dts/components/cartProductItem/Title/Title.stories.d.ts +0 -9
  39. package/build/dts/components/cartProductItem/Title/Title.test.d.ts +0 -1
  40. package/build/dts/components/cartProductItem/index.d.ts +0 -8
  41. package/build/dts/components/checkbox/Checkbox.d.ts +0 -21
  42. package/build/dts/components/checkbox/Checkbox.stories.d.ts +0 -24
  43. package/build/dts/components/checkbox/Checkbox.test.d.ts +0 -1
  44. package/build/dts/components/checkbox/styles.d.ts +0 -9
  45. package/build/dts/components/collection/grid/WithProductGrid.d.ts +0 -11
  46. package/build/dts/components/collection/grid/WithProductGrid.stories.d.ts +0 -9
  47. package/build/dts/components/collection/grid/WithProductGrid.test.d.ts +0 -1
  48. package/build/dts/components/collection/index.d.ts +0 -5
  49. package/build/dts/components/collection/product/mobile/ProductItemMobile.d.ts +0 -7
  50. package/build/dts/components/collection/product/mobile/ProductItemMobile.stories.d.ts +0 -24
  51. package/build/dts/components/collection/product/mobile/ProductItemMobile.test.d.ts +0 -1
  52. package/build/dts/components/collection/product/types.d.ts +0 -14
  53. package/build/dts/components/color/ColorRadioGroup.d.ts +0 -25
  54. package/build/dts/components/color/MultiColorPicker.d.ts +0 -10
  55. package/build/dts/components/color/MultiColorPicker.stories.d.ts +0 -9
  56. package/build/dts/components/color/MultiColorPicker.test.d.ts +0 -1
  57. package/build/dts/components/color/SingleColorPicker.d.ts +0 -10
  58. package/build/dts/components/color/SingleColorPicker.stories.d.ts +0 -9
  59. package/build/dts/components/color/SingleColorPicker.test.d.ts +0 -1
  60. package/build/dts/components/color/selector/ColorSelector.d.ts +0 -15
  61. package/build/dts/components/color/selector/ColorSelector.stories.d.ts +0 -14
  62. package/build/dts/components/color/selector/ColorSelector.test.d.ts +0 -1
  63. package/build/dts/components/color/selector/OneColorSelector.d.ts +0 -8
  64. package/build/dts/components/color/selector/OutOfStock.d.ts +0 -6
  65. package/build/dts/components/color/selector/PatternSelector.d.ts +0 -8
  66. package/build/dts/components/color/selector/PatternSelector.test.d.ts +0 -1
  67. package/build/dts/components/color/selector/ThreeColorSelector.d.ts +0 -10
  68. package/build/dts/components/color/selector/TwoColorSelector.d.ts +0 -9
  69. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.d.ts +0 -13
  70. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.stories.d.ts +0 -9
  71. package/build/dts/components/cross-sell/Checkbox/CrossSellCheckbox.test.d.ts +0 -1
  72. package/build/dts/components/cross-sell/index.d.ts +0 -1
  73. package/build/dts/components/cta/BaseCTA.d.ts +0 -13
  74. package/build/dts/components/cta/BaseCTA.test.d.ts +0 -1
  75. package/build/dts/components/cta/index.d.ts +0 -3
  76. package/build/dts/components/cta/primary/ButtonPrimary.d.ts +0 -3
  77. package/build/dts/components/cta/primary/ButtonPrimary.stories.d.ts +0 -37
  78. package/build/dts/components/cta/primary/ButtonPrimary.test.d.ts +0 -1
  79. package/build/dts/components/cta/secondary/ButtonSecondary.d.ts +0 -3
  80. package/build/dts/components/cta/secondary/ButtonSecondary.stories.d.ts +0 -37
  81. package/build/dts/components/cta/secondary/ButtonSecondary.test.d.ts +0 -1
  82. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.d.ts +0 -3
  83. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.stories.d.ts +0 -37
  84. package/build/dts/components/cta/secondary/ButtonSecondaryOutline.test.d.ts +0 -1
  85. package/build/dts/components/delivery-details/DeliveryDetails.d.ts +0 -26
  86. package/build/dts/components/delivery-details/DeliveryDetails.stories.d.ts +0 -9
  87. package/build/dts/components/delivery-details/DeliveryDetails.test.d.ts +0 -1
  88. package/build/dts/components/delivery-details/Note/Note.d.ts +0 -9
  89. package/build/dts/components/delivery-details/Note/Note.stories.d.ts +0 -9
  90. package/build/dts/components/delivery-details/Note/Note.test.d.ts +0 -1
  91. package/build/dts/components/drawer/Drawer.d.ts +0 -13
  92. package/build/dts/components/drawer/Drawer.stories.d.ts +0 -14
  93. package/build/dts/components/drawer/Drawer.test.d.ts +0 -1
  94. package/build/dts/components/dropdown/base/BaseDropdown.d.ts +0 -17
  95. package/build/dts/components/dropdown/base/BaseDropdownButton.d.ts +0 -12
  96. package/build/dts/components/dropdown/base/BaseDropdownOption.d.ts +0 -11
  97. package/build/dts/components/dropdown/base/BaseDropdownOptions.d.ts +0 -6
  98. package/build/dts/components/dropdown/variants/filtering/Filtering.test.d.ts +0 -1
  99. package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.d.ts +0 -13
  100. package/build/dts/components/dropdown/variants/filtering/FilteringDropdown.stories.d.ts +0 -12
  101. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.d.ts +0 -20
  102. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.stories.d.ts +0 -13
  103. package/build/dts/components/dropdown/variants/simple/SimpleDropdown.test.d.ts +0 -1
  104. package/build/dts/components/dropdown-list-icons/DropdownListIcons.d.ts +0 -6
  105. package/build/dts/components/dropdown-list-icons/DropdownListIcons.stories.d.ts +0 -9
  106. package/build/dts/components/dropdown-list-icons/DropdownListIcons.test.d.ts +0 -1
  107. package/build/dts/components/dropdown-list-icons/Styled.d.ts +0 -34
  108. package/build/dts/components/filtering/Accordion.d.ts +0 -8
  109. package/build/dts/components/filtering/Filters.d.ts +0 -15
  110. package/build/dts/components/filtering/Filters.stories.d.ts +0 -9
  111. package/build/dts/components/filtering/Filters.test.d.ts +0 -1
  112. package/build/dts/components/filtering/FiltersStyled.d.ts +0 -43
  113. package/build/dts/components/filtering/Tags/Tags.d.ts +0 -24
  114. package/build/dts/components/filtering/Tags/Tags.stories.d.ts +0 -9
  115. package/build/dts/components/filtering/Tags/Tags.test.d.ts +0 -1
  116. package/build/dts/components/fit/FitPredictor.d.ts +0 -5
  117. package/build/dts/components/fit/FitPredictor.stories.d.ts +0 -7
  118. package/build/dts/components/fit/FitPredictor.test.d.ts +0 -1
  119. package/build/dts/components/gallery/ImagePreviewList.d.ts +0 -9
  120. package/build/dts/components/gallery/ImagePreviewList.test.d.ts +0 -1
  121. package/build/dts/components/gallery/ImageProductWithTags.d.ts +0 -10
  122. package/build/dts/components/gallery/ImageProductWithTags.test.d.ts +0 -1
  123. package/build/dts/components/gallery/ImageSmallPreview.d.ts +0 -9
  124. package/build/dts/components/gallery/ImageSmallPreview.test.d.ts +0 -1
  125. package/build/dts/components/gallery/ProductGallery.d.ts +0 -12
  126. package/build/dts/components/gallery/ProductGallery.stories.d.ts +0 -9
  127. package/build/dts/components/gallery/ProductGallery.test.d.ts +0 -1
  128. package/build/dts/components/icon-button/IconButton.d.ts +0 -16
  129. package/build/dts/components/icon-button/IconButton.stories.d.ts +0 -23
  130. package/build/dts/components/icon-button/IconButton.test.d.ts +0 -1
  131. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.d.ts +0 -6
  132. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.stories.d.ts +0 -7
  133. package/build/dts/components/icon-button/amazonAndPaypal/AmazonPaypalButtons.test.d.ts +0 -1
  134. package/build/dts/components/icons/Actions/Check.d.ts +0 -3
  135. package/build/dts/components/icons/Actions/ClearLight.d.ts +0 -3
  136. package/build/dts/components/icons/Actions/Close.d.ts +0 -3
  137. package/build/dts/components/icons/Actions/LightCheck.d.ts +0 -6
  138. package/build/dts/components/icons/Actions/LightExclamation.d.ts +0 -3
  139. package/build/dts/components/icons/Actions/Question.d.ts +0 -3
  140. package/build/dts/components/icons/Actions/Trash.d.ts +0 -3
  141. package/build/dts/components/icons/Actions/index.d.ts +0 -7
  142. package/build/dts/components/icons/Arrows/ChevronDown.d.ts +0 -3
  143. package/build/dts/components/icons/Arrows/ChevronLeft.d.ts +0 -3
  144. package/build/dts/components/icons/Arrows/ChevronRight.d.ts +0 -3
  145. package/build/dts/components/icons/Arrows/ChevronRightVariant.d.ts +0 -3
  146. package/build/dts/components/icons/Arrows/ChevronUp.d.ts +0 -3
  147. package/build/dts/components/icons/Arrows/ChevronUpSolid.d.ts +0 -3
  148. package/build/dts/components/icons/Arrows/CircleUp.d.ts +0 -3
  149. package/build/dts/components/icons/Arrows/index.d.ts +0 -7
  150. package/build/dts/components/icons/Custom/SixtyDaysGuarantee.d.ts +0 -3
  151. package/build/dts/components/icons/Custom/index.d.ts +0 -1
  152. package/build/dts/components/icons/Download/AppleStore.d.ts +0 -3
  153. package/build/dts/components/icons/Download/GooglePlay.d.ts +0 -3
  154. package/build/dts/components/icons/Download/index.d.ts +0 -2
  155. package/build/dts/components/icons/Messaging/Comment.d.ts +0 -3
  156. package/build/dts/components/icons/Messaging/Mail.d.ts +0 -2
  157. package/build/dts/components/icons/Messaging/Message.d.ts +0 -8
  158. package/build/dts/components/icons/Messaging/Messenger.d.ts +0 -3
  159. package/build/dts/components/icons/Messaging/QuestionCircle.d.ts +0 -3
  160. package/build/dts/components/icons/Messaging/index.d.ts +0 -5
  161. package/build/dts/components/icons/Navigation/MapMarker.d.ts +0 -3
  162. package/build/dts/components/icons/Navigation/Search.d.ts +0 -3
  163. package/build/dts/components/icons/Navigation/ShoppingBag.d.ts +0 -3
  164. package/build/dts/components/icons/Navigation/User.d.ts +0 -3
  165. package/build/dts/components/icons/Navigation/index.d.ts +0 -4
  166. package/build/dts/components/icons/Other/FitPredictor.d.ts +0 -3
  167. package/build/dts/components/icons/Other/Loading.d.ts +0 -6
  168. package/build/dts/components/icons/Other/Shapermint.d.ts +0 -3
  169. package/build/dts/components/icons/Other/index.d.ts +0 -4
  170. package/build/dts/components/icons/Other/mcAfee.d.ts +0 -3
  171. package/build/dts/components/icons/PDP/Clock.d.ts +0 -3
  172. package/build/dts/components/icons/PDP/FlagUSA.d.ts +0 -3
  173. package/build/dts/components/icons/PDP/Minus.d.ts +0 -3
  174. package/build/dts/components/icons/PDP/Plus.d.ts +0 -3
  175. package/build/dts/components/icons/PDP/Rule.d.ts +0 -3
  176. package/build/dts/components/icons/PDP/Shipping.d.ts +0 -3
  177. package/build/dts/components/icons/PDP/Star.d.ts +0 -3
  178. package/build/dts/components/icons/PDP/StarEmpty.d.ts +0 -3
  179. package/build/dts/components/icons/PDP/StarHalf.d.ts +0 -3
  180. package/build/dts/components/icons/PDP/Stopwatch.d.ts +0 -3
  181. package/build/dts/components/icons/PDP/index.d.ts +0 -10
  182. package/build/dts/components/icons/Payment/Amazon.d.ts +0 -3
  183. package/build/dts/components/icons/Payment/Amex.d.ts +0 -3
  184. package/build/dts/components/icons/Payment/JCB.d.ts +0 -3
  185. package/build/dts/components/icons/Payment/Klarna.d.ts +0 -3
  186. package/build/dts/components/icons/Payment/MasterCard.d.ts +0 -3
  187. package/build/dts/components/icons/Payment/Paypal.d.ts +0 -3
  188. package/build/dts/components/icons/Payment/Visa.d.ts +0 -3
  189. package/build/dts/components/icons/Payment/index.d.ts +0 -7
  190. package/build/dts/components/icons/SlideDots/SlideDot.d.ts +0 -3
  191. package/build/dts/components/icons/SlideDots/index.d.ts +0 -1
  192. package/build/dts/components/icons/SocialMedia/Facebook.d.ts +0 -3
  193. package/build/dts/components/icons/SocialMedia/FacebookSolid.d.ts +0 -3
  194. package/build/dts/components/icons/SocialMedia/Instagram.d.ts +0 -3
  195. package/build/dts/components/icons/SocialMedia/InstagramSolid.d.ts +0 -3
  196. package/build/dts/components/icons/SocialMedia/Pinterest.d.ts +0 -3
  197. package/build/dts/components/icons/SocialMedia/Twitter.d.ts +0 -3
  198. package/build/dts/components/icons/SocialMedia/Youtube.d.ts +0 -3
  199. package/build/dts/components/icons/SocialMedia/index.d.ts +0 -7
  200. package/build/dts/components/icons/index.d.ts +0 -27
  201. package/build/dts/components/index.d.ts +0 -48
  202. package/build/dts/components/input/base/BaseInput.d.ts +0 -14
  203. package/build/dts/components/input/base/BaseInput.stories.d.ts +0 -9
  204. package/build/dts/components/input/base/BaseInput.test.d.ts +0 -1
  205. package/build/dts/components/input/base/Error.d.ts +0 -6
  206. package/build/dts/components/input/base/Styled.d.ts +0 -31
  207. package/build/dts/components/input/basePlusButton/BasePlusButton.d.ts +0 -13
  208. package/build/dts/components/input/basePlusButton/BasePlusButton.stories.d.ts +0 -9
  209. package/build/dts/components/input/basePlusButton/BasePlusButton.test.d.ts +0 -1
  210. package/build/dts/components/input/basePlusButton/Success.d.ts +0 -6
  211. package/build/dts/components/input/basePlusIcon/BasePlusIcon.d.ts +0 -7
  212. package/build/dts/components/input/basePlusIcon/BasePlusIcon.stories.d.ts +0 -9
  213. package/build/dts/components/input/basePlusIcon/BasePlusIcon.test.d.ts +0 -1
  214. package/build/dts/components/input/custom/Custom.d.ts +0 -8
  215. package/build/dts/components/input/custom/Custom.stories.d.ts +0 -9
  216. package/build/dts/components/input/custom/Custom.test.d.ts +0 -1
  217. package/build/dts/components/input/index.d.ts +0 -7
  218. package/build/dts/components/input/label/Label.d.ts +0 -15
  219. package/build/dts/components/input/label/Label.stories.d.ts +0 -9
  220. package/build/dts/components/input/label/Label.test.d.ts +0 -1
  221. package/build/dts/components/mobile/gallery/ImageProductWithTagsMobile.d.ts +0 -10
  222. package/build/dts/components/mobile/gallery/ProductGalleryMobile.d.ts +0 -12
  223. package/build/dts/components/mobile/gallery/ProductGalleryMobile.stories.d.ts +0 -8
  224. package/build/dts/components/mobile/gallery/ProductGalleryMobile.test.d.ts +0 -1
  225. package/build/dts/components/mobile/gallery/slide_navigation/ArrowButton.d.ts +0 -8
  226. package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.d.ts +0 -8
  227. package/build/dts/components/mobile/gallery/slide_navigation/SlideDots.test.d.ts +0 -1
  228. package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.d.ts +0 -9
  229. package/build/dts/components/mobile/gallery/slide_navigation/SlideNavigation.test.d.ts +0 -1
  230. package/build/dts/components/offer-banner/OfferBanner.d.ts +0 -15
  231. package/build/dts/components/offer-banner/OfferBanner.stories.d.ts +0 -9
  232. package/build/dts/components/offer-banner/OfferBanner.test.d.ts +0 -1
  233. package/build/dts/components/order-bar/OrderBar.d.ts +0 -17
  234. package/build/dts/components/order-bar/OrderBar.stories.d.ts +0 -9
  235. package/build/dts/components/order-bar/OrderBar.test.d.ts +0 -1
  236. package/build/dts/components/pagination/Pagination.d.ts +0 -11
  237. package/build/dts/components/pagination/Pagination.stories.d.ts +0 -9
  238. package/build/dts/components/pagination/Pagination.test.d.ts +0 -1
  239. package/build/dts/components/pagination/styles.d.ts +0 -29
  240. package/build/dts/components/payment-methods/PaymentMethod.d.ts +0 -20
  241. package/build/dts/components/payment-methods/PaymentMethod.stories.d.ts +0 -13
  242. package/build/dts/components/payment-methods/PaymentMethod.test.d.ts +0 -1
  243. package/build/dts/components/pricing/discount/DiscountTag.d.ts +0 -21
  244. package/build/dts/components/pricing/discount/DiscountTag.stories.d.ts +0 -23
  245. package/build/dts/components/pricing/discount/DiscountTag.test.d.ts +0 -1
  246. package/build/dts/components/pricing/index.d.ts +0 -2
  247. package/build/dts/components/pricing/price/PriceLabel.d.ts +0 -11
  248. package/build/dts/components/pricing/price/PriceLabel.stories.d.ts +0 -23
  249. package/build/dts/components/pricing/price/PriceLabel.test.d.ts +0 -1
  250. package/build/dts/components/product/order/item/SimpleOrderItem.d.ts +0 -20
  251. package/build/dts/components/product/order/item/SimpleOrderItem.stories.d.ts +0 -11
  252. package/build/dts/components/product/order/item/SimpleOrderItem.test.d.ts +0 -1
  253. package/build/dts/components/progress-bar/ProgressBar.d.ts +0 -8
  254. package/build/dts/components/progress-bar/ProgressBar.stories.d.ts +0 -8
  255. package/build/dts/components/progress-bar/ProgressBar.test.d.ts +0 -1
  256. package/build/dts/components/quantityPicker/QuantityPicker.d.ts +0 -6
  257. package/build/dts/components/quantityPicker/QuantityPicker.stories.d.ts +0 -9
  258. package/build/dts/components/quantityPicker/QuantityPicker.test.d.ts +0 -1
  259. package/build/dts/components/radio/container/group.d.ts +0 -12
  260. package/build/dts/components/radio/container/group.stories.d.ts +0 -23
  261. package/build/dts/components/radio/container/group.test.d.ts +0 -1
  262. package/build/dts/components/radio/index.d.ts +0 -1
  263. package/build/dts/components/radio/input/radio.d.ts +0 -13
  264. package/build/dts/components/radio/input/radio.stories.d.ts +0 -23
  265. package/build/dts/components/radio/input/radio.test.d.ts +0 -1
  266. package/build/dts/components/radio/input/styles.d.ts +0 -13
  267. package/build/dts/components/rating/Rating.d.ts +0 -9
  268. package/build/dts/components/rating/Rating.stories.d.ts +0 -24
  269. package/build/dts/components/rating/Rating.test.d.ts +0 -1
  270. package/build/dts/components/rating/starList/StarList.d.ts +0 -9
  271. package/build/dts/components/rating/starList/StarList.stories.d.ts +0 -24
  272. package/build/dts/components/rating/starList/StarList.test.d.ts +0 -1
  273. package/build/dts/components/rating/starList/styles.d.ts +0 -12
  274. package/build/dts/components/rating/styles.d.ts +0 -13
  275. package/build/dts/components/review/Review.d.ts +0 -19
  276. package/build/dts/components/review/Review.stories.d.ts +0 -9
  277. package/build/dts/components/review/Review.test.d.ts +0 -1
  278. package/build/dts/components/scroll-to-top/ScrollToTop.d.ts +0 -18
  279. package/build/dts/components/scroll-to-top/ScrollToTop.stories.d.ts +0 -9
  280. package/build/dts/components/scroll-to-top/ScrollToTop.test.d.ts +0 -1
  281. package/build/dts/components/search-bar/ClearButton.d.ts +0 -6
  282. package/build/dts/components/search-bar/ClearButton.test.d.ts +0 -1
  283. package/build/dts/components/search-bar/Footer.d.ts +0 -7
  284. package/build/dts/components/search-bar/Input.d.ts +0 -9
  285. package/build/dts/components/search-bar/ProductItem.d.ts +0 -8
  286. package/build/dts/components/search-bar/ProductItem.test.d.ts +0 -1
  287. package/build/dts/components/search-bar/ResultsPanel.d.ts +0 -12
  288. package/build/dts/components/search-bar/ResultsPanel.test.d.ts +0 -1
  289. package/build/dts/components/search-bar/SearchBar.d.ts +0 -11
  290. package/build/dts/components/search-bar/SearchBar.stories.d.ts +0 -7
  291. package/build/dts/components/search-bar/SearchBar.test.d.ts +0 -1
  292. package/build/dts/components/search-bar/SearchControl.d.ts +0 -7
  293. package/build/dts/components/search-bar/SearchControl.test.d.ts +0 -1
  294. package/build/dts/components/search-bar/index.d.ts +0 -1
  295. package/build/dts/components/selector/simple/SelectorSecondary.d.ts +0 -4
  296. package/build/dts/components/selector/simple/SelectorSecondary.stories.d.ts +0 -23
  297. package/build/dts/components/selector/simple/SelectorSecondary.test.d.ts +0 -1
  298. package/build/dts/components/selector/simple/SimpleSelector.d.ts +0 -11
  299. package/build/dts/components/selector/simple/SimpleSelector.test.d.ts +0 -1
  300. package/build/dts/components/shared/button/BaseButton.d.ts +0 -14
  301. package/build/dts/components/shared/button/BaseButton.stories.d.ts +0 -14
  302. package/build/dts/components/shared/card/Card.d.ts +0 -18
  303. package/build/dts/components/shared/card/Card.stories.d.ts +0 -7
  304. package/build/dts/components/shared/card/Card.test.d.ts +0 -1
  305. package/build/dts/components/shared/card/CardBody.d.ts +0 -5
  306. package/build/dts/components/shared/card/CardSection.d.ts +0 -6
  307. package/build/dts/components/shared/card/index.d.ts +0 -2
  308. package/build/dts/components/shared/image/Image.d.ts +0 -14
  309. package/build/dts/components/shared/image/Image.test.d.ts +0 -1
  310. package/build/dts/components/shared/label/label.d.ts +0 -13
  311. package/build/dts/components/shared/label/label.test.d.ts +0 -1
  312. package/build/dts/components/shared/label/styles.d.ts +0 -7
  313. package/build/dts/components/shared/select/BaseSelect.d.ts +0 -16
  314. package/build/dts/components/shared/select/BaseSelect.stories.d.ts +0 -11
  315. package/build/dts/components/shared/select/BaseSelectButton.d.ts +0 -17
  316. package/build/dts/components/shared/select/BaseSelectOption.d.ts +0 -22
  317. package/build/dts/components/shared/select/BaseSelectOptions.d.ts +0 -7
  318. package/build/dts/components/size/guide/SizeFitGuide.d.ts +0 -9
  319. package/build/dts/components/size/guide/SizeFitGuide.stories.d.ts +0 -9
  320. package/build/dts/components/size/guide/SizeFitGuide.test.d.ts +0 -1
  321. package/build/dts/components/size/selector/SizeSelector.d.ts +0 -10
  322. package/build/dts/components/size/selector/SizeSelector.stories.d.ts +0 -8
  323. package/build/dts/components/size/selector/SizeSelector.test.d.ts +0 -1
  324. package/build/dts/components/size-table/SizeTable.d.ts +0 -6
  325. package/build/dts/components/size-table/SizeTable.stories.d.ts +0 -9
  326. package/build/dts/components/size-table/SizeTable.test.d.ts +0 -1
  327. package/build/dts/components/slider/ArrowButton.d.ts +0 -14
  328. package/build/dts/components/slider/SliderNatigation.test.d.ts +0 -1
  329. package/build/dts/components/slider/SliderNavigation.d.ts +0 -17
  330. package/build/dts/components/slider/SliderNavigation.stories.d.ts +0 -9
  331. package/build/dts/components/slider/StyledSlider.d.ts +0 -16
  332. package/build/dts/components/spinner/Spinner.d.ts +0 -10
  333. package/build/dts/components/spinner/Spinner.stories.d.ts +0 -9
  334. package/build/dts/components/spinner/Spinner.test.d.ts +0 -1
  335. package/build/dts/components/tag/Tag.d.ts +0 -7
  336. package/build/dts/components/tag/Tag.test.d.ts +0 -1
  337. package/build/dts/components/tag/index.d.ts +0 -3
  338. package/build/dts/components/tag/variants/pdp/category/CategoryTag.d.ts +0 -8
  339. package/build/dts/components/tag/variants/pdp/category/CategoryTag.stories.d.ts +0 -22
  340. package/build/dts/components/tag/variants/pdp/category/CategoryTag.test.d.ts +0 -1
  341. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.d.ts +0 -9
  342. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.stories.d.ts +0 -22
  343. package/build/dts/components/tag/variants/pdp/season-offer/SeasonOfferTag.test.d.ts +0 -1
  344. package/build/dts/components/text/Text.d.ts +0 -99
  345. package/build/dts/components/text/Text.stories.d.ts +0 -16
  346. package/build/dts/components/text-button/TextButton.d.ts +0 -13
  347. package/build/dts/components/text-button/TextButton.stories.d.ts +0 -58
  348. package/build/dts/components/text-button/TextButton.test.d.ts +0 -1
  349. package/build/dts/components/timer/Timer.d.ts +0 -13
  350. package/build/dts/components/timer/Timer.stories.d.ts +0 -9
  351. package/build/dts/components/timer/Timer.test.d.ts +0 -1
  352. package/build/dts/components/tooltip/Arrow.d.ts +0 -6
  353. package/build/dts/components/tooltip/Styled.d.ts +0 -56
  354. package/build/dts/components/tooltip/Tooltip.d.ts +0 -15
  355. package/build/dts/components/tooltip/Tooltip.stories.d.ts +0 -35
  356. package/build/dts/components/tooltip/Tooltip.test.d.ts +0 -1
  357. package/build/dts/components/tooltip/utils.d.ts +0 -7
  358. package/build/dts/components/totals/index.d.ts +0 -5
  359. package/build/dts/components/totals/subtotal/Subtotal.d.ts +0 -22
  360. package/build/dts/components/totals/subtotal/Subtotal.stories.d.ts +0 -9
  361. package/build/dts/components/totals/subtotal/Subtotal.test.d.ts +0 -1
  362. package/build/dts/components/totals/total/Total.d.ts +0 -38
  363. package/build/dts/components/totals/total/Total.stories.d.ts +0 -9
  364. package/build/dts/components/totals/total/Total.test.d.ts +0 -1
  365. package/build/dts/config/breakpoints.d.ts +0 -5
  366. package/build/dts/core/theme/Theme.test.d.ts +0 -1
  367. package/build/dts/core/theme/shapermint.theme.d.ts +0 -3
  368. package/build/dts/core/theme/theme.helpers.d.ts +0 -13
  369. package/build/dts/core/theme/truekind.theme.d.ts +0 -3
  370. package/build/dts/hooks/WindowDimensions.d.ts +0 -8
  371. package/build/dts/hooks/click-outside.d.ts +0 -3
  372. package/build/dts/hooks/index.d.ts +0 -3
  373. package/build/dts/index.d.ts +0 -5
  374. package/build/dts/setupTests.d.ts +0 -1
  375. package/build/dts/types/enums.d.ts +0 -21
  376. package/build/dts/types/types.d.ts +0 -81
  377. package/build/dts/utils/dateFormatter/dateFormatter.d.ts +0 -1
  378. package/build/dts/utils/dateFormatter/dateFormatter.test.d.ts +0 -1
  379. package/build/dts/utils/decimalParser/decimalParser.d.ts +0 -4
  380. package/build/dts/utils/decimalParser/decimalParser.test.d.ts +0 -1
  381. package/build/dts/utils/index.d.ts +0 -4
  382. package/build/dts/utils/media.d.ts +0 -7
  383. package/build/dts/utils/simulateClick/simulateClick.d.ts +0 -1
  384. package/build/dts/utils/simulateClick/simulateClick.test.d.ts +0 -1
  385. package/build/dts/utils/sliceString/sliceString.d.ts +0 -1
  386. package/build/dts/utils/sliceString/sliceString.test.d.ts +0 -1
  387. package/build/dts/utils/validations/validations.d.ts +0 -5
  388. package/build/dts/utils/validations/validations.test.d.ts +0 -1
@@ -1,38 +1,33 @@
1
- import { CSSProperties, ElementType, FC, ReactNode } from 'react';
2
- export declare const ThemeProvider: FC<{
3
- theme: Theme;
4
- children: ReactNode;
5
- }>;
6
- export declare const useTheme: () => Theme;
7
- export declare const ThemeVariables: FC<{
8
- theme: Theme;
9
- Container?: ElementType;
10
- }>;
11
- export declare const AssetsProvider: FC<{
12
- assets: ThemeAssets;
13
- }>;
14
- export declare const useThemeAssets: () => ThemeAssets;
15
- export declare type Theme = {
1
+ import { CSSProperties } from 'react';
2
+
3
+ declare type Theme = {
16
4
  name: string;
17
5
  fontSizes: number[];
18
6
  fontWeights: number[];
19
7
  lineHeights: number[];
20
8
  mediaQueries: ThemeBreakpoints;
9
+ radius: {
10
+ regular: string;
11
+ };
12
+ zIndex: {
13
+ modal: number;
14
+ overlay: number;
15
+ };
21
16
  colors: ThemeColors;
22
17
  component: ThemeComponent;
23
18
  typography: ThemeTypography;
24
19
  fonts: ThemeFonts;
25
20
  assets: ThemeAssets;
26
21
  };
27
- export declare type ThemeBreakpoints = {
22
+ declare type ThemeBreakpoints = {
28
23
  mobile: number;
29
24
  desktop: number;
30
25
  };
31
- export declare type ThemeBasicPallete = {
26
+ declare type ThemeBasicPallete = {
32
27
  color: string;
33
28
  contrast: string;
34
29
  };
35
- export declare type ThemeColorPallete = ThemeBasicPallete & {
30
+ declare type ThemeColorPallete = ThemeBasicPallete & {
36
31
  soft: ThemeBasicPallete;
37
32
  };
38
33
  declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
@@ -41,7 +36,7 @@ declare type ThemeColorPrimaryPallete = ThemeColorPallete & {
41
36
  60: ThemeColorPallete;
42
37
  80: ThemeColorPallete;
43
38
  };
44
- export declare type ThemeColors = {
39
+ declare type ThemeColors = {
45
40
  pallete: {
46
41
  primary: ThemeColorPrimaryPallete;
47
42
  secondary: ThemeColorPrimaryPallete;
@@ -92,7 +87,7 @@ export declare type ThemeColors = {
92
87
  disabled: string;
93
88
  };
94
89
  };
95
- export declare type ThemeComponent = {
90
+ declare type ThemeComponent = {
96
91
  button: {
97
92
  border: string;
98
93
  borderRadius: string;
@@ -350,8 +345,11 @@ export declare type ThemeComponent = {
350
345
  color: string;
351
346
  };
352
347
  };
348
+ modal: {
349
+ minWidth: string;
350
+ };
353
351
  };
354
- export declare type ThemeTypography = {
352
+ declare type ThemeTypography = {
355
353
  config: {
356
354
  weight: {
357
355
  heavy: number;
@@ -362,7 +360,7 @@ export declare type ThemeTypography = {
362
360
  };
363
361
  variants: Record<string, CSSProperties>;
364
362
  };
365
- export declare type ThemeFonts = {
363
+ declare type ThemeFonts = {
366
364
  url: string;
367
365
  config: Array<{
368
366
  src: string;
@@ -372,11 +370,14 @@ export declare type ThemeFonts = {
372
370
  stretch?: string;
373
371
  }>;
374
372
  };
375
- export declare type ThemeAssets = {
373
+ declare type ThemeAssets = {
376
374
  images: {
377
375
  favicon: string;
378
376
  logo: string;
379
377
  };
380
378
  [key: string]: any;
381
- };
382
- export {};
379
+ };
380
+
381
+ declare const shapermint: Theme;
382
+
383
+ export { shapermint as default };
@@ -35,6 +35,13 @@ var shapermint = {
35
35
  mobile: 0,
36
36
  desktop: 1200,
37
37
  },
38
+ radius: {
39
+ regular: '8px',
40
+ },
41
+ zIndex: {
42
+ modal: 50,
43
+ overlay: 49,
44
+ },
38
45
  colors: {
39
46
  pallete: {
40
47
  primary: {
@@ -133,9 +140,9 @@ var shapermint = {
133
140
  200: { color: '#bbbbbb', contrast: '--colors-shades-700-color' },
134
141
  250: { color: '#a6a6a6', contrast: '--colors-shades-700-color' },
135
142
  300: { color: '#9e9e9e', contrast: '--colors-shades-700-color' },
136
- 350: { color: '#949494', contrast: '--colors-shades-700-color' },
137
- 400: { color: '#808080', contrast: '--colors-shades-700-color' },
138
- 450: { color: '#767676', contrast: '--colors-shades-700-color' },
143
+ 350: { color: '#949494', contrast: '--colors-shades-white-color' },
144
+ 400: { color: '#808080', contrast: '--colors-shades-white-color' },
145
+ 450: { color: '#767676', contrast: '--colors-shades-white-color' },
139
146
  500: { color: '#5a5a5a', contrast: '--colors-shades-white-color' },
140
147
  550: { color: '#3a3a3a', contrast: '--colors-shades-white-color' },
141
148
  600: { color: '#343434', contrast: '--colors-shades-white-color' },
@@ -175,16 +182,16 @@ var shapermint = {
175
182
  fontWeight: 600,
176
183
  size: {
177
184
  small: {
178
- fontSize: '1rem',
179
- padding: '0.875rem 2rem',
185
+ fontSize: '0.75rem',
186
+ padding: '0.625rem 2rem',
180
187
  },
181
188
  medium: {
182
189
  fontSize: '0.875rem',
183
190
  padding: '0.688rem 2rem',
184
191
  },
185
192
  large: {
186
- fontSize: '0.75rem',
187
- padding: '0.625rem 2rem',
193
+ fontSize: '1rem',
194
+ padding: '0.875rem 2rem',
188
195
  },
189
196
  },
190
197
  primary: {
@@ -426,6 +433,9 @@ var shapermint = {
426
433
  color: '--colors-shades-700-color',
427
434
  },
428
435
  },
436
+ modal: {
437
+ minWidth: '540px',
438
+ },
429
439
  },
430
440
  typography: {
431
441
  config: {
@@ -551,7 +561,7 @@ var shapermint = {
551
561
  },
552
562
  },
553
563
  fonts: {
554
- url: 'https://cdn.jsdelivr.net/gh/igor-ribeiro/storefront-static@main/fonts/shapermint',
564
+ url: 'https://cdn.jsdelivr.net/gh/trafilea/storefront-static@main/fonts/shapermint',
555
565
  config: [
556
566
  {
557
567
  family: 'AvenirNextLTPro',
@@ -561,30 +571,30 @@ var shapermint = {
561
571
  {
562
572
  family: 'AvenirNextLTPro',
563
573
  src: 'AvenirNextLTPro-Demi.otf',
564
- weight: 'bold',
574
+ weight: 600,
565
575
  },
566
576
  {
567
577
  family: 'AvenirNextLTPro',
568
578
  src: 'AvenirNextLTPro-Bold.otf',
569
- weight: '800 900',
579
+ weight: 700,
570
580
  },
571
581
  {
572
582
  family: 'AvenirNextLTPro',
573
583
  src: 'AvenirNextLTPro-DemiCn.otf',
574
- weight: 'bold',
584
+ weight: 600,
575
585
  stretch: 'condensed',
576
586
  },
577
587
  {
578
588
  family: 'AvenirNextLTPro',
579
589
  src: 'AvenirNextLTPro-DemiCnIt.otf',
580
- weight: 'bold',
590
+ weight: 600,
581
591
  stretch: 'condensed',
582
592
  style: 'italic',
583
593
  },
584
594
  {
585
595
  family: 'AvenirNextLTPro',
586
596
  src: 'AvenirNextLTPro-DemiIt.otf',
587
- weight: 'bold',
597
+ weight: 600,
588
598
  style: 'italic',
589
599
  },
590
600
  {
@@ -613,16 +623,21 @@ var shapermint = {
613
623
  style: 'italic',
614
624
  stretch: 'condensed',
615
625
  },
626
+ {
627
+ family: 'AvenirNextLTPro',
628
+ src: 'AvenirNextLTPro-Heavy.otf',
629
+ weight: '800 900',
630
+ },
616
631
  {
617
632
  family: 'AvenirNextLTPro',
618
633
  src: 'AvenirNextLTPro-HeavyCn.otf',
619
- weight: 900,
634
+ weight: '800 900',
620
635
  stretch: 'condensed',
621
636
  },
622
637
  {
623
638
  family: 'AvenirNextLTPro',
624
639
  src: 'AvenirNextLTPro-HeavyCnIt.otf',
625
- weight: 900,
640
+ weight: '800 900',
626
641
  style: 'italic',
627
642
  stretch: 'condensed',
628
643
  },
@@ -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 };
@@ -35,6 +35,13 @@ var truekind = {
35
35
  mobile: 0,
36
36
  desktop: 1200,
37
37
  },
38
+ radius: {
39
+ regular: '8px',
40
+ },
41
+ zIndex: {
42
+ modal: 50,
43
+ overlay: 49,
44
+ },
38
45
  colors: {
39
46
  pallete: {
40
47
  primary: __assign({
@@ -507,9 +514,12 @@ var truekind = {
507
514
  color: '#292929',
508
515
  },
509
516
  },
517
+ modal: {
518
+ minWidth: '540px',
519
+ },
510
520
  },
511
521
  fonts: {
512
- 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',
513
523
  config: [
514
524
  {
515
525
  family: 'CircularXX',
@@ -632,7 +642,7 @@ var truekind = {
632
642
  assets: {
633
643
  images: {
634
644
  favicon: 'https://cdn.shopify.com/s/files/1/2679/8624/files/shapermint_favicon-128x128.png',
635
- 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',
636
646
  },
637
647
  },
638
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.8",
6
+ "version": "4.3.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;