@faststore/ui 2.2.0 → 2.2.10

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 (671) hide show
  1. package/package.json +3 -3
  2. package/src/components/molecules/Carousel/styles.scss +20 -37
  3. package/dist/atoms/Badge/Badge.d.ts +0 -11
  4. package/dist/atoms/Badge/Badge.js +0 -6
  5. package/dist/atoms/Badge/Badge.js.map +0 -1
  6. package/dist/atoms/Badge/index.d.ts +0 -2
  7. package/dist/atoms/Badge/index.js +0 -2
  8. package/dist/atoms/Badge/index.js.map +0 -1
  9. package/dist/atoms/Button/Button.d.ts +0 -10
  10. package/dist/atoms/Button/Button.js +0 -6
  11. package/dist/atoms/Button/Button.js.map +0 -1
  12. package/dist/atoms/Button/index.d.ts +0 -2
  13. package/dist/atoms/Button/index.js +0 -2
  14. package/dist/atoms/Button/index.js.map +0 -1
  15. package/dist/atoms/Checkbox/Checkbox.d.ts +0 -10
  16. package/dist/atoms/Checkbox/Checkbox.js +0 -6
  17. package/dist/atoms/Checkbox/Checkbox.js.map +0 -1
  18. package/dist/atoms/Checkbox/index.d.ts +0 -2
  19. package/dist/atoms/Checkbox/index.js +0 -2
  20. package/dist/atoms/Checkbox/index.js.map +0 -1
  21. package/dist/atoms/Icon/Icon.d.ts +0 -14
  22. package/dist/atoms/Icon/Icon.js +0 -6
  23. package/dist/atoms/Icon/Icon.js.map +0 -1
  24. package/dist/atoms/Icon/index.d.ts +0 -2
  25. package/dist/atoms/Icon/index.js +0 -2
  26. package/dist/atoms/Icon/index.js.map +0 -1
  27. package/dist/atoms/Icon/stories/assets/ShoppingCart.d.ts +0 -3
  28. package/dist/atoms/Icon/stories/assets/ShoppingCart.js +0 -8
  29. package/dist/atoms/Icon/stories/assets/ShoppingCart.js.map +0 -1
  30. package/dist/atoms/Incentive/Incentive.d.ts +0 -11
  31. package/dist/atoms/Incentive/Incentive.js +0 -6
  32. package/dist/atoms/Incentive/Incentive.js.map +0 -1
  33. package/dist/atoms/Incentive/index.d.ts +0 -2
  34. package/dist/atoms/Incentive/index.js +0 -2
  35. package/dist/atoms/Incentive/index.js.map +0 -1
  36. package/dist/atoms/Incentive/stories/assets/Icons.d.ts +0 -2
  37. package/dist/atoms/Incentive/stories/assets/Icons.js +0 -6
  38. package/dist/atoms/Incentive/stories/assets/Icons.js.map +0 -1
  39. package/dist/atoms/Input/Input.d.ts +0 -14
  40. package/dist/atoms/Input/Input.js +0 -10
  41. package/dist/atoms/Input/Input.js.map +0 -1
  42. package/dist/atoms/Input/index.d.ts +0 -2
  43. package/dist/atoms/Input/index.js +0 -2
  44. package/dist/atoms/Input/index.js.map +0 -1
  45. package/dist/atoms/Label/Label.d.ts +0 -10
  46. package/dist/atoms/Label/Label.js +0 -6
  47. package/dist/atoms/Label/Label.js.map +0 -1
  48. package/dist/atoms/Label/index.d.ts +0 -2
  49. package/dist/atoms/Label/index.js +0 -2
  50. package/dist/atoms/Label/index.js.map +0 -1
  51. package/dist/atoms/Link/Link.d.ts +0 -19
  52. package/dist/atoms/Link/Link.js +0 -13
  53. package/dist/atoms/Link/Link.js.map +0 -1
  54. package/dist/atoms/Link/index.d.ts +0 -2
  55. package/dist/atoms/Link/index.js +0 -2
  56. package/dist/atoms/Link/index.js.map +0 -1
  57. package/dist/atoms/List/List.d.ts +0 -12
  58. package/dist/atoms/List/List.js +0 -16
  59. package/dist/atoms/List/List.js.map +0 -1
  60. package/dist/atoms/List/index.d.ts +0 -2
  61. package/dist/atoms/List/index.js +0 -2
  62. package/dist/atoms/List/index.js.map +0 -1
  63. package/dist/atoms/Overlay/Overlay.d.ts +0 -10
  64. package/dist/atoms/Overlay/Overlay.js +0 -6
  65. package/dist/atoms/Overlay/Overlay.js.map +0 -1
  66. package/dist/atoms/Overlay/index.d.ts +0 -2
  67. package/dist/atoms/Overlay/index.js +0 -2
  68. package/dist/atoms/Overlay/index.js.map +0 -1
  69. package/dist/atoms/Popover/Popover.d.ts +0 -15
  70. package/dist/atoms/Popover/Popover.js +0 -7
  71. package/dist/atoms/Popover/Popover.js.map +0 -1
  72. package/dist/atoms/Popover/index.d.ts +0 -2
  73. package/dist/atoms/Popover/index.js +0 -2
  74. package/dist/atoms/Popover/index.js.map +0 -1
  75. package/dist/atoms/Price/Price.d.ts +0 -28
  76. package/dist/atoms/Price/Price.js +0 -7
  77. package/dist/atoms/Price/Price.js.map +0 -1
  78. package/dist/atoms/Price/index.d.ts +0 -2
  79. package/dist/atoms/Price/index.js +0 -2
  80. package/dist/atoms/Price/index.js.map +0 -1
  81. package/dist/atoms/Radio/Radio.d.ts +0 -7
  82. package/dist/atoms/Radio/Radio.js +0 -6
  83. package/dist/atoms/Radio/Radio.js.map +0 -1
  84. package/dist/atoms/Radio/index.d.ts +0 -2
  85. package/dist/atoms/Radio/index.js +0 -2
  86. package/dist/atoms/Radio/index.js.map +0 -1
  87. package/dist/atoms/Select/Select.d.ts +0 -10
  88. package/dist/atoms/Select/Select.js +0 -6
  89. package/dist/atoms/Select/Select.js.map +0 -1
  90. package/dist/atoms/Select/index.d.ts +0 -2
  91. package/dist/atoms/Select/index.js +0 -2
  92. package/dist/atoms/Select/index.js.map +0 -1
  93. package/dist/atoms/Skeleton/Skeleton.d.ts +0 -10
  94. package/dist/atoms/Skeleton/Skeleton.js +0 -6
  95. package/dist/atoms/Skeleton/Skeleton.js.map +0 -1
  96. package/dist/atoms/Skeleton/index.d.ts +0 -2
  97. package/dist/atoms/Skeleton/index.js +0 -2
  98. package/dist/atoms/Skeleton/index.js.map +0 -1
  99. package/dist/atoms/Slider/Slider.d.ts +0 -67
  100. package/dist/atoms/Slider/Slider.js +0 -48
  101. package/dist/atoms/Slider/Slider.js.map +0 -1
  102. package/dist/atoms/Slider/index.d.ts +0 -2
  103. package/dist/atoms/Slider/index.js +0 -2
  104. package/dist/atoms/Slider/index.js.map +0 -1
  105. package/dist/atoms/Spinner/Spinner.d.ts +0 -11
  106. package/dist/atoms/Spinner/Spinner.js +0 -6
  107. package/dist/atoms/Spinner/Spinner.js.map +0 -1
  108. package/dist/atoms/Spinner/index.d.ts +0 -2
  109. package/dist/atoms/Spinner/index.js +0 -2
  110. package/dist/atoms/Spinner/index.js.map +0 -1
  111. package/dist/atoms/TextArea/TextArea.d.ts +0 -14
  112. package/dist/atoms/TextArea/TextArea.js +0 -10
  113. package/dist/atoms/TextArea/TextArea.js.map +0 -1
  114. package/dist/atoms/TextArea/index.d.ts +0 -2
  115. package/dist/atoms/TextArea/index.js +0 -2
  116. package/dist/atoms/TextArea/index.js.map +0 -1
  117. package/dist/components/atoms/Incentive/Incentive.d.ts +0 -11
  118. package/dist/components/atoms/Incentive/Incentive.js +0 -6
  119. package/dist/components/atoms/Incentive/Incentive.js.map +0 -1
  120. package/dist/components/atoms/Incentive/index.d.ts +0 -2
  121. package/dist/components/atoms/Incentive/index.js +0 -2
  122. package/dist/components/atoms/Incentive/index.js.map +0 -1
  123. package/dist/components/atoms/Popover/Popover.d.ts +0 -15
  124. package/dist/components/atoms/Popover/Popover.js +0 -7
  125. package/dist/components/atoms/Popover/Popover.js.map +0 -1
  126. package/dist/components/atoms/Popover/index.d.ts +0 -2
  127. package/dist/components/atoms/Popover/index.js +0 -2
  128. package/dist/components/atoms/Popover/index.js.map +0 -1
  129. package/dist/components/atoms/Skeleton/Skeleton.d.ts +0 -10
  130. package/dist/components/atoms/Skeleton/Skeleton.js +0 -6
  131. package/dist/components/atoms/Skeleton/Skeleton.js.map +0 -1
  132. package/dist/components/atoms/Skeleton/index.d.ts +0 -2
  133. package/dist/components/atoms/Skeleton/index.js +0 -2
  134. package/dist/components/atoms/Skeleton/index.js.map +0 -1
  135. package/dist/components/atoms/Slider/Slider.d.ts +0 -67
  136. package/dist/components/atoms/Slider/Slider.js +0 -48
  137. package/dist/components/atoms/Slider/Slider.js.map +0 -1
  138. package/dist/components/atoms/Slider/index.d.ts +0 -2
  139. package/dist/components/atoms/Slider/index.js +0 -2
  140. package/dist/components/atoms/Slider/index.js.map +0 -1
  141. package/dist/components/atoms/Spinner/Spinner.d.ts +0 -11
  142. package/dist/components/atoms/Spinner/Spinner.js +0 -6
  143. package/dist/components/atoms/Spinner/Spinner.js.map +0 -1
  144. package/dist/components/atoms/Spinner/index.d.ts +0 -2
  145. package/dist/components/atoms/Spinner/index.js +0 -2
  146. package/dist/components/atoms/Spinner/index.js.map +0 -1
  147. package/dist/components/atoms/TextArea/TextArea.d.ts +0 -14
  148. package/dist/components/atoms/TextArea/TextArea.js +0 -10
  149. package/dist/components/atoms/TextArea/TextArea.js.map +0 -1
  150. package/dist/components/atoms/TextArea/index.d.ts +0 -2
  151. package/dist/components/atoms/TextArea/index.js +0 -2
  152. package/dist/components/atoms/TextArea/index.js.map +0 -1
  153. package/dist/components/molecules/Banner/Banner.d.ts +0 -14
  154. package/dist/components/molecules/Banner/Banner.js +0 -6
  155. package/dist/components/molecules/Banner/Banner.js.map +0 -1
  156. package/dist/components/molecules/Banner/BannerContent.d.ts +0 -10
  157. package/dist/components/molecules/Banner/BannerContent.js +0 -6
  158. package/dist/components/molecules/Banner/BannerContent.js.map +0 -1
  159. package/dist/components/molecules/Banner/BannerImage.d.ts +0 -10
  160. package/dist/components/molecules/Banner/BannerImage.js +0 -6
  161. package/dist/components/molecules/Banner/BannerImage.js.map +0 -1
  162. package/dist/components/molecules/Banner/BannerLink.d.ts +0 -10
  163. package/dist/components/molecules/Banner/BannerLink.js +0 -6
  164. package/dist/components/molecules/Banner/BannerLink.js.map +0 -1
  165. package/dist/components/molecules/Banner/index.d.ts +0 -8
  166. package/dist/components/molecules/Banner/index.js +0 -5
  167. package/dist/components/molecules/Banner/index.js.map +0 -1
  168. package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts +0 -14
  169. package/dist/components/molecules/Breadcrumb/Breadcrumb.js +0 -38
  170. package/dist/components/molecules/Breadcrumb/Breadcrumb.js.map +0 -1
  171. package/dist/components/molecules/Breadcrumb/index.d.ts +0 -2
  172. package/dist/components/molecules/Breadcrumb/index.js +0 -2
  173. package/dist/components/molecules/Breadcrumb/index.js.map +0 -1
  174. package/dist/components/molecules/Bullets/Bullets.d.ts +0 -35
  175. package/dist/components/molecules/Bullets/Bullets.js +0 -12
  176. package/dist/components/molecules/Bullets/Bullets.js.map +0 -1
  177. package/dist/components/molecules/Bullets/index.d.ts +0 -2
  178. package/dist/components/molecules/Bullets/index.js +0 -2
  179. package/dist/components/molecules/Bullets/index.js.map +0 -1
  180. package/dist/components/molecules/Card/Card.d.ts +0 -10
  181. package/dist/components/molecules/Card/Card.js +0 -6
  182. package/dist/components/molecules/Card/Card.js.map +0 -1
  183. package/dist/components/molecules/Card/CardActions.d.ts +0 -10
  184. package/dist/components/molecules/Card/CardActions.js +0 -6
  185. package/dist/components/molecules/Card/CardActions.js.map +0 -1
  186. package/dist/components/molecules/Card/CardContent.d.ts +0 -10
  187. package/dist/components/molecules/Card/CardContent.js +0 -6
  188. package/dist/components/molecules/Card/CardContent.js.map +0 -1
  189. package/dist/components/molecules/Card/CardImage.d.ts +0 -10
  190. package/dist/components/molecules/Card/CardImage.js +0 -6
  191. package/dist/components/molecules/Card/CardImage.js.map +0 -1
  192. package/dist/components/molecules/Card/index.d.ts +0 -8
  193. package/dist/components/molecules/Card/index.js +0 -5
  194. package/dist/components/molecules/Card/index.js.map +0 -1
  195. package/dist/components/molecules/Carousel/Arrows.d.ts +0 -12
  196. package/dist/components/molecules/Carousel/Arrows.js +0 -6
  197. package/dist/components/molecules/Carousel/Arrows.js.map +0 -1
  198. package/dist/components/molecules/Carousel/Carousel.d.ts +0 -54
  199. package/dist/components/molecules/Carousel/Carousel.js +0 -183
  200. package/dist/components/molecules/Carousel/Carousel.js.map +0 -1
  201. package/dist/components/molecules/Carousel/CarouselItem.d.ts +0 -11
  202. package/dist/components/molecules/Carousel/CarouselItem.js +0 -18
  203. package/dist/components/molecules/Carousel/CarouselItem.js.map +0 -1
  204. package/dist/components/molecules/Carousel/hooks/useSlideVisibility.d.ts +0 -9
  205. package/dist/components/molecules/Carousel/hooks/useSlideVisibility.js +0 -29
  206. package/dist/components/molecules/Carousel/hooks/useSlideVisibility.js.map +0 -1
  207. package/dist/components/molecules/Carousel/index.d.ts +0 -2
  208. package/dist/components/molecules/Carousel/index.js +0 -3
  209. package/dist/components/molecules/Carousel/index.js.map +0 -1
  210. package/dist/components/molecules/CartItem/CartItem.d.ts +0 -10
  211. package/dist/components/molecules/CartItem/CartItem.js +0 -6
  212. package/dist/components/molecules/CartItem/CartItem.js.map +0 -1
  213. package/dist/components/molecules/CartItem/CartItemActions.d.ts +0 -10
  214. package/dist/components/molecules/CartItem/CartItemActions.js +0 -6
  215. package/dist/components/molecules/CartItem/CartItemActions.js.map +0 -1
  216. package/dist/components/molecules/CartItem/CartItemContent.d.ts +0 -10
  217. package/dist/components/molecules/CartItem/CartItemContent.js +0 -6
  218. package/dist/components/molecules/CartItem/CartItemContent.js.map +0 -1
  219. package/dist/components/molecules/CartItem/CartItemImage.d.ts +0 -10
  220. package/dist/components/molecules/CartItem/CartItemImage.js +0 -6
  221. package/dist/components/molecules/CartItem/CartItemImage.js.map +0 -1
  222. package/dist/components/molecules/CartItem/CartItemPrices.d.ts +0 -10
  223. package/dist/components/molecules/CartItem/CartItemPrices.js +0 -6
  224. package/dist/components/molecules/CartItem/CartItemPrices.js.map +0 -1
  225. package/dist/components/molecules/CartItem/CartItemSummary.d.ts +0 -10
  226. package/dist/components/molecules/CartItem/CartItemSummary.js +0 -6
  227. package/dist/components/molecules/CartItem/CartItemSummary.js.map +0 -1
  228. package/dist/components/molecules/CartItem/CartItemTitle.d.ts +0 -10
  229. package/dist/components/molecules/CartItem/CartItemTitle.js +0 -6
  230. package/dist/components/molecules/CartItem/CartItemTitle.js.map +0 -1
  231. package/dist/components/molecules/CartItem/index.d.ts +0 -14
  232. package/dist/components/molecules/CartItem/index.js +0 -8
  233. package/dist/components/molecules/CartItem/index.js.map +0 -1
  234. package/dist/components/molecules/Form/Form.d.ts +0 -11
  235. package/dist/components/molecules/Form/Form.js +0 -6
  236. package/dist/components/molecules/Form/Form.js.map +0 -1
  237. package/dist/components/molecules/Form/index.d.ts +0 -2
  238. package/dist/components/molecules/Form/index.js +0 -2
  239. package/dist/components/molecules/Form/index.js.map +0 -1
  240. package/dist/components/molecules/Gift/Gift.d.ts +0 -15
  241. package/dist/components/molecules/Gift/Gift.js +0 -9
  242. package/dist/components/molecules/Gift/Gift.js.map +0 -1
  243. package/dist/components/molecules/Gift/GiftContent.d.ts +0 -10
  244. package/dist/components/molecules/Gift/GiftContent.js +0 -6
  245. package/dist/components/molecules/Gift/GiftContent.js.map +0 -1
  246. package/dist/components/molecules/Gift/GiftImage.d.ts +0 -10
  247. package/dist/components/molecules/Gift/GiftImage.js +0 -6
  248. package/dist/components/molecules/Gift/GiftImage.js.map +0 -1
  249. package/dist/components/molecules/Gift/index.d.ts +0 -6
  250. package/dist/components/molecules/Gift/index.js +0 -4
  251. package/dist/components/molecules/Gift/index.js.map +0 -1
  252. package/dist/components/molecules/LoadingButton/LoadingButton.d.ts +0 -14
  253. package/dist/components/molecules/LoadingButton/LoadingButton.js +0 -8
  254. package/dist/components/molecules/LoadingButton/LoadingButton.js.map +0 -1
  255. package/dist/components/molecules/LoadingButton/index.d.ts +0 -2
  256. package/dist/components/molecules/LoadingButton/index.js +0 -2
  257. package/dist/components/molecules/LoadingButton/index.js.map +0 -1
  258. package/dist/components/molecules/Modal/Modal.d.ts +0 -25
  259. package/dist/components/molecules/Modal/Modal.js +0 -31
  260. package/dist/components/molecules/Modal/Modal.js.map +0 -1
  261. package/dist/components/molecules/Modal/ModalContent.d.ts +0 -10
  262. package/dist/components/molecules/Modal/ModalContent.js +0 -23
  263. package/dist/components/molecules/Modal/ModalContent.js.map +0 -1
  264. package/dist/components/molecules/Modal/index.d.ts +0 -2
  265. package/dist/components/molecules/Modal/index.js +0 -2
  266. package/dist/components/molecules/Modal/index.js.map +0 -1
  267. package/dist/components/molecules/Modal/useTrapFocus.d.ts +0 -8
  268. package/dist/components/molecules/Modal/useTrapFocus.js +0 -76
  269. package/dist/components/molecules/Modal/useTrapFocus.js.map +0 -1
  270. package/dist/components/molecules/OrderSummary/OrderSummary.d.ts +0 -35
  271. package/dist/components/molecules/OrderSummary/OrderSummary.js +0 -16
  272. package/dist/components/molecules/OrderSummary/OrderSummary.js.map +0 -1
  273. package/dist/components/molecules/OrderSummary/index.d.ts +0 -2
  274. package/dist/components/molecules/OrderSummary/index.js +0 -2
  275. package/dist/components/molecules/OrderSummary/index.js.map +0 -1
  276. package/dist/components/molecules/PaymentMethods/PaymentMethods.d.ts +0 -26
  277. package/dist/components/molecules/PaymentMethods/PaymentMethods.js +0 -8
  278. package/dist/components/molecules/PaymentMethods/PaymentMethods.js.map +0 -1
  279. package/dist/components/molecules/PaymentMethods/index.d.ts +0 -2
  280. package/dist/components/molecules/PaymentMethods/index.js +0 -2
  281. package/dist/components/molecules/PaymentMethods/index.js.map +0 -1
  282. package/dist/components/molecules/PriceRange/PriceRange.d.ts +0 -47
  283. package/dist/components/molecules/PriceRange/PriceRange.js +0 -28
  284. package/dist/components/molecules/PriceRange/PriceRange.js.map +0 -1
  285. package/dist/components/molecules/PriceRange/index.d.ts +0 -2
  286. package/dist/components/molecules/PriceRange/index.js +0 -2
  287. package/dist/components/molecules/PriceRange/index.js.map +0 -1
  288. package/dist/components/molecules/ProductCard/ProductCard.d.ts +0 -11
  289. package/dist/components/molecules/ProductCard/ProductCard.js +0 -6
  290. package/dist/components/molecules/ProductCard/ProductCard.js.map +0 -1
  291. package/dist/components/molecules/ProductCard/ProductCardActions.d.ts +0 -10
  292. package/dist/components/molecules/ProductCard/ProductCardActions.js +0 -6
  293. package/dist/components/molecules/ProductCard/ProductCardActions.js.map +0 -1
  294. package/dist/components/molecules/ProductCard/ProductCardContent.d.ts +0 -10
  295. package/dist/components/molecules/ProductCard/ProductCardContent.js +0 -6
  296. package/dist/components/molecules/ProductCard/ProductCardContent.js.map +0 -1
  297. package/dist/components/molecules/ProductCard/ProductCardImage.d.ts +0 -10
  298. package/dist/components/molecules/ProductCard/ProductCardImage.js +0 -6
  299. package/dist/components/molecules/ProductCard/ProductCardImage.js.map +0 -1
  300. package/dist/components/molecules/ProductCard/index.d.ts +0 -8
  301. package/dist/components/molecules/ProductCard/index.js +0 -5
  302. package/dist/components/molecules/ProductCard/index.js.map +0 -1
  303. package/dist/components/molecules/ProductTitle/ProductTitle.d.ts +0 -47
  304. package/dist/components/molecules/ProductTitle/ProductTitle.js +0 -12
  305. package/dist/components/molecules/ProductTitle/ProductTitle.js.map +0 -1
  306. package/dist/components/molecules/ProductTitle/index.d.ts +0 -2
  307. package/dist/components/molecules/ProductTitle/index.js +0 -2
  308. package/dist/components/molecules/ProductTitle/index.js.map +0 -1
  309. package/dist/components/molecules/SearchInput/SearchInput.d.ts +0 -28
  310. package/dist/components/molecules/SearchInput/SearchInput.js +0 -26
  311. package/dist/components/molecules/SearchInput/SearchInput.js.map +0 -1
  312. package/dist/components/molecules/SearchInput/index.d.ts +0 -2
  313. package/dist/components/molecules/SearchInput/index.js +0 -2
  314. package/dist/components/molecules/SearchInput/index.js.map +0 -1
  315. package/dist/components/molecules/SkuSelector/SkuSelector.d.ts +0 -58
  316. package/dist/components/molecules/SkuSelector/SkuSelector.js +0 -15
  317. package/dist/components/molecules/SkuSelector/SkuSelector.js.map +0 -1
  318. package/dist/components/molecules/SkuSelector/index.d.ts +0 -2
  319. package/dist/components/molecules/SkuSelector/index.js +0 -2
  320. package/dist/components/molecules/SkuSelector/index.js.map +0 -1
  321. package/dist/components/organisms/OutOfStock/OutOfStock.d.ts +0 -21
  322. package/dist/components/organisms/OutOfStock/OutOfStock.js +0 -8
  323. package/dist/components/organisms/OutOfStock/OutOfStock.js.map +0 -1
  324. package/dist/components/organisms/OutOfStock/OutOfStockMessage.d.ts +0 -9
  325. package/dist/components/organisms/OutOfStock/OutOfStockMessage.js +0 -5
  326. package/dist/components/organisms/OutOfStock/OutOfStockMessage.js.map +0 -1
  327. package/dist/components/organisms/OutOfStock/OutOfStockTitle.d.ts +0 -9
  328. package/dist/components/organisms/OutOfStock/OutOfStockTitle.js +0 -5
  329. package/dist/components/organisms/OutOfStock/OutOfStockTitle.js.map +0 -1
  330. package/dist/components/organisms/OutOfStock/index.d.ts +0 -6
  331. package/dist/components/organisms/OutOfStock/index.js +0 -4
  332. package/dist/components/organisms/OutOfStock/index.js.map +0 -1
  333. package/dist/components/organisms/Tiles/Tile.d.ts +0 -11
  334. package/dist/components/organisms/Tiles/Tile.js +0 -6
  335. package/dist/components/organisms/Tiles/Tile.js.map +0 -1
  336. package/dist/components/organisms/Tiles/Tiles.d.ts +0 -11
  337. package/dist/components/organisms/Tiles/Tiles.js +0 -30
  338. package/dist/components/organisms/Tiles/Tiles.js.map +0 -1
  339. package/dist/components/organisms/Tiles/index.d.ts +0 -4
  340. package/dist/components/organisms/Tiles/index.js +0 -3
  341. package/dist/components/organisms/Tiles/index.js.map +0 -1
  342. package/dist/hooks/useSlider/index.d.ts +0 -2
  343. package/dist/hooks/useSlider/index.js +0 -3
  344. package/dist/hooks/useSlider/index.js.map +0 -1
  345. package/dist/hooks/useSlider/useSlider.d.ts +0 -64
  346. package/dist/hooks/useSlider/useSlider.js +0 -103
  347. package/dist/hooks/useSlider/useSlider.js.map +0 -1
  348. package/dist/index.d.ts +0 -7
  349. package/dist/index.js +0 -7
  350. package/dist/index.js.map +0 -1
  351. package/dist/molecules/Accordion/Accordion.d.ts +0 -26
  352. package/dist/molecules/Accordion/Accordion.js +0 -21
  353. package/dist/molecules/Accordion/Accordion.js.map +0 -1
  354. package/dist/molecules/Accordion/AccordionButton.d.ts +0 -10
  355. package/dist/molecules/Accordion/AccordionButton.js +0 -37
  356. package/dist/molecules/Accordion/AccordionButton.js.map +0 -1
  357. package/dist/molecules/Accordion/AccordionItem.d.ts +0 -37
  358. package/dist/molecules/Accordion/AccordionItem.js +0 -28
  359. package/dist/molecules/Accordion/AccordionItem.js.map +0 -1
  360. package/dist/molecules/Accordion/AccordionPanel.d.ts +0 -10
  361. package/dist/molecules/Accordion/AccordionPanel.js +0 -10
  362. package/dist/molecules/Accordion/AccordionPanel.js.map +0 -1
  363. package/dist/molecules/Accordion/index.d.ts +0 -8
  364. package/dist/molecules/Accordion/index.js +0 -5
  365. package/dist/molecules/Accordion/index.js.map +0 -1
  366. package/dist/molecules/AggregateRating/AggregateRating.d.ts +0 -18
  367. package/dist/molecules/AggregateRating/AggregateRating.js +0 -26
  368. package/dist/molecules/AggregateRating/AggregateRating.js.map +0 -1
  369. package/dist/molecules/AggregateRating/index.d.ts +0 -2
  370. package/dist/molecules/AggregateRating/index.js +0 -2
  371. package/dist/molecules/AggregateRating/index.js.map +0 -1
  372. package/dist/molecules/Alert/Alert.d.ts +0 -11
  373. package/dist/molecules/Alert/Alert.js +0 -6
  374. package/dist/molecules/Alert/Alert.js.map +0 -1
  375. package/dist/molecules/Alert/index.d.ts +0 -2
  376. package/dist/molecules/Alert/index.js +0 -2
  377. package/dist/molecules/Alert/index.js.map +0 -1
  378. package/dist/molecules/Banner/Banner.d.ts +0 -14
  379. package/dist/molecules/Banner/Banner.js +0 -6
  380. package/dist/molecules/Banner/Banner.js.map +0 -1
  381. package/dist/molecules/Banner/BannerContent.d.ts +0 -10
  382. package/dist/molecules/Banner/BannerContent.js +0 -6
  383. package/dist/molecules/Banner/BannerContent.js.map +0 -1
  384. package/dist/molecules/Banner/BannerImage.d.ts +0 -10
  385. package/dist/molecules/Banner/BannerImage.js +0 -6
  386. package/dist/molecules/Banner/BannerImage.js.map +0 -1
  387. package/dist/molecules/Banner/BannerLink.d.ts +0 -10
  388. package/dist/molecules/Banner/BannerLink.js +0 -6
  389. package/dist/molecules/Banner/BannerLink.js.map +0 -1
  390. package/dist/molecules/Banner/index.d.ts +0 -8
  391. package/dist/molecules/Banner/index.js +0 -5
  392. package/dist/molecules/Banner/index.js.map +0 -1
  393. package/dist/molecules/Breadcrumb/Breadcrumb.d.ts +0 -14
  394. package/dist/molecules/Breadcrumb/Breadcrumb.js +0 -38
  395. package/dist/molecules/Breadcrumb/Breadcrumb.js.map +0 -1
  396. package/dist/molecules/Breadcrumb/index.d.ts +0 -2
  397. package/dist/molecules/Breadcrumb/index.js +0 -2
  398. package/dist/molecules/Breadcrumb/index.js.map +0 -1
  399. package/dist/molecules/Bullets/Bullets.d.ts +0 -35
  400. package/dist/molecules/Bullets/Bullets.js +0 -12
  401. package/dist/molecules/Bullets/Bullets.js.map +0 -1
  402. package/dist/molecules/Bullets/index.d.ts +0 -2
  403. package/dist/molecules/Bullets/index.js +0 -2
  404. package/dist/molecules/Bullets/index.js.map +0 -1
  405. package/dist/molecules/Card/Card.d.ts +0 -10
  406. package/dist/molecules/Card/Card.js +0 -6
  407. package/dist/molecules/Card/Card.js.map +0 -1
  408. package/dist/molecules/Card/CardActions.d.ts +0 -10
  409. package/dist/molecules/Card/CardActions.js +0 -6
  410. package/dist/molecules/Card/CardActions.js.map +0 -1
  411. package/dist/molecules/Card/CardContent.d.ts +0 -10
  412. package/dist/molecules/Card/CardContent.js +0 -6
  413. package/dist/molecules/Card/CardContent.js.map +0 -1
  414. package/dist/molecules/Card/CardImage.d.ts +0 -10
  415. package/dist/molecules/Card/CardImage.js +0 -6
  416. package/dist/molecules/Card/CardImage.js.map +0 -1
  417. package/dist/molecules/Card/index.d.ts +0 -8
  418. package/dist/molecules/Card/index.js +0 -5
  419. package/dist/molecules/Card/index.js.map +0 -1
  420. package/dist/molecules/Carousel/Arrows.d.ts +0 -12
  421. package/dist/molecules/Carousel/Arrows.js +0 -6
  422. package/dist/molecules/Carousel/Arrows.js.map +0 -1
  423. package/dist/molecules/Carousel/Carousel.d.ts +0 -54
  424. package/dist/molecules/Carousel/Carousel.js +0 -183
  425. package/dist/molecules/Carousel/Carousel.js.map +0 -1
  426. package/dist/molecules/Carousel/CarouselItem.d.ts +0 -11
  427. package/dist/molecules/Carousel/CarouselItem.js +0 -18
  428. package/dist/molecules/Carousel/CarouselItem.js.map +0 -1
  429. package/dist/molecules/Carousel/hooks/useSlideVisibility.d.ts +0 -9
  430. package/dist/molecules/Carousel/hooks/useSlideVisibility.js +0 -29
  431. package/dist/molecules/Carousel/hooks/useSlideVisibility.js.map +0 -1
  432. package/dist/molecules/Carousel/index.d.ts +0 -2
  433. package/dist/molecules/Carousel/index.js +0 -3
  434. package/dist/molecules/Carousel/index.js.map +0 -1
  435. package/dist/molecules/CartItem/CartItem.d.ts +0 -10
  436. package/dist/molecules/CartItem/CartItem.js +0 -6
  437. package/dist/molecules/CartItem/CartItem.js.map +0 -1
  438. package/dist/molecules/CartItem/CartItemActions.d.ts +0 -10
  439. package/dist/molecules/CartItem/CartItemActions.js +0 -6
  440. package/dist/molecules/CartItem/CartItemActions.js.map +0 -1
  441. package/dist/molecules/CartItem/CartItemContent.d.ts +0 -10
  442. package/dist/molecules/CartItem/CartItemContent.js +0 -6
  443. package/dist/molecules/CartItem/CartItemContent.js.map +0 -1
  444. package/dist/molecules/CartItem/CartItemImage.d.ts +0 -10
  445. package/dist/molecules/CartItem/CartItemImage.js +0 -6
  446. package/dist/molecules/CartItem/CartItemImage.js.map +0 -1
  447. package/dist/molecules/CartItem/CartItemPrices.d.ts +0 -10
  448. package/dist/molecules/CartItem/CartItemPrices.js +0 -6
  449. package/dist/molecules/CartItem/CartItemPrices.js.map +0 -1
  450. package/dist/molecules/CartItem/CartItemSummary.d.ts +0 -10
  451. package/dist/molecules/CartItem/CartItemSummary.js +0 -6
  452. package/dist/molecules/CartItem/CartItemSummary.js.map +0 -1
  453. package/dist/molecules/CartItem/CartItemTitle.d.ts +0 -10
  454. package/dist/molecules/CartItem/CartItemTitle.js +0 -6
  455. package/dist/molecules/CartItem/CartItemTitle.js.map +0 -1
  456. package/dist/molecules/CartItem/index.d.ts +0 -14
  457. package/dist/molecules/CartItem/index.js +0 -8
  458. package/dist/molecules/CartItem/index.js.map +0 -1
  459. package/dist/molecules/Dropdown/Dropdown.d.ts +0 -9
  460. package/dist/molecules/Dropdown/Dropdown.js +0 -67
  461. package/dist/molecules/Dropdown/Dropdown.js.map +0 -1
  462. package/dist/molecules/Dropdown/DropdownButton.d.ts +0 -10
  463. package/dist/molecules/Dropdown/DropdownButton.js +0 -11
  464. package/dist/molecules/Dropdown/DropdownButton.js.map +0 -1
  465. package/dist/molecules/Dropdown/DropdownItem.d.ts +0 -10
  466. package/dist/molecules/Dropdown/DropdownItem.js +0 -26
  467. package/dist/molecules/Dropdown/DropdownItem.js.map +0 -1
  468. package/dist/molecules/Dropdown/DropdownMenu.d.ts +0 -22
  469. package/dist/molecules/Dropdown/DropdownMenu.js +0 -65
  470. package/dist/molecules/Dropdown/DropdownMenu.js.map +0 -1
  471. package/dist/molecules/Dropdown/contexts/DropdownContext.d.ts +0 -41
  472. package/dist/molecules/Dropdown/contexts/DropdownContext.js +0 -11
  473. package/dist/molecules/Dropdown/contexts/DropdownContext.js.map +0 -1
  474. package/dist/molecules/Dropdown/hooks/useDropdown.d.ts +0 -6
  475. package/dist/molecules/Dropdown/hooks/useDropdown.js +0 -14
  476. package/dist/molecules/Dropdown/hooks/useDropdown.js.map +0 -1
  477. package/dist/molecules/Dropdown/hooks/useDropdownPosition.d.ts +0 -8
  478. package/dist/molecules/Dropdown/hooks/useDropdownPosition.js +0 -25
  479. package/dist/molecules/Dropdown/hooks/useDropdownPosition.js.map +0 -1
  480. package/dist/molecules/Dropdown/index.d.ts +0 -8
  481. package/dist/molecules/Dropdown/index.js +0 -5
  482. package/dist/molecules/Dropdown/index.js.map +0 -1
  483. package/dist/molecules/Dropdown/stories/assets/Caret.d.ts +0 -2
  484. package/dist/molecules/Dropdown/stories/assets/Caret.js +0 -4
  485. package/dist/molecules/Dropdown/stories/assets/Caret.js.map +0 -1
  486. package/dist/molecules/Form/Form.d.ts +0 -11
  487. package/dist/molecules/Form/Form.js +0 -6
  488. package/dist/molecules/Form/Form.js.map +0 -1
  489. package/dist/molecules/Form/index.d.ts +0 -2
  490. package/dist/molecules/Form/index.js +0 -2
  491. package/dist/molecules/Form/index.js.map +0 -1
  492. package/dist/molecules/Gift/Gift.d.ts +0 -16
  493. package/dist/molecules/Gift/Gift.js +0 -9
  494. package/dist/molecules/Gift/Gift.js.map +0 -1
  495. package/dist/molecules/Gift/GiftContent.d.ts +0 -10
  496. package/dist/molecules/Gift/GiftContent.js +0 -6
  497. package/dist/molecules/Gift/GiftContent.js.map +0 -1
  498. package/dist/molecules/Gift/GiftImage.d.ts +0 -10
  499. package/dist/molecules/Gift/GiftImage.js +0 -6
  500. package/dist/molecules/Gift/GiftImage.js.map +0 -1
  501. package/dist/molecules/Gift/index.d.ts +0 -6
  502. package/dist/molecules/Gift/index.js +0 -4
  503. package/dist/molecules/Gift/index.js.map +0 -1
  504. package/dist/molecules/IconButton/IconButton.d.ts +0 -19
  505. package/dist/molecules/IconButton/IconButton.js +0 -9
  506. package/dist/molecules/IconButton/IconButton.js.map +0 -1
  507. package/dist/molecules/IconButton/index.d.ts +0 -2
  508. package/dist/molecules/IconButton/index.js +0 -2
  509. package/dist/molecules/IconButton/index.js.map +0 -1
  510. package/dist/molecules/LoadingButton/LoadingButton.d.ts +0 -14
  511. package/dist/molecules/LoadingButton/LoadingButton.js +0 -8
  512. package/dist/molecules/LoadingButton/LoadingButton.js.map +0 -1
  513. package/dist/molecules/LoadingButton/index.d.ts +0 -2
  514. package/dist/molecules/LoadingButton/index.js +0 -2
  515. package/dist/molecules/LoadingButton/index.js.map +0 -1
  516. package/dist/molecules/Modal/Modal.d.ts +0 -25
  517. package/dist/molecules/Modal/Modal.js +0 -31
  518. package/dist/molecules/Modal/Modal.js.map +0 -1
  519. package/dist/molecules/Modal/ModalContent.d.ts +0 -10
  520. package/dist/molecules/Modal/ModalContent.js +0 -23
  521. package/dist/molecules/Modal/ModalContent.js.map +0 -1
  522. package/dist/molecules/Modal/index.d.ts +0 -2
  523. package/dist/molecules/Modal/index.js +0 -2
  524. package/dist/molecules/Modal/index.js.map +0 -1
  525. package/dist/molecules/Modal/useTrapFocus.d.ts +0 -8
  526. package/dist/molecules/Modal/useTrapFocus.js +0 -76
  527. package/dist/molecules/Modal/useTrapFocus.js.map +0 -1
  528. package/dist/molecules/OrderSummary/OrderSummary.d.ts +0 -35
  529. package/dist/molecules/OrderSummary/OrderSummary.js +0 -16
  530. package/dist/molecules/OrderSummary/OrderSummary.js.map +0 -1
  531. package/dist/molecules/OrderSummary/index.d.ts +0 -2
  532. package/dist/molecules/OrderSummary/index.js +0 -2
  533. package/dist/molecules/OrderSummary/index.js.map +0 -1
  534. package/dist/molecules/PaymentMethods/PaymentMethods.d.ts +0 -26
  535. package/dist/molecules/PaymentMethods/PaymentMethods.js +0 -8
  536. package/dist/molecules/PaymentMethods/PaymentMethods.js.map +0 -1
  537. package/dist/molecules/PaymentMethods/index.d.ts +0 -2
  538. package/dist/molecules/PaymentMethods/index.js +0 -2
  539. package/dist/molecules/PaymentMethods/index.js.map +0 -1
  540. package/dist/molecules/PaymentMethods/stories/assets/Icons.d.ts +0 -9
  541. package/dist/molecules/PaymentMethods/stories/assets/Icons.js +0 -26
  542. package/dist/molecules/PaymentMethods/stories/assets/Icons.js.map +0 -1
  543. package/dist/molecules/PriceRange/PriceRange.d.ts +0 -47
  544. package/dist/molecules/PriceRange/PriceRange.js +0 -28
  545. package/dist/molecules/PriceRange/PriceRange.js.map +0 -1
  546. package/dist/molecules/PriceRange/index.d.ts +0 -2
  547. package/dist/molecules/PriceRange/index.js +0 -2
  548. package/dist/molecules/PriceRange/index.js.map +0 -1
  549. package/dist/molecules/ProductCard/ProductCard.d.ts +0 -11
  550. package/dist/molecules/ProductCard/ProductCard.js +0 -6
  551. package/dist/molecules/ProductCard/ProductCard.js.map +0 -1
  552. package/dist/molecules/ProductCard/ProductCardActions.d.ts +0 -10
  553. package/dist/molecules/ProductCard/ProductCardActions.js +0 -6
  554. package/dist/molecules/ProductCard/ProductCardActions.js.map +0 -1
  555. package/dist/molecules/ProductCard/ProductCardContent.d.ts +0 -10
  556. package/dist/molecules/ProductCard/ProductCardContent.js +0 -6
  557. package/dist/molecules/ProductCard/ProductCardContent.js.map +0 -1
  558. package/dist/molecules/ProductCard/ProductCardImage.d.ts +0 -10
  559. package/dist/molecules/ProductCard/ProductCardImage.js +0 -6
  560. package/dist/molecules/ProductCard/ProductCardImage.js.map +0 -1
  561. package/dist/molecules/ProductCard/index.d.ts +0 -8
  562. package/dist/molecules/ProductCard/index.js +0 -5
  563. package/dist/molecules/ProductCard/index.js.map +0 -1
  564. package/dist/molecules/ProductTitle/ProductTitle.d.ts +0 -47
  565. package/dist/molecules/ProductTitle/ProductTitle.js +0 -12
  566. package/dist/molecules/ProductTitle/ProductTitle.js.map +0 -1
  567. package/dist/molecules/ProductTitle/index.d.ts +0 -2
  568. package/dist/molecules/ProductTitle/index.js +0 -2
  569. package/dist/molecules/ProductTitle/index.js.map +0 -1
  570. package/dist/molecules/QuantitySelector/QuantitySelector.d.ts +0 -30
  571. package/dist/molecules/QuantitySelector/QuantitySelector.js +0 -11
  572. package/dist/molecules/QuantitySelector/QuantitySelector.js.map +0 -1
  573. package/dist/molecules/QuantitySelector/index.d.ts +0 -2
  574. package/dist/molecules/QuantitySelector/index.js +0 -2
  575. package/dist/molecules/QuantitySelector/index.js.map +0 -1
  576. package/dist/molecules/QuantitySelector/stories/assets/Icons.d.ts +0 -7
  577. package/dist/molecules/QuantitySelector/stories/assets/Icons.js +0 -11
  578. package/dist/molecules/QuantitySelector/stories/assets/Icons.js.map +0 -1
  579. package/dist/molecules/RadioGroup/RadioGroup.d.ts +0 -5
  580. package/dist/molecules/RadioGroup/RadioGroup.js +0 -10
  581. package/dist/molecules/RadioGroup/RadioGroup.js.map +0 -1
  582. package/dist/molecules/RadioGroup/RadioOption.d.ts +0 -19
  583. package/dist/molecules/RadioGroup/RadioOption.js +0 -11
  584. package/dist/molecules/RadioGroup/RadioOption.js.map +0 -1
  585. package/dist/molecules/RadioGroup/index.d.ts +0 -4
  586. package/dist/molecules/RadioGroup/index.js +0 -3
  587. package/dist/molecules/RadioGroup/index.js.map +0 -1
  588. package/dist/molecules/RadioGroup/useRadioGroup.d.ts +0 -17
  589. package/dist/molecules/RadioGroup/useRadioGroup.js +0 -10
  590. package/dist/molecules/RadioGroup/useRadioGroup.js.map +0 -1
  591. package/dist/molecules/SearchInput/SearchInput.d.ts +0 -28
  592. package/dist/molecules/SearchInput/SearchInput.js +0 -28
  593. package/dist/molecules/SearchInput/SearchInput.js.map +0 -1
  594. package/dist/molecules/SearchInput/index.d.ts +0 -2
  595. package/dist/molecules/SearchInput/index.js +0 -2
  596. package/dist/molecules/SearchInput/index.js.map +0 -1
  597. package/dist/molecules/SearchInput/stories/assets/CustomIcon.d.ts +0 -3
  598. package/dist/molecules/SearchInput/stories/assets/CustomIcon.js +0 -7
  599. package/dist/molecules/SearchInput/stories/assets/CustomIcon.js.map +0 -1
  600. package/dist/molecules/SkuSelector/SkuSelector.d.ts +0 -58
  601. package/dist/molecules/SkuSelector/SkuSelector.js +0 -15
  602. package/dist/molecules/SkuSelector/SkuSelector.js.map +0 -1
  603. package/dist/molecules/SkuSelector/index.d.ts +0 -2
  604. package/dist/molecules/SkuSelector/index.js +0 -2
  605. package/dist/molecules/SkuSelector/index.js.map +0 -1
  606. package/dist/molecules/Table/Table.d.ts +0 -11
  607. package/dist/molecules/Table/Table.js +0 -6
  608. package/dist/molecules/Table/Table.js.map +0 -1
  609. package/dist/molecules/Table/TableBody.d.ts +0 -11
  610. package/dist/molecules/Table/TableBody.js +0 -6
  611. package/dist/molecules/Table/TableBody.js.map +0 -1
  612. package/dist/molecules/Table/TableCell.d.ts +0 -20
  613. package/dist/molecules/Table/TableCell.js +0 -7
  614. package/dist/molecules/Table/TableCell.js.map +0 -1
  615. package/dist/molecules/Table/TableFooter.d.ts +0 -11
  616. package/dist/molecules/Table/TableFooter.js +0 -6
  617. package/dist/molecules/Table/TableFooter.js.map +0 -1
  618. package/dist/molecules/Table/TableHead.d.ts +0 -11
  619. package/dist/molecules/Table/TableHead.js +0 -6
  620. package/dist/molecules/Table/TableHead.js.map +0 -1
  621. package/dist/molecules/Table/TableRow.d.ts +0 -11
  622. package/dist/molecules/Table/TableRow.js +0 -6
  623. package/dist/molecules/Table/TableRow.js.map +0 -1
  624. package/dist/molecules/Table/index.d.ts +0 -12
  625. package/dist/molecules/Table/index.js +0 -7
  626. package/dist/molecules/Table/index.js.map +0 -1
  627. package/dist/organisms/Hero/Hero.d.ts +0 -11
  628. package/dist/organisms/Hero/Hero.js +0 -6
  629. package/dist/organisms/Hero/Hero.js.map +0 -1
  630. package/dist/organisms/Hero/HeroHeading.d.ts +0 -10
  631. package/dist/organisms/Hero/HeroHeading.js +0 -6
  632. package/dist/organisms/Hero/HeroHeading.js.map +0 -1
  633. package/dist/organisms/Hero/HeroImage.d.ts +0 -10
  634. package/dist/organisms/Hero/HeroImage.js +0 -6
  635. package/dist/organisms/Hero/HeroImage.js.map +0 -1
  636. package/dist/organisms/Hero/index.d.ts +0 -6
  637. package/dist/organisms/Hero/index.js +0 -4
  638. package/dist/organisms/Hero/index.js.map +0 -1
  639. package/dist/organisms/OutOfStock/OutOfStock.d.ts +0 -21
  640. package/dist/organisms/OutOfStock/OutOfStock.js +0 -8
  641. package/dist/organisms/OutOfStock/OutOfStock.js.map +0 -1
  642. package/dist/organisms/OutOfStock/OutOfStockMessage.d.ts +0 -9
  643. package/dist/organisms/OutOfStock/OutOfStockMessage.js +0 -5
  644. package/dist/organisms/OutOfStock/OutOfStockMessage.js.map +0 -1
  645. package/dist/organisms/OutOfStock/OutOfStockTitle.d.ts +0 -9
  646. package/dist/organisms/OutOfStock/OutOfStockTitle.js +0 -5
  647. package/dist/organisms/OutOfStock/OutOfStockTitle.js.map +0 -1
  648. package/dist/organisms/OutOfStock/index.d.ts +0 -6
  649. package/dist/organisms/OutOfStock/index.js +0 -4
  650. package/dist/organisms/OutOfStock/index.js.map +0 -1
  651. package/dist/organisms/Tiles/Tile.d.ts +0 -11
  652. package/dist/organisms/Tiles/Tile.js +0 -6
  653. package/dist/organisms/Tiles/Tile.js.map +0 -1
  654. package/dist/organisms/Tiles/Tiles.d.ts +0 -11
  655. package/dist/organisms/Tiles/Tiles.js +0 -30
  656. package/dist/organisms/Tiles/Tiles.js.map +0 -1
  657. package/dist/organisms/Tiles/index.d.ts +0 -4
  658. package/dist/organisms/Tiles/index.js +0 -3
  659. package/dist/organisms/Tiles/index.js.map +0 -1
  660. package/dist/setupTests.d.ts +0 -1
  661. package/dist/setupTests.js +0 -6
  662. package/dist/setupTests.js.map +0 -1
  663. package/dist/typings/PolymorphicGenerics.d.ts +0 -28
  664. package/dist/typings/PolymorphicGenerics.js +0 -8
  665. package/dist/typings/PolymorphicGenerics.js.map +0 -1
  666. package/dist/typings/index.d.ts +0 -1
  667. package/dist/typings/index.js +0 -2
  668. package/dist/typings/index.js.map +0 -1
  669. package/dist/utils/toHaveNoIncomplete.d.ts +0 -17
  670. package/dist/utils/toHaveNoIncomplete.js +0 -43
  671. package/dist/utils/toHaveNoIncomplete.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/atoms/Popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
@@ -1,28 +0,0 @@
1
- import type { HTMLAttributes, ElementType, ReactNode } from 'react';
2
- import React from 'react';
3
- export declare type PriceVariant = 'selling' | 'listing' | 'spot' | 'savings' | 'installment';
4
- export declare type PriceFormatter = (price: number, variant: PriceVariant) => ReactNode;
5
- export interface PriceProps extends Omit<HTMLAttributes<HTMLSpanElement>, 'children'> {
6
- /**
7
- * Set the HTML element tag of this component.
8
- */
9
- as?: ElementType;
10
- /**
11
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
12
- */
13
- testId?: string;
14
- /**
15
- * The raw price value.
16
- */
17
- value: number;
18
- /**
19
- * Formatter function that transforms the raw price value and render the result.
20
- */
21
- formatter?: PriceFormatter;
22
- /**
23
- * The current use case variant for prices.
24
- */
25
- variant?: PriceVariant;
26
- }
27
- export declare const Price: React.ForwardRefExoticComponent<PriceProps & React.RefAttributes<Omit<HTMLSpanElement, "children">>>;
28
- export default Price;
@@ -1,7 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- export const Price = forwardRef(function Price({ as: Component = 'span', testId = 'store-price', value, formatter = (price) => price, variant = 'selling', ...otherProps }, ref) {
3
- const formattedPrice = formatter(value, variant);
4
- return (React.createElement(Component, Object.assign({ ref: ref, "data-fs-price": true, "data-testid": testId, "data-variant": variant }, otherProps), formattedPrice));
5
- });
6
- export default Price;
7
- //# sourceMappingURL=Price.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Price.js","sourceRoot":"","sources":["../../../src/atoms/Price/Price.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAmCzC,MAAM,CAAC,MAAM,KAAK,GAAG,UAAU,CAC7B,SAAS,KAAK,CACZ,EACE,EAAE,EAAE,SAAS,GAAG,MAAM,EACtB,MAAM,GAAG,aAAa,EACtB,KAAK,EACL,SAAS,GAAG,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,EAC5B,OAAO,GAAG,SAAS,EACnB,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,cAAc,GAAG,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,CAAA;IAEhD,OAAO,CACL,oBAAC,SAAS,kBACR,GAAG,EAAE,GAAG,wCAEK,MAAM,kBACL,OAAO,IACjB,UAAU,GAEb,cAAc,CACL,CACb,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './Price';
2
- export type { PriceProps } from './Price';
@@ -1,2 +0,0 @@
1
- export { default } from './Price';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/atoms/Price/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA"}
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import type { InputHTMLAttributes } from 'react';
3
- export interface RadioProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
4
- testId?: string;
5
- }
6
- declare const Radio: React.ForwardRefExoticComponent<RadioProps & React.RefAttributes<HTMLInputElement>>;
7
- export default Radio;
@@ -1,6 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const Radio = forwardRef(function Radio({ testId = 'store-radio', ...otherProps }, ref) {
3
- return (React.createElement("input", Object.assign({ ref: ref, "data-fs-radio": true, "data-testid": testId, type: "radio" }, otherProps)));
4
- });
5
- export default Radio;
6
- //# sourceMappingURL=Radio.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Radio.js","sourceRoot":"","sources":["../../../src/atoms/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAQzC,MAAM,KAAK,GAAG,UAAU,CAA+B,SAAS,KAAK,CACnE,EAAE,MAAM,GAAG,aAAa,EAAE,GAAG,UAAU,EAAc,EACrD,GAAG;IAEH,OAAO,CACL,6CACE,GAAG,EAAE,GAAG,wCAEK,MAAM,EACnB,IAAI,EAAC,OAAO,IACR,UAAU,EACd,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,KAAK,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './Radio';
2
- export type { RadioProps } from './Radio';
@@ -1,2 +0,0 @@
1
- export { default } from './Radio';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/atoms/Radio/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA"}
@@ -1,10 +0,0 @@
1
- import type { SelectHTMLAttributes } from 'react';
2
- import React from 'react';
3
- export interface SelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
4
- /**
5
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
- */
7
- testId?: string;
8
- }
9
- declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
10
- export default Select;
@@ -1,6 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const Select = forwardRef(function Select({ children, testId = 'store-select', ...otherProps }, ref) {
3
- return (React.createElement("select", Object.assign({ ref: ref, "data-fs-select": true, "data-testid": testId }, otherProps), children));
4
- });
5
- export default Select;
6
- //# sourceMappingURL=Select.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Select.js","sourceRoot":"","sources":["../../../src/atoms/Select/Select.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,MAAM,GAAG,UAAU,CAAiC,SAAS,MAAM,CACvE,EAAE,QAAQ,EAAE,MAAM,GAAG,cAAc,EAAE,GAAG,UAAU,EAAE,EACpD,GAAG;IAEH,OAAO,CACL,8CAAQ,GAAG,EAAE,GAAG,yCAA8B,MAAM,IAAM,UAAU,GACjE,QAAQ,CACF,CACV,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,MAAM,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './Select';
2
- export type { SelectProps } from './Select';
@@ -1,2 +0,0 @@
1
- export { default } from './Select';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/atoms/Select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { HTMLAttributes } from 'react';
3
- export interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
4
- /**
5
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
- */
7
- testId?: string;
8
- }
9
- declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
10
- export default Skeleton;
@@ -1,6 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const Skeleton = forwardRef(function Skeleton({ testId = 'store-skeleton', ...otherProps }, ref) {
3
- return (React.createElement("div", Object.assign({ ref: ref, "data-fs-skeleton": true, "data-testid": testId }, otherProps)));
4
- });
5
- export default Skeleton;
6
- //# sourceMappingURL=Skeleton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Skeleton.js","sourceRoot":"","sources":["../../../src/atoms/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,QAAQ,GAAG,UAAU,CAAgC,SAAS,QAAQ,CAC1E,EAAE,MAAM,GAAG,gBAAgB,EAAE,GAAG,UAAU,EAAE,EAC5C,GAAG;IAEH,OAAO,CACL,2CAAK,GAAG,EAAE,GAAG,2CAAgC,MAAM,IAAM,UAAU,EAAI,CACxE,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,QAAQ,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './Skeleton';
2
- export type { SkeletonProps } from './Skeleton';
@@ -1,2 +0,0 @@
1
- export { default } from './Skeleton';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/atoms/Skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
@@ -1,67 +0,0 @@
1
- /**
2
- * This code is inspired by the work of [sandra-lewis](https://codesandbox.io/u/sandra-lewis)
3
- */
4
- import React from 'react';
5
- import type { ReactNode } from 'react';
6
- interface Range {
7
- absolute: number;
8
- selected: number;
9
- }
10
- export declare type SliderProps = {
11
- /**
12
- * The minimum value of the slider.
13
- */
14
- min: Range;
15
- /**
16
- * The maximum value of the slider.
17
- */
18
- max: Range;
19
- /**
20
- * Specifies the number interval to be used in the inputs.
21
- */
22
- step?: number;
23
- /**
24
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
25
- *
26
- * @default 'store-slider'
27
- */
28
- testId?: string;
29
- /**
30
- * Callback that fires when the slider value changes.
31
- */
32
- onChange?: (value: {
33
- min: number;
34
- max: number;
35
- }) => void;
36
- /**
37
- * Callback that fires when the slider value ends changing.
38
- */
39
- onEnd?: (value: {
40
- min: number;
41
- max: number;
42
- }) => void;
43
- /**
44
- * A function used to set a human-readable value text based on the slider's current value.
45
- */
46
- getAriaValueText?(value: number, thumb?: 'min' | 'max'): string;
47
- /**
48
- * Returns the value of element's class content attribute.
49
- */
50
- className?: string;
51
- /**
52
- * Component that renders min value label above the left thumb.
53
- */
54
- minValueLabelComponent?: (minValue: number) => ReactNode;
55
- /**
56
- * Component that renders max value label above the right thumb.
57
- */
58
- maxValueLabelComponent?: (maxValue: number) => ReactNode;
59
- };
60
- declare type SliderRefType = {
61
- setSliderValues: (values: {
62
- min: number;
63
- max: number;
64
- }) => void;
65
- };
66
- declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<SliderRefType | undefined>>;
67
- export default Slider;
@@ -1,48 +0,0 @@
1
- /**
2
- * This code is inspired by the work of [sandra-lewis](https://codesandbox.io/u/sandra-lewis)
3
- */
4
- import React, { useState, useMemo, useImperativeHandle, forwardRef, } from 'react';
5
- const percent = (value, min, max) => Math.round(((value - min) / (max - min)) * 100);
6
- const Slider = forwardRef(function Slider({ min, max, onChange, onEnd, testId = 'store-slider', getAriaValueText, className, step, minValueLabelComponent, maxValueLabelComponent, }, ref) {
7
- const widthPercent = useMemo(() => (max.absolute - min.absolute) / 100, [max.absolute, min.absolute]);
8
- const [minPercent, setMinPercent] = useState(() => percent(min.selected, min.absolute, max.absolute));
9
- const [maxPercent, setMaxPercent] = useState(() => percent(max.selected, min.absolute, max.absolute));
10
- const [minVal, setMinVal] = useState(() => Math.round(min.absolute + minPercent * widthPercent));
11
- const [maxVal, setMaxVal] = useState(() => Math.round(min.absolute + maxPercent * widthPercent));
12
- useImperativeHandle(ref, () => ({
13
- setSliderValues: (values) => {
14
- const sliderMinValue = Math.min(Number(values.min), maxVal);
15
- setMinVal(sliderMinValue);
16
- setMinPercent(percent(sliderMinValue, min.absolute, max.absolute));
17
- if (values.max > max.absolute) {
18
- setMaxVal(max.absolute);
19
- setMaxPercent(percent(max.absolute, min.absolute, max.absolute));
20
- return;
21
- }
22
- const sliderMaxValue = Math.max(Number(values.max), minVal);
23
- setMaxVal(sliderMaxValue);
24
- setMaxPercent(percent(sliderMaxValue, min.absolute, max.absolute));
25
- },
26
- }));
27
- return (React.createElement("div", { "data-fs-slider": true, "data-testid": testId, className: className },
28
- React.createElement("div", { "data-slider-range": true, style: {
29
- left: `${minPercent}%`,
30
- width: `${maxPercent - minPercent}%`,
31
- } }),
32
- React.createElement("input", { type: "range", min: Math.round(min.absolute), max: Math.round(max.absolute), value: minVal, step: step, onMouseUp: () => onEnd?.({ min: minVal, max: maxVal }), onTouchEnd: () => onEnd?.({ min: minVal, max: maxVal }), onChange: (event) => {
33
- const minValue = Math.min(Number(event.target.value), maxVal);
34
- setMinVal(minValue);
35
- setMinPercent(percent(minValue, min.absolute, max.absolute));
36
- onChange?.({ min: minValue, max: maxVal });
37
- }, "data-slider-thumb": "left", "aria-valuemin": min.absolute, "aria-valuemax": max.absolute, "aria-valuenow": minVal, "aria-label": String(minVal), "aria-labelledby": getAriaValueText?.(minVal, 'min') }),
38
- minValueLabelComponent && minValueLabelComponent(minVal),
39
- React.createElement("input", { type: "range", min: Math.round(min.absolute), max: Math.round(max.absolute), value: maxVal, step: step, onMouseUp: () => onEnd?.({ min: minVal, max: maxVal }), onTouchEnd: () => onEnd?.({ min: minVal, max: maxVal }), onChange: (event) => {
40
- const maxValue = Math.max(Number(event.target.value), minVal);
41
- setMaxVal(maxValue);
42
- setMaxPercent(percent(maxValue, min.absolute, max.absolute));
43
- onChange?.({ min: minVal, max: maxValue });
44
- }, "data-slider-thumb": "right", "aria-valuemin": min.absolute, "aria-valuemax": max.absolute, "aria-valuenow": maxVal, "aria-label": String(maxVal), "aria-labelledby": getAriaValueText?.(maxVal, 'max') }),
45
- maxValueLabelComponent && maxValueLabelComponent(maxVal)));
46
- });
47
- export default Slider;
48
- //# sourceMappingURL=Slider.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Slider.js","sourceRoot":"","sources":["../../../src/atoms/Slider/Slider.tsx"],"names":[],"mappings":"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"}
@@ -1,2 +0,0 @@
1
- export { default } from './Slider';
2
- export type { SliderProps } from './Slider';
@@ -1,2 +0,0 @@
1
- export { default } from './Slider';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/atoms/Slider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAA"}
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- export declare type SpinnerProps = {
3
- /**
4
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
5
- */
6
- testId?: string;
7
- };
8
- declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & {
9
- children?: React.ReactNode;
10
- } & React.RefAttributes<HTMLDivElement>>;
11
- export default Spinner;
@@ -1,6 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const Spinner = forwardRef(function Spinner({ children, testId = 'store-spinner', ...otherProps }, ref) {
3
- return (React.createElement("span", Object.assign({ ref: ref, "data-fs-spinner": true, "data-testid": testId }, otherProps)));
4
- });
5
- export default Spinner;
6
- //# sourceMappingURL=Spinner.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Spinner.js","sourceRoot":"","sources":["../../../src/atoms/Spinner/Spinner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,OAAO,GAAG,UAAU,CACxB,SAAS,OAAO,CAAC,EAAE,QAAQ,EAAE,MAAM,GAAG,eAAe,EAAE,GAAG,UAAU,EAAE,EAAE,GAAG;IACzE,OAAO,CACL,4CAAM,GAAG,EAAE,GAAG,0CAA+B,MAAM,IAAM,UAAU,EAAI,CACxE,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,OAAO,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './Spinner';
2
- export type { SpinnerProps } from './Spinner';
@@ -1,2 +0,0 @@
1
- export { default } from './Spinner';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/atoms/Spinner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
@@ -1,14 +0,0 @@
1
- import type { TextareaHTMLAttributes } from 'react';
2
- import React from 'react';
3
- export interface TextAreaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'children'> {
4
- /**
5
- * Current variant of the input.
6
- */
7
- variant?: 'success' | 'error';
8
- /**
9
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
10
- */
11
- testId?: string;
12
- }
13
- declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
14
- export default TextArea;
@@ -1,10 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const TextArea = forwardRef(function TextArea({ variant, testId = 'store-textarea', ...otherProps }, ref) {
3
- const variants = {
4
- 'data-success': variant === 'success' || undefined,
5
- 'data-error': variant === 'error' || undefined,
6
- };
7
- return (React.createElement("textarea", Object.assign({ ref: ref, "data-fs-textarea": true, "data-testid": testId }, variants, otherProps)));
8
- });
9
- export default TextArea;
10
- //# sourceMappingURL=TextArea.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextArea.js","sourceRoot":"","sources":["../../../src/atoms/TextArea/TextArea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAczC,MAAM,QAAQ,GAAG,UAAU,CACzB,SAAS,QAAQ,CACf,EAAE,OAAO,EAAE,MAAM,GAAG,gBAAgB,EAAE,GAAG,UAAU,EAAE,EACrD,GAAG;IAEH,MAAM,QAAQ,GAAG;QACf,cAAc,EAAE,OAAO,KAAK,SAAS,IAAI,SAAS;QAClD,YAAY,EAAE,OAAO,KAAK,OAAO,IAAI,SAAS;KAC/C,CAAA;IAED,OAAO,CACL,gDACE,GAAG,EAAE,GAAG,2CAEK,MAAM,IACf,QAAQ,EACR,UAAU,EACd,CACH,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,QAAQ,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './TextArea';
2
- export type { TextAreaProps } from './TextArea';
@@ -1,2 +0,0 @@
1
- export { default } from './TextArea';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/atoms/TextArea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import type { HTMLAttributes } from 'react';
3
- export interface IncentiveProps extends HTMLAttributes<HTMLDivElement> {
4
- /**
5
- * ID to find this component in testing tools (e.g.: cypress,
6
- * testing-library, and jest).
7
- */
8
- testId?: string;
9
- }
10
- declare const Incentive: React.ForwardRefExoticComponent<IncentiveProps & React.RefAttributes<HTMLDivElement>>;
11
- export default Incentive;
@@ -1,6 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const Incentive = forwardRef(function Incentive({ testId = 'store-incentive', children, ...otherProps }, ref) {
3
- return (React.createElement("div", { ref: ref, "data-fs-incentive": true, "data-testid": testId, ...otherProps }, children));
4
- });
5
- export default Incentive;
6
- //# sourceMappingURL=Incentive.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Incentive.js","sourceRoot":"","sources":["../../../../src/components/atoms/Incentive/Incentive.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,SAAS,GAAG,UAAU,CAAiC,SAAS,SAAS,CAC7E,EAAE,MAAM,GAAG,iBAAiB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACvD,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,4CAAiC,MAAM,KAAM,UAAU,IACjE,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,SAAS,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './Incentive';
2
- export type { IncentiveProps } from './Incentive';
@@ -1,2 +0,0 @@
1
- export { default } from './Incentive';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/atoms/Incentive/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA"}
@@ -1,15 +0,0 @@
1
- import type { PopoverProps as ReachPopoverProps } from '@reach/popover';
2
- import type { ReactNode } from 'react';
3
- export type PopoverProps = Omit<ReachPopoverProps, 'position' | 'targetRef'> & {
4
- /**
5
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
- */
7
- testId?: string;
8
- /**
9
- * Ref for the component initial position.
10
- */
11
- targetRef: ReachPopoverProps['targetRef'];
12
- children: ReactNode;
13
- };
14
- declare const Popover: ({ targetRef, testId, children, ...otherProps }: PopoverProps) => JSX.Element;
15
- export default Popover;
@@ -1,7 +0,0 @@
1
- import ReachPopover, { positionDefault } from '@reach/popover';
2
- import React from 'react';
3
- const Popover = ({ targetRef, testId = 'store-popover', children, ...otherProps }) => {
4
- return (React.createElement(ReachPopover, { "data-fs-popover": true, "data-testid": testId, position: positionDefault, targetRef: targetRef, ...otherProps }, children));
5
- };
6
- export default Popover;
7
- //# sourceMappingURL=Popover.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Popover.js","sourceRoot":"","sources":["../../../../src/components/atoms/Popover/Popover.tsx"],"names":[],"mappings":"AACA,OAAO,YAAY,EAAE,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAA;AAE9D,OAAO,KAAK,MAAM,OAAO,CAAA;AAczB,MAAM,OAAO,GAAG,CAAC,EACf,SAAS,EACT,MAAM,GAAG,eAAe,EACxB,QAAQ,EACR,GAAG,UAAU,EACA,EAAE,EAAE;IACjB,OAAO,CACL,oBAAC,YAAY,4CAEE,MAAM,EACnB,QAAQ,EAAE,eAAe,EACzB,SAAS,EAAE,SAAS,KAChB,UAAU,IAEb,QAAQ,CACI,CAChB,CAAA;AACH,CAAC,CAAA;AAED,eAAe,OAAO,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './Popover';
2
- export type { PopoverProps } from './Popover';
@@ -1,2 +0,0 @@
1
- export { default } from './Popover';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/atoms/Popover/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { HTMLAttributes } from 'react';
3
- export interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
4
- /**
5
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
- */
7
- testId?: string;
8
- }
9
- declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
10
- export default Skeleton;
@@ -1,6 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const Skeleton = forwardRef(function Skeleton({ testId = 'store-skeleton', ...otherProps }, ref) {
3
- return (React.createElement("div", { ref: ref, "data-fs-skeleton": true, "data-testid": testId, ...otherProps }));
4
- });
5
- export default Skeleton;
6
- //# sourceMappingURL=Skeleton.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Skeleton.js","sourceRoot":"","sources":["../../../../src/components/atoms/Skeleton/Skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,QAAQ,GAAG,UAAU,CAAgC,SAAS,QAAQ,CAC1E,EAAE,MAAM,GAAG,gBAAgB,EAAE,GAAG,UAAU,EAAE,EAC5C,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,2CAAgC,MAAM,KAAM,UAAU,GAAI,CACxE,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,QAAQ,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './Skeleton';
2
- export type { SkeletonProps } from './Skeleton';
@@ -1,2 +0,0 @@
1
- export { default } from './Skeleton';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/atoms/Skeleton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA"}
@@ -1,67 +0,0 @@
1
- /**
2
- * This code is inspired by the work of [sandra-lewis](https://codesandbox.io/u/sandra-lewis)
3
- */
4
- import React from 'react';
5
- import type { ReactNode } from 'react';
6
- interface Range {
7
- absolute: number;
8
- selected: number;
9
- }
10
- export type SliderProps = {
11
- /**
12
- * The minimum value of the slider.
13
- */
14
- min: Range;
15
- /**
16
- * The maximum value of the slider.
17
- */
18
- max: Range;
19
- /**
20
- * Specifies the number interval to be used in the inputs.
21
- */
22
- step?: number;
23
- /**
24
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
25
- *
26
- * @default 'store-slider'
27
- */
28
- testId?: string;
29
- /**
30
- * Callback that fires when the slider value changes.
31
- */
32
- onChange?: (value: {
33
- min: number;
34
- max: number;
35
- }) => void;
36
- /**
37
- * Callback that fires when the slider value ends changing.
38
- */
39
- onEnd?: (value: {
40
- min: number;
41
- max: number;
42
- }) => void;
43
- /**
44
- * A function used to set a human-readable value text based on the slider's current value.
45
- */
46
- getAriaValueText?(value: number, thumb?: 'min' | 'max'): string;
47
- /**
48
- * Returns the value of element's class content attribute.
49
- */
50
- className?: string;
51
- /**
52
- * Component that renders min value label above the left thumb.
53
- */
54
- minValueLabelComponent?: (minValue: number) => ReactNode;
55
- /**
56
- * Component that renders max value label above the right thumb.
57
- */
58
- maxValueLabelComponent?: (maxValue: number) => ReactNode;
59
- };
60
- type SliderRefType = {
61
- setSliderValues: (values: {
62
- min: number;
63
- max: number;
64
- }) => void;
65
- };
66
- declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<SliderRefType | undefined>>;
67
- export default Slider;
@@ -1,48 +0,0 @@
1
- /**
2
- * This code is inspired by the work of [sandra-lewis](https://codesandbox.io/u/sandra-lewis)
3
- */
4
- import React, { useState, useMemo, useImperativeHandle, forwardRef, } from 'react';
5
- const percent = (value, min, max) => Math.round(((value - min) / (max - min)) * 100);
6
- const Slider = forwardRef(function Slider({ min, max, onChange, onEnd, testId = 'store-slider', getAriaValueText, className, step, minValueLabelComponent, maxValueLabelComponent, }, ref) {
7
- const widthPercent = useMemo(() => (max.absolute - min.absolute) / 100, [max.absolute, min.absolute]);
8
- const [minPercent, setMinPercent] = useState(() => percent(min.selected, min.absolute, max.absolute));
9
- const [maxPercent, setMaxPercent] = useState(() => percent(max.selected, min.absolute, max.absolute));
10
- const [minVal, setMinVal] = useState(() => Math.round(min.absolute + minPercent * widthPercent));
11
- const [maxVal, setMaxVal] = useState(() => Math.round(min.absolute + maxPercent * widthPercent));
12
- useImperativeHandle(ref, () => ({
13
- setSliderValues: (values) => {
14
- const sliderMinValue = Math.min(Number(values.min), maxVal);
15
- setMinVal(sliderMinValue);
16
- setMinPercent(percent(sliderMinValue, min.absolute, max.absolute));
17
- if (values.max > max.absolute) {
18
- setMaxVal(max.absolute);
19
- setMaxPercent(percent(max.absolute, min.absolute, max.absolute));
20
- return;
21
- }
22
- const sliderMaxValue = Math.max(Number(values.max), minVal);
23
- setMaxVal(sliderMaxValue);
24
- setMaxPercent(percent(sliderMaxValue, min.absolute, max.absolute));
25
- },
26
- }));
27
- return (React.createElement("div", { "data-fs-slider": true, "data-testid": testId, className: className },
28
- React.createElement("div", { "data-slider-range": true, style: {
29
- left: `${minPercent}%`,
30
- width: `${maxPercent - minPercent}%`,
31
- } }),
32
- React.createElement("input", { type: "range", min: Math.round(min.absolute), max: Math.round(max.absolute), value: minVal, step: step, onMouseUp: () => onEnd?.({ min: minVal, max: maxVal }), onTouchEnd: () => onEnd?.({ min: minVal, max: maxVal }), onChange: (event) => {
33
- const minValue = Math.min(Number(event.target.value), maxVal);
34
- setMinVal(minValue);
35
- setMinPercent(percent(minValue, min.absolute, max.absolute));
36
- onChange?.({ min: minValue, max: maxVal });
37
- }, "data-slider-thumb": "left", "aria-valuemin": min.absolute, "aria-valuemax": max.absolute, "aria-valuenow": minVal, "aria-label": String(minVal), "aria-labelledby": getAriaValueText?.(minVal, 'min') }),
38
- minValueLabelComponent && minValueLabelComponent(minVal),
39
- React.createElement("input", { type: "range", min: Math.round(min.absolute), max: Math.round(max.absolute), value: maxVal, step: step, onMouseUp: () => onEnd?.({ min: minVal, max: maxVal }), onTouchEnd: () => onEnd?.({ min: minVal, max: maxVal }), onChange: (event) => {
40
- const maxValue = Math.max(Number(event.target.value), minVal);
41
- setMaxVal(maxValue);
42
- setMaxPercent(percent(maxValue, min.absolute, max.absolute));
43
- onChange?.({ min: minVal, max: maxValue });
44
- }, "data-slider-thumb": "right", "aria-valuemin": min.absolute, "aria-valuemax": max.absolute, "aria-valuenow": maxVal, "aria-label": String(maxVal), "aria-labelledby": getAriaValueText?.(maxVal, 'max') }),
45
- maxValueLabelComponent && maxValueLabelComponent(maxVal)));
46
- });
47
- export default Slider;
48
- //# sourceMappingURL=Slider.js.map