@faststore/ui 2.2.0 → 2.2.13

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 (672) hide show
  1. package/package.json +3 -3
  2. package/src/components/molecules/Carousel/styles.scss +20 -37
  3. package/src/components/organisms/ImageGallery/styles.scss +2 -28
  4. package/dist/atoms/Badge/Badge.d.ts +0 -11
  5. package/dist/atoms/Badge/Badge.js +0 -6
  6. package/dist/atoms/Badge/Badge.js.map +0 -1
  7. package/dist/atoms/Badge/index.d.ts +0 -2
  8. package/dist/atoms/Badge/index.js +0 -2
  9. package/dist/atoms/Badge/index.js.map +0 -1
  10. package/dist/atoms/Button/Button.d.ts +0 -10
  11. package/dist/atoms/Button/Button.js +0 -6
  12. package/dist/atoms/Button/Button.js.map +0 -1
  13. package/dist/atoms/Button/index.d.ts +0 -2
  14. package/dist/atoms/Button/index.js +0 -2
  15. package/dist/atoms/Button/index.js.map +0 -1
  16. package/dist/atoms/Checkbox/Checkbox.d.ts +0 -10
  17. package/dist/atoms/Checkbox/Checkbox.js +0 -6
  18. package/dist/atoms/Checkbox/Checkbox.js.map +0 -1
  19. package/dist/atoms/Checkbox/index.d.ts +0 -2
  20. package/dist/atoms/Checkbox/index.js +0 -2
  21. package/dist/atoms/Checkbox/index.js.map +0 -1
  22. package/dist/atoms/Icon/Icon.d.ts +0 -14
  23. package/dist/atoms/Icon/Icon.js +0 -6
  24. package/dist/atoms/Icon/Icon.js.map +0 -1
  25. package/dist/atoms/Icon/index.d.ts +0 -2
  26. package/dist/atoms/Icon/index.js +0 -2
  27. package/dist/atoms/Icon/index.js.map +0 -1
  28. package/dist/atoms/Icon/stories/assets/ShoppingCart.d.ts +0 -3
  29. package/dist/atoms/Icon/stories/assets/ShoppingCart.js +0 -8
  30. package/dist/atoms/Icon/stories/assets/ShoppingCart.js.map +0 -1
  31. package/dist/atoms/Incentive/Incentive.d.ts +0 -11
  32. package/dist/atoms/Incentive/Incentive.js +0 -6
  33. package/dist/atoms/Incentive/Incentive.js.map +0 -1
  34. package/dist/atoms/Incentive/index.d.ts +0 -2
  35. package/dist/atoms/Incentive/index.js +0 -2
  36. package/dist/atoms/Incentive/index.js.map +0 -1
  37. package/dist/atoms/Incentive/stories/assets/Icons.d.ts +0 -2
  38. package/dist/atoms/Incentive/stories/assets/Icons.js +0 -6
  39. package/dist/atoms/Incentive/stories/assets/Icons.js.map +0 -1
  40. package/dist/atoms/Input/Input.d.ts +0 -14
  41. package/dist/atoms/Input/Input.js +0 -10
  42. package/dist/atoms/Input/Input.js.map +0 -1
  43. package/dist/atoms/Input/index.d.ts +0 -2
  44. package/dist/atoms/Input/index.js +0 -2
  45. package/dist/atoms/Input/index.js.map +0 -1
  46. package/dist/atoms/Label/Label.d.ts +0 -10
  47. package/dist/atoms/Label/Label.js +0 -6
  48. package/dist/atoms/Label/Label.js.map +0 -1
  49. package/dist/atoms/Label/index.d.ts +0 -2
  50. package/dist/atoms/Label/index.js +0 -2
  51. package/dist/atoms/Label/index.js.map +0 -1
  52. package/dist/atoms/Link/Link.d.ts +0 -19
  53. package/dist/atoms/Link/Link.js +0 -13
  54. package/dist/atoms/Link/Link.js.map +0 -1
  55. package/dist/atoms/Link/index.d.ts +0 -2
  56. package/dist/atoms/Link/index.js +0 -2
  57. package/dist/atoms/Link/index.js.map +0 -1
  58. package/dist/atoms/List/List.d.ts +0 -12
  59. package/dist/atoms/List/List.js +0 -16
  60. package/dist/atoms/List/List.js.map +0 -1
  61. package/dist/atoms/List/index.d.ts +0 -2
  62. package/dist/atoms/List/index.js +0 -2
  63. package/dist/atoms/List/index.js.map +0 -1
  64. package/dist/atoms/Overlay/Overlay.d.ts +0 -10
  65. package/dist/atoms/Overlay/Overlay.js +0 -6
  66. package/dist/atoms/Overlay/Overlay.js.map +0 -1
  67. package/dist/atoms/Overlay/index.d.ts +0 -2
  68. package/dist/atoms/Overlay/index.js +0 -2
  69. package/dist/atoms/Overlay/index.js.map +0 -1
  70. package/dist/atoms/Popover/Popover.d.ts +0 -15
  71. package/dist/atoms/Popover/Popover.js +0 -7
  72. package/dist/atoms/Popover/Popover.js.map +0 -1
  73. package/dist/atoms/Popover/index.d.ts +0 -2
  74. package/dist/atoms/Popover/index.js +0 -2
  75. package/dist/atoms/Popover/index.js.map +0 -1
  76. package/dist/atoms/Price/Price.d.ts +0 -28
  77. package/dist/atoms/Price/Price.js +0 -7
  78. package/dist/atoms/Price/Price.js.map +0 -1
  79. package/dist/atoms/Price/index.d.ts +0 -2
  80. package/dist/atoms/Price/index.js +0 -2
  81. package/dist/atoms/Price/index.js.map +0 -1
  82. package/dist/atoms/Radio/Radio.d.ts +0 -7
  83. package/dist/atoms/Radio/Radio.js +0 -6
  84. package/dist/atoms/Radio/Radio.js.map +0 -1
  85. package/dist/atoms/Radio/index.d.ts +0 -2
  86. package/dist/atoms/Radio/index.js +0 -2
  87. package/dist/atoms/Radio/index.js.map +0 -1
  88. package/dist/atoms/Select/Select.d.ts +0 -10
  89. package/dist/atoms/Select/Select.js +0 -6
  90. package/dist/atoms/Select/Select.js.map +0 -1
  91. package/dist/atoms/Select/index.d.ts +0 -2
  92. package/dist/atoms/Select/index.js +0 -2
  93. package/dist/atoms/Select/index.js.map +0 -1
  94. package/dist/atoms/Skeleton/Skeleton.d.ts +0 -10
  95. package/dist/atoms/Skeleton/Skeleton.js +0 -6
  96. package/dist/atoms/Skeleton/Skeleton.js.map +0 -1
  97. package/dist/atoms/Skeleton/index.d.ts +0 -2
  98. package/dist/atoms/Skeleton/index.js +0 -2
  99. package/dist/atoms/Skeleton/index.js.map +0 -1
  100. package/dist/atoms/Slider/Slider.d.ts +0 -67
  101. package/dist/atoms/Slider/Slider.js +0 -48
  102. package/dist/atoms/Slider/Slider.js.map +0 -1
  103. package/dist/atoms/Slider/index.d.ts +0 -2
  104. package/dist/atoms/Slider/index.js +0 -2
  105. package/dist/atoms/Slider/index.js.map +0 -1
  106. package/dist/atoms/Spinner/Spinner.d.ts +0 -11
  107. package/dist/atoms/Spinner/Spinner.js +0 -6
  108. package/dist/atoms/Spinner/Spinner.js.map +0 -1
  109. package/dist/atoms/Spinner/index.d.ts +0 -2
  110. package/dist/atoms/Spinner/index.js +0 -2
  111. package/dist/atoms/Spinner/index.js.map +0 -1
  112. package/dist/atoms/TextArea/TextArea.d.ts +0 -14
  113. package/dist/atoms/TextArea/TextArea.js +0 -10
  114. package/dist/atoms/TextArea/TextArea.js.map +0 -1
  115. package/dist/atoms/TextArea/index.d.ts +0 -2
  116. package/dist/atoms/TextArea/index.js +0 -2
  117. package/dist/atoms/TextArea/index.js.map +0 -1
  118. package/dist/components/atoms/Incentive/Incentive.d.ts +0 -11
  119. package/dist/components/atoms/Incentive/Incentive.js +0 -6
  120. package/dist/components/atoms/Incentive/Incentive.js.map +0 -1
  121. package/dist/components/atoms/Incentive/index.d.ts +0 -2
  122. package/dist/components/atoms/Incentive/index.js +0 -2
  123. package/dist/components/atoms/Incentive/index.js.map +0 -1
  124. package/dist/components/atoms/Popover/Popover.d.ts +0 -15
  125. package/dist/components/atoms/Popover/Popover.js +0 -7
  126. package/dist/components/atoms/Popover/Popover.js.map +0 -1
  127. package/dist/components/atoms/Popover/index.d.ts +0 -2
  128. package/dist/components/atoms/Popover/index.js +0 -2
  129. package/dist/components/atoms/Popover/index.js.map +0 -1
  130. package/dist/components/atoms/Skeleton/Skeleton.d.ts +0 -10
  131. package/dist/components/atoms/Skeleton/Skeleton.js +0 -6
  132. package/dist/components/atoms/Skeleton/Skeleton.js.map +0 -1
  133. package/dist/components/atoms/Skeleton/index.d.ts +0 -2
  134. package/dist/components/atoms/Skeleton/index.js +0 -2
  135. package/dist/components/atoms/Skeleton/index.js.map +0 -1
  136. package/dist/components/atoms/Slider/Slider.d.ts +0 -67
  137. package/dist/components/atoms/Slider/Slider.js +0 -48
  138. package/dist/components/atoms/Slider/Slider.js.map +0 -1
  139. package/dist/components/atoms/Slider/index.d.ts +0 -2
  140. package/dist/components/atoms/Slider/index.js +0 -2
  141. package/dist/components/atoms/Slider/index.js.map +0 -1
  142. package/dist/components/atoms/Spinner/Spinner.d.ts +0 -11
  143. package/dist/components/atoms/Spinner/Spinner.js +0 -6
  144. package/dist/components/atoms/Spinner/Spinner.js.map +0 -1
  145. package/dist/components/atoms/Spinner/index.d.ts +0 -2
  146. package/dist/components/atoms/Spinner/index.js +0 -2
  147. package/dist/components/atoms/Spinner/index.js.map +0 -1
  148. package/dist/components/atoms/TextArea/TextArea.d.ts +0 -14
  149. package/dist/components/atoms/TextArea/TextArea.js +0 -10
  150. package/dist/components/atoms/TextArea/TextArea.js.map +0 -1
  151. package/dist/components/atoms/TextArea/index.d.ts +0 -2
  152. package/dist/components/atoms/TextArea/index.js +0 -2
  153. package/dist/components/atoms/TextArea/index.js.map +0 -1
  154. package/dist/components/molecules/Banner/Banner.d.ts +0 -14
  155. package/dist/components/molecules/Banner/Banner.js +0 -6
  156. package/dist/components/molecules/Banner/Banner.js.map +0 -1
  157. package/dist/components/molecules/Banner/BannerContent.d.ts +0 -10
  158. package/dist/components/molecules/Banner/BannerContent.js +0 -6
  159. package/dist/components/molecules/Banner/BannerContent.js.map +0 -1
  160. package/dist/components/molecules/Banner/BannerImage.d.ts +0 -10
  161. package/dist/components/molecules/Banner/BannerImage.js +0 -6
  162. package/dist/components/molecules/Banner/BannerImage.js.map +0 -1
  163. package/dist/components/molecules/Banner/BannerLink.d.ts +0 -10
  164. package/dist/components/molecules/Banner/BannerLink.js +0 -6
  165. package/dist/components/molecules/Banner/BannerLink.js.map +0 -1
  166. package/dist/components/molecules/Banner/index.d.ts +0 -8
  167. package/dist/components/molecules/Banner/index.js +0 -5
  168. package/dist/components/molecules/Banner/index.js.map +0 -1
  169. package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts +0 -14
  170. package/dist/components/molecules/Breadcrumb/Breadcrumb.js +0 -38
  171. package/dist/components/molecules/Breadcrumb/Breadcrumb.js.map +0 -1
  172. package/dist/components/molecules/Breadcrumb/index.d.ts +0 -2
  173. package/dist/components/molecules/Breadcrumb/index.js +0 -2
  174. package/dist/components/molecules/Breadcrumb/index.js.map +0 -1
  175. package/dist/components/molecules/Bullets/Bullets.d.ts +0 -35
  176. package/dist/components/molecules/Bullets/Bullets.js +0 -12
  177. package/dist/components/molecules/Bullets/Bullets.js.map +0 -1
  178. package/dist/components/molecules/Bullets/index.d.ts +0 -2
  179. package/dist/components/molecules/Bullets/index.js +0 -2
  180. package/dist/components/molecules/Bullets/index.js.map +0 -1
  181. package/dist/components/molecules/Card/Card.d.ts +0 -10
  182. package/dist/components/molecules/Card/Card.js +0 -6
  183. package/dist/components/molecules/Card/Card.js.map +0 -1
  184. package/dist/components/molecules/Card/CardActions.d.ts +0 -10
  185. package/dist/components/molecules/Card/CardActions.js +0 -6
  186. package/dist/components/molecules/Card/CardActions.js.map +0 -1
  187. package/dist/components/molecules/Card/CardContent.d.ts +0 -10
  188. package/dist/components/molecules/Card/CardContent.js +0 -6
  189. package/dist/components/molecules/Card/CardContent.js.map +0 -1
  190. package/dist/components/molecules/Card/CardImage.d.ts +0 -10
  191. package/dist/components/molecules/Card/CardImage.js +0 -6
  192. package/dist/components/molecules/Card/CardImage.js.map +0 -1
  193. package/dist/components/molecules/Card/index.d.ts +0 -8
  194. package/dist/components/molecules/Card/index.js +0 -5
  195. package/dist/components/molecules/Card/index.js.map +0 -1
  196. package/dist/components/molecules/Carousel/Arrows.d.ts +0 -12
  197. package/dist/components/molecules/Carousel/Arrows.js +0 -6
  198. package/dist/components/molecules/Carousel/Arrows.js.map +0 -1
  199. package/dist/components/molecules/Carousel/Carousel.d.ts +0 -54
  200. package/dist/components/molecules/Carousel/Carousel.js +0 -183
  201. package/dist/components/molecules/Carousel/Carousel.js.map +0 -1
  202. package/dist/components/molecules/Carousel/CarouselItem.d.ts +0 -11
  203. package/dist/components/molecules/Carousel/CarouselItem.js +0 -18
  204. package/dist/components/molecules/Carousel/CarouselItem.js.map +0 -1
  205. package/dist/components/molecules/Carousel/hooks/useSlideVisibility.d.ts +0 -9
  206. package/dist/components/molecules/Carousel/hooks/useSlideVisibility.js +0 -29
  207. package/dist/components/molecules/Carousel/hooks/useSlideVisibility.js.map +0 -1
  208. package/dist/components/molecules/Carousel/index.d.ts +0 -2
  209. package/dist/components/molecules/Carousel/index.js +0 -3
  210. package/dist/components/molecules/Carousel/index.js.map +0 -1
  211. package/dist/components/molecules/CartItem/CartItem.d.ts +0 -10
  212. package/dist/components/molecules/CartItem/CartItem.js +0 -6
  213. package/dist/components/molecules/CartItem/CartItem.js.map +0 -1
  214. package/dist/components/molecules/CartItem/CartItemActions.d.ts +0 -10
  215. package/dist/components/molecules/CartItem/CartItemActions.js +0 -6
  216. package/dist/components/molecules/CartItem/CartItemActions.js.map +0 -1
  217. package/dist/components/molecules/CartItem/CartItemContent.d.ts +0 -10
  218. package/dist/components/molecules/CartItem/CartItemContent.js +0 -6
  219. package/dist/components/molecules/CartItem/CartItemContent.js.map +0 -1
  220. package/dist/components/molecules/CartItem/CartItemImage.d.ts +0 -10
  221. package/dist/components/molecules/CartItem/CartItemImage.js +0 -6
  222. package/dist/components/molecules/CartItem/CartItemImage.js.map +0 -1
  223. package/dist/components/molecules/CartItem/CartItemPrices.d.ts +0 -10
  224. package/dist/components/molecules/CartItem/CartItemPrices.js +0 -6
  225. package/dist/components/molecules/CartItem/CartItemPrices.js.map +0 -1
  226. package/dist/components/molecules/CartItem/CartItemSummary.d.ts +0 -10
  227. package/dist/components/molecules/CartItem/CartItemSummary.js +0 -6
  228. package/dist/components/molecules/CartItem/CartItemSummary.js.map +0 -1
  229. package/dist/components/molecules/CartItem/CartItemTitle.d.ts +0 -10
  230. package/dist/components/molecules/CartItem/CartItemTitle.js +0 -6
  231. package/dist/components/molecules/CartItem/CartItemTitle.js.map +0 -1
  232. package/dist/components/molecules/CartItem/index.d.ts +0 -14
  233. package/dist/components/molecules/CartItem/index.js +0 -8
  234. package/dist/components/molecules/CartItem/index.js.map +0 -1
  235. package/dist/components/molecules/Form/Form.d.ts +0 -11
  236. package/dist/components/molecules/Form/Form.js +0 -6
  237. package/dist/components/molecules/Form/Form.js.map +0 -1
  238. package/dist/components/molecules/Form/index.d.ts +0 -2
  239. package/dist/components/molecules/Form/index.js +0 -2
  240. package/dist/components/molecules/Form/index.js.map +0 -1
  241. package/dist/components/molecules/Gift/Gift.d.ts +0 -15
  242. package/dist/components/molecules/Gift/Gift.js +0 -9
  243. package/dist/components/molecules/Gift/Gift.js.map +0 -1
  244. package/dist/components/molecules/Gift/GiftContent.d.ts +0 -10
  245. package/dist/components/molecules/Gift/GiftContent.js +0 -6
  246. package/dist/components/molecules/Gift/GiftContent.js.map +0 -1
  247. package/dist/components/molecules/Gift/GiftImage.d.ts +0 -10
  248. package/dist/components/molecules/Gift/GiftImage.js +0 -6
  249. package/dist/components/molecules/Gift/GiftImage.js.map +0 -1
  250. package/dist/components/molecules/Gift/index.d.ts +0 -6
  251. package/dist/components/molecules/Gift/index.js +0 -4
  252. package/dist/components/molecules/Gift/index.js.map +0 -1
  253. package/dist/components/molecules/LoadingButton/LoadingButton.d.ts +0 -14
  254. package/dist/components/molecules/LoadingButton/LoadingButton.js +0 -8
  255. package/dist/components/molecules/LoadingButton/LoadingButton.js.map +0 -1
  256. package/dist/components/molecules/LoadingButton/index.d.ts +0 -2
  257. package/dist/components/molecules/LoadingButton/index.js +0 -2
  258. package/dist/components/molecules/LoadingButton/index.js.map +0 -1
  259. package/dist/components/molecules/Modal/Modal.d.ts +0 -25
  260. package/dist/components/molecules/Modal/Modal.js +0 -31
  261. package/dist/components/molecules/Modal/Modal.js.map +0 -1
  262. package/dist/components/molecules/Modal/ModalContent.d.ts +0 -10
  263. package/dist/components/molecules/Modal/ModalContent.js +0 -23
  264. package/dist/components/molecules/Modal/ModalContent.js.map +0 -1
  265. package/dist/components/molecules/Modal/index.d.ts +0 -2
  266. package/dist/components/molecules/Modal/index.js +0 -2
  267. package/dist/components/molecules/Modal/index.js.map +0 -1
  268. package/dist/components/molecules/Modal/useTrapFocus.d.ts +0 -8
  269. package/dist/components/molecules/Modal/useTrapFocus.js +0 -76
  270. package/dist/components/molecules/Modal/useTrapFocus.js.map +0 -1
  271. package/dist/components/molecules/OrderSummary/OrderSummary.d.ts +0 -35
  272. package/dist/components/molecules/OrderSummary/OrderSummary.js +0 -16
  273. package/dist/components/molecules/OrderSummary/OrderSummary.js.map +0 -1
  274. package/dist/components/molecules/OrderSummary/index.d.ts +0 -2
  275. package/dist/components/molecules/OrderSummary/index.js +0 -2
  276. package/dist/components/molecules/OrderSummary/index.js.map +0 -1
  277. package/dist/components/molecules/PaymentMethods/PaymentMethods.d.ts +0 -26
  278. package/dist/components/molecules/PaymentMethods/PaymentMethods.js +0 -8
  279. package/dist/components/molecules/PaymentMethods/PaymentMethods.js.map +0 -1
  280. package/dist/components/molecules/PaymentMethods/index.d.ts +0 -2
  281. package/dist/components/molecules/PaymentMethods/index.js +0 -2
  282. package/dist/components/molecules/PaymentMethods/index.js.map +0 -1
  283. package/dist/components/molecules/PriceRange/PriceRange.d.ts +0 -47
  284. package/dist/components/molecules/PriceRange/PriceRange.js +0 -28
  285. package/dist/components/molecules/PriceRange/PriceRange.js.map +0 -1
  286. package/dist/components/molecules/PriceRange/index.d.ts +0 -2
  287. package/dist/components/molecules/PriceRange/index.js +0 -2
  288. package/dist/components/molecules/PriceRange/index.js.map +0 -1
  289. package/dist/components/molecules/ProductCard/ProductCard.d.ts +0 -11
  290. package/dist/components/molecules/ProductCard/ProductCard.js +0 -6
  291. package/dist/components/molecules/ProductCard/ProductCard.js.map +0 -1
  292. package/dist/components/molecules/ProductCard/ProductCardActions.d.ts +0 -10
  293. package/dist/components/molecules/ProductCard/ProductCardActions.js +0 -6
  294. package/dist/components/molecules/ProductCard/ProductCardActions.js.map +0 -1
  295. package/dist/components/molecules/ProductCard/ProductCardContent.d.ts +0 -10
  296. package/dist/components/molecules/ProductCard/ProductCardContent.js +0 -6
  297. package/dist/components/molecules/ProductCard/ProductCardContent.js.map +0 -1
  298. package/dist/components/molecules/ProductCard/ProductCardImage.d.ts +0 -10
  299. package/dist/components/molecules/ProductCard/ProductCardImage.js +0 -6
  300. package/dist/components/molecules/ProductCard/ProductCardImage.js.map +0 -1
  301. package/dist/components/molecules/ProductCard/index.d.ts +0 -8
  302. package/dist/components/molecules/ProductCard/index.js +0 -5
  303. package/dist/components/molecules/ProductCard/index.js.map +0 -1
  304. package/dist/components/molecules/ProductTitle/ProductTitle.d.ts +0 -47
  305. package/dist/components/molecules/ProductTitle/ProductTitle.js +0 -12
  306. package/dist/components/molecules/ProductTitle/ProductTitle.js.map +0 -1
  307. package/dist/components/molecules/ProductTitle/index.d.ts +0 -2
  308. package/dist/components/molecules/ProductTitle/index.js +0 -2
  309. package/dist/components/molecules/ProductTitle/index.js.map +0 -1
  310. package/dist/components/molecules/SearchInput/SearchInput.d.ts +0 -28
  311. package/dist/components/molecules/SearchInput/SearchInput.js +0 -26
  312. package/dist/components/molecules/SearchInput/SearchInput.js.map +0 -1
  313. package/dist/components/molecules/SearchInput/index.d.ts +0 -2
  314. package/dist/components/molecules/SearchInput/index.js +0 -2
  315. package/dist/components/molecules/SearchInput/index.js.map +0 -1
  316. package/dist/components/molecules/SkuSelector/SkuSelector.d.ts +0 -58
  317. package/dist/components/molecules/SkuSelector/SkuSelector.js +0 -15
  318. package/dist/components/molecules/SkuSelector/SkuSelector.js.map +0 -1
  319. package/dist/components/molecules/SkuSelector/index.d.ts +0 -2
  320. package/dist/components/molecules/SkuSelector/index.js +0 -2
  321. package/dist/components/molecules/SkuSelector/index.js.map +0 -1
  322. package/dist/components/organisms/OutOfStock/OutOfStock.d.ts +0 -21
  323. package/dist/components/organisms/OutOfStock/OutOfStock.js +0 -8
  324. package/dist/components/organisms/OutOfStock/OutOfStock.js.map +0 -1
  325. package/dist/components/organisms/OutOfStock/OutOfStockMessage.d.ts +0 -9
  326. package/dist/components/organisms/OutOfStock/OutOfStockMessage.js +0 -5
  327. package/dist/components/organisms/OutOfStock/OutOfStockMessage.js.map +0 -1
  328. package/dist/components/organisms/OutOfStock/OutOfStockTitle.d.ts +0 -9
  329. package/dist/components/organisms/OutOfStock/OutOfStockTitle.js +0 -5
  330. package/dist/components/organisms/OutOfStock/OutOfStockTitle.js.map +0 -1
  331. package/dist/components/organisms/OutOfStock/index.d.ts +0 -6
  332. package/dist/components/organisms/OutOfStock/index.js +0 -4
  333. package/dist/components/organisms/OutOfStock/index.js.map +0 -1
  334. package/dist/components/organisms/Tiles/Tile.d.ts +0 -11
  335. package/dist/components/organisms/Tiles/Tile.js +0 -6
  336. package/dist/components/organisms/Tiles/Tile.js.map +0 -1
  337. package/dist/components/organisms/Tiles/Tiles.d.ts +0 -11
  338. package/dist/components/organisms/Tiles/Tiles.js +0 -30
  339. package/dist/components/organisms/Tiles/Tiles.js.map +0 -1
  340. package/dist/components/organisms/Tiles/index.d.ts +0 -4
  341. package/dist/components/organisms/Tiles/index.js +0 -3
  342. package/dist/components/organisms/Tiles/index.js.map +0 -1
  343. package/dist/hooks/useSlider/index.d.ts +0 -2
  344. package/dist/hooks/useSlider/index.js +0 -3
  345. package/dist/hooks/useSlider/index.js.map +0 -1
  346. package/dist/hooks/useSlider/useSlider.d.ts +0 -64
  347. package/dist/hooks/useSlider/useSlider.js +0 -103
  348. package/dist/hooks/useSlider/useSlider.js.map +0 -1
  349. package/dist/index.d.ts +0 -7
  350. package/dist/index.js +0 -7
  351. package/dist/index.js.map +0 -1
  352. package/dist/molecules/Accordion/Accordion.d.ts +0 -26
  353. package/dist/molecules/Accordion/Accordion.js +0 -21
  354. package/dist/molecules/Accordion/Accordion.js.map +0 -1
  355. package/dist/molecules/Accordion/AccordionButton.d.ts +0 -10
  356. package/dist/molecules/Accordion/AccordionButton.js +0 -37
  357. package/dist/molecules/Accordion/AccordionButton.js.map +0 -1
  358. package/dist/molecules/Accordion/AccordionItem.d.ts +0 -37
  359. package/dist/molecules/Accordion/AccordionItem.js +0 -28
  360. package/dist/molecules/Accordion/AccordionItem.js.map +0 -1
  361. package/dist/molecules/Accordion/AccordionPanel.d.ts +0 -10
  362. package/dist/molecules/Accordion/AccordionPanel.js +0 -10
  363. package/dist/molecules/Accordion/AccordionPanel.js.map +0 -1
  364. package/dist/molecules/Accordion/index.d.ts +0 -8
  365. package/dist/molecules/Accordion/index.js +0 -5
  366. package/dist/molecules/Accordion/index.js.map +0 -1
  367. package/dist/molecules/AggregateRating/AggregateRating.d.ts +0 -18
  368. package/dist/molecules/AggregateRating/AggregateRating.js +0 -26
  369. package/dist/molecules/AggregateRating/AggregateRating.js.map +0 -1
  370. package/dist/molecules/AggregateRating/index.d.ts +0 -2
  371. package/dist/molecules/AggregateRating/index.js +0 -2
  372. package/dist/molecules/AggregateRating/index.js.map +0 -1
  373. package/dist/molecules/Alert/Alert.d.ts +0 -11
  374. package/dist/molecules/Alert/Alert.js +0 -6
  375. package/dist/molecules/Alert/Alert.js.map +0 -1
  376. package/dist/molecules/Alert/index.d.ts +0 -2
  377. package/dist/molecules/Alert/index.js +0 -2
  378. package/dist/molecules/Alert/index.js.map +0 -1
  379. package/dist/molecules/Banner/Banner.d.ts +0 -14
  380. package/dist/molecules/Banner/Banner.js +0 -6
  381. package/dist/molecules/Banner/Banner.js.map +0 -1
  382. package/dist/molecules/Banner/BannerContent.d.ts +0 -10
  383. package/dist/molecules/Banner/BannerContent.js +0 -6
  384. package/dist/molecules/Banner/BannerContent.js.map +0 -1
  385. package/dist/molecules/Banner/BannerImage.d.ts +0 -10
  386. package/dist/molecules/Banner/BannerImage.js +0 -6
  387. package/dist/molecules/Banner/BannerImage.js.map +0 -1
  388. package/dist/molecules/Banner/BannerLink.d.ts +0 -10
  389. package/dist/molecules/Banner/BannerLink.js +0 -6
  390. package/dist/molecules/Banner/BannerLink.js.map +0 -1
  391. package/dist/molecules/Banner/index.d.ts +0 -8
  392. package/dist/molecules/Banner/index.js +0 -5
  393. package/dist/molecules/Banner/index.js.map +0 -1
  394. package/dist/molecules/Breadcrumb/Breadcrumb.d.ts +0 -14
  395. package/dist/molecules/Breadcrumb/Breadcrumb.js +0 -38
  396. package/dist/molecules/Breadcrumb/Breadcrumb.js.map +0 -1
  397. package/dist/molecules/Breadcrumb/index.d.ts +0 -2
  398. package/dist/molecules/Breadcrumb/index.js +0 -2
  399. package/dist/molecules/Breadcrumb/index.js.map +0 -1
  400. package/dist/molecules/Bullets/Bullets.d.ts +0 -35
  401. package/dist/molecules/Bullets/Bullets.js +0 -12
  402. package/dist/molecules/Bullets/Bullets.js.map +0 -1
  403. package/dist/molecules/Bullets/index.d.ts +0 -2
  404. package/dist/molecules/Bullets/index.js +0 -2
  405. package/dist/molecules/Bullets/index.js.map +0 -1
  406. package/dist/molecules/Card/Card.d.ts +0 -10
  407. package/dist/molecules/Card/Card.js +0 -6
  408. package/dist/molecules/Card/Card.js.map +0 -1
  409. package/dist/molecules/Card/CardActions.d.ts +0 -10
  410. package/dist/molecules/Card/CardActions.js +0 -6
  411. package/dist/molecules/Card/CardActions.js.map +0 -1
  412. package/dist/molecules/Card/CardContent.d.ts +0 -10
  413. package/dist/molecules/Card/CardContent.js +0 -6
  414. package/dist/molecules/Card/CardContent.js.map +0 -1
  415. package/dist/molecules/Card/CardImage.d.ts +0 -10
  416. package/dist/molecules/Card/CardImage.js +0 -6
  417. package/dist/molecules/Card/CardImage.js.map +0 -1
  418. package/dist/molecules/Card/index.d.ts +0 -8
  419. package/dist/molecules/Card/index.js +0 -5
  420. package/dist/molecules/Card/index.js.map +0 -1
  421. package/dist/molecules/Carousel/Arrows.d.ts +0 -12
  422. package/dist/molecules/Carousel/Arrows.js +0 -6
  423. package/dist/molecules/Carousel/Arrows.js.map +0 -1
  424. package/dist/molecules/Carousel/Carousel.d.ts +0 -54
  425. package/dist/molecules/Carousel/Carousel.js +0 -183
  426. package/dist/molecules/Carousel/Carousel.js.map +0 -1
  427. package/dist/molecules/Carousel/CarouselItem.d.ts +0 -11
  428. package/dist/molecules/Carousel/CarouselItem.js +0 -18
  429. package/dist/molecules/Carousel/CarouselItem.js.map +0 -1
  430. package/dist/molecules/Carousel/hooks/useSlideVisibility.d.ts +0 -9
  431. package/dist/molecules/Carousel/hooks/useSlideVisibility.js +0 -29
  432. package/dist/molecules/Carousel/hooks/useSlideVisibility.js.map +0 -1
  433. package/dist/molecules/Carousel/index.d.ts +0 -2
  434. package/dist/molecules/Carousel/index.js +0 -3
  435. package/dist/molecules/Carousel/index.js.map +0 -1
  436. package/dist/molecules/CartItem/CartItem.d.ts +0 -10
  437. package/dist/molecules/CartItem/CartItem.js +0 -6
  438. package/dist/molecules/CartItem/CartItem.js.map +0 -1
  439. package/dist/molecules/CartItem/CartItemActions.d.ts +0 -10
  440. package/dist/molecules/CartItem/CartItemActions.js +0 -6
  441. package/dist/molecules/CartItem/CartItemActions.js.map +0 -1
  442. package/dist/molecules/CartItem/CartItemContent.d.ts +0 -10
  443. package/dist/molecules/CartItem/CartItemContent.js +0 -6
  444. package/dist/molecules/CartItem/CartItemContent.js.map +0 -1
  445. package/dist/molecules/CartItem/CartItemImage.d.ts +0 -10
  446. package/dist/molecules/CartItem/CartItemImage.js +0 -6
  447. package/dist/molecules/CartItem/CartItemImage.js.map +0 -1
  448. package/dist/molecules/CartItem/CartItemPrices.d.ts +0 -10
  449. package/dist/molecules/CartItem/CartItemPrices.js +0 -6
  450. package/dist/molecules/CartItem/CartItemPrices.js.map +0 -1
  451. package/dist/molecules/CartItem/CartItemSummary.d.ts +0 -10
  452. package/dist/molecules/CartItem/CartItemSummary.js +0 -6
  453. package/dist/molecules/CartItem/CartItemSummary.js.map +0 -1
  454. package/dist/molecules/CartItem/CartItemTitle.d.ts +0 -10
  455. package/dist/molecules/CartItem/CartItemTitle.js +0 -6
  456. package/dist/molecules/CartItem/CartItemTitle.js.map +0 -1
  457. package/dist/molecules/CartItem/index.d.ts +0 -14
  458. package/dist/molecules/CartItem/index.js +0 -8
  459. package/dist/molecules/CartItem/index.js.map +0 -1
  460. package/dist/molecules/Dropdown/Dropdown.d.ts +0 -9
  461. package/dist/molecules/Dropdown/Dropdown.js +0 -67
  462. package/dist/molecules/Dropdown/Dropdown.js.map +0 -1
  463. package/dist/molecules/Dropdown/DropdownButton.d.ts +0 -10
  464. package/dist/molecules/Dropdown/DropdownButton.js +0 -11
  465. package/dist/molecules/Dropdown/DropdownButton.js.map +0 -1
  466. package/dist/molecules/Dropdown/DropdownItem.d.ts +0 -10
  467. package/dist/molecules/Dropdown/DropdownItem.js +0 -26
  468. package/dist/molecules/Dropdown/DropdownItem.js.map +0 -1
  469. package/dist/molecules/Dropdown/DropdownMenu.d.ts +0 -22
  470. package/dist/molecules/Dropdown/DropdownMenu.js +0 -65
  471. package/dist/molecules/Dropdown/DropdownMenu.js.map +0 -1
  472. package/dist/molecules/Dropdown/contexts/DropdownContext.d.ts +0 -41
  473. package/dist/molecules/Dropdown/contexts/DropdownContext.js +0 -11
  474. package/dist/molecules/Dropdown/contexts/DropdownContext.js.map +0 -1
  475. package/dist/molecules/Dropdown/hooks/useDropdown.d.ts +0 -6
  476. package/dist/molecules/Dropdown/hooks/useDropdown.js +0 -14
  477. package/dist/molecules/Dropdown/hooks/useDropdown.js.map +0 -1
  478. package/dist/molecules/Dropdown/hooks/useDropdownPosition.d.ts +0 -8
  479. package/dist/molecules/Dropdown/hooks/useDropdownPosition.js +0 -25
  480. package/dist/molecules/Dropdown/hooks/useDropdownPosition.js.map +0 -1
  481. package/dist/molecules/Dropdown/index.d.ts +0 -8
  482. package/dist/molecules/Dropdown/index.js +0 -5
  483. package/dist/molecules/Dropdown/index.js.map +0 -1
  484. package/dist/molecules/Dropdown/stories/assets/Caret.d.ts +0 -2
  485. package/dist/molecules/Dropdown/stories/assets/Caret.js +0 -4
  486. package/dist/molecules/Dropdown/stories/assets/Caret.js.map +0 -1
  487. package/dist/molecules/Form/Form.d.ts +0 -11
  488. package/dist/molecules/Form/Form.js +0 -6
  489. package/dist/molecules/Form/Form.js.map +0 -1
  490. package/dist/molecules/Form/index.d.ts +0 -2
  491. package/dist/molecules/Form/index.js +0 -2
  492. package/dist/molecules/Form/index.js.map +0 -1
  493. package/dist/molecules/Gift/Gift.d.ts +0 -16
  494. package/dist/molecules/Gift/Gift.js +0 -9
  495. package/dist/molecules/Gift/Gift.js.map +0 -1
  496. package/dist/molecules/Gift/GiftContent.d.ts +0 -10
  497. package/dist/molecules/Gift/GiftContent.js +0 -6
  498. package/dist/molecules/Gift/GiftContent.js.map +0 -1
  499. package/dist/molecules/Gift/GiftImage.d.ts +0 -10
  500. package/dist/molecules/Gift/GiftImage.js +0 -6
  501. package/dist/molecules/Gift/GiftImage.js.map +0 -1
  502. package/dist/molecules/Gift/index.d.ts +0 -6
  503. package/dist/molecules/Gift/index.js +0 -4
  504. package/dist/molecules/Gift/index.js.map +0 -1
  505. package/dist/molecules/IconButton/IconButton.d.ts +0 -19
  506. package/dist/molecules/IconButton/IconButton.js +0 -9
  507. package/dist/molecules/IconButton/IconButton.js.map +0 -1
  508. package/dist/molecules/IconButton/index.d.ts +0 -2
  509. package/dist/molecules/IconButton/index.js +0 -2
  510. package/dist/molecules/IconButton/index.js.map +0 -1
  511. package/dist/molecules/LoadingButton/LoadingButton.d.ts +0 -14
  512. package/dist/molecules/LoadingButton/LoadingButton.js +0 -8
  513. package/dist/molecules/LoadingButton/LoadingButton.js.map +0 -1
  514. package/dist/molecules/LoadingButton/index.d.ts +0 -2
  515. package/dist/molecules/LoadingButton/index.js +0 -2
  516. package/dist/molecules/LoadingButton/index.js.map +0 -1
  517. package/dist/molecules/Modal/Modal.d.ts +0 -25
  518. package/dist/molecules/Modal/Modal.js +0 -31
  519. package/dist/molecules/Modal/Modal.js.map +0 -1
  520. package/dist/molecules/Modal/ModalContent.d.ts +0 -10
  521. package/dist/molecules/Modal/ModalContent.js +0 -23
  522. package/dist/molecules/Modal/ModalContent.js.map +0 -1
  523. package/dist/molecules/Modal/index.d.ts +0 -2
  524. package/dist/molecules/Modal/index.js +0 -2
  525. package/dist/molecules/Modal/index.js.map +0 -1
  526. package/dist/molecules/Modal/useTrapFocus.d.ts +0 -8
  527. package/dist/molecules/Modal/useTrapFocus.js +0 -76
  528. package/dist/molecules/Modal/useTrapFocus.js.map +0 -1
  529. package/dist/molecules/OrderSummary/OrderSummary.d.ts +0 -35
  530. package/dist/molecules/OrderSummary/OrderSummary.js +0 -16
  531. package/dist/molecules/OrderSummary/OrderSummary.js.map +0 -1
  532. package/dist/molecules/OrderSummary/index.d.ts +0 -2
  533. package/dist/molecules/OrderSummary/index.js +0 -2
  534. package/dist/molecules/OrderSummary/index.js.map +0 -1
  535. package/dist/molecules/PaymentMethods/PaymentMethods.d.ts +0 -26
  536. package/dist/molecules/PaymentMethods/PaymentMethods.js +0 -8
  537. package/dist/molecules/PaymentMethods/PaymentMethods.js.map +0 -1
  538. package/dist/molecules/PaymentMethods/index.d.ts +0 -2
  539. package/dist/molecules/PaymentMethods/index.js +0 -2
  540. package/dist/molecules/PaymentMethods/index.js.map +0 -1
  541. package/dist/molecules/PaymentMethods/stories/assets/Icons.d.ts +0 -9
  542. package/dist/molecules/PaymentMethods/stories/assets/Icons.js +0 -26
  543. package/dist/molecules/PaymentMethods/stories/assets/Icons.js.map +0 -1
  544. package/dist/molecules/PriceRange/PriceRange.d.ts +0 -47
  545. package/dist/molecules/PriceRange/PriceRange.js +0 -28
  546. package/dist/molecules/PriceRange/PriceRange.js.map +0 -1
  547. package/dist/molecules/PriceRange/index.d.ts +0 -2
  548. package/dist/molecules/PriceRange/index.js +0 -2
  549. package/dist/molecules/PriceRange/index.js.map +0 -1
  550. package/dist/molecules/ProductCard/ProductCard.d.ts +0 -11
  551. package/dist/molecules/ProductCard/ProductCard.js +0 -6
  552. package/dist/molecules/ProductCard/ProductCard.js.map +0 -1
  553. package/dist/molecules/ProductCard/ProductCardActions.d.ts +0 -10
  554. package/dist/molecules/ProductCard/ProductCardActions.js +0 -6
  555. package/dist/molecules/ProductCard/ProductCardActions.js.map +0 -1
  556. package/dist/molecules/ProductCard/ProductCardContent.d.ts +0 -10
  557. package/dist/molecules/ProductCard/ProductCardContent.js +0 -6
  558. package/dist/molecules/ProductCard/ProductCardContent.js.map +0 -1
  559. package/dist/molecules/ProductCard/ProductCardImage.d.ts +0 -10
  560. package/dist/molecules/ProductCard/ProductCardImage.js +0 -6
  561. package/dist/molecules/ProductCard/ProductCardImage.js.map +0 -1
  562. package/dist/molecules/ProductCard/index.d.ts +0 -8
  563. package/dist/molecules/ProductCard/index.js +0 -5
  564. package/dist/molecules/ProductCard/index.js.map +0 -1
  565. package/dist/molecules/ProductTitle/ProductTitle.d.ts +0 -47
  566. package/dist/molecules/ProductTitle/ProductTitle.js +0 -12
  567. package/dist/molecules/ProductTitle/ProductTitle.js.map +0 -1
  568. package/dist/molecules/ProductTitle/index.d.ts +0 -2
  569. package/dist/molecules/ProductTitle/index.js +0 -2
  570. package/dist/molecules/ProductTitle/index.js.map +0 -1
  571. package/dist/molecules/QuantitySelector/QuantitySelector.d.ts +0 -30
  572. package/dist/molecules/QuantitySelector/QuantitySelector.js +0 -11
  573. package/dist/molecules/QuantitySelector/QuantitySelector.js.map +0 -1
  574. package/dist/molecules/QuantitySelector/index.d.ts +0 -2
  575. package/dist/molecules/QuantitySelector/index.js +0 -2
  576. package/dist/molecules/QuantitySelector/index.js.map +0 -1
  577. package/dist/molecules/QuantitySelector/stories/assets/Icons.d.ts +0 -7
  578. package/dist/molecules/QuantitySelector/stories/assets/Icons.js +0 -11
  579. package/dist/molecules/QuantitySelector/stories/assets/Icons.js.map +0 -1
  580. package/dist/molecules/RadioGroup/RadioGroup.d.ts +0 -5
  581. package/dist/molecules/RadioGroup/RadioGroup.js +0 -10
  582. package/dist/molecules/RadioGroup/RadioGroup.js.map +0 -1
  583. package/dist/molecules/RadioGroup/RadioOption.d.ts +0 -19
  584. package/dist/molecules/RadioGroup/RadioOption.js +0 -11
  585. package/dist/molecules/RadioGroup/RadioOption.js.map +0 -1
  586. package/dist/molecules/RadioGroup/index.d.ts +0 -4
  587. package/dist/molecules/RadioGroup/index.js +0 -3
  588. package/dist/molecules/RadioGroup/index.js.map +0 -1
  589. package/dist/molecules/RadioGroup/useRadioGroup.d.ts +0 -17
  590. package/dist/molecules/RadioGroup/useRadioGroup.js +0 -10
  591. package/dist/molecules/RadioGroup/useRadioGroup.js.map +0 -1
  592. package/dist/molecules/SearchInput/SearchInput.d.ts +0 -28
  593. package/dist/molecules/SearchInput/SearchInput.js +0 -28
  594. package/dist/molecules/SearchInput/SearchInput.js.map +0 -1
  595. package/dist/molecules/SearchInput/index.d.ts +0 -2
  596. package/dist/molecules/SearchInput/index.js +0 -2
  597. package/dist/molecules/SearchInput/index.js.map +0 -1
  598. package/dist/molecules/SearchInput/stories/assets/CustomIcon.d.ts +0 -3
  599. package/dist/molecules/SearchInput/stories/assets/CustomIcon.js +0 -7
  600. package/dist/molecules/SearchInput/stories/assets/CustomIcon.js.map +0 -1
  601. package/dist/molecules/SkuSelector/SkuSelector.d.ts +0 -58
  602. package/dist/molecules/SkuSelector/SkuSelector.js +0 -15
  603. package/dist/molecules/SkuSelector/SkuSelector.js.map +0 -1
  604. package/dist/molecules/SkuSelector/index.d.ts +0 -2
  605. package/dist/molecules/SkuSelector/index.js +0 -2
  606. package/dist/molecules/SkuSelector/index.js.map +0 -1
  607. package/dist/molecules/Table/Table.d.ts +0 -11
  608. package/dist/molecules/Table/Table.js +0 -6
  609. package/dist/molecules/Table/Table.js.map +0 -1
  610. package/dist/molecules/Table/TableBody.d.ts +0 -11
  611. package/dist/molecules/Table/TableBody.js +0 -6
  612. package/dist/molecules/Table/TableBody.js.map +0 -1
  613. package/dist/molecules/Table/TableCell.d.ts +0 -20
  614. package/dist/molecules/Table/TableCell.js +0 -7
  615. package/dist/molecules/Table/TableCell.js.map +0 -1
  616. package/dist/molecules/Table/TableFooter.d.ts +0 -11
  617. package/dist/molecules/Table/TableFooter.js +0 -6
  618. package/dist/molecules/Table/TableFooter.js.map +0 -1
  619. package/dist/molecules/Table/TableHead.d.ts +0 -11
  620. package/dist/molecules/Table/TableHead.js +0 -6
  621. package/dist/molecules/Table/TableHead.js.map +0 -1
  622. package/dist/molecules/Table/TableRow.d.ts +0 -11
  623. package/dist/molecules/Table/TableRow.js +0 -6
  624. package/dist/molecules/Table/TableRow.js.map +0 -1
  625. package/dist/molecules/Table/index.d.ts +0 -12
  626. package/dist/molecules/Table/index.js +0 -7
  627. package/dist/molecules/Table/index.js.map +0 -1
  628. package/dist/organisms/Hero/Hero.d.ts +0 -11
  629. package/dist/organisms/Hero/Hero.js +0 -6
  630. package/dist/organisms/Hero/Hero.js.map +0 -1
  631. package/dist/organisms/Hero/HeroHeading.d.ts +0 -10
  632. package/dist/organisms/Hero/HeroHeading.js +0 -6
  633. package/dist/organisms/Hero/HeroHeading.js.map +0 -1
  634. package/dist/organisms/Hero/HeroImage.d.ts +0 -10
  635. package/dist/organisms/Hero/HeroImage.js +0 -6
  636. package/dist/organisms/Hero/HeroImage.js.map +0 -1
  637. package/dist/organisms/Hero/index.d.ts +0 -6
  638. package/dist/organisms/Hero/index.js +0 -4
  639. package/dist/organisms/Hero/index.js.map +0 -1
  640. package/dist/organisms/OutOfStock/OutOfStock.d.ts +0 -21
  641. package/dist/organisms/OutOfStock/OutOfStock.js +0 -8
  642. package/dist/organisms/OutOfStock/OutOfStock.js.map +0 -1
  643. package/dist/organisms/OutOfStock/OutOfStockMessage.d.ts +0 -9
  644. package/dist/organisms/OutOfStock/OutOfStockMessage.js +0 -5
  645. package/dist/organisms/OutOfStock/OutOfStockMessage.js.map +0 -1
  646. package/dist/organisms/OutOfStock/OutOfStockTitle.d.ts +0 -9
  647. package/dist/organisms/OutOfStock/OutOfStockTitle.js +0 -5
  648. package/dist/organisms/OutOfStock/OutOfStockTitle.js.map +0 -1
  649. package/dist/organisms/OutOfStock/index.d.ts +0 -6
  650. package/dist/organisms/OutOfStock/index.js +0 -4
  651. package/dist/organisms/OutOfStock/index.js.map +0 -1
  652. package/dist/organisms/Tiles/Tile.d.ts +0 -11
  653. package/dist/organisms/Tiles/Tile.js +0 -6
  654. package/dist/organisms/Tiles/Tile.js.map +0 -1
  655. package/dist/organisms/Tiles/Tiles.d.ts +0 -11
  656. package/dist/organisms/Tiles/Tiles.js +0 -30
  657. package/dist/organisms/Tiles/Tiles.js.map +0 -1
  658. package/dist/organisms/Tiles/index.d.ts +0 -4
  659. package/dist/organisms/Tiles/index.js +0 -3
  660. package/dist/organisms/Tiles/index.js.map +0 -1
  661. package/dist/setupTests.d.ts +0 -1
  662. package/dist/setupTests.js +0 -6
  663. package/dist/setupTests.js.map +0 -1
  664. package/dist/typings/PolymorphicGenerics.d.ts +0 -28
  665. package/dist/typings/PolymorphicGenerics.js +0 -8
  666. package/dist/typings/PolymorphicGenerics.js.map +0 -1
  667. package/dist/typings/index.d.ts +0 -1
  668. package/dist/typings/index.js +0 -2
  669. package/dist/typings/index.js.map +0 -1
  670. package/dist/utils/toHaveNoIncomplete.d.ts +0 -17
  671. package/dist/utils/toHaveNoIncomplete.js +0 -43
  672. package/dist/utils/toHaveNoIncomplete.js.map +0 -1
@@ -1,47 +0,0 @@
1
- import React from 'react';
2
- import type { AriaAttributes } from 'react';
3
- import type { PriceProps } from '../../atoms/Price';
4
- import type { SliderProps } from '../../atoms/Slider';
5
- export declare type PriceRangeProps = SliderProps & {
6
- /**
7
- * The current use case variant for prices.
8
- */
9
- variant?: PriceProps['variant'];
10
- /**
11
- * Formatter function that transforms the raw price value and render the result.
12
- */
13
- formatter: PriceProps['formatter'];
14
- /**
15
- * Returns the value of element's class content attribute.
16
- */
17
- className?: string;
18
- /**
19
- * Defines a string value that labels the current element.
20
- */
21
- 'aria-label'?: AriaAttributes['aria-label'];
22
- };
23
- declare type PriceRangeRefType = {
24
- setPriceRangeValues: (values: {
25
- min: number;
26
- max: number;
27
- }) => void;
28
- };
29
- declare const PriceRange: React.ForwardRefExoticComponent<SliderProps & {
30
- /**
31
- * The current use case variant for prices.
32
- */
33
- variant?: PriceProps['variant'];
34
- /**
35
- * Formatter function that transforms the raw price value and render the result.
36
- */
37
- formatter: PriceProps['formatter'];
38
- /**
39
- * Returns the value of element's class content attribute.
40
- */
41
- className?: string | undefined;
42
- /**
43
- * Defines a string value that labels the current element.
44
- */
45
- 'aria-label'?: AriaAttributes['aria-label'];
46
- } & React.RefAttributes<PriceRangeRefType | undefined>>;
47
- export default PriceRange;
@@ -1,28 +0,0 @@
1
- import React, { useRef, useImperativeHandle, forwardRef } from 'react';
2
- import Price from '../../atoms/Price';
3
- import Slider from '../../atoms/Slider';
4
- const PriceRange = forwardRef(function PriceRange({ className, formatter, max, min, step, onChange, onEnd, testId = 'store-price-range', variant, 'aria-label': ariaLabel, }, ref) {
5
- const sliderRef = useRef();
6
- useImperativeHandle(ref, () => ({
7
- setPriceRangeValues: (values) => {
8
- onChange?.(values);
9
- sliderRef.current?.setSliderValues(values);
10
- },
11
- }));
12
- return (React.createElement("div", { "data-fs-price-range": true, "data-testid": testId, className: className },
13
- React.createElement(Slider, { ref: sliderRef, min: min, max: max, step: step, onEnd: onEnd, "aria-label": ariaLabel, onChange: (value) => onChange?.(value), minValueLabelComponent: (minValue) => {
14
- const minPercent = (minValue / max.absolute) * 100;
15
- return (React.createElement(Price, { value: minValue, variant: variant, formatter: formatter, "data-price-range-value-label": "min", style: {
16
- position: 'absolute',
17
- left: `calc(${minPercent}% + (${8 - minPercent * 0.2}px))`,
18
- } }));
19
- }, maxValueLabelComponent: (maxValue) => {
20
- const maxPercent = (maxValue / max.absolute) * 100;
21
- return (React.createElement(Price, { formatter: formatter, variant: variant, value: maxValue, "data-price-range-value-label": "max", style: {
22
- position: 'absolute',
23
- left: `calc(${maxPercent}% + (${8 - maxPercent * 0.2}px))`,
24
- } }));
25
- } })));
26
- });
27
- export default PriceRange;
28
- //# sourceMappingURL=PriceRange.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PriceRange.js","sourceRoot":"","sources":["../../../src/molecules/PriceRange/PriceRange.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGtE,OAAO,KAAK,MAAM,mBAAmB,CAAA;AACrC,OAAO,MAAM,MAAM,oBAAoB,CAAA;AA2BvC,MAAM,UAAU,GAAG,UAAU,CAC3B,SAAS,UAAU,CACjB,EACE,SAAS,EACT,SAAS,EACT,GAAG,EACH,GAAG,EACH,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,MAAM,GAAG,mBAAmB,EAC5B,OAAO,EACP,YAAY,EAAE,SAAS,GACxB,EACD,GAAG;IAEH,MAAM,SAAS,GAAG,MAAM,EAEpB,CAAA;IAEJ,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9B,mBAAmB,EAAE,CAAC,MAAoC,EAAE,EAAE;YAC5D,QAAQ,EAAE,CAAC,MAAM,CAAC,CAAA;YAClB,SAAS,CAAC,OAAO,EAAE,eAAe,CAAC,MAAM,CAAC,CAAA;QAC5C,CAAC;KACF,CAAC,CAAC,CAAA;IAEH,OAAO,CACL,yEAAsC,MAAM,EAAE,SAAS,EAAE,SAAS;QAChE,oBAAC,MAAM,IACL,GAAG,EAAE,SAAS,EACd,GAAG,EAAE,GAAG,EACR,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,KAAK,EAAE,KAAK,gBACA,SAAS,EACrB,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,EACtC,sBAAsB,EAAE,CAAC,QAAQ,EAAE,EAAE;gBACnC,MAAM,UAAU,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAA;gBAElD,OAAO,CACL,oBAAC,KAAK,IACJ,KAAK,EAAE,QAAQ,EACf,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,SAAS,kCACS,KAAK,EAClC,KAAK,EAAE;wBACL,QAAQ,EAAE,UAAU;wBACpB,IAAI,EAAE,QAAQ,UAAU,QAAQ,CAAC,GAAG,UAAU,GAAG,GAAG,MAAM;qBAC3D,GACD,CACH,CAAA;YACH,CAAC,EACD,sBAAsB,EAAE,CAAC,QAAQ,EAAE,EAAE;gBACnC,MAAM,UAAU,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAA;gBAElD,OAAO,CACL,oBAAC,KAAK,IACJ,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,QAAQ,kCACc,KAAK,EAClC,KAAK,EAAE;wBACL,QAAQ,EAAE,UAAU;wBACpB,IAAI,EAAE,QAAQ,UAAU,QAAQ,CAAC,GAAG,UAAU,GAAG,GAAG,MAAM;qBAC3D,GACD,CACH,CAAA;YACH,CAAC,GACD,CACE,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './PriceRange';
2
- export type { PriceRangeProps } from './PriceRange';
@@ -1,2 +0,0 @@
1
- export { default } from './PriceRange';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/PriceRange/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- import type { HTMLAttributes } from 'react';
3
- export interface ProductCardProps 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 ProductCard: React.ForwardRefExoticComponent<ProductCardProps & React.RefAttributes<HTMLDivElement>>;
11
- export default ProductCard;
@@ -1,6 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const ProductCard = forwardRef(function Card({ testId = 'store-product-card', children, ...otherProps }, ref) {
3
- return (React.createElement("article", Object.assign({ ref: ref, "data-fs-product-card": true, "data-testid": testId }, otherProps), children));
4
- });
5
- export default ProductCard;
6
- //# sourceMappingURL=ProductCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductCard.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/ProductCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,WAAW,GAAG,UAAU,CAAmC,SAAS,IAAI,CAC5E,EAAE,MAAM,GAAG,oBAAoB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC1D,GAAG;IAEH,OAAO,CACL,+CACE,GAAG,EAAE,GAAG,+CAEK,MAAM,IACf,UAAU,GAEb,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,WAAW,CAAA"}
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { HTMLAttributes } from 'react';
3
- export interface ProductCardActionsProps 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 ProductCardActions: React.ForwardRefExoticComponent<ProductCardActionsProps & React.RefAttributes<HTMLDivElement>>;
10
- export default ProductCardActions;
@@ -1,6 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const ProductCardActions = forwardRef(function CardActions({ testId = 'store-product-card-actions', children, ...otherProps }, ref) {
3
- return (React.createElement("div", Object.assign({ ref: ref, "data-product-card-actions": true, "data-testid": testId }, otherProps), children));
4
- });
5
- export default ProductCardActions;
6
- //# sourceMappingURL=ProductCardActions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductCardActions.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/ProductCardActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,kBAAkB,GAAG,UAAU,CACnC,SAAS,WAAW,CAClB,EAAE,MAAM,GAAG,4BAA4B,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAClE,GAAG;IAEH,OAAO,CACL,2CACE,GAAG,EAAE,GAAG,oDAEK,MAAM,IACf,UAAU,GAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,kBAAkB,CAAA"}
@@ -1,10 +0,0 @@
1
- import type { HTMLAttributes } from 'react';
2
- import React from 'react';
3
- export interface ProductCardContentProps extends HTMLAttributes<HTMLElement> {
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 ProductCardContent: React.ForwardRefExoticComponent<ProductCardContentProps & React.RefAttributes<HTMLElement>>;
10
- export default ProductCardContent;
@@ -1,6 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const ProductCardContent = forwardRef(function CardContent({ testId = 'store-product-card-content', children, ...otherProps }, ref) {
3
- return (React.createElement("section", Object.assign({ ref: ref, "data-product-card-content": true, "data-testid": testId }, otherProps), children));
4
- });
5
- export default ProductCardContent;
6
- //# sourceMappingURL=ProductCardContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductCardContent.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/ProductCardContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,kBAAkB,GAAG,UAAU,CACnC,SAAS,WAAW,CAClB,EAAE,MAAM,GAAG,4BAA4B,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAClE,GAAG;IAEH,OAAO,CACL,+CACE,GAAG,EAAE,GAAG,oDAEK,MAAM,IACf,UAAU,GAEb,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,kBAAkB,CAAA"}
@@ -1,10 +0,0 @@
1
- import type { HTMLAttributes } from 'react';
2
- import React from 'react';
3
- export interface ProductCardImageProps 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 ProductCardImage: React.ForwardRefExoticComponent<ProductCardImageProps & React.RefAttributes<HTMLDivElement>>;
10
- export default ProductCardImage;
@@ -1,6 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const ProductCardImage = forwardRef(function ProductCardImage({ testId = 'store-product-card-image', children, ...otherProps }, ref) {
3
- return (React.createElement("div", Object.assign({ ref: ref, "data-product-card-image": true, "data-testid": testId }, otherProps), children));
4
- });
5
- export default ProductCardImage;
6
- //# sourceMappingURL=ProductCardImage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductCardImage.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/ProductCardImage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,gBAAgB,GAAG,UAAU,CACjC,SAAS,gBAAgB,CACvB,EAAE,MAAM,GAAG,0BAA0B,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAChE,GAAG;IAEH,OAAO,CACL,2CACE,GAAG,EAAE,GAAG,kDAEK,MAAM,IACf,UAAU,GAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,8 +0,0 @@
1
- export { default } from './ProductCard';
2
- export type { ProductCardProps } from './ProductCard';
3
- export { default as ProductCardImage } from './ProductCardImage';
4
- export type { ProductCardImageProps } from './ProductCardImage';
5
- export { default as ProductCardContent } from './ProductCardContent';
6
- export type { ProductCardContentProps } from './ProductCardContent';
7
- export { default as ProductCardActions } from './ProductCardActions';
8
- export type { ProductCardActionsProps } from './ProductCardActions';
@@ -1,5 +0,0 @@
1
- export { default } from './ProductCard';
2
- export { default as ProductCardImage } from './ProductCardImage';
3
- export { default as ProductCardContent } from './ProductCardContent';
4
- export { default as ProductCardActions } from './ProductCardActions';
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAGvC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAGhE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAGpE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAA"}
@@ -1,47 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- import type { ReactNode } from 'react';
3
- export declare type ProductTitleProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
4
- /**
5
- * A react component to be used as the product title, e.g. a `h1`
6
- */
7
- title: ReactNode;
8
- /**
9
- * A react component to be used as the product label, e.g. a `DiscountBadge`
10
- */
11
- label?: ReactNode;
12
- /**
13
- * Label for reference.
14
- */
15
- refTag?: string;
16
- /**
17
- * A text to be used below the title and the label, such as the product's reference number.
18
- */
19
- refNumber?: string;
20
- /**
21
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
22
- */
23
- testId?: string;
24
- };
25
- declare const ProductTitle: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement>, "title"> & {
26
- /**
27
- * A react component to be used as the product title, e.g. a `h1`
28
- */
29
- title: ReactNode;
30
- /**
31
- * A react component to be used as the product label, e.g. a `DiscountBadge`
32
- */
33
- label?: ReactNode;
34
- /**
35
- * Label for reference.
36
- */
37
- refTag?: string | undefined;
38
- /**
39
- * A text to be used below the title and the label, such as the product's reference number.
40
- */
41
- refNumber?: string | undefined;
42
- /**
43
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
44
- */
45
- testId?: string | undefined;
46
- } & React.RefAttributes<HTMLElement>>;
47
- export default ProductTitle;
@@ -1,12 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const ProductTitle = forwardRef(function ProductTitle({ title, label, refTag = "Ref.: ", refNumber, testId = 'store-product-title', ...otherProps }, ref) {
3
- return (React.createElement("header", Object.assign({ ref: ref, "data-fs-product-title": true, "data-testid": testId }, otherProps),
4
- React.createElement("div", { "data-fs-product-title-header": true },
5
- title,
6
- !!label && label),
7
- refNumber && (React.createElement("p", { "data-fs-product-title-addendum": true },
8
- refTag,
9
- refNumber))));
10
- });
11
- export default ProductTitle;
12
- //# sourceMappingURL=ProductTitle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductTitle.js","sourceRoot":"","sources":["../../../src/molecules/ProductTitle/ProductTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAA;AA0BzD,MAAM,YAAY,GAAG,UAAU,CAC7B,SAAS,YAAY,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,GAAE,QAAQ,EAAC,SAAS,EAAE,MAAM,GAAE,qBAAqB,EAAE,GAAG,UAAU,EAAE,EAAE,GAAG;IACnH,OAAO,CACL,8CAAQ,GAAG,EAAE,GAAG,gDAAqC,MAAM,IAAM,UAAU;QACzE;YACG,KAAK;YACL,CAAC,CAAC,KAAK,IAAI,KAAK,CACb;QAEL,SAAS,IAAI,CACZ;YACG,MAAM;YAAE,SAAS,CAChB,CACL,CACM,CACV,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './ProductTitle';
2
- export type { ProductTitleProps } from './ProductTitle';
@@ -1,2 +0,0 @@
1
- export { default } from './ProductTitle';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/ProductTitle/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
@@ -1,30 +0,0 @@
1
- import type { InputHTMLAttributes } from 'react';
2
- import React from 'react';
3
- import type { InputProps } from '../../atoms/Input';
4
- import type { IconButtonProps } from '../IconButton';
5
- export interface QuantitySelectorProps extends InputHTMLAttributes<HTMLDivElement> {
6
- /**
7
- * Sets the current value that should be displayed on the input at the center of the quantity selector.
8
- */
9
- quantity: number | string;
10
- /**
11
- * Object with properties that will be passed forward the inner IconButton atom at the left of the input.
12
- */
13
- leftButtonProps: Omit<IconButtonProps, 'aria-label'>;
14
- /**
15
- * Object with properties that will be passed forward the inner Input atom between the two buttons.
16
- */
17
- inputProps: InputProps;
18
- /**
19
- * Object with properties that will be passed forward the inner IconButton atom at the right of the input.
20
- */
21
- rightButtonProps: Omit<IconButtonProps, 'aria-label'>;
22
- /**
23
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
24
- *
25
- * @default 'store-quantity-selector'
26
- */
27
- testId?: string;
28
- }
29
- declare const QuantitySelector: React.ForwardRefExoticComponent<QuantitySelectorProps & React.RefAttributes<HTMLDivElement>>;
30
- export default QuantitySelector;
@@ -1,11 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- import Input from '../../atoms/Input';
3
- import IconButton from '../IconButton';
4
- const QuantitySelector = forwardRef(function QuantitySelector({ quantity, testId = 'store-quantity-selector', leftButtonProps, inputProps, rightButtonProps, ...otherProps }, ref) {
5
- return (React.createElement("div", Object.assign({ "data-fs-quantity-selector": true, "data-testid": testId, ref: ref }, otherProps),
6
- React.createElement(IconButton, Object.assign({ "aria-controls": "quantity-selector-input", "aria-label": "Decrement Quantity", "data-quantity-selector-button": "left" }, leftButtonProps)),
7
- React.createElement(Input, Object.assign({ "aria-label": "Quantity", "data-quantity-selector-input": true, id: "quantity-selector-input", value: quantity }, inputProps)),
8
- React.createElement(IconButton, Object.assign({ "aria-controls": "quantity-selector-input", "aria-label": "Increment Quantity", "data-quantity-selector-button": "right" }, rightButtonProps))));
9
- });
10
- export default QuantitySelector;
11
- //# sourceMappingURL=QuantitySelector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QuantitySelector.js","sourceRoot":"","sources":["../../../src/molecules/QuantitySelector/QuantitySelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,KAAK,MAAM,mBAAmB,CAAA;AAErC,OAAO,UAAU,MAAM,eAAe,CAAA;AAgCtC,MAAM,gBAAgB,GAAG,UAAU,CACjC,SAAS,gBAAgB,CACvB,EACE,QAAQ,EACR,MAAM,GAAG,yBAAyB,EAClC,eAAe,EACf,UAAU,EACV,gBAAgB,EAChB,GAAG,UAAU,EACS,EACxB,GAAG;IAEH,OAAO,CACL,6FAEe,MAAM,EACnB,GAAG,EAAE,GAAG,IACJ,UAAU;QAEd,oBAAC,UAAU,mCACK,yBAAyB,gBAC5B,oBAAoB,mCACD,MAAM,IAChC,eAAe,EACnB;QACF,oBAAC,KAAK,gCACO,UAAU,wCAErB,EAAE,EAAC,yBAAyB,EAC5B,KAAK,EAAE,QAAQ,IACX,UAAU,EACd;QACF,oBAAC,UAAU,mCACK,yBAAyB,gBAC5B,oBAAoB,mCACD,OAAO,IACjC,gBAAgB,EACpB,CACE,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './QuantitySelector';
2
- export type { QuantitySelectorProps } from './QuantitySelector';
@@ -1,2 +0,0 @@
1
- export { default } from './QuantitySelector';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/QuantitySelector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA"}
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- declare type QuantitySelectorIconProps = {
3
- color: string;
4
- };
5
- export declare function PlusIcon(props: QuantitySelectorIconProps): JSX.Element;
6
- export declare function MinusIcon(props: QuantitySelectorIconProps): JSX.Element;
7
- export {};
@@ -1,11 +0,0 @@
1
- import React from 'react';
2
- export function PlusIcon(props) {
3
- return (React.createElement("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
4
- React.createElement("path", { d: "M11 16H21", stroke: props.color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
5
- React.createElement("path", { d: "M16 11V21", stroke: props.color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
6
- }
7
- export function MinusIcon(props) {
8
- return (React.createElement("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
9
- React.createElement("path", { d: "M11 16H21", stroke: props.color, strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })));
10
- }
11
- //# sourceMappingURL=Icons.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Icons.js","sourceRoot":"","sources":["../../../../../src/molecules/QuantitySelector/stories/assets/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAMzB,MAAM,UAAU,QAAQ,CAAC,KAAgC;IACvD,OAAO,CACL,6BACE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B;QAElC,8BACE,CAAC,EAAC,WAAW,EACb,MAAM,EAAE,KAAK,CAAC,KAAK,EACnB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB;QACF,8BACE,CAAC,EAAC,WAAW,EACb,MAAM,EAAE,KAAK,CAAC,KAAK,EACnB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,CACE,CACP,CAAA;AACH,CAAC;AAED,MAAM,UAAU,SAAS,CAAC,KAAgC;IACxD,OAAO,CACL,6BACE,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,EACX,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,KAAK,EAAC,4BAA4B;QAElC,8BACE,CAAC,EAAC,WAAW,EACb,MAAM,EAAE,KAAK,CAAC,KAAK,EACnB,WAAW,EAAC,KAAK,EACjB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,GACtB,CACE,CACP,CAAA;AACH,CAAC"}
@@ -1,5 +0,0 @@
1
- import type { PropsWithChildren } from 'react';
2
- import { RadioGroupContext } from './useRadioGroup';
3
- export declare type RadioGroupProps = PropsWithChildren<RadioGroupContext>;
4
- declare const RadioGroup: ({ name, onChange, children, selectedValue, }: RadioGroupProps) => JSX.Element;
5
- export default RadioGroup;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { RadioGroupContext } from './useRadioGroup';
3
- const RadioGroup = ({ name, onChange, children, selectedValue, }) => {
4
- const contextValues = React.useMemo(() => {
5
- return { name, selectedValue, onChange };
6
- }, [name, selectedValue, onChange]);
7
- return (React.createElement(RadioGroupContext.Provider, { value: contextValues }, children));
8
- };
9
- export default RadioGroup;
10
- //# sourceMappingURL=RadioGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioGroup.js","sourceRoot":"","sources":["../../../src/molecules/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAInD,MAAM,UAAU,GAAG,CAAC,EAClB,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,aAAa,GACG,EAAE,EAAE;IACpB,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACvC,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,CAAA;IAC1C,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,EAAE,QAAQ,CAAC,CAAC,CAAA;IAEnC,OAAO,CACL,oBAAC,iBAAiB,CAAC,QAAQ,IAAC,KAAK,EAAE,aAAa,IAC7C,QAAQ,CACkB,CAC9B,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,19 +0,0 @@
1
- import type { InputHTMLAttributes } from 'react';
2
- import React from 'react';
3
- export interface RadioOptionProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
4
- /**
5
- * ID to find this component in testing tools (e.g.: cypress,
6
- * testing-library, and jest).
7
- */
8
- testId?: string;
9
- /**
10
- * Attribute to set aria-label option as required.
11
- */
12
- label: string;
13
- /**
14
- * Value to be emitted when radio is clicked.
15
- */
16
- value: string | number;
17
- }
18
- declare const RadioOption: React.ForwardRefExoticComponent<RadioOptionProps & React.RefAttributes<HTMLInputElement>>;
19
- export default RadioOption;
@@ -1,11 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- import Radio from '../../atoms/Radio';
3
- import { useRadioGroup } from './useRadioGroup';
4
- const RadioOption = forwardRef(function RadioOption({ label, value, children, testId = 'store-radio-option', ...otherProps }, ref) {
5
- const { name, selectedValue, onChange } = useRadioGroup();
6
- return (React.createElement("label", { "aria-label": label, "data-fs-radio-option": true },
7
- React.createElement(Radio, Object.assign({ "data-fs-radio-option-item": true, ref: ref, name: name, checked: value === selectedValue, onChange: onChange, value: value, testId: testId }, otherProps)),
8
- children));
9
- });
10
- export default RadioOption;
11
- //# sourceMappingURL=RadioOption.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioOption.js","sourceRoot":"","sources":["../../../src/molecules/RadioGroup/RadioOption.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,KAAK,MAAM,mBAAmB,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAmB/C,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,GAAG,oBAAoB,EAAE,GAAG,UAAU,EAAE,EACxE,GAAG;IAEH,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,aAAa,EAAE,CAAA;IAEzD,OAAO,CACL,6CAAmB,KAAK;QACtB,oBAAC,KAAK,qDAEJ,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,KAAK,KAAK,aAAa,EAChC,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,IACV,UAAU,EACd;QACD,QAAQ,CACH,CACT,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,4 +0,0 @@
1
- export { default } from './RadioGroup';
2
- export type { RadioGroupProps } from './RadioGroup';
3
- export { default as RadioOption } from './RadioOption';
4
- export type { RadioOptionProps } from './RadioOption';
@@ -1,3 +0,0 @@
1
- export { default } from './RadioGroup';
2
- export { default as RadioOption } from './RadioOption';
3
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/RadioGroup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAGtC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
@@ -1,17 +0,0 @@
1
- import type { ChangeEventHandler } from 'react';
2
- export interface RadioGroupContext {
3
- /**
4
- * Name to link children by context.
5
- */
6
- name: string;
7
- /**
8
- * Value of checked child.
9
- */
10
- selectedValue?: string | number;
11
- /**
12
- * Function that is triggered when any children is checked.
13
- */
14
- onChange?: ChangeEventHandler<HTMLInputElement>;
15
- }
16
- export declare const RadioGroupContext: import("react").Context<RadioGroupContext | undefined>;
17
- export declare function useRadioGroup(): RadioGroupContext;
@@ -1,10 +0,0 @@
1
- import { createContext, useContext } from 'react';
2
- export const RadioGroupContext = createContext(undefined);
3
- export function useRadioGroup() {
4
- const context = useContext(RadioGroupContext);
5
- if (!context) {
6
- throw new Error(`useRadioOption hook cannot be used outside the RadioGroup context`);
7
- }
8
- return context;
9
- }
10
- //# sourceMappingURL=useRadioGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useRadioGroup.js","sourceRoot":"","sources":["../../../src/molecules/RadioGroup/useRadioGroup.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAiBjD,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAC5C,SAAS,CACV,CAAA;AAED,MAAM,UAAU,aAAa;IAC3B,MAAM,OAAO,GAAG,UAAU,CAAC,iBAAiB,CAAC,CAAA;IAE7C,IAAI,CAAC,OAAO,EAAE;QACZ,MAAM,IAAI,KAAK,CACb,mEAAmE,CACpE,CAAA;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC"}
@@ -1,28 +0,0 @@
1
- import type { AriaAttributes, InputHTMLAttributes, ReactNode } from 'react';
2
- import React from 'react';
3
- declare type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'onSubmit'>;
4
- export interface SearchInputProps extends InputProps {
5
- /**
6
- * Callback function when submitted.
7
- */
8
- onSubmit: (value: string) => void;
9
- /**
10
- * Custom icon inside the submit button.
11
- */
12
- icon?: ReactNode;
13
- /**
14
- * Custom aria-label for input and button.
15
- */
16
- 'aria-label'?: AriaAttributes['aria-label'];
17
- /**
18
- /**
19
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
20
- */
21
- testId?: string;
22
- }
23
- export interface SearchInputRef {
24
- inputRef?: HTMLInputElement | null;
25
- formRef?: HTMLFormElement | null;
26
- }
27
- declare const SearchInput: React.ForwardRefExoticComponent<SearchInputProps & React.RefAttributes<SearchInputRef | null>>;
28
- export default SearchInput;
@@ -1,28 +0,0 @@
1
- import React, { useImperativeHandle, forwardRef, useRef } from 'react';
2
- import Button from '../../atoms/Button';
3
- import Icon from '../../atoms/Icon';
4
- import Input from '../../atoms/Input';
5
- import Form from '../Form';
6
- const SearchIcon = () => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" },
7
- React.createElement("circle", { cx: "11", cy: "11", r: "8" }),
8
- React.createElement("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })));
9
- const SearchInput = forwardRef(function SearchInput({ onSubmit, icon, 'aria-label': ariaLabel = 'search', testId = 'store-search-input', ...otherProps }, ref) {
10
- const inputRef = useRef(null);
11
- const formRef = useRef(null);
12
- const handleSubmit = (event) => {
13
- event.preventDefault();
14
- if (inputRef.current?.value !== '') {
15
- onSubmit(inputRef.current.value);
16
- }
17
- };
18
- useImperativeHandle(ref, () => ({
19
- inputRef: inputRef.current,
20
- formRef: formRef.current,
21
- }));
22
- return (React.createElement(Form, { ref: formRef, "data-fs-search-input-form": true, "data-testid": testId, onSubmit: handleSubmit, role: "search" },
23
- React.createElement(Input, Object.assign({ ref: inputRef, "aria-label": ariaLabel }, otherProps)),
24
- React.createElement(Button, { type: "submit", "aria-label": "Submit Search" },
25
- React.createElement(Icon, { component: icon ?? React.createElement(SearchIcon, null) }))));
26
- });
27
- export default SearchInput;
28
- //# sourceMappingURL=SearchInput.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SearchInput.js","sourceRoot":"","sources":["../../../src/molecules/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAEtE,OAAO,MAAM,MAAM,oBAAoB,CAAA;AACvC,OAAO,IAAI,MAAM,kBAAkB,CAAA;AACnC,OAAO,KAAK,MAAM,mBAAmB,CAAA;AACrC,OAAO,IAAI,MAAM,SAAS,CAAA;AAE1B,MAAM,UAAU,GAAG,GAAG,EAAE,CAAC,CACvB,6BACE,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO;IAEtB,gCAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,GAAG,GAAG;IAChC,8BAAM,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,OAAO,EAAC,EAAE,EAAC,OAAO,GAAG,CAC1C,CACP,CAAA;AA6BD,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EACE,QAAQ,EACR,IAAI,EACJ,YAAY,EAAE,SAAS,GAAG,QAAQ,EAClC,MAAM,GAAG,oBAAoB,EAC7B,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,QAAQ,GAAG,MAAM,CAAmB,IAAI,CAAC,CAAA;IAC/C,MAAM,OAAO,GAAG,MAAM,CAAkB,IAAI,CAAC,CAAA;IAE7C,MAAM,YAAY,GAAG,CAAC,KAAgB,EAAE,EAAE;QACxC,KAAK,CAAC,cAAc,EAAE,CAAA;QAEtB,IAAI,QAAQ,CAAC,OAAO,EAAE,KAAK,KAAK,EAAE,EAAE;YAClC,QAAQ,CAAC,QAAQ,CAAC,OAAQ,CAAC,KAAK,CAAC,CAAA;SAClC;IACH,CAAC,CAAA;IAED,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9B,QAAQ,EAAE,QAAQ,CAAC,OAAO;QAC1B,OAAO,EAAE,OAAO,CAAC,OAAO;KACzB,CAAC,CAAC,CAAA;IAEH,OAAO,CACL,oBAAC,IAAI,IACH,GAAG,EAAE,OAAO,oDAEC,MAAM,EACnB,QAAQ,EAAE,YAAY,EACtB,IAAI,EAAC,QAAQ;QAEb,oBAAC,KAAK,kBAAC,GAAG,EAAE,QAAQ,gBAAc,SAAS,IAAM,UAAU,EAAI;QAC/D,oBAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,gBAAY,eAAe;YAC9C,oBAAC,IAAI,IAAC,SAAS,EAAE,IAAI,IAAI,oBAAC,UAAU,OAAG,GAAI,CACpC,CACJ,CACR,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './SearchInput';
2
- export type { SearchInputProps, SearchInputRef } from './SearchInput';
@@ -1,2 +0,0 @@
1
- export { default } from './SearchInput';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/SearchInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { FC } from 'react';
2
- declare const CustomIcon: FC;
3
- export default CustomIcon;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- const CustomIcon = () => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" },
3
- React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
4
- React.createElement("line", { x1: "15", y1: "9", x2: "9", y2: "15" }),
5
- React.createElement("line", { x1: "9", y1: "9", x2: "15", y2: "15" })));
6
- export default CustomIcon;
7
- //# sourceMappingURL=CustomIcon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CustomIcon.js","sourceRoot":"","sources":["../../../../../src/molecules/SearchInput/stories/assets/CustomIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,MAAM,UAAU,GAAO,GAAG,EAAE,CAAC,CAC3B,6BACE,KAAK,EAAC,4BAA4B,EAClC,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,MAAM,EACX,MAAM,EAAC,cAAc,EACrB,WAAW,EAAC,GAAG,EACf,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO;IAEtB,gCAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,GAAG;IACjC,8BAAM,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,GAAG;IACtC,8BAAM,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,GAAG,EAAC,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,GAAG,CAClC,CACP,CAAA;AAED,eAAe,UAAU,CAAA"}