@faststore/ui 1.12.32 → 1.12.33

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 (517) hide show
  1. package/dist/components/atoms/Incentive/Incentive.js +1 -1
  2. package/dist/components/atoms/Incentive/Incentive.js.map +1 -1
  3. package/dist/components/atoms/Popover/Popover.d.ts +1 -1
  4. package/dist/components/atoms/Popover/Popover.js +1 -1
  5. package/dist/components/atoms/Popover/Popover.js.map +1 -1
  6. package/dist/components/atoms/Skeleton/Skeleton.js +1 -1
  7. package/dist/components/atoms/Skeleton/Skeleton.js.map +1 -1
  8. package/dist/components/atoms/Slider/Slider.d.ts +2 -2
  9. package/dist/components/atoms/Spinner/Spinner.d.ts +1 -1
  10. package/dist/components/atoms/Spinner/Spinner.js +1 -1
  11. package/dist/components/atoms/Spinner/Spinner.js.map +1 -1
  12. package/dist/components/atoms/TextArea/TextArea.js +1 -1
  13. package/dist/components/atoms/TextArea/TextArea.js.map +1 -1
  14. package/dist/components/molecules/AggregateRating/AggregateRating.d.ts +2 -2
  15. package/dist/components/molecules/AggregateRating/AggregateRating.js +4 -4
  16. package/dist/components/molecules/AggregateRating/AggregateRating.js.map +1 -1
  17. package/dist/components/molecules/Alert/Alert.js +1 -1
  18. package/dist/components/molecules/Alert/Alert.js.map +1 -1
  19. package/dist/components/molecules/Banner/Banner.d.ts +1 -1
  20. package/dist/components/molecules/Banner/Banner.js +1 -1
  21. package/dist/components/molecules/Banner/Banner.js.map +1 -1
  22. package/dist/components/molecules/Banner/BannerContent.js +1 -1
  23. package/dist/components/molecules/Banner/BannerContent.js.map +1 -1
  24. package/dist/components/molecules/Banner/BannerImage.js +1 -1
  25. package/dist/components/molecules/Banner/BannerImage.js.map +1 -1
  26. package/dist/components/molecules/Banner/BannerLink.js +1 -1
  27. package/dist/components/molecules/Banner/BannerLink.js.map +1 -1
  28. package/dist/components/molecules/Breadcrumb/Breadcrumb.js +5 -5
  29. package/dist/components/molecules/Breadcrumb/Breadcrumb.js.map +1 -1
  30. package/dist/components/molecules/Bullets/Bullets.js +1 -1
  31. package/dist/components/molecules/Bullets/Bullets.js.map +1 -1
  32. package/dist/components/molecules/Card/Card.js +1 -1
  33. package/dist/components/molecules/Card/Card.js.map +1 -1
  34. package/dist/components/molecules/Card/CardActions.js +1 -1
  35. package/dist/components/molecules/Card/CardActions.js.map +1 -1
  36. package/dist/components/molecules/Card/CardContent.js +1 -1
  37. package/dist/components/molecules/Card/CardContent.js.map +1 -1
  38. package/dist/components/molecules/Card/CardImage.js +1 -1
  39. package/dist/components/molecules/Card/CardImage.js.map +1 -1
  40. package/dist/components/molecules/Carousel/Carousel.js +2 -2
  41. package/dist/components/molecules/Carousel/Carousel.js.map +1 -1
  42. package/dist/components/molecules/CartItem/CartItem.js +1 -1
  43. package/dist/components/molecules/CartItem/CartItem.js.map +1 -1
  44. package/dist/components/molecules/CartItem/CartItemActions.js +1 -1
  45. package/dist/components/molecules/CartItem/CartItemActions.js.map +1 -1
  46. package/dist/components/molecules/CartItem/CartItemContent.js +1 -1
  47. package/dist/components/molecules/CartItem/CartItemContent.js.map +1 -1
  48. package/dist/components/molecules/CartItem/CartItemImage.js +1 -1
  49. package/dist/components/molecules/CartItem/CartItemImage.js.map +1 -1
  50. package/dist/components/molecules/CartItem/CartItemPrices.js +1 -1
  51. package/dist/components/molecules/CartItem/CartItemPrices.js.map +1 -1
  52. package/dist/components/molecules/CartItem/CartItemSummary.js +1 -1
  53. package/dist/components/molecules/CartItem/CartItemSummary.js.map +1 -1
  54. package/dist/components/molecules/CartItem/CartItemTitle.js +1 -1
  55. package/dist/components/molecules/CartItem/CartItemTitle.js.map +1 -1
  56. package/dist/components/molecules/Form/Form.js +1 -1
  57. package/dist/components/molecules/Form/Form.js.map +1 -1
  58. package/dist/components/molecules/LoadingButton/LoadingButton.js +1 -1
  59. package/dist/components/molecules/LoadingButton/LoadingButton.js.map +1 -1
  60. package/dist/components/molecules/Modal/Modal.js +3 -3
  61. package/dist/components/molecules/Modal/Modal.js.map +1 -1
  62. package/dist/components/molecules/Modal/ModalContent.d.ts +1 -1
  63. package/dist/components/molecules/Modal/ModalContent.js +3 -3
  64. package/dist/components/molecules/Modal/ModalContent.js.map +1 -1
  65. package/dist/components/molecules/OrderSummary/OrderSummary.d.ts +3 -3
  66. package/dist/components/molecules/OrderSummary/OrderSummary.js +3 -3
  67. package/dist/components/molecules/OrderSummary/OrderSummary.js.map +1 -1
  68. package/dist/components/molecules/PaymentMethods/PaymentMethods.js +1 -1
  69. package/dist/components/molecules/PaymentMethods/PaymentMethods.js.map +1 -1
  70. package/dist/components/molecules/PriceRange/PriceRange.d.ts +3 -3
  71. package/dist/components/molecules/PriceRange/PriceRange.js +1 -1
  72. package/dist/components/molecules/PriceRange/PriceRange.js.map +1 -1
  73. package/dist/components/molecules/ProductCard/ProductCard.js +1 -1
  74. package/dist/components/molecules/ProductCard/ProductCard.js.map +1 -1
  75. package/dist/components/molecules/ProductCard/ProductCardActions.js +1 -1
  76. package/dist/components/molecules/ProductCard/ProductCardActions.js.map +1 -1
  77. package/dist/components/molecules/ProductCard/ProductCardContent.js +1 -1
  78. package/dist/components/molecules/ProductCard/ProductCardContent.js.map +1 -1
  79. package/dist/components/molecules/ProductCard/ProductCardImage.js +1 -1
  80. package/dist/components/molecules/ProductCard/ProductCardImage.js.map +1 -1
  81. package/dist/components/molecules/ProductTitle/ProductTitle.d.ts +1 -1
  82. package/dist/components/molecules/ProductTitle/ProductTitle.js +1 -1
  83. package/dist/components/molecules/ProductTitle/ProductTitle.js.map +1 -1
  84. package/dist/components/molecules/QuantitySelector/QuantitySelector.d.ts +1 -2
  85. package/dist/components/molecules/QuantitySelector/QuantitySelector.js +5 -6
  86. package/dist/components/molecules/QuantitySelector/QuantitySelector.js.map +1 -1
  87. package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +1 -1
  88. package/dist/components/molecules/RadioGroup/RadioOption.js +1 -1
  89. package/dist/components/molecules/RadioGroup/RadioOption.js.map +1 -1
  90. package/dist/components/molecules/SearchInput/SearchInput.d.ts +1 -1
  91. package/dist/components/molecules/SearchInput/SearchInput.js +2 -3
  92. package/dist/components/molecules/SearchInput/SearchInput.js.map +1 -1
  93. package/dist/components/molecules/SkuSelector/SkuSelector.d.ts +1 -1
  94. package/dist/components/molecules/SkuSelector/SkuSelector.js +1 -1
  95. package/dist/components/molecules/SkuSelector/SkuSelector.js.map +1 -1
  96. package/dist/components/organisms/OutOfStock/OutOfStock.d.ts +2 -2
  97. package/dist/components/organisms/OutOfStock/OutOfStock.js +1 -1
  98. package/dist/components/organisms/OutOfStock/OutOfStock.js.map +1 -1
  99. package/dist/components/organisms/OutOfStock/OutOfStockMessage.d.ts +1 -1
  100. package/dist/components/organisms/OutOfStock/OutOfStockMessage.js +1 -1
  101. package/dist/components/organisms/OutOfStock/OutOfStockMessage.js.map +1 -1
  102. package/dist/components/organisms/OutOfStock/OutOfStockTitle.d.ts +1 -1
  103. package/dist/components/organisms/OutOfStock/OutOfStockTitle.js +1 -1
  104. package/dist/components/organisms/OutOfStock/OutOfStockTitle.js.map +1 -1
  105. package/dist/components/organisms/Tiles/Tile.js +1 -1
  106. package/dist/components/organisms/Tiles/Tile.js.map +1 -1
  107. package/dist/components/organisms/Tiles/Tiles.js +1 -1
  108. package/dist/components/organisms/Tiles/Tiles.js.map +1 -1
  109. package/dist/components/src/atoms/List/List.d.ts +16 -0
  110. package/dist/components/src/atoms/List/List.js +7 -0
  111. package/dist/components/src/atoms/List/List.js.map +1 -0
  112. package/dist/components/src/atoms/List/index.d.ts +2 -0
  113. package/dist/components/src/atoms/List/index.js +2 -0
  114. package/dist/components/src/atoms/List/index.js.map +1 -0
  115. package/dist/components/src/typings/PolymorphicGenerics.d.ts +28 -0
  116. package/dist/components/src/typings/PolymorphicGenerics.js +8 -0
  117. package/dist/components/src/typings/PolymorphicGenerics.js.map +1 -0
  118. package/dist/components/src/typings/index.d.ts +1 -0
  119. package/dist/components/src/typings/index.js +2 -0
  120. package/dist/components/src/typings/index.js.map +1 -0
  121. package/dist/hooks/useSlider/useSlider.d.ts +3 -3
  122. package/dist/index.d.ts +0 -22
  123. package/dist/index.js +0 -11
  124. package/dist/index.js.map +1 -1
  125. package/dist/typings/PolymorphicGenerics.d.ts +6 -6
  126. package/dist/ui/src/components/atoms/Incentive/Incentive.d.ts +11 -0
  127. package/dist/ui/src/components/atoms/Incentive/Incentive.js +6 -0
  128. package/dist/ui/src/components/atoms/Incentive/Incentive.js.map +1 -0
  129. package/dist/ui/src/components/atoms/Incentive/index.d.ts +2 -0
  130. package/dist/ui/src/components/atoms/Incentive/index.js +2 -0
  131. package/dist/ui/src/components/atoms/Incentive/index.js.map +1 -0
  132. package/dist/ui/src/components/atoms/Incentive/stories/assets/Icons.d.ts +2 -0
  133. package/dist/ui/src/components/atoms/Incentive/stories/assets/Icons.js +6 -0
  134. package/dist/ui/src/components/atoms/Incentive/stories/assets/Icons.js.map +1 -0
  135. package/dist/ui/src/components/atoms/Link/Link.d.ts +19 -0
  136. package/dist/ui/src/components/atoms/Link/Link.js +13 -0
  137. package/dist/ui/src/components/atoms/Link/Link.js.map +1 -0
  138. package/dist/ui/src/components/atoms/Link/index.d.ts +2 -0
  139. package/dist/ui/src/components/atoms/Link/index.js +2 -0
  140. package/dist/ui/src/components/atoms/Link/index.js.map +1 -0
  141. package/dist/ui/src/components/atoms/Popover/Popover.d.ts +15 -0
  142. package/dist/ui/src/components/atoms/Popover/Popover.js +7 -0
  143. package/dist/ui/src/components/atoms/Popover/Popover.js.map +1 -0
  144. package/dist/ui/src/components/atoms/Popover/index.d.ts +2 -0
  145. package/dist/ui/src/components/atoms/Popover/index.js +2 -0
  146. package/dist/ui/src/components/atoms/Popover/index.js.map +1 -0
  147. package/dist/ui/src/components/atoms/Price/Price.d.ts +28 -0
  148. package/dist/ui/src/components/atoms/Price/Price.js +7 -0
  149. package/dist/ui/src/components/atoms/Price/Price.js.map +1 -0
  150. package/dist/ui/src/components/atoms/Price/index.d.ts +2 -0
  151. package/dist/ui/src/components/atoms/Price/index.js +2 -0
  152. package/dist/ui/src/components/atoms/Price/index.js.map +1 -0
  153. package/dist/ui/src/components/atoms/Select/Select.d.ts +10 -0
  154. package/dist/ui/src/components/atoms/Select/Select.js +6 -0
  155. package/dist/ui/src/components/atoms/Select/Select.js.map +1 -0
  156. package/dist/ui/src/components/atoms/Select/index.d.ts +2 -0
  157. package/dist/ui/src/components/atoms/Select/index.js +2 -0
  158. package/dist/ui/src/components/atoms/Select/index.js.map +1 -0
  159. package/dist/ui/src/components/atoms/Skeleton/Skeleton.d.ts +10 -0
  160. package/dist/ui/src/components/atoms/Skeleton/Skeleton.js +6 -0
  161. package/dist/ui/src/components/atoms/Skeleton/Skeleton.js.map +1 -0
  162. package/dist/ui/src/components/atoms/Skeleton/index.d.ts +2 -0
  163. package/dist/ui/src/components/atoms/Skeleton/index.js +2 -0
  164. package/dist/ui/src/components/atoms/Skeleton/index.js.map +1 -0
  165. package/dist/ui/src/components/atoms/Slider/Slider.d.ts +67 -0
  166. package/dist/ui/src/components/atoms/Slider/Slider.js +48 -0
  167. package/dist/ui/src/components/atoms/Slider/Slider.js.map +1 -0
  168. package/dist/ui/src/components/atoms/Slider/index.d.ts +2 -0
  169. package/dist/ui/src/components/atoms/Slider/index.js +2 -0
  170. package/dist/ui/src/components/atoms/Slider/index.js.map +1 -0
  171. package/dist/ui/src/components/atoms/Spinner/Spinner.d.ts +11 -0
  172. package/dist/ui/src/components/atoms/Spinner/Spinner.js +6 -0
  173. package/dist/ui/src/components/atoms/Spinner/Spinner.js.map +1 -0
  174. package/dist/ui/src/components/atoms/Spinner/index.d.ts +2 -0
  175. package/dist/ui/src/components/atoms/Spinner/index.js +2 -0
  176. package/dist/ui/src/components/atoms/Spinner/index.js.map +1 -0
  177. package/dist/ui/src/components/atoms/TextArea/TextArea.d.ts +14 -0
  178. package/dist/ui/src/components/atoms/TextArea/TextArea.js +10 -0
  179. package/dist/ui/src/components/atoms/TextArea/TextArea.js.map +1 -0
  180. package/dist/ui/src/components/atoms/TextArea/index.d.ts +2 -0
  181. package/dist/ui/src/components/atoms/TextArea/index.js +2 -0
  182. package/dist/ui/src/components/atoms/TextArea/index.js.map +1 -0
  183. package/dist/ui/src/components/molecules/Accordion/Accordion.d.ts +26 -0
  184. package/dist/ui/src/components/molecules/Accordion/Accordion.js +21 -0
  185. package/dist/ui/src/components/molecules/Accordion/Accordion.js.map +1 -0
  186. package/dist/ui/src/components/molecules/Accordion/AccordionButton.d.ts +10 -0
  187. package/dist/ui/src/components/molecules/Accordion/AccordionButton.js +37 -0
  188. package/dist/ui/src/components/molecules/Accordion/AccordionButton.js.map +1 -0
  189. package/dist/ui/src/components/molecules/Accordion/AccordionItem.d.ts +37 -0
  190. package/dist/ui/src/components/molecules/Accordion/AccordionItem.js +28 -0
  191. package/dist/ui/src/components/molecules/Accordion/AccordionItem.js.map +1 -0
  192. package/dist/ui/src/components/molecules/Accordion/AccordionPanel.d.ts +10 -0
  193. package/dist/ui/src/components/molecules/Accordion/AccordionPanel.js +10 -0
  194. package/dist/ui/src/components/molecules/Accordion/AccordionPanel.js.map +1 -0
  195. package/dist/ui/src/components/molecules/Accordion/index.d.ts +8 -0
  196. package/dist/ui/src/components/molecules/Accordion/index.js +5 -0
  197. package/dist/ui/src/components/molecules/Accordion/index.js.map +1 -0
  198. package/dist/ui/src/components/molecules/AggregateRating/AggregateRating.d.ts +18 -0
  199. package/dist/ui/src/components/molecules/AggregateRating/AggregateRating.js +26 -0
  200. package/dist/ui/src/components/molecules/AggregateRating/AggregateRating.js.map +1 -0
  201. package/dist/ui/src/components/molecules/AggregateRating/index.d.ts +2 -0
  202. package/dist/ui/src/components/molecules/AggregateRating/index.js +2 -0
  203. package/dist/ui/src/components/molecules/AggregateRating/index.js.map +1 -0
  204. package/dist/ui/src/components/molecules/Alert/Alert.d.ts +11 -0
  205. package/dist/ui/src/components/molecules/Alert/Alert.js +6 -0
  206. package/dist/ui/src/components/molecules/Alert/Alert.js.map +1 -0
  207. package/dist/ui/src/components/molecules/Alert/index.d.ts +2 -0
  208. package/dist/ui/src/components/molecules/Alert/index.js +2 -0
  209. package/dist/ui/src/components/molecules/Alert/index.js.map +1 -0
  210. package/dist/ui/src/components/molecules/Banner/Banner.d.ts +14 -0
  211. package/dist/ui/src/components/molecules/Banner/Banner.js +6 -0
  212. package/dist/ui/src/components/molecules/Banner/Banner.js.map +1 -0
  213. package/dist/ui/src/components/molecules/Banner/BannerContent.d.ts +10 -0
  214. package/dist/ui/src/components/molecules/Banner/BannerContent.js +6 -0
  215. package/dist/ui/src/components/molecules/Banner/BannerContent.js.map +1 -0
  216. package/dist/ui/src/components/molecules/Banner/BannerImage.d.ts +10 -0
  217. package/dist/ui/src/components/molecules/Banner/BannerImage.js +6 -0
  218. package/dist/ui/src/components/molecules/Banner/BannerImage.js.map +1 -0
  219. package/dist/ui/src/components/molecules/Banner/BannerLink.d.ts +10 -0
  220. package/dist/ui/src/components/molecules/Banner/BannerLink.js +6 -0
  221. package/dist/ui/src/components/molecules/Banner/BannerLink.js.map +1 -0
  222. package/dist/ui/src/components/molecules/Banner/index.d.ts +8 -0
  223. package/dist/ui/src/components/molecules/Banner/index.js +5 -0
  224. package/dist/ui/src/components/molecules/Banner/index.js.map +1 -0
  225. package/dist/ui/src/components/molecules/Breadcrumb/Breadcrumb.d.ts +14 -0
  226. package/dist/ui/src/components/molecules/Breadcrumb/Breadcrumb.js +38 -0
  227. package/dist/ui/src/components/molecules/Breadcrumb/Breadcrumb.js.map +1 -0
  228. package/dist/ui/src/components/molecules/Breadcrumb/index.d.ts +2 -0
  229. package/dist/ui/src/components/molecules/Breadcrumb/index.js +2 -0
  230. package/dist/ui/src/components/molecules/Breadcrumb/index.js.map +1 -0
  231. package/dist/ui/src/components/molecules/Bullets/Bullets.d.ts +35 -0
  232. package/dist/ui/src/components/molecules/Bullets/Bullets.js +12 -0
  233. package/dist/ui/src/components/molecules/Bullets/Bullets.js.map +1 -0
  234. package/dist/ui/src/components/molecules/Bullets/index.d.ts +2 -0
  235. package/dist/ui/src/components/molecules/Bullets/index.js +2 -0
  236. package/dist/ui/src/components/molecules/Bullets/index.js.map +1 -0
  237. package/dist/{components/atoms/Overlay/Overlay.d.ts → ui/src/components/molecules/Card/Card.d.ts} +4 -4
  238. package/dist/ui/src/components/molecules/Card/Card.js +6 -0
  239. package/dist/ui/src/components/molecules/Card/Card.js.map +1 -0
  240. package/dist/ui/src/components/molecules/Card/CardActions.d.ts +10 -0
  241. package/dist/ui/src/components/molecules/Card/CardActions.js +6 -0
  242. package/dist/ui/src/components/molecules/Card/CardActions.js.map +1 -0
  243. package/dist/ui/src/components/molecules/Card/CardContent.d.ts +10 -0
  244. package/dist/ui/src/components/molecules/Card/CardContent.js +6 -0
  245. package/dist/ui/src/components/molecules/Card/CardContent.js.map +1 -0
  246. package/dist/ui/src/components/molecules/Card/CardImage.d.ts +10 -0
  247. package/dist/ui/src/components/molecules/Card/CardImage.js +6 -0
  248. package/dist/ui/src/components/molecules/Card/CardImage.js.map +1 -0
  249. package/dist/ui/src/components/molecules/Card/index.d.ts +8 -0
  250. package/dist/ui/src/components/molecules/Card/index.js +5 -0
  251. package/dist/ui/src/components/molecules/Card/index.js.map +1 -0
  252. package/dist/ui/src/components/molecules/Carousel/Arrows.d.ts +12 -0
  253. package/dist/ui/src/components/molecules/Carousel/Arrows.js +6 -0
  254. package/dist/ui/src/components/molecules/Carousel/Arrows.js.map +1 -0
  255. package/dist/ui/src/components/molecules/Carousel/Carousel.d.ts +54 -0
  256. package/dist/ui/src/components/molecules/Carousel/Carousel.js +183 -0
  257. package/dist/ui/src/components/molecules/Carousel/Carousel.js.map +1 -0
  258. package/dist/ui/src/components/molecules/Carousel/CarouselItem.d.ts +11 -0
  259. package/dist/ui/src/components/molecules/Carousel/CarouselItem.js +18 -0
  260. package/dist/ui/src/components/molecules/Carousel/CarouselItem.js.map +1 -0
  261. package/dist/ui/src/components/molecules/Carousel/hooks/useSlideVisibility.d.ts +9 -0
  262. package/dist/ui/src/components/molecules/Carousel/hooks/useSlideVisibility.js +29 -0
  263. package/dist/ui/src/components/molecules/Carousel/hooks/useSlideVisibility.js.map +1 -0
  264. package/dist/ui/src/components/molecules/Carousel/index.d.ts +2 -0
  265. package/dist/ui/src/components/molecules/Carousel/index.js +3 -0
  266. package/dist/ui/src/components/molecules/Carousel/index.js.map +1 -0
  267. package/dist/ui/src/components/molecules/CartItem/CartItem.d.ts +10 -0
  268. package/dist/ui/src/components/molecules/CartItem/CartItem.js +6 -0
  269. package/dist/ui/src/components/molecules/CartItem/CartItem.js.map +1 -0
  270. package/dist/ui/src/components/molecules/CartItem/CartItemActions.d.ts +10 -0
  271. package/dist/ui/src/components/molecules/CartItem/CartItemActions.js +6 -0
  272. package/dist/ui/src/components/molecules/CartItem/CartItemActions.js.map +1 -0
  273. package/dist/ui/src/components/molecules/CartItem/CartItemContent.d.ts +10 -0
  274. package/dist/ui/src/components/molecules/CartItem/CartItemContent.js +6 -0
  275. package/dist/ui/src/components/molecules/CartItem/CartItemContent.js.map +1 -0
  276. package/dist/ui/src/components/molecules/CartItem/CartItemImage.d.ts +10 -0
  277. package/dist/ui/src/components/molecules/CartItem/CartItemImage.js +6 -0
  278. package/dist/ui/src/components/molecules/CartItem/CartItemImage.js.map +1 -0
  279. package/dist/ui/src/components/molecules/CartItem/CartItemPrices.d.ts +10 -0
  280. package/dist/ui/src/components/molecules/CartItem/CartItemPrices.js +6 -0
  281. package/dist/ui/src/components/molecules/CartItem/CartItemPrices.js.map +1 -0
  282. package/dist/ui/src/components/molecules/CartItem/CartItemSummary.d.ts +10 -0
  283. package/dist/ui/src/components/molecules/CartItem/CartItemSummary.js +6 -0
  284. package/dist/ui/src/components/molecules/CartItem/CartItemSummary.js.map +1 -0
  285. package/dist/ui/src/components/molecules/CartItem/CartItemTitle.d.ts +10 -0
  286. package/dist/ui/src/components/molecules/CartItem/CartItemTitle.js +6 -0
  287. package/dist/ui/src/components/molecules/CartItem/CartItemTitle.js.map +1 -0
  288. package/dist/ui/src/components/molecules/CartItem/index.d.ts +14 -0
  289. package/dist/ui/src/components/molecules/CartItem/index.js +8 -0
  290. package/dist/ui/src/components/molecules/CartItem/index.js.map +1 -0
  291. package/dist/ui/src/components/molecules/Dropdown/Dropdown.d.ts +9 -0
  292. package/dist/ui/src/components/molecules/Dropdown/Dropdown.js +67 -0
  293. package/dist/ui/src/components/molecules/Dropdown/Dropdown.js.map +1 -0
  294. package/dist/ui/src/components/molecules/Dropdown/DropdownButton.d.ts +10 -0
  295. package/dist/ui/src/components/molecules/Dropdown/DropdownButton.js +11 -0
  296. package/dist/ui/src/components/molecules/Dropdown/DropdownButton.js.map +1 -0
  297. package/dist/ui/src/components/molecules/Dropdown/DropdownItem.d.ts +10 -0
  298. package/dist/ui/src/components/molecules/Dropdown/DropdownItem.js +26 -0
  299. package/dist/ui/src/components/molecules/Dropdown/DropdownItem.js.map +1 -0
  300. package/dist/ui/src/components/molecules/Dropdown/DropdownMenu.d.ts +22 -0
  301. package/dist/ui/src/components/molecules/Dropdown/DropdownMenu.js +65 -0
  302. package/dist/ui/src/components/molecules/Dropdown/DropdownMenu.js.map +1 -0
  303. package/dist/ui/src/components/molecules/Dropdown/contexts/DropdownContext.d.ts +41 -0
  304. package/dist/ui/src/components/molecules/Dropdown/contexts/DropdownContext.js +11 -0
  305. package/dist/ui/src/components/molecules/Dropdown/contexts/DropdownContext.js.map +1 -0
  306. package/dist/ui/src/components/molecules/Dropdown/hooks/useDropdown.d.ts +6 -0
  307. package/dist/ui/src/components/molecules/Dropdown/hooks/useDropdown.js +14 -0
  308. package/dist/ui/src/components/molecules/Dropdown/hooks/useDropdown.js.map +1 -0
  309. package/dist/ui/src/components/molecules/Dropdown/hooks/useDropdownPosition.d.ts +8 -0
  310. package/dist/ui/src/components/molecules/Dropdown/hooks/useDropdownPosition.js +25 -0
  311. package/dist/ui/src/components/molecules/Dropdown/hooks/useDropdownPosition.js.map +1 -0
  312. package/dist/ui/src/components/molecules/Dropdown/index.d.ts +8 -0
  313. package/dist/ui/src/components/molecules/Dropdown/index.js +5 -0
  314. package/dist/ui/src/components/molecules/Dropdown/index.js.map +1 -0
  315. package/dist/ui/src/components/molecules/Dropdown/stories/assets/Caret.d.ts +2 -0
  316. package/dist/ui/src/components/molecules/Dropdown/stories/assets/Caret.js +4 -0
  317. package/dist/ui/src/components/molecules/Dropdown/stories/assets/Caret.js.map +1 -0
  318. package/dist/ui/src/components/molecules/Form/Form.d.ts +11 -0
  319. package/dist/ui/src/components/molecules/Form/Form.js +6 -0
  320. package/dist/ui/src/components/molecules/Form/Form.js.map +1 -0
  321. package/dist/ui/src/components/molecules/Form/index.d.ts +2 -0
  322. package/dist/ui/src/components/molecules/Form/index.js +2 -0
  323. package/dist/ui/src/components/molecules/Form/index.js.map +1 -0
  324. package/dist/ui/src/components/molecules/Gift/Gift.d.ts +15 -0
  325. package/dist/ui/src/components/molecules/Gift/Gift.js +9 -0
  326. package/dist/ui/src/components/molecules/Gift/Gift.js.map +1 -0
  327. package/dist/ui/src/components/molecules/Gift/GiftContent.d.ts +10 -0
  328. package/dist/ui/src/components/molecules/Gift/GiftContent.js +6 -0
  329. package/dist/ui/src/components/molecules/Gift/GiftContent.js.map +1 -0
  330. package/dist/ui/src/components/molecules/Gift/GiftImage.d.ts +10 -0
  331. package/dist/ui/src/components/molecules/Gift/GiftImage.js +6 -0
  332. package/dist/ui/src/components/molecules/Gift/GiftImage.js.map +1 -0
  333. package/dist/ui/src/components/molecules/Gift/index.d.ts +6 -0
  334. package/dist/ui/src/components/molecules/Gift/index.js +4 -0
  335. package/dist/ui/src/components/molecules/Gift/index.js.map +1 -0
  336. package/dist/ui/src/components/molecules/LoadingButton/LoadingButton.d.ts +14 -0
  337. package/dist/ui/src/components/molecules/LoadingButton/LoadingButton.js +8 -0
  338. package/dist/ui/src/components/molecules/LoadingButton/LoadingButton.js.map +1 -0
  339. package/dist/ui/src/components/molecules/LoadingButton/index.d.ts +2 -0
  340. package/dist/ui/src/components/molecules/LoadingButton/index.js +2 -0
  341. package/dist/ui/src/components/molecules/LoadingButton/index.js.map +1 -0
  342. package/dist/ui/src/components/molecules/Modal/Modal.d.ts +25 -0
  343. package/dist/ui/src/components/molecules/Modal/Modal.js +31 -0
  344. package/dist/ui/src/components/molecules/Modal/Modal.js.map +1 -0
  345. package/dist/ui/src/components/molecules/Modal/ModalContent.d.ts +10 -0
  346. package/dist/ui/src/components/molecules/Modal/ModalContent.js +23 -0
  347. package/dist/ui/src/components/molecules/Modal/ModalContent.js.map +1 -0
  348. package/dist/ui/src/components/molecules/Modal/index.d.ts +2 -0
  349. package/dist/ui/src/components/molecules/Modal/index.js +2 -0
  350. package/dist/ui/src/components/molecules/Modal/index.js.map +1 -0
  351. package/dist/ui/src/components/molecules/Modal/useTrapFocus.d.ts +8 -0
  352. package/dist/ui/src/components/molecules/Modal/useTrapFocus.js +76 -0
  353. package/dist/ui/src/components/molecules/Modal/useTrapFocus.js.map +1 -0
  354. package/dist/ui/src/components/molecules/OrderSummary/OrderSummary.d.ts +35 -0
  355. package/dist/ui/src/components/molecules/OrderSummary/OrderSummary.js +16 -0
  356. package/dist/ui/src/components/molecules/OrderSummary/OrderSummary.js.map +1 -0
  357. package/dist/ui/src/components/molecules/OrderSummary/index.d.ts +2 -0
  358. package/dist/ui/src/components/molecules/OrderSummary/index.js +2 -0
  359. package/dist/ui/src/components/molecules/OrderSummary/index.js.map +1 -0
  360. package/dist/ui/src/components/molecules/PaymentMethods/PaymentMethods.d.ts +26 -0
  361. package/dist/ui/src/components/molecules/PaymentMethods/PaymentMethods.js +8 -0
  362. package/dist/ui/src/components/molecules/PaymentMethods/PaymentMethods.js.map +1 -0
  363. package/dist/ui/src/components/molecules/PaymentMethods/index.d.ts +2 -0
  364. package/dist/ui/src/components/molecules/PaymentMethods/index.js +2 -0
  365. package/dist/ui/src/components/molecules/PaymentMethods/index.js.map +1 -0
  366. package/dist/ui/src/components/molecules/PaymentMethods/stories/assets/Icons.d.ts +9 -0
  367. package/dist/ui/src/components/molecules/PaymentMethods/stories/assets/Icons.js +26 -0
  368. package/dist/ui/src/components/molecules/PaymentMethods/stories/assets/Icons.js.map +1 -0
  369. package/dist/ui/src/components/molecules/PriceRange/PriceRange.d.ts +47 -0
  370. package/dist/ui/src/components/molecules/PriceRange/PriceRange.js +28 -0
  371. package/dist/ui/src/components/molecules/PriceRange/PriceRange.js.map +1 -0
  372. package/dist/ui/src/components/molecules/PriceRange/index.d.ts +2 -0
  373. package/dist/ui/src/components/molecules/PriceRange/index.js +2 -0
  374. package/dist/ui/src/components/molecules/PriceRange/index.js.map +1 -0
  375. package/dist/ui/src/components/molecules/ProductCard/ProductCard.d.ts +11 -0
  376. package/dist/ui/src/components/molecules/ProductCard/ProductCard.js +6 -0
  377. package/dist/ui/src/components/molecules/ProductCard/ProductCard.js.map +1 -0
  378. package/dist/ui/src/components/molecules/ProductCard/ProductCardActions.d.ts +10 -0
  379. package/dist/ui/src/components/molecules/ProductCard/ProductCardActions.js +6 -0
  380. package/dist/ui/src/components/molecules/ProductCard/ProductCardActions.js.map +1 -0
  381. package/dist/ui/src/components/molecules/ProductCard/ProductCardContent.d.ts +10 -0
  382. package/dist/ui/src/components/molecules/ProductCard/ProductCardContent.js +6 -0
  383. package/dist/ui/src/components/molecules/ProductCard/ProductCardContent.js.map +1 -0
  384. package/dist/ui/src/components/molecules/ProductCard/ProductCardImage.d.ts +10 -0
  385. package/dist/ui/src/components/molecules/ProductCard/ProductCardImage.js +6 -0
  386. package/dist/ui/src/components/molecules/ProductCard/ProductCardImage.js.map +1 -0
  387. package/dist/ui/src/components/molecules/ProductCard/index.d.ts +8 -0
  388. package/dist/ui/src/components/molecules/ProductCard/index.js +5 -0
  389. package/dist/ui/src/components/molecules/ProductCard/index.js.map +1 -0
  390. package/dist/ui/src/components/molecules/ProductTitle/ProductTitle.d.ts +47 -0
  391. package/dist/ui/src/components/molecules/ProductTitle/ProductTitle.js +12 -0
  392. package/dist/ui/src/components/molecules/ProductTitle/ProductTitle.js.map +1 -0
  393. package/dist/ui/src/components/molecules/ProductTitle/index.d.ts +2 -0
  394. package/dist/ui/src/components/molecules/ProductTitle/index.js +2 -0
  395. package/dist/ui/src/components/molecules/ProductTitle/index.js.map +1 -0
  396. package/dist/ui/src/components/molecules/QuantitySelector/QuantitySelector.d.ts +29 -0
  397. package/dist/ui/src/components/molecules/QuantitySelector/QuantitySelector.js +10 -0
  398. package/dist/ui/src/components/molecules/QuantitySelector/QuantitySelector.js.map +1 -0
  399. package/dist/ui/src/components/molecules/QuantitySelector/index.d.ts +2 -0
  400. package/dist/ui/src/components/molecules/QuantitySelector/index.js +2 -0
  401. package/dist/ui/src/components/molecules/QuantitySelector/index.js.map +1 -0
  402. package/dist/ui/src/components/molecules/QuantitySelector/stories/assets/Icons.d.ts +7 -0
  403. package/dist/ui/src/components/molecules/QuantitySelector/stories/assets/Icons.js +11 -0
  404. package/dist/ui/src/components/molecules/QuantitySelector/stories/assets/Icons.js.map +1 -0
  405. package/dist/ui/src/components/molecules/RadioGroup/RadioGroup.d.ts +5 -0
  406. package/dist/ui/src/components/molecules/RadioGroup/RadioGroup.js +10 -0
  407. package/dist/ui/src/components/molecules/RadioGroup/RadioGroup.js.map +1 -0
  408. package/dist/ui/src/components/molecules/RadioGroup/RadioOption.d.ts +19 -0
  409. package/dist/ui/src/components/molecules/RadioGroup/RadioOption.js +11 -0
  410. package/dist/ui/src/components/molecules/RadioGroup/RadioOption.js.map +1 -0
  411. package/dist/ui/src/components/molecules/RadioGroup/index.d.ts +4 -0
  412. package/dist/ui/src/components/molecules/RadioGroup/index.js +3 -0
  413. package/dist/ui/src/components/molecules/RadioGroup/index.js.map +1 -0
  414. package/dist/ui/src/components/molecules/RadioGroup/useRadioGroup.d.ts +17 -0
  415. package/dist/ui/src/components/molecules/RadioGroup/useRadioGroup.js +10 -0
  416. package/dist/ui/src/components/molecules/RadioGroup/useRadioGroup.js.map +1 -0
  417. package/dist/ui/src/components/molecules/SearchInput/SearchInput.d.ts +28 -0
  418. package/dist/ui/src/components/molecules/SearchInput/SearchInput.js +26 -0
  419. package/dist/ui/src/components/molecules/SearchInput/SearchInput.js.map +1 -0
  420. package/dist/ui/src/components/molecules/SearchInput/index.d.ts +2 -0
  421. package/dist/ui/src/components/molecules/SearchInput/index.js +2 -0
  422. package/dist/ui/src/components/molecules/SearchInput/index.js.map +1 -0
  423. package/dist/ui/src/components/molecules/SearchInput/stories/assets/CustomIcon.d.ts +3 -0
  424. package/dist/ui/src/components/molecules/SearchInput/stories/assets/CustomIcon.js +7 -0
  425. package/dist/ui/src/components/molecules/SearchInput/stories/assets/CustomIcon.js.map +1 -0
  426. package/dist/ui/src/components/molecules/SkuSelector/SkuSelector.d.ts +58 -0
  427. package/dist/ui/src/components/molecules/SkuSelector/SkuSelector.js +16 -0
  428. package/dist/ui/src/components/molecules/SkuSelector/SkuSelector.js.map +1 -0
  429. package/dist/ui/src/components/molecules/SkuSelector/index.d.ts +2 -0
  430. package/dist/ui/src/components/molecules/SkuSelector/index.js +2 -0
  431. package/dist/ui/src/components/molecules/SkuSelector/index.js.map +1 -0
  432. package/dist/ui/src/components/molecules/Table/Table.d.ts +11 -0
  433. package/dist/ui/src/components/molecules/Table/Table.js +6 -0
  434. package/dist/ui/src/components/molecules/Table/Table.js.map +1 -0
  435. package/dist/ui/src/components/molecules/Table/TableBody.d.ts +11 -0
  436. package/dist/ui/src/components/molecules/Table/TableBody.js +6 -0
  437. package/dist/ui/src/components/molecules/Table/TableBody.js.map +1 -0
  438. package/dist/ui/src/components/molecules/Table/TableCell.d.ts +20 -0
  439. package/dist/ui/src/components/molecules/Table/TableCell.js +7 -0
  440. package/dist/ui/src/components/molecules/Table/TableCell.js.map +1 -0
  441. package/dist/ui/src/components/molecules/Table/TableFooter.d.ts +11 -0
  442. package/dist/ui/src/components/molecules/Table/TableFooter.js +6 -0
  443. package/dist/ui/src/components/molecules/Table/TableFooter.js.map +1 -0
  444. package/dist/ui/src/components/molecules/Table/TableHead.d.ts +11 -0
  445. package/dist/ui/src/components/molecules/Table/TableHead.js +6 -0
  446. package/dist/ui/src/components/molecules/Table/TableHead.js.map +1 -0
  447. package/dist/ui/src/components/molecules/Table/TableRow.d.ts +11 -0
  448. package/dist/ui/src/components/molecules/Table/TableRow.js +6 -0
  449. package/dist/ui/src/components/molecules/Table/TableRow.js.map +1 -0
  450. package/dist/ui/src/components/molecules/Table/index.d.ts +12 -0
  451. package/dist/ui/src/components/molecules/Table/index.js +7 -0
  452. package/dist/ui/src/components/molecules/Table/index.js.map +1 -0
  453. package/dist/ui/src/components/organisms/Hero/Hero.d.ts +11 -0
  454. package/dist/ui/src/components/organisms/Hero/Hero.js +6 -0
  455. package/dist/ui/src/components/organisms/Hero/Hero.js.map +1 -0
  456. package/dist/ui/src/components/organisms/Hero/HeroHeading.d.ts +10 -0
  457. package/dist/ui/src/components/organisms/Hero/HeroHeading.js +6 -0
  458. package/dist/ui/src/components/organisms/Hero/HeroHeading.js.map +1 -0
  459. package/dist/ui/src/components/organisms/Hero/HeroImage.d.ts +10 -0
  460. package/dist/ui/src/components/organisms/Hero/HeroImage.js +6 -0
  461. package/dist/ui/src/components/organisms/Hero/HeroImage.js.map +1 -0
  462. package/dist/ui/src/components/organisms/Hero/index.d.ts +6 -0
  463. package/dist/ui/src/components/organisms/Hero/index.js +4 -0
  464. package/dist/ui/src/components/organisms/Hero/index.js.map +1 -0
  465. package/dist/ui/src/components/organisms/OutOfStock/OutOfStock.d.ts +21 -0
  466. package/dist/ui/src/components/organisms/OutOfStock/OutOfStock.js +8 -0
  467. package/dist/ui/src/components/organisms/OutOfStock/OutOfStock.js.map +1 -0
  468. package/dist/ui/src/components/organisms/OutOfStock/OutOfStockMessage.d.ts +9 -0
  469. package/dist/ui/src/components/organisms/OutOfStock/OutOfStockMessage.js +5 -0
  470. package/dist/ui/src/components/organisms/OutOfStock/OutOfStockMessage.js.map +1 -0
  471. package/dist/ui/src/components/organisms/OutOfStock/OutOfStockTitle.d.ts +9 -0
  472. package/dist/ui/src/components/organisms/OutOfStock/OutOfStockTitle.js +5 -0
  473. package/dist/ui/src/components/organisms/OutOfStock/OutOfStockTitle.js.map +1 -0
  474. package/dist/ui/src/components/organisms/OutOfStock/index.d.ts +6 -0
  475. package/dist/ui/src/components/organisms/OutOfStock/index.js +4 -0
  476. package/dist/ui/src/components/organisms/OutOfStock/index.js.map +1 -0
  477. package/dist/ui/src/components/organisms/Tiles/Tile.d.ts +11 -0
  478. package/dist/ui/src/components/organisms/Tiles/Tile.js +6 -0
  479. package/dist/ui/src/components/organisms/Tiles/Tile.js.map +1 -0
  480. package/dist/ui/src/components/organisms/Tiles/Tiles.d.ts +11 -0
  481. package/dist/ui/src/components/organisms/Tiles/Tiles.js +30 -0
  482. package/dist/ui/src/components/organisms/Tiles/Tiles.js.map +1 -0
  483. package/dist/ui/src/components/organisms/Tiles/index.d.ts +4 -0
  484. package/dist/ui/src/components/organisms/Tiles/index.js +3 -0
  485. package/dist/ui/src/components/organisms/Tiles/index.js.map +1 -0
  486. package/dist/ui/src/hooks/useSlider/index.d.ts +2 -0
  487. package/dist/ui/src/hooks/useSlider/index.js +3 -0
  488. package/dist/ui/src/hooks/useSlider/index.js.map +1 -0
  489. package/dist/ui/src/hooks/useSlider/useSlider.d.ts +64 -0
  490. package/dist/ui/src/hooks/useSlider/useSlider.js +103 -0
  491. package/dist/ui/src/hooks/useSlider/useSlider.js.map +1 -0
  492. package/dist/ui/src/index.d.ts +75 -0
  493. package/dist/ui/src/index.js +43 -0
  494. package/dist/ui/src/index.js.map +1 -0
  495. package/dist/ui/src/typings/PolymorphicGenerics.d.ts +28 -0
  496. package/dist/ui/src/typings/PolymorphicGenerics.js +8 -0
  497. package/dist/ui/src/typings/PolymorphicGenerics.js.map +1 -0
  498. package/dist/ui/src/typings/index.d.ts +1 -0
  499. package/dist/ui/src/typings/index.js +2 -0
  500. package/dist/ui/src/typings/index.js.map +1 -0
  501. package/package.json +4 -5
  502. package/CHANGELOG.md +0 -2032
  503. package/LICENSE +0 -21
  504. package/dist/assets/ShoppingCart.d.ts +0 -3
  505. package/dist/assets/ShoppingCart.js +0 -10
  506. package/dist/assets/ShoppingCart.js.map +0 -1
  507. package/dist/assets/X.d.ts +0 -3
  508. package/dist/assets/X.js +0 -8
  509. package/dist/assets/X.js.map +0 -1
  510. package/dist/assets/index.d.ts +0 -2
  511. package/dist/assets/index.js +0 -3
  512. package/dist/assets/index.js.map +0 -1
  513. package/dist/components/atoms/Overlay/Overlay.js +0 -6
  514. package/dist/components/atoms/Overlay/Overlay.js.map +0 -1
  515. package/dist/components/atoms/Overlay/index.d.ts +0 -2
  516. package/dist/components/atoms/Overlay/index.js +0 -2
  517. package/dist/components/atoms/Overlay/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"LoadingButton.js","sourceRoot":"","sources":["../../../../src/components/molecules/LoadingButton/LoadingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAE9C,OAAO,OAAO,MAAM,qBAAqB,CAAA;AAazC,MAAM,aAAa,GAAG,UAAU,CAC9B,SAAS,aAAa,CACpB,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,GAAG,sBAAsB,EAAE,GAAG,UAAU,EAAE,EACrE,GAAG;IAEH,OAAO,CACL,oBAAC,MAAM,kBAAC,GAAG,EAAE,GAAG,kCAAyB,MAAM,EAAE,MAAM,IAAM,UAAU,GACpE,OAAO,CAAC,CAAC,CAAC,oBAAC,OAAO,OAAG,CAAC,CAAC,CAAC,QAAQ,CAC1B,CACV,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"LoadingButton.js","sourceRoot":"","sources":["../../../../src/components/molecules/LoadingButton/LoadingButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAE9C,OAAO,OAAO,MAAM,qBAAqB,CAAA;AAazC,MAAM,aAAa,GAAG,UAAU,CAC9B,SAAS,aAAa,CACpB,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,GAAG,sBAAsB,EAAE,GAAG,UAAU,EAAE,EACrE,GAAG;IAEH,OAAO,CACL,oBAAC,MAAM,IAAC,GAAG,EAAE,GAAG,kCAAyB,MAAM,EAAE,MAAM,KAAM,UAAU,IACpE,OAAO,CAAC,CAAC,CAAC,oBAAC,OAAO,OAAG,CAAC,CAAC,CAAC,QAAQ,CAC1B,CACV,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,aAAa,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { createPortal } from 'react-dom';
3
- import Overlay from '../../atoms/Overlay';
3
+ import { Overlay } from '@faststore/components';
4
4
  import ModalContent from './ModalContent';
5
5
  /*
6
6
  * This component is based on @reach/dialog.
@@ -23,8 +23,8 @@ const Modal = ({ isOpen, children, onDismiss, testId = 'store-modal', ...otherPr
23
23
  onDismiss?.(event);
24
24
  };
25
25
  return isOpen
26
- ? createPortal(React.createElement(Overlay, { "data-modal-overlay": true, onClick: handleBackdropClick, onKeyDown: handleBackdropKeyDown },
27
- React.createElement(ModalContent, Object.assign({}, otherProps, { testId: testId }), children)), document.body)
26
+ ? createPortal(React.createElement(Overlay, { onClick: handleBackdropClick, onKeyDown: handleBackdropKeyDown },
27
+ React.createElement(ModalContent, { ...otherProps, testId: testId }, children)), document.body)
28
28
  : null;
29
29
  };
30
30
  export default Modal;
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.js","sourceRoot":"","sources":["../../../../src/components/molecules/Modal/Modal.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,WAA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AIG;AAEH,MAAM,KAAK,GAAG,CAAC,EACb,MAAM,EACN,QAAQ,EACR,SAAS,EACT,MAAM,GAAG,aAAa,EACtB,GAAG,UAAU,EACiB,EAAE,EAAE;IAClC,MAAM,mBAAmB,GAAG,CAAC,KAAiB,EAAE,EAAE;QAChD,IAAI,KAAK,CAAC,gBAAgB,EAAE;YAC1B,OAAM;SACP;QAED,KAAK,CAAC,eAAe,EAAE,CAAA;QACvB,SAAS,EAAE,CAAC,KAAK,CAAC,CAAA;IACpB,CAAC,CAAA;IAED,MAAM,qBAAqB,GAAG,CAAC,KAAoB,EAAE,EAAE;QACrD,IAAI,KAAK,CAAC,GAAG,KAAK,QAAQ,IAAI,KAAK,CAAC,gBAAgB,EAAE;YACpD,OAAM;SACP;QAED,KAAK,CAAC,eAAe,EAAE,CAAA;QACvB,SAAS,EAAE,CAAC,KAAK,CAAC,CAAA;IACpB,CAAC,CAAA;IAED,OAAO,MAAM;QACX,CAAC,CAAC,YAAY,CACV,oBAAC,OAAO,IACN,OAAO,EAAE,mBAAmB,EAC5B,SAAS,EAAE,qBAAqB;YAEhC,oBAAC,YAAY,OAAK,UAAU,EAAE,MAAM,EAAE,MAAM,IACzC,QAAQ,CACI,CACP,EACV,QAAQ,CAAC,IAAI,CACd;QACH,CAAC,CAAC,IAAI,CAAA;AACV,CAAC,CAAA;AAED,eAAe,KAAK,CAAA"}
@@ -5,6 +5,6 @@ interface ModalContentPureProps extends Omit<DetailedHTMLProps<HTMLAttributes<HT
5
5
  afterElementRef: RefObject<HTMLDivElement>;
6
6
  testId?: string;
7
7
  }
8
- export declare type ModalContentProps = Omit<ModalContentPureProps, 'trapFocusRef' | 'onClick' | 'beforeElementRef' | 'afterElementRef'>;
8
+ export type ModalContentProps = Omit<ModalContentPureProps, 'trapFocusRef' | 'onClick' | 'beforeElementRef' | 'afterElementRef'>;
9
9
  declare const ModalContent: ({ children, ...otherProps }: ModalContentProps) => JSX.Element;
10
10
  export default ModalContent;
@@ -3,7 +3,7 @@ import useTrapFocus from './useTrapFocus';
3
3
  const ModalContentPure = ({ beforeElementRef, trapFocusRef, afterElementRef, testId = 'store-modal-content', children, ...otherProps }) => {
4
4
  return (React.createElement(React.Fragment, null,
5
5
  React.createElement("div", { ref: beforeElementRef, "data-testid": "beforeElement", tabIndex: 0, "aria-hidden": "true" }),
6
- React.createElement("div", Object.assign({ "data-fs-modal-content": true, "data-testid": testId, ref: trapFocusRef, "aria-modal": "true", role: "dialog", tabIndex: -1 }, otherProps), children),
6
+ React.createElement("div", { "data-fs-modal-content": true, "data-testid": testId, ref: trapFocusRef, "aria-modal": "true", role: "dialog", tabIndex: -1, ...otherProps }, children),
7
7
  React.createElement("div", { ref: afterElementRef, "data-testid": "afterElement", tabIndex: 0, "aria-hidden": "true" })));
8
8
  };
9
9
  const ModalContent = ({ children, ...otherProps }) => {
@@ -15,9 +15,9 @@ const ModalContent = ({ children, ...otherProps }) => {
15
15
  trapFocusRef,
16
16
  afterElementRef,
17
17
  });
18
- return (React.createElement(ModalContentPure, Object.assign({}, otherProps, { trapFocusRef: trapFocusRef, beforeElementRef: beforeElementRef, afterElementRef: afterElementRef, onClick: (event) => {
18
+ return (React.createElement(ModalContentPure, { ...otherProps, trapFocusRef: trapFocusRef, beforeElementRef: beforeElementRef, afterElementRef: afterElementRef, onClick: (event) => {
19
19
  event.stopPropagation();
20
- } }), children));
20
+ } }, children));
21
21
  };
22
22
  export default ModalContent;
23
23
  //# sourceMappingURL=ModalContent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ModalContent.js","sourceRoot":"","sources":["../../../../src/components/molecules/Modal/ModalContent.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAErC,OAAO,YAAY,MAAM,gBAAgB,CAAA;AAazC,MAAM,gBAAgB,GAAG,CAAC,EACxB,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,MAAM,GAAG,qBAAqB,EAC9B,QAAQ,EACR,GAAG,UAAU,EACS,EAAE,EAAE;IAC1B,OAAO,CACL;QACE,6BACE,GAAG,EAAE,gBAAgB,iBACT,eAAe,EAC3B,QAAQ,EAAE,CAAC,iBACC,MAAM,GAClB;QACF,yFAEe,MAAM,EACnB,GAAG,EAAE,YAAY,gBACN,MAAM,EACjB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,CAAC,IACR,UAAU,GAEb,QAAQ,CACL;QACN,6BACE,GAAG,EAAE,eAAe,iBACR,cAAc,EAC1B,QAAQ,EAAE,CAAC,iBACC,MAAM,GAClB,CACD,CACJ,CAAA;AACH,CAAC,CAAA;AAOD,MAAM,YAAY,GAAG,CAAC,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAqB,EAAE,EAAE;IACtE,MAAM,YAAY,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAA;IACjD,MAAM,gBAAgB,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAA;IACrD,MAAM,eAAe,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAA;IAEpD,YAAY,CAAC;QACX,gBAAgB;QAChB,YAAY;QACZ,eAAe;KAChB,CAAC,CAAA;IAEF,OAAO,CACL,oBAAC,gBAAgB,oBACX,UAAU,IACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,CAAC,KAAiB,EAAE,EAAE;YAC7B,KAAK,CAAC,eAAe,EAAE,CAAA;QACzB,CAAC,KAEA,QAAQ,CACQ,CACpB,CAAA;AACH,CAAC,CAAA;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"ModalContent.js","sourceRoot":"","sources":["../../../../src/components/molecules/Modal/ModalContent.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAErC,OAAO,YAAY,MAAM,gBAAgB,CAAA;AAazC,MAAM,gBAAgB,GAAG,CAAC,EACxB,gBAAgB,EAChB,YAAY,EACZ,eAAe,EACf,MAAM,GAAG,qBAAqB,EAC9B,QAAQ,EACR,GAAG,UAAU,EACS,EAAE,EAAE;IAC1B,OAAO,CACL;QACE,6BACE,GAAG,EAAE,gBAAgB,iBACT,eAAe,EAC3B,QAAQ,EAAE,CAAC,iBACC,MAAM,GAClB;QACF,2EAEe,MAAM,EACnB,GAAG,EAAE,YAAY,gBACN,MAAM,EACjB,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,CAAC,CAAC,KACR,UAAU,IAEb,QAAQ,CACL;QACN,6BACE,GAAG,EAAE,eAAe,iBACR,cAAc,EAC1B,QAAQ,EAAE,CAAC,iBACC,MAAM,GAClB,CACD,CACJ,CAAA;AACH,CAAC,CAAA;AAOD,MAAM,YAAY,GAAG,CAAC,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAqB,EAAE,EAAE;IACtE,MAAM,YAAY,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAA;IACjD,MAAM,gBAAgB,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAA;IACrD,MAAM,eAAe,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAA;IAEpD,YAAY,CAAC;QACX,gBAAgB;QAChB,YAAY;QACZ,eAAe;KAChB,CAAC,CAAA;IAEF,OAAO,CACL,oBAAC,gBAAgB,OACX,UAAU,EACd,YAAY,EAAE,YAAY,EAC1B,gBAAgB,EAAE,gBAAgB,EAClC,eAAe,EAAE,eAAe,EAChC,OAAO,EAAE,CAAC,KAAiB,EAAE,EAAE;YAC7B,KAAK,CAAC,eAAe,EAAE,CAAA;QACzB,CAAC,IAEA,QAAQ,CACQ,CACpB,CAAA;AACH,CAAC,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { ListProps } from '../../atoms/List';
3
- export interface OrderSummaryProps<T = HTMLElement> extends Omit<ListProps<T>, 'variant'> {
2
+ import type { HTMLAttributes } from 'react';
3
+ export interface OrderSummaryProps extends HTMLAttributes<HTMLUListElement> {
4
4
  /**
5
5
  * ID to find this component in testing tools (e.g.: cypress,
6
6
  * testing-library, and jest).
@@ -31,5 +31,5 @@ export interface OrderSummaryProps<T = HTMLElement> extends Omit<ListProps<T>, '
31
31
  */
32
32
  totalValue?: string;
33
33
  }
34
- declare const OrderSummary: React.ForwardRefExoticComponent<OrderSummaryProps<HTMLElement> & React.RefAttributes<HTMLUListElement>>;
34
+ declare const OrderSummary: React.ForwardRefExoticComponent<OrderSummaryProps & React.RefAttributes<HTMLUListElement>>;
35
35
  export default OrderSummary;
@@ -1,7 +1,7 @@
1
1
  import React, { forwardRef } from 'react';
2
- import List from '../../atoms/List';
3
- const OrderSummary = forwardRef(function OrderSummary({ testId = 'store-order-summary', children, subtotalLabel, subtotalValue, discountLabel, discountValue, totalLabel, totalValue, ...otherProps }, ref) {
4
- return (React.createElement(List, Object.assign({ ref: ref, "data-fs-order-summary": true, "data-testid": testId }, otherProps),
2
+ import { List } from '@faststore/components';
3
+ const OrderSummary = forwardRef(function OrderSummary({ testId = 'store-order-summary', subtotalLabel, subtotalValue, discountLabel, discountValue, totalLabel, totalValue, ...otherProps }, ref) {
4
+ return (React.createElement(List, { ref: ref, "data-fs-order-summary": true, "data-testid": testId, ...otherProps },
5
5
  subtotalValue ? (React.createElement("li", { "data-fs-order-summary-subtotal": true },
6
6
  React.createElement("span", { "data-fs-order-summary-subtotal-label": true, "data-testid": `${testId}-subtotal-label` }, subtotalLabel),
7
7
  React.createElement("span", { "data-fs-order-summary-subtotal-value": true, "data-testid": `${testId}-subtotal-value` }, subtotalValue))) : null,
@@ -1 +1 @@
1
- {"version":3,"file":"OrderSummary.js","sourceRoot":"","sources":["../../../../src/components/molecules/OrderSummary/OrderSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,IAAmB,MAAM,kBAAkB,CAAA;AAkClD,MAAM,YAAY,GAAG,UAAU,CAC7B,SAAS,YAAY,CACnB,EACE,MAAM,GAAG,qBAAqB,EAC9B,QAAQ,EACR,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACV,UAAU,EACV,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,oBAAC,IAAI,kBACH,GAAG,EAAE,GAAG,gDAEK,MAAM,IACf,UAAU;QAEb,aAAa,CAAC,CAAC,CAAC,CACf;YACE,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT;YACP,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT,CACJ,CACN,CAAC,CAAC,CAAC,IAAI;QACP,aAAa,CAAC,CAAC,CAAC,CACf;YACE,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT;YACP,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT,CACJ,CACN,CAAC,CAAC,CAAC,IAAI;QACR;YACE,wFAEe,GAAG,MAAM,cAAc,IAEnC,UAAU,CACN;YACP,wFAEe,GAAG,MAAM,cAAc,IAEnC,UAAU,CACN,CACJ,CACA,CACR,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,YAAY,CAAA"}
1
+ {"version":3,"file":"OrderSummary.js","sourceRoot":"","sources":["../../../../src/components/molecules/OrderSummary/OrderSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAkC5C,MAAM,YAAY,GAAG,UAAU,CAC7B,SAAS,YAAY,CACnB,EACE,MAAM,GAAG,qBAAqB,EAC9B,aAAa,EACb,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACV,UAAU,EACV,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,oBAAC,IAAI,IACH,GAAG,EAAE,GAAG,gDAEK,MAAM,KACf,UAAU;QAEb,aAAa,CAAC,CAAC,CAAC,CACf;YACE,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT;YACP,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT,CACJ,CACN,CAAC,CAAC,CAAC,IAAI;QACP,aAAa,CAAC,CAAC,CAAC,CACf;YACE,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT;YACP,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT,CACJ,CACN,CAAC,CAAC,CAAC,IAAI;QACR;YACE,wFAEe,GAAG,MAAM,cAAc,IAEnC,UAAU,CACN;YACP,wFAEe,GAAG,MAAM,cAAc,IAEnC,UAAU,CACN,CACJ,CACA,CACR,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  const PaymentMethods = forwardRef(function PaymentMethods({ testId = 'store-payment-methods', title, 'aria-label': ariaLabel = 'Payment Methods', children, ...otherProps }, ref) {
3
- return (React.createElement("div", Object.assign({ ref: ref, "data-fs-payment-methods": true, "data-testid": testId }, otherProps),
3
+ return (React.createElement("div", { ref: ref, "data-fs-payment-methods": true, "data-testid": testId, ...otherProps },
4
4
  !!title && React.createElement("div", null, title),
5
5
  React.createElement("div", { "data-payment-methods-flags": true, "aria-label": title ? undefined : ariaLabel }, children)));
6
6
  });
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentMethods.js","sourceRoot":"","sources":["../../../../src/components/molecules/PaymentMethods/PaymentMethods.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAyBzC,MAAM,cAAc,GAAG,UAAU,CAC/B,SAAS,cAAc,CACrB,EACE,MAAM,GAAG,uBAAuB,EAChC,KAAK,EACL,YAAY,EAAE,SAAS,GAAG,iBAAiB,EAC3C,QAAQ,EACR,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,2CACE,GAAG,EAAE,GAAG,kDAEK,MAAM,IACf,UAAU;QAEb,CAAC,CAAC,KAAK,IAAI,iCAAM,KAAK,CAAO;QAC9B,+EAEc,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,IAExC,QAAQ,CACL,CACF,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,cAAc,CAAA"}
1
+ {"version":3,"file":"PaymentMethods.js","sourceRoot":"","sources":["../../../../src/components/molecules/PaymentMethods/PaymentMethods.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAyBzC,MAAM,cAAc,GAAG,UAAU,CAC/B,SAAS,cAAc,CACrB,EACE,MAAM,GAAG,uBAAuB,EAChC,KAAK,EACL,YAAY,EAAE,SAAS,GAAG,iBAAiB,EAC3C,QAAQ,EACR,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,6BACE,GAAG,EAAE,GAAG,kDAEK,MAAM,KACf,UAAU;QAEb,CAAC,CAAC,KAAK,IAAI,iCAAM,KAAK,CAAO;QAC9B,+EAEc,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,IAExC,QAAQ,CACL,CACF,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,cAAc,CAAA"}
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  import type { AriaAttributes } from 'react';
3
- import type { PriceProps } from '../../atoms/Price';
3
+ import type { PriceProps } from '@faststore/components';
4
4
  import type { SliderProps } from '../../atoms/Slider';
5
- export declare type PriceRangeProps = SliderProps & {
5
+ export type PriceRangeProps = SliderProps & {
6
6
  /**
7
7
  * The current use case variant for prices.
8
8
  */
@@ -20,7 +20,7 @@ export declare type PriceRangeProps = SliderProps & {
20
20
  */
21
21
  'aria-label'?: AriaAttributes['aria-label'];
22
22
  };
23
- declare type PriceRangeRefType = {
23
+ type PriceRangeRefType = {
24
24
  setPriceRangeValues: (values: {
25
25
  min: number;
26
26
  max: number;
@@ -1,5 +1,5 @@
1
1
  import React, { useRef, useImperativeHandle, forwardRef } from 'react';
2
- import Price from '../../atoms/Price';
2
+ import { Price } from '@faststore/components';
3
3
  import Slider from '../../atoms/Slider';
4
4
  const PriceRange = forwardRef(function PriceRange({ className, formatter, max, min, step, onChange, onEnd, testId = 'store-price-range', variant, 'aria-label': ariaLabel, }, ref) {
5
5
  const sliderRef = useRef();
@@ -1 +1 @@
1
- {"version":3,"file":"PriceRange.js","sourceRoot":"","sources":["../../../../src/components/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,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AAsB,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,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
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));
3
+ return (React.createElement("article", { ref: ref, "data-fs-product-card": true, "data-testid": testId, ...otherProps }, children));
4
4
  });
5
5
  export default ProductCard;
6
6
  //# sourceMappingURL=ProductCard.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCard.js","sourceRoot":"","sources":["../../../../src/components/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
+ {"version":3,"file":"ProductCard.js","sourceRoot":"","sources":["../../../../src/components/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,iCACE,GAAG,EAAE,GAAG,+CAEK,MAAM,KACf,UAAU,IAEb,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,WAAW,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
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));
3
+ return (React.createElement("div", { ref: ref, "data-product-card-actions": true, "data-testid": testId, ...otherProps }, children));
4
4
  });
5
5
  export default ProductCardActions;
6
6
  //# sourceMappingURL=ProductCardActions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCardActions.js","sourceRoot":"","sources":["../../../../src/components/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
+ {"version":3,"file":"ProductCardActions.js","sourceRoot":"","sources":["../../../../src/components/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,6BACE,GAAG,EAAE,GAAG,oDAEK,MAAM,KACf,UAAU,IAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,kBAAkB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
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));
3
+ return (React.createElement("section", { ref: ref, "data-product-card-content": true, "data-testid": testId, ...otherProps }, children));
4
4
  });
5
5
  export default ProductCardContent;
6
6
  //# sourceMappingURL=ProductCardContent.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCardContent.js","sourceRoot":"","sources":["../../../../src/components/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
+ {"version":3,"file":"ProductCardContent.js","sourceRoot":"","sources":["../../../../src/components/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,iCACE,GAAG,EAAE,GAAG,oDAEK,MAAM,KACf,UAAU,IAEb,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,kBAAkB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
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));
3
+ return (React.createElement("div", { ref: ref, "data-product-card-image": true, "data-testid": testId, ...otherProps }, children));
4
4
  });
5
5
  export default ProductCardImage;
6
6
  //# sourceMappingURL=ProductCardImage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProductCardImage.js","sourceRoot":"","sources":["../../../../src/components/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
+ {"version":3,"file":"ProductCardImage.js","sourceRoot":"","sources":["../../../../src/components/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,6BACE,GAAG,EAAE,GAAG,kDAEK,MAAM,KACf,UAAU,IAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React, { HTMLAttributes } from 'react';
2
2
  import type { ReactNode } from 'react';
3
- export declare type ProductTitleProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
3
+ export type ProductTitleProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
4
4
  /**
5
5
  * A react component to be used as the product title, e.g. a `h1`
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
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),
3
+ return (React.createElement("header", { ref: ref, "data-fs-product-title": true, "data-testid": testId, ...otherProps },
4
4
  React.createElement("div", { "data-fs-product-title-header": true },
5
5
  title,
6
6
  !!label && label),
@@ -1 +1 @@
1
- {"version":3,"file":"ProductTitle.js","sourceRoot":"","sources":["../../../../src/components/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
+ {"version":3,"file":"ProductTitle.js","sourceRoot":"","sources":["../../../../src/components/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,gCAAQ,GAAG,EAAE,GAAG,gDAAqC,MAAM,KAAM,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,7 +1,6 @@
1
1
  import type { InputHTMLAttributes } from 'react';
2
2
  import React from 'react';
3
- import type { InputProps } from '../../atoms/Input';
4
- import type { IconButtonProps } from '../../../index';
3
+ import type { IconButtonProps, InputProps } from '@faststore/components';
5
4
  export interface QuantitySelectorProps extends InputHTMLAttributes<HTMLDivElement> {
6
5
  /**
7
6
  * Sets the current value that should be displayed on the input at the center of the quantity selector.
@@ -1,11 +1,10 @@
1
1
  import React, { forwardRef } from 'react';
2
- import Input from '../../atoms/Input';
3
- import { IconButton } from '../../../index';
2
+ import { IconButton, Input } from '@faststore/components';
4
3
  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))));
4
+ return (React.createElement("div", { "data-fs-quantity-selector": true, "data-testid": testId, ref: ref, ...otherProps },
5
+ React.createElement(IconButton, { "aria-controls": "quantity-selector-input", "aria-label": "Decrement Quantity", "data-quantity-selector-button": "left", ...leftButtonProps }),
6
+ React.createElement(Input, { "aria-label": "Quantity", "data-quantity-selector-input": true, id: "quantity-selector-input", value: quantity, ...inputProps }),
7
+ React.createElement(IconButton, { "aria-controls": "quantity-selector-input", "aria-label": "Increment Quantity", "data-quantity-selector-button": "right", ...rightButtonProps })));
9
8
  });
10
9
  export default QuantitySelector;
11
10
  //# sourceMappingURL=QuantitySelector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuantitySelector.js","sourceRoot":"","sources":["../../../../src/components/molecules/QuantitySelector/QuantitySelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,KAAK,MAAM,mBAAmB,CAAA;AAErC,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAgC3C,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
+ {"version":3,"file":"QuantitySelector.js","sourceRoot":"","sources":["../../../../src/components/molecules/QuantitySelector/QuantitySelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAgCzD,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,+EAEe,MAAM,EACnB,GAAG,EAAE,GAAG,KACJ,UAAU;QAEd,oBAAC,UAAU,qBACK,yBAAyB,gBAC5B,oBAAoB,mCACD,MAAM,KAChC,eAAe,GACnB;QACF,oBAAC,KAAK,kBACO,UAAU,wCAErB,EAAE,EAAC,yBAAyB,EAC5B,KAAK,EAAE,QAAQ,KACX,UAAU,GACd;QACF,oBAAC,UAAU,qBACK,yBAAyB,gBAC5B,oBAAoB,mCACD,OAAO,KACjC,gBAAgB,GACpB,CACE,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { PropsWithChildren } from 'react';
2
2
  import { RadioGroupContext } from './useRadioGroup';
3
- export declare type RadioGroupProps = PropsWithChildren<RadioGroupContext>;
3
+ export type RadioGroupProps = PropsWithChildren<RadioGroupContext>;
4
4
  declare const RadioGroup: ({ name, onChange, children, selectedValue, }: RadioGroupProps) => JSX.Element;
5
5
  export default RadioGroup;
@@ -4,7 +4,7 @@ import { useRadioGroup } from './useRadioGroup';
4
4
  const RadioOption = forwardRef(function RadioOption({ label, value, children, testId = 'store-radio-option', ...otherProps }, ref) {
5
5
  const { name, selectedValue, onChange } = useRadioGroup();
6
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)),
7
+ React.createElement(Radio, { "data-fs-radio-option-item": true, ref: ref, name: name, checked: value === selectedValue, onChange: onChange, value: value, testId: testId, ...otherProps }),
8
8
  children));
9
9
  });
10
10
  export default RadioOption;
@@ -1 +1 @@
1
- {"version":3,"file":"RadioOption.js","sourceRoot":"","sources":["../../../../src/components/molecules/RadioGroup/RadioOption.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,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
+ {"version":3,"file":"RadioOption.js","sourceRoot":"","sources":["../../../../src/components/molecules/RadioGroup/RadioOption.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,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,uCAEJ,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,KACV,UAAU,GACd;QACD,QAAQ,CACH,CACT,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import type { AriaAttributes, InputHTMLAttributes, ReactNode } from 'react';
2
2
  import React from 'react';
3
- declare type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'onSubmit'>;
3
+ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'onSubmit'>;
4
4
  export interface SearchInputProps extends InputProps {
5
5
  /**
6
6
  * Callback function when submitted.
@@ -1,6 +1,5 @@
1
1
  import React, { forwardRef, useImperativeHandle, useRef } from 'react';
2
- import { Icon, Button } from '@faststore/components';
3
- import Input from '../../atoms/Input';
2
+ import { Icon, Button, Input } from '@faststore/components';
4
3
  import Form from '../Form';
5
4
  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" },
6
5
  React.createElement("circle", { cx: "11", cy: "11", r: "8" }),
@@ -19,7 +18,7 @@ const SearchInput = forwardRef(function SearchInput({ onSubmit, icon, 'aria-labe
19
18
  formRef: formRef.current,
20
19
  }));
21
20
  return (React.createElement(Form, { ref: formRef, "data-fs-search-input-form": true, "data-testid": testId, onSubmit: handleSubmit, role: "search" },
22
- React.createElement(Input, Object.assign({ ref: inputRef, "aria-label": ariaLabel }, otherProps)),
21
+ React.createElement(Input, { ref: inputRef, "aria-label": ariaLabel, ...otherProps }),
23
22
  React.createElement(Button, { type: "submit", "aria-label": "Submit Search" },
24
23
  React.createElement(Icon, { component: icon ?? React.createElement(SearchIcon, null) }))));
25
24
  });
@@ -1 +1 @@
1
- {"version":3,"file":"SearchInput.js","sourceRoot":"","sources":["../../../../src/components/molecules/SearchInput/SearchInput.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,OAAO,CAAA;AAEtE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AACpD,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,gCA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O,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,IAAC,GAAG,EAAE,QAAQ,gBAAc,SAAS,KAAM,UAAU,GAAI;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"}
@@ -22,7 +22,7 @@ interface SkuProps {
22
22
  */
23
23
  disabled?: boolean;
24
24
  }
25
- declare type Variant = 'label' | 'image';
25
+ type Variant = 'label' | 'image';
26
26
  export interface SkuSelectorProps extends HTMLAttributes<HTMLDivElement> {
27
27
  /**
28
28
  * ID to find this component in testing tools (e.g.: cypress,
@@ -3,7 +3,7 @@ import { Label } from '@faststore/components';
3
3
  import RadioGroup from '../RadioGroup';
4
4
  const SkuSelector = forwardRef(function SkuSelector({ id, label, variant, onChange, testId = 'store-sku-selector', activeValue, children, ...otherProps }, ref) {
5
5
  const radioGroupId = id ? `-${id}` : '';
6
- return (React.createElement("div", Object.assign({ ref: ref, "data-fs-sku-selector": true, "data-testid": testId, "data-fs-sku-selector-variant": variant }, otherProps),
6
+ return (React.createElement("div", { ref: ref, "data-fs-sku-selector": true, "data-testid": testId, "data-fs-sku-selector-variant": variant, ...otherProps },
7
7
  label && (React.createElement(Label, { "data-fs-sku-selector-title": true },
8
8
  label,
9
9
  ": ",
@@ -1 +1 @@
1
- {"version":3,"file":"SkuSelector.js","sourceRoot":"","sources":["../../../../src/components/molecules/SkuSelector/SkuSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,OAAO,UAAU,MAAM,eAAe,CAAA;AA4DtC,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EACE,EAAE,EACF,KAAK,EACL,OAAO,EACP,QAAQ,EACR,MAAM,GAAG,oBAAoB,EAC7B,WAAW,EACX,QAAQ,EACR,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,YAAY,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAA;IAEvC,OAAO,CACL,2CACE,GAAG,EAAE,GAAG,+CAEK,MAAM,kCACW,OAAO,IACjC,UAAU;QAEb,KAAK,IAAI,CACR,oBAAC,KAAK;YACH,KAAK;;YAAG,oCAAS,WAAW,CAAU,CACjC,CACT;QACD,oBAAC,UAAU,IACT,aAAa,EAAE,WAAW,EAC1B,IAAI,EAAE,gBAAgB,OAAO,GAAG,YAAY,EAAE,EAC9C,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;gBACd,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAA;YACf,CAAC,IAEA,QAAQ,CACE,CACT,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"SkuSelector.js","sourceRoot":"","sources":["../../../../src/components/molecules/SkuSelector/SkuSelector.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC7C,OAAO,UAAU,MAAM,eAAe,CAAA;AA4DtC,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EACE,EAAE,EACF,KAAK,EACL,OAAO,EACP,QAAQ,EACR,MAAM,GAAG,oBAAoB,EAC7B,WAAW,EACX,QAAQ,EACR,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,YAAY,GAAG,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,CAAA;IAEvC,OAAO,CACL,6BACE,GAAG,EAAE,GAAG,+CAEK,MAAM,kCACW,OAAO,KACjC,UAAU;QAEb,KAAK,IAAI,CACR,oBAAC,KAAK;YACH,KAAK;;YAAG,oCAAS,WAAW,CAAU,CACjC,CACT;QACD,oBAAC,UAAU,IACT,aAAa,EAAE,WAAW,EAC1B,IAAI,EAAE,gBAAgB,OAAO,GAAG,YAAY,EAAE,EAC9C,QAAQ,EAAE,CAAC,CAAC,EAAE,EAAE;gBACd,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAA;YACf,CAAC,IAEA,QAAQ,CACE,CACT,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ReactNode, FormHTMLAttributes } from 'react';
3
- export declare type OutOfStockBaseProps = {
3
+ export type OutOfStockBaseProps = {
4
4
  /**
5
5
  * ID to find this component in testing tools (e.g.: cypress,
6
6
  * testing-library, and jest).
@@ -11,7 +11,7 @@ export declare type OutOfStockBaseProps = {
11
11
  */
12
12
  children: string | ReactNode;
13
13
  };
14
- export declare type OutOfStockProps = OutOfStockBaseProps & {
14
+ export type OutOfStockProps = OutOfStockBaseProps & {
15
15
  /**
16
16
  * Event emitted when form is submitted.
17
17
  */
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import Form from '../../molecules/Form';
3
3
  const OutOfStock = ({ testId = 'store-out-of-stock', children, ...otherProps }) => {
4
4
  return (React.createElement("section", { "data-fs-out-of-stock": true, "data-testid": testId },
5
- React.createElement(Form, Object.assign({ "data-out-of-stock-form": true, testId: `${testId}-form` }, otherProps), children)));
5
+ React.createElement(Form, { "data-out-of-stock-form": true, testId: `${testId}-form`, ...otherProps }, children)));
6
6
  };
7
7
  export default OutOfStock;
8
8
  //# sourceMappingURL=OutOfStock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OutOfStock.js","sourceRoot":"","sources":["../../../../src/components/organisms/OutOfStock/OutOfStock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,IAAI,MAAM,sBAAsB,CAAA;AAqBvC,MAAM,UAAU,GAAG,CAAC,EAClB,MAAM,GAAG,oBAAoB,EAC7B,QAAQ,EACR,GAAG,UAAU,EACG,EAAE,EAAE;IACpB,OAAO,CACL,8EAA2C,MAAM;QAC/C,oBAAC,IAAI,kDAAwB,MAAM,EAAE,GAAG,MAAM,OAAO,IAAM,UAAU,GAClE,QAAQ,CACJ,CACC,CACX,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"OutOfStock.js","sourceRoot":"","sources":["../../../../src/components/organisms/OutOfStock/OutOfStock.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,IAAI,MAAM,sBAAsB,CAAA;AAqBvC,MAAM,UAAU,GAAG,CAAC,EAClB,MAAM,GAAG,oBAAoB,EAC7B,QAAQ,EACR,GAAG,UAAU,EACG,EAAE,EAAE;IACpB,OAAO,CACL,8EAA2C,MAAM;QAC/C,oBAAC,IAAI,oCAAwB,MAAM,EAAE,GAAG,MAAM,OAAO,KAAM,UAAU,IAClE,QAAQ,CACJ,CACC,CACX,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { OutOfStockBaseProps } from './OutOfStock';
3
- export declare type OutOfStockMessageProps = {
3
+ export type OutOfStockMessageProps = {
4
4
  /**
5
5
  * Attribute used for polymorphic component.
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  export const OutOfStockMessage = ({ as: MessageComponent = 'p', testId = 'store-out-of-stock-message', children, ...otherProps }) => {
3
- return (React.createElement(MessageComponent, Object.assign({ "data-out-of-stock-message": true, "data-testid": testId }, otherProps), children));
3
+ return (React.createElement(MessageComponent, { "data-out-of-stock-message": true, "data-testid": testId, ...otherProps }, children));
4
4
  };
5
5
  //# sourceMappingURL=OutOfStockMessage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OutOfStockMessage.js","sourceRoot":"","sources":["../../../../src/components/organisms/OutOfStock/OutOfStockMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAChC,EAAE,EAAE,gBAAgB,GAAG,GAAG,EAC1B,MAAM,GAAG,4BAA4B,EACrC,QAAQ,EACR,GAAG,UAAU,EACU,EAAE,EAAE;IAC3B,OAAO,CACL,oBAAC,gBAAgB,oEAEF,MAAM,IACf,UAAU,GAEb,QAAQ,CACQ,CACpB,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"OutOfStockMessage.js","sourceRoot":"","sources":["../../../../src/components/organisms/OutOfStock/OutOfStockMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,EAChC,EAAE,EAAE,gBAAgB,GAAG,GAAG,EAC1B,MAAM,GAAG,4BAA4B,EACrC,QAAQ,EACR,GAAG,UAAU,EACU,EAAE,EAAE;IAC3B,OAAO,CACL,oBAAC,gBAAgB,sDAEF,MAAM,KACf,UAAU,IAEb,QAAQ,CACQ,CACpB,CAAA;AACH,CAAC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { OutOfStockBaseProps } from './OutOfStock';
3
- export declare type OutOfStockTitleProps = {
3
+ export type OutOfStockTitleProps = {
4
4
  /**
5
5
  * Attribute used for polymorphic component.
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  export const OutOfStockTitle = ({ as: TitleComponent = 'h2', testId = 'store-out-of-stock-title', children, ...otherProps }) => {
3
- return (React.createElement(TitleComponent, Object.assign({ "data-out-of-stock-title": true, "data-testid": testId }, otherProps), children));
3
+ return (React.createElement(TitleComponent, { "data-out-of-stock-title": true, "data-testid": testId, ...otherProps }, children));
4
4
  };
5
5
  //# sourceMappingURL=OutOfStockTitle.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"OutOfStockTitle.js","sourceRoot":"","sources":["../../../../src/components/organisms/OutOfStock/OutOfStockTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC9B,EAAE,EAAE,cAAc,GAAG,IAAI,EACzB,MAAM,GAAG,0BAA0B,EACnC,QAAQ,EACR,GAAG,UAAU,EACQ,EAAE,EAAE;IACzB,OAAO,CACL,oBAAC,cAAc,kEAEA,MAAM,IACf,UAAU,GAEb,QAAQ,CACM,CAClB,CAAA;AACH,CAAC,CAAA"}
1
+ {"version":3,"file":"OutOfStockTitle.js","sourceRoot":"","sources":["../../../../src/components/organisms/OutOfStock/OutOfStockTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,EAC9B,EAAE,EAAE,cAAc,GAAG,IAAI,EACzB,MAAM,GAAG,0BAA0B,EACnC,QAAQ,EACR,GAAG,UAAU,EACQ,EAAE,EAAE;IACzB,OAAO,CACL,oBAAC,cAAc,oDAEA,MAAM,KACf,UAAU,IAEb,QAAQ,CACM,CAClB,CAAA;AACH,CAAC,CAAA"}
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  const Tile = forwardRef(function Tile({ testId = 'store-tile', children, ...otherProps }, ref) {
3
- return (React.createElement("li", Object.assign({ ref: ref, "data-fs-tile": true, "data-testid": testId }, otherProps), children));
3
+ return (React.createElement("li", { ref: ref, "data-fs-tile": true, "data-testid": testId, ...otherProps }, children));
4
4
  });
5
5
  export default Tile;
6
6
  //# sourceMappingURL=Tile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../../src/components/organisms/Tiles/Tile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,IAAI,GAAG,UAAU,CAA2B,SAAS,IAAI,CAC7D,EAAE,MAAM,GAAG,YAAY,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAClD,GAAG;IAEH,OAAO,CACL,0CAAI,GAAG,EAAE,GAAG,uCAA4B,MAAM,IAAM,UAAU,GAC3D,QAAQ,CACN,CACN,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,IAAI,CAAA"}
1
+ {"version":3,"file":"Tile.js","sourceRoot":"","sources":["../../../../src/components/organisms/Tiles/Tile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,IAAI,GAAG,UAAU,CAA2B,SAAS,IAAI,CAC7D,EAAE,MAAM,GAAG,YAAY,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAClD,GAAG;IAEH,OAAO,CACL,4BAAI,GAAG,EAAE,GAAG,uCAA4B,MAAM,KAAM,UAAU,IAC3D,QAAQ,CACN,CACN,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,IAAI,CAAA"}
@@ -24,7 +24,7 @@ const Tiles = forwardRef(function Tiles({ testId = 'store-tiles', children, ...o
24
24
  : childrenCount === NUMBER_ITEMS_TO_EXPAND_FIRST_TWO
25
25
  ? 'expanded-first-two'
26
26
  : '';
27
- return (React.createElement("ul", Object.assign({ ref: ref, "data-fs-tiles": true, "data-fs-tiles-variant": expandedClass, "data-testid": testId }, otherProps), children));
27
+ return (React.createElement("ul", { ref: ref, "data-fs-tiles": true, "data-fs-tiles-variant": expandedClass, "data-testid": testId, ...otherProps }, children));
28
28
  });
29
29
  export default Tiles;
30
30
  //# sourceMappingURL=Tiles.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tiles.js","sourceRoot":"","sources":["../../../../src/components/organisms/Tiles/Tiles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGnD,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,CAAA;AAUxB,MAAM,YAAY,GAAG,CAAC,CAAA;AACtB,MAAM,YAAY,GAAG,CAAC,CAAA;AACtB,MAAM,gCAAgC,GAAG,CAAC,CAAA;AAC1C,MAAM,4BAA4B,GAAG,CAAC,CAAA;AAEtC,MAAM,KAAK,GAAG,UAAU,CAA+B,SAAS,KAAK,CACnE,EAAE,MAAM,GAAG,aAAa,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACnD,GAAG;IAEH,MAAM,aAAa,GAAG,QAAQ,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAA;IAE9C,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,EAAE;QAC1C,MAAM,aAAa,GACjB,aAAa,GAAG,YAAY,IAAI,aAAa,GAAG,YAAY,CAAA;QAE9D,IAAI,aAAa,EAAE;YACjB,MAAM,IAAI,KAAK,CACb,kCAAkC,YAAY,iBAAiB,YAAY,YAAY,CACxF,CAAA;SACF;KACF;IAED,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,EAAE;QAC1C,QAAQ,CAAC,OAAO,CAAC,QAAwB,EAAE,CAAC,KAAK,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iBAAiB,YAAY,YAAY,CACxF,CAAA;SACF;KACF;IAED,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,EAAE;QAC1C,QAAQ,CAAC,OAAO,CAAC,QAAwB,EAAE,CAAC,KAAK,EAAE,EAAE;YACnD,IAAI,KAAK,CAAC,IAAI,KAAK,IAAI,EAAE;gBACvB,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAA;aAC7D;QACH,CAAC,CAAC,CAAA;KACH;IAED,MAAM,aAAa,GACjB,aAAa,KAAK,4BAA4B;QAC5C,CAAC,CAAC,gBAAgB;QAClB,CAAC,CAAC,aAAa,KAAK,gCAAgC;YACpD,CAAC,CAAC,oBAAoB;YACtB,CAAC,CAAC,EAAE,CAAA;IAER,OAAO,CACL,4BACE,GAAG,EAAE,GAAG,kDAEe,aAAa,iBACvB,MAAM,KACf,UAAU,IAEb,QAAQ,CACN,CACN,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,KAAK,CAAA"}
@@ -0,0 +1,16 @@
1
+ import type { ElementType, ReactElement } from 'react';
2
+ import type { PolymorphicComponentPropsWithRef } from '../../typings';
3
+ interface BaseProps {
4
+ /**
5
+ * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
+ */
7
+ testId?: string;
8
+ /**
9
+ * Specify whether or not this component should display the list's markers (bullets or numbers).
10
+ */
11
+ marker?: boolean;
12
+ }
13
+ export declare type ListProps<T extends ElementType> = PolymorphicComponentPropsWithRef<T, BaseProps>;
14
+ declare type ListComponent = <T extends ElementType = 'ul'>(props: ListProps<T>) => ReactElement | null;
15
+ declare const List: ListComponent;
16
+ export default List;
@@ -0,0 +1,7 @@
1
+ import React, { forwardRef } from 'react';
2
+ const List = forwardRef(function List({ as, marker, testId = 'fs-list', ...otherProps }, ref) {
3
+ const Component = as ?? 'ul';
4
+ return (React.createElement(Component, Object.assign({ ref: ref, "data-fs-list": true, "data-testid": testId, "data-fs-list-marker": marker }, otherProps)));
5
+ });
6
+ export default List;
7
+ //# sourceMappingURL=List.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"List.js","sourceRoot":"","sources":["../../../../../../components/src/atoms/List/List.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AA4BzC,MAAM,IAAI,GAAkB,UAAU,CAAC,SAAS,IAAI,CAGlD,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,GAAG,SAAS,EAAE,GAAG,UAAU,EAAgB,EAC/D,GAAsB;IAEtB,MAAM,SAAS,GAAG,EAAE,IAAI,IAAI,CAAA;IAE5B,OAAO,CACL,oBAAC,SAAS,kBACR,GAAG,EAAE,GAAG,uCAEK,MAAM,yBACE,MAAM,IACvB,UAAU,EACd,CACH,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,IAAI,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { default } from './List';
2
+ export type { ListProps } from './List';
@@ -0,0 +1,2 @@
1
+ export { default } from './List';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../components/src/atoms/List/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA"}