@faststore/ui 2.0.173-alpha.0 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (722) hide show
  1. package/dist/atoms/Badge/Badge.d.ts +11 -0
  2. package/dist/atoms/Badge/Badge.js +6 -0
  3. package/dist/atoms/Badge/Badge.js.map +1 -0
  4. package/dist/atoms/Badge/index.d.ts +2 -0
  5. package/dist/atoms/Badge/index.js +2 -0
  6. package/dist/atoms/Badge/index.js.map +1 -0
  7. package/dist/atoms/Button/Button.d.ts +10 -0
  8. package/dist/atoms/Button/Button.js +6 -0
  9. package/dist/atoms/Button/Button.js.map +1 -0
  10. package/dist/atoms/Button/index.d.ts +2 -0
  11. package/dist/atoms/Button/index.js +2 -0
  12. package/dist/atoms/Button/index.js.map +1 -0
  13. package/dist/atoms/Checkbox/Checkbox.d.ts +10 -0
  14. package/dist/atoms/Checkbox/Checkbox.js +6 -0
  15. package/dist/atoms/Checkbox/Checkbox.js.map +1 -0
  16. package/dist/atoms/Checkbox/index.d.ts +2 -0
  17. package/dist/atoms/Checkbox/index.js +2 -0
  18. package/dist/atoms/Checkbox/index.js.map +1 -0
  19. package/dist/atoms/Icon/Icon.d.ts +14 -0
  20. package/dist/atoms/Icon/Icon.js +6 -0
  21. package/dist/atoms/Icon/Icon.js.map +1 -0
  22. package/dist/atoms/Icon/index.d.ts +2 -0
  23. package/dist/atoms/Icon/index.js +2 -0
  24. package/dist/atoms/Icon/index.js.map +1 -0
  25. package/dist/atoms/Icon/stories/assets/ShoppingCart.d.ts +3 -0
  26. package/dist/atoms/Icon/stories/assets/ShoppingCart.js +8 -0
  27. package/dist/atoms/Icon/stories/assets/ShoppingCart.js.map +1 -0
  28. package/dist/atoms/Incentive/Incentive.d.ts +11 -0
  29. package/dist/atoms/Incentive/Incentive.js +6 -0
  30. package/dist/atoms/Incentive/Incentive.js.map +1 -0
  31. package/dist/atoms/Incentive/index.d.ts +2 -0
  32. package/dist/atoms/Incentive/index.js +2 -0
  33. package/dist/atoms/Incentive/index.js.map +1 -0
  34. package/dist/atoms/Incentive/stories/assets/Icons.d.ts +2 -0
  35. package/dist/atoms/Incentive/stories/assets/Icons.js +6 -0
  36. package/dist/atoms/Incentive/stories/assets/Icons.js.map +1 -0
  37. package/dist/atoms/Input/Input.d.ts +14 -0
  38. package/dist/atoms/Input/Input.js +10 -0
  39. package/dist/atoms/Input/Input.js.map +1 -0
  40. package/dist/atoms/Input/index.d.ts +2 -0
  41. package/dist/atoms/Input/index.js +2 -0
  42. package/dist/atoms/Input/index.js.map +1 -0
  43. package/dist/atoms/Label/Label.d.ts +10 -0
  44. package/dist/atoms/Label/Label.js +6 -0
  45. package/dist/atoms/Label/Label.js.map +1 -0
  46. package/dist/atoms/Label/index.d.ts +2 -0
  47. package/dist/atoms/Label/index.js +2 -0
  48. package/dist/atoms/Label/index.js.map +1 -0
  49. package/dist/atoms/Link/Link.d.ts +19 -0
  50. package/dist/atoms/Link/Link.js +13 -0
  51. package/dist/atoms/Link/Link.js.map +1 -0
  52. package/dist/atoms/Link/index.d.ts +2 -0
  53. package/dist/atoms/Link/index.js +2 -0
  54. package/dist/atoms/Link/index.js.map +1 -0
  55. package/dist/atoms/List/List.d.ts +12 -0
  56. package/dist/atoms/List/List.js +16 -0
  57. package/dist/atoms/List/List.js.map +1 -0
  58. package/dist/atoms/List/index.d.ts +2 -0
  59. package/dist/atoms/List/index.js +2 -0
  60. package/dist/atoms/List/index.js.map +1 -0
  61. package/dist/atoms/Overlay/Overlay.d.ts +10 -0
  62. package/dist/atoms/Overlay/Overlay.js +6 -0
  63. package/dist/atoms/Overlay/Overlay.js.map +1 -0
  64. package/dist/atoms/Overlay/index.d.ts +2 -0
  65. package/dist/atoms/Overlay/index.js +2 -0
  66. package/dist/atoms/Overlay/index.js.map +1 -0
  67. package/dist/atoms/Popover/Popover.d.ts +15 -0
  68. package/dist/atoms/Popover/Popover.js +7 -0
  69. package/dist/atoms/Popover/Popover.js.map +1 -0
  70. package/dist/atoms/Popover/index.d.ts +2 -0
  71. package/dist/atoms/Popover/index.js +2 -0
  72. package/dist/atoms/Popover/index.js.map +1 -0
  73. package/dist/atoms/Price/Price.d.ts +28 -0
  74. package/dist/atoms/Price/Price.js +7 -0
  75. package/dist/atoms/Price/Price.js.map +1 -0
  76. package/dist/atoms/Price/index.d.ts +2 -0
  77. package/dist/atoms/Price/index.js +2 -0
  78. package/dist/atoms/Price/index.js.map +1 -0
  79. package/dist/atoms/Radio/Radio.d.ts +7 -0
  80. package/dist/atoms/Radio/Radio.js +6 -0
  81. package/dist/atoms/Radio/Radio.js.map +1 -0
  82. package/dist/atoms/Radio/index.d.ts +2 -0
  83. package/dist/atoms/Radio/index.js +2 -0
  84. package/dist/atoms/Radio/index.js.map +1 -0
  85. package/dist/atoms/Select/Select.d.ts +10 -0
  86. package/dist/atoms/Select/Select.js +6 -0
  87. package/dist/atoms/Select/Select.js.map +1 -0
  88. package/dist/atoms/Select/index.d.ts +2 -0
  89. package/dist/atoms/Select/index.js +2 -0
  90. package/dist/atoms/Select/index.js.map +1 -0
  91. package/dist/atoms/Skeleton/Skeleton.d.ts +10 -0
  92. package/dist/atoms/Skeleton/Skeleton.js +6 -0
  93. package/dist/atoms/Skeleton/Skeleton.js.map +1 -0
  94. package/dist/atoms/Skeleton/index.d.ts +2 -0
  95. package/dist/atoms/Skeleton/index.js +2 -0
  96. package/dist/atoms/Skeleton/index.js.map +1 -0
  97. package/dist/atoms/Slider/Slider.d.ts +67 -0
  98. package/dist/atoms/Slider/Slider.js +48 -0
  99. package/dist/atoms/Slider/Slider.js.map +1 -0
  100. package/dist/atoms/Slider/index.d.ts +2 -0
  101. package/dist/atoms/Slider/index.js +2 -0
  102. package/dist/atoms/Slider/index.js.map +1 -0
  103. package/dist/atoms/Spinner/Spinner.d.ts +11 -0
  104. package/dist/atoms/Spinner/Spinner.js +6 -0
  105. package/dist/atoms/Spinner/Spinner.js.map +1 -0
  106. package/dist/atoms/Spinner/index.d.ts +2 -0
  107. package/dist/atoms/Spinner/index.js +2 -0
  108. package/dist/atoms/Spinner/index.js.map +1 -0
  109. package/dist/atoms/TextArea/TextArea.d.ts +14 -0
  110. package/dist/atoms/TextArea/TextArea.js +10 -0
  111. package/dist/atoms/TextArea/TextArea.js.map +1 -0
  112. package/dist/atoms/TextArea/index.d.ts +2 -0
  113. package/dist/atoms/TextArea/index.js +2 -0
  114. package/dist/atoms/TextArea/index.js.map +1 -0
  115. package/dist/components/atoms/Incentive/stories/assets/Icons.d.ts +2 -0
  116. package/dist/components/atoms/Incentive/stories/assets/Icons.js +6 -0
  117. package/dist/components/atoms/Incentive/stories/assets/Icons.js.map +1 -0
  118. package/dist/components/atoms/Popover/Popover.d.ts +15 -0
  119. package/dist/components/atoms/Popover/Popover.js +7 -0
  120. package/dist/components/atoms/Popover/Popover.js.map +1 -0
  121. package/dist/components/atoms/Popover/index.d.ts +2 -0
  122. package/dist/components/atoms/Popover/index.js +2 -0
  123. package/dist/components/atoms/Popover/index.js.map +1 -0
  124. package/dist/components/atoms/Skeleton/Skeleton.d.ts +10 -0
  125. package/dist/components/atoms/Skeleton/Skeleton.js +6 -0
  126. package/dist/components/atoms/Skeleton/Skeleton.js.map +1 -0
  127. package/dist/components/atoms/Skeleton/index.d.ts +2 -0
  128. package/dist/components/atoms/Skeleton/index.js +2 -0
  129. package/dist/components/atoms/Skeleton/index.js.map +1 -0
  130. package/dist/components/atoms/Slider/Slider.d.ts +67 -0
  131. package/dist/components/atoms/Slider/Slider.js +48 -0
  132. package/dist/components/atoms/Slider/Slider.js.map +1 -0
  133. package/dist/components/atoms/Slider/index.d.ts +2 -0
  134. package/dist/components/atoms/Slider/index.js +2 -0
  135. package/dist/components/atoms/Slider/index.js.map +1 -0
  136. package/dist/components/atoms/Spinner/Spinner.d.ts +11 -0
  137. package/dist/components/atoms/Spinner/Spinner.js +6 -0
  138. package/dist/components/atoms/Spinner/Spinner.js.map +1 -0
  139. package/dist/components/atoms/Spinner/index.d.ts +2 -0
  140. package/dist/components/atoms/Spinner/index.js +2 -0
  141. package/dist/components/atoms/Spinner/index.js.map +1 -0
  142. package/dist/components/molecules/Accordion/Accordion.d.ts +26 -0
  143. package/dist/components/molecules/Accordion/Accordion.js +21 -0
  144. package/dist/components/molecules/Accordion/Accordion.js.map +1 -0
  145. package/dist/components/molecules/Accordion/AccordionButton.d.ts +10 -0
  146. package/dist/components/molecules/Accordion/AccordionButton.js +37 -0
  147. package/dist/components/molecules/Accordion/AccordionButton.js.map +1 -0
  148. package/dist/components/molecules/Accordion/AccordionItem.d.ts +31 -0
  149. package/dist/components/molecules/Accordion/AccordionItem.js +22 -0
  150. package/dist/components/molecules/Accordion/AccordionItem.js.map +1 -0
  151. package/dist/components/molecules/Accordion/AccordionPanel.d.ts +10 -0
  152. package/dist/components/molecules/Accordion/AccordionPanel.js +10 -0
  153. package/dist/components/molecules/Accordion/AccordionPanel.js.map +1 -0
  154. package/dist/components/molecules/Accordion/index.d.ts +8 -0
  155. package/dist/components/molecules/Accordion/index.js +5 -0
  156. package/dist/components/molecules/Accordion/index.js.map +1 -0
  157. package/dist/components/molecules/AggregateRating/AggregateRating.d.ts +18 -0
  158. package/dist/components/molecules/AggregateRating/AggregateRating.js +26 -0
  159. package/dist/components/molecules/AggregateRating/AggregateRating.js.map +1 -0
  160. package/dist/components/molecules/AggregateRating/index.d.ts +2 -0
  161. package/dist/components/molecules/AggregateRating/index.js +2 -0
  162. package/dist/components/molecules/AggregateRating/index.js.map +1 -0
  163. package/dist/components/molecules/Alert/Alert.d.ts +11 -0
  164. package/dist/components/molecules/Alert/Alert.js +6 -0
  165. package/dist/components/molecules/Alert/Alert.js.map +1 -0
  166. package/dist/components/molecules/Alert/index.d.ts +2 -0
  167. package/dist/components/molecules/Alert/index.js +2 -0
  168. package/dist/components/molecules/Alert/index.js.map +1 -0
  169. package/dist/components/molecules/Breadcrumb/Breadcrumb.d.ts +14 -0
  170. package/dist/components/molecules/Breadcrumb/Breadcrumb.js +38 -0
  171. package/dist/components/molecules/Breadcrumb/Breadcrumb.js.map +1 -0
  172. package/dist/components/molecules/Breadcrumb/index.d.ts +2 -0
  173. package/dist/components/molecules/Breadcrumb/index.js +2 -0
  174. package/dist/components/molecules/Breadcrumb/index.js.map +1 -0
  175. package/dist/components/molecules/Bullets/Bullets.d.ts +35 -0
  176. package/dist/components/molecules/Bullets/Bullets.js +12 -0
  177. package/dist/components/molecules/Bullets/Bullets.js.map +1 -0
  178. package/dist/components/molecules/Bullets/index.d.ts +2 -0
  179. package/dist/components/molecules/Bullets/index.js +2 -0
  180. package/dist/components/molecules/Bullets/index.js.map +1 -0
  181. package/dist/components/molecules/Card/Card.d.ts +10 -0
  182. package/dist/components/molecules/Card/Card.js +6 -0
  183. package/dist/components/molecules/Card/Card.js.map +1 -0
  184. package/dist/components/molecules/Card/CardActions.d.ts +10 -0
  185. package/dist/components/molecules/Card/CardActions.js +6 -0
  186. package/dist/components/molecules/Card/CardActions.js.map +1 -0
  187. package/dist/components/molecules/Card/CardContent.d.ts +10 -0
  188. package/dist/components/molecules/Card/CardContent.js +6 -0
  189. package/dist/components/molecules/Card/CardContent.js.map +1 -0
  190. package/dist/components/molecules/Card/CardImage.d.ts +10 -0
  191. package/dist/components/molecules/Card/CardImage.js +6 -0
  192. package/dist/components/molecules/Card/CardImage.js.map +1 -0
  193. package/dist/components/molecules/Card/index.d.ts +8 -0
  194. package/dist/components/molecules/Card/index.js +5 -0
  195. package/dist/components/molecules/Card/index.js.map +1 -0
  196. package/dist/components/molecules/Carousel/Arrows.d.ts +12 -0
  197. package/dist/components/molecules/Carousel/Arrows.js +6 -0
  198. package/dist/components/molecules/Carousel/Arrows.js.map +1 -0
  199. package/dist/components/molecules/Carousel/Carousel.d.ts +54 -0
  200. package/dist/components/molecules/Carousel/Carousel.js +183 -0
  201. package/dist/components/molecules/Carousel/Carousel.js.map +1 -0
  202. package/dist/components/molecules/Carousel/CarouselItem.d.ts +11 -0
  203. package/dist/components/molecules/Carousel/CarouselItem.js +18 -0
  204. package/dist/components/molecules/Carousel/CarouselItem.js.map +1 -0
  205. package/dist/components/molecules/Carousel/hooks/useSlideVisibility.d.ts +9 -0
  206. package/dist/components/molecules/Carousel/hooks/useSlideVisibility.js +29 -0
  207. package/dist/components/molecules/Carousel/hooks/useSlideVisibility.js.map +1 -0
  208. package/dist/components/molecules/Carousel/index.d.ts +2 -0
  209. package/dist/components/molecules/Carousel/index.js +3 -0
  210. package/dist/components/molecules/Carousel/index.js.map +1 -0
  211. package/dist/components/molecules/CartItem/CartItem.d.ts +10 -0
  212. package/dist/components/molecules/CartItem/CartItem.js +6 -0
  213. package/dist/components/molecules/CartItem/CartItem.js.map +1 -0
  214. package/dist/components/molecules/CartItem/CartItemActions.d.ts +10 -0
  215. package/dist/components/molecules/CartItem/CartItemActions.js +6 -0
  216. package/dist/components/molecules/CartItem/CartItemActions.js.map +1 -0
  217. package/dist/components/molecules/CartItem/CartItemContent.d.ts +10 -0
  218. package/dist/components/molecules/CartItem/CartItemContent.js +6 -0
  219. package/dist/components/molecules/CartItem/CartItemContent.js.map +1 -0
  220. package/dist/components/molecules/CartItem/CartItemImage.d.ts +10 -0
  221. package/dist/components/molecules/CartItem/CartItemImage.js +6 -0
  222. package/dist/components/molecules/CartItem/CartItemImage.js.map +1 -0
  223. package/dist/components/molecules/CartItem/CartItemPrices.d.ts +10 -0
  224. package/dist/components/molecules/CartItem/CartItemPrices.js +6 -0
  225. package/dist/components/molecules/CartItem/CartItemPrices.js.map +1 -0
  226. package/dist/components/molecules/CartItem/CartItemSummary.d.ts +10 -0
  227. package/dist/components/molecules/CartItem/CartItemSummary.js +6 -0
  228. package/dist/components/molecules/CartItem/CartItemSummary.js.map +1 -0
  229. package/dist/components/molecules/CartItem/CartItemTitle.d.ts +10 -0
  230. package/dist/components/molecules/CartItem/CartItemTitle.js +6 -0
  231. package/dist/components/molecules/CartItem/CartItemTitle.js.map +1 -0
  232. package/dist/components/molecules/CartItem/index.d.ts +14 -0
  233. package/dist/components/molecules/CartItem/index.js +8 -0
  234. package/dist/components/molecules/CartItem/index.js.map +1 -0
  235. package/dist/components/molecules/Dropdown/Dropdown.d.ts +9 -0
  236. package/dist/components/molecules/Dropdown/Dropdown.js +67 -0
  237. package/dist/components/molecules/Dropdown/Dropdown.js.map +1 -0
  238. package/dist/components/molecules/Dropdown/DropdownButton.d.ts +10 -0
  239. package/dist/components/molecules/Dropdown/DropdownButton.js +11 -0
  240. package/dist/components/molecules/Dropdown/DropdownButton.js.map +1 -0
  241. package/dist/components/molecules/Dropdown/DropdownItem.d.ts +10 -0
  242. package/dist/components/molecules/Dropdown/DropdownItem.js +26 -0
  243. package/dist/components/molecules/Dropdown/DropdownItem.js.map +1 -0
  244. package/dist/components/molecules/Dropdown/DropdownMenu.d.ts +22 -0
  245. package/dist/components/molecules/Dropdown/DropdownMenu.js +65 -0
  246. package/dist/components/molecules/Dropdown/DropdownMenu.js.map +1 -0
  247. package/dist/components/molecules/Dropdown/contexts/DropdownContext.d.ts +41 -0
  248. package/dist/components/molecules/Dropdown/contexts/DropdownContext.js +11 -0
  249. package/dist/components/molecules/Dropdown/contexts/DropdownContext.js.map +1 -0
  250. package/dist/components/molecules/Dropdown/hooks/useDropdown.d.ts +6 -0
  251. package/dist/components/molecules/Dropdown/hooks/useDropdown.js +14 -0
  252. package/dist/components/molecules/Dropdown/hooks/useDropdown.js.map +1 -0
  253. package/dist/components/molecules/Dropdown/hooks/useDropdownPosition.d.ts +8 -0
  254. package/dist/components/molecules/Dropdown/hooks/useDropdownPosition.js +25 -0
  255. package/dist/components/molecules/Dropdown/hooks/useDropdownPosition.js.map +1 -0
  256. package/dist/components/molecules/Dropdown/index.d.ts +8 -0
  257. package/dist/components/molecules/Dropdown/index.js +5 -0
  258. package/dist/components/molecules/Dropdown/index.js.map +1 -0
  259. package/dist/components/molecules/Dropdown/stories/assets/Caret.d.ts +2 -0
  260. package/dist/components/molecules/Dropdown/stories/assets/Caret.js +4 -0
  261. package/dist/components/molecules/Dropdown/stories/assets/Caret.js.map +1 -0
  262. package/dist/components/molecules/Form/Form.d.ts +11 -0
  263. package/dist/components/molecules/Form/Form.js +6 -0
  264. package/dist/components/molecules/Form/Form.js.map +1 -0
  265. package/dist/components/molecules/Form/index.d.ts +2 -0
  266. package/dist/components/molecules/Form/index.js +2 -0
  267. package/dist/components/molecules/Form/index.js.map +1 -0
  268. package/dist/components/molecules/Gift/Gift.d.ts +15 -0
  269. package/dist/components/molecules/Gift/Gift.js +9 -0
  270. package/dist/components/molecules/Gift/Gift.js.map +1 -0
  271. package/dist/components/molecules/Gift/GiftContent.d.ts +10 -0
  272. package/dist/components/molecules/Gift/GiftContent.js +6 -0
  273. package/dist/components/molecules/Gift/GiftContent.js.map +1 -0
  274. package/dist/components/molecules/Gift/GiftImage.d.ts +10 -0
  275. package/dist/components/molecules/Gift/GiftImage.js +6 -0
  276. package/dist/components/molecules/Gift/GiftImage.js.map +1 -0
  277. package/dist/components/molecules/Gift/index.d.ts +6 -0
  278. package/dist/components/molecules/Gift/index.js +4 -0
  279. package/dist/components/molecules/Gift/index.js.map +1 -0
  280. package/dist/components/molecules/LoadingButton/LoadingButton.d.ts +14 -0
  281. package/dist/components/molecules/LoadingButton/LoadingButton.js +8 -0
  282. package/dist/components/molecules/LoadingButton/LoadingButton.js.map +1 -0
  283. package/dist/components/molecules/LoadingButton/index.d.ts +2 -0
  284. package/dist/components/molecules/LoadingButton/index.js +2 -0
  285. package/dist/components/molecules/LoadingButton/index.js.map +1 -0
  286. package/dist/components/molecules/Modal/Modal.d.ts +25 -0
  287. package/dist/components/molecules/Modal/Modal.js +31 -0
  288. package/dist/components/molecules/Modal/Modal.js.map +1 -0
  289. package/dist/components/molecules/Modal/ModalContent.d.ts +10 -0
  290. package/dist/components/molecules/Modal/ModalContent.js +23 -0
  291. package/dist/components/molecules/Modal/ModalContent.js.map +1 -0
  292. package/dist/components/molecules/Modal/index.d.ts +2 -0
  293. package/dist/components/molecules/Modal/index.js +2 -0
  294. package/dist/components/molecules/Modal/index.js.map +1 -0
  295. package/dist/components/molecules/Modal/useTrapFocus.d.ts +8 -0
  296. package/dist/components/molecules/Modal/useTrapFocus.js +76 -0
  297. package/dist/components/molecules/Modal/useTrapFocus.js.map +1 -0
  298. package/dist/components/molecules/OrderSummary/OrderSummary.d.ts +35 -0
  299. package/dist/components/molecules/OrderSummary/OrderSummary.js +16 -0
  300. package/dist/components/molecules/OrderSummary/OrderSummary.js.map +1 -0
  301. package/dist/components/molecules/OrderSummary/index.d.ts +2 -0
  302. package/dist/components/molecules/OrderSummary/index.js +2 -0
  303. package/dist/components/molecules/OrderSummary/index.js.map +1 -0
  304. package/dist/components/molecules/PaymentMethods/PaymentMethods.d.ts +26 -0
  305. package/dist/components/molecules/PaymentMethods/PaymentMethods.js +8 -0
  306. package/dist/components/molecules/PaymentMethods/PaymentMethods.js.map +1 -0
  307. package/dist/components/molecules/PaymentMethods/index.d.ts +2 -0
  308. package/dist/components/molecules/PaymentMethods/index.js +2 -0
  309. package/dist/components/molecules/PaymentMethods/index.js.map +1 -0
  310. package/dist/components/molecules/PaymentMethods/stories/assets/Icons.d.ts +9 -0
  311. package/dist/components/molecules/PaymentMethods/stories/assets/Icons.js +26 -0
  312. package/dist/components/molecules/PaymentMethods/stories/assets/Icons.js.map +1 -0
  313. package/dist/components/molecules/PriceRange/PriceRange.d.ts +47 -0
  314. package/dist/components/molecules/PriceRange/PriceRange.js +28 -0
  315. package/dist/components/molecules/PriceRange/PriceRange.js.map +1 -0
  316. package/dist/components/molecules/PriceRange/index.d.ts +2 -0
  317. package/dist/components/molecules/PriceRange/index.js +2 -0
  318. package/dist/components/molecules/PriceRange/index.js.map +1 -0
  319. package/dist/components/molecules/ProductCard/ProductCard.d.ts +11 -0
  320. package/dist/components/molecules/ProductCard/ProductCard.js +6 -0
  321. package/dist/components/molecules/ProductCard/ProductCard.js.map +1 -0
  322. package/dist/components/molecules/ProductCard/ProductCardActions.d.ts +10 -0
  323. package/dist/components/molecules/ProductCard/ProductCardActions.js +6 -0
  324. package/dist/components/molecules/ProductCard/ProductCardActions.js.map +1 -0
  325. package/dist/components/molecules/ProductCard/ProductCardContent.d.ts +10 -0
  326. package/dist/components/molecules/ProductCard/ProductCardContent.js +6 -0
  327. package/dist/components/molecules/ProductCard/ProductCardContent.js.map +1 -0
  328. package/dist/components/molecules/ProductCard/ProductCardImage.d.ts +10 -0
  329. package/dist/components/molecules/ProductCard/ProductCardImage.js +6 -0
  330. package/dist/components/molecules/ProductCard/ProductCardImage.js.map +1 -0
  331. package/dist/components/molecules/ProductCard/index.d.ts +8 -0
  332. package/dist/components/molecules/ProductCard/index.js +5 -0
  333. package/dist/components/molecules/ProductCard/index.js.map +1 -0
  334. package/dist/components/molecules/ProductTitle/ProductTitle.d.ts +47 -0
  335. package/dist/components/molecules/ProductTitle/ProductTitle.js +12 -0
  336. package/dist/components/molecules/ProductTitle/ProductTitle.js.map +1 -0
  337. package/dist/components/molecules/ProductTitle/index.d.ts +2 -0
  338. package/dist/components/molecules/ProductTitle/index.js +2 -0
  339. package/dist/components/molecules/ProductTitle/index.js.map +1 -0
  340. package/dist/components/molecules/QuantitySelector/QuantitySelector.d.ts +29 -0
  341. package/dist/components/molecules/QuantitySelector/QuantitySelector.js +10 -0
  342. package/dist/components/molecules/QuantitySelector/QuantitySelector.js.map +1 -0
  343. package/dist/components/molecules/QuantitySelector/index.d.ts +2 -0
  344. package/dist/components/molecules/QuantitySelector/index.js +2 -0
  345. package/dist/components/molecules/QuantitySelector/index.js.map +1 -0
  346. package/dist/components/molecules/QuantitySelector/stories/assets/Icons.d.ts +7 -0
  347. package/dist/components/molecules/QuantitySelector/stories/assets/Icons.js +11 -0
  348. package/dist/components/molecules/QuantitySelector/stories/assets/Icons.js.map +1 -0
  349. package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +5 -0
  350. package/dist/components/molecules/RadioGroup/RadioGroup.js +10 -0
  351. package/dist/components/molecules/RadioGroup/RadioGroup.js.map +1 -0
  352. package/dist/components/molecules/RadioGroup/RadioOption.d.ts +19 -0
  353. package/dist/components/molecules/RadioGroup/RadioOption.js +11 -0
  354. package/dist/components/molecules/RadioGroup/RadioOption.js.map +1 -0
  355. package/dist/components/molecules/RadioGroup/index.d.ts +4 -0
  356. package/dist/components/molecules/RadioGroup/index.js +3 -0
  357. package/dist/components/molecules/RadioGroup/index.js.map +1 -0
  358. package/dist/components/molecules/RadioGroup/useRadioGroup.d.ts +17 -0
  359. package/dist/components/molecules/RadioGroup/useRadioGroup.js +10 -0
  360. package/dist/components/molecules/RadioGroup/useRadioGroup.js.map +1 -0
  361. package/dist/components/molecules/SearchInput/SearchInput.d.ts +28 -0
  362. package/dist/components/molecules/SearchInput/SearchInput.js +26 -0
  363. package/dist/components/molecules/SearchInput/SearchInput.js.map +1 -0
  364. package/dist/components/molecules/SearchInput/index.d.ts +2 -0
  365. package/dist/components/molecules/SearchInput/index.js +2 -0
  366. package/dist/components/molecules/SearchInput/index.js.map +1 -0
  367. package/dist/components/molecules/SearchInput/stories/assets/CustomIcon.d.ts +3 -0
  368. package/dist/components/molecules/SearchInput/stories/assets/CustomIcon.js +7 -0
  369. package/dist/components/molecules/SearchInput/stories/assets/CustomIcon.js.map +1 -0
  370. package/dist/components/molecules/SkuSelector/SkuSelector.d.ts +58 -0
  371. package/dist/components/molecules/SkuSelector/SkuSelector.js +16 -0
  372. package/dist/components/molecules/SkuSelector/SkuSelector.js.map +1 -0
  373. package/dist/components/molecules/SkuSelector/index.d.ts +2 -0
  374. package/dist/components/molecules/SkuSelector/index.js +2 -0
  375. package/dist/components/molecules/SkuSelector/index.js.map +1 -0
  376. package/dist/components/organisms/OutOfStock/OutOfStock.d.ts +21 -0
  377. package/dist/components/organisms/OutOfStock/OutOfStock.js +8 -0
  378. package/dist/components/organisms/OutOfStock/OutOfStock.js.map +1 -0
  379. package/dist/components/organisms/OutOfStock/OutOfStockMessage.d.ts +9 -0
  380. package/dist/components/organisms/OutOfStock/OutOfStockMessage.js +5 -0
  381. package/dist/components/organisms/OutOfStock/OutOfStockMessage.js.map +1 -0
  382. package/dist/components/organisms/OutOfStock/OutOfStockTitle.d.ts +9 -0
  383. package/dist/components/organisms/OutOfStock/OutOfStockTitle.js +5 -0
  384. package/dist/components/organisms/OutOfStock/OutOfStockTitle.js.map +1 -0
  385. package/dist/components/organisms/OutOfStock/index.d.ts +6 -0
  386. package/dist/components/organisms/OutOfStock/index.js +4 -0
  387. package/dist/components/organisms/OutOfStock/index.js.map +1 -0
  388. package/dist/hooks/useSlider/index.d.ts +2 -0
  389. package/dist/hooks/useSlider/index.js +3 -0
  390. package/dist/hooks/useSlider/index.js.map +1 -0
  391. package/dist/hooks/useSlider/useSlider.d.ts +64 -0
  392. package/dist/hooks/useSlider/useSlider.js +103 -0
  393. package/dist/hooks/useSlider/useSlider.js.map +1 -0
  394. package/dist/index.d.ts +0 -2
  395. package/dist/index.js +0 -2
  396. package/dist/index.js.map +1 -1
  397. package/dist/molecules/Accordion/Accordion.d.ts +26 -0
  398. package/dist/molecules/Accordion/Accordion.js +21 -0
  399. package/dist/molecules/Accordion/Accordion.js.map +1 -0
  400. package/dist/molecules/Accordion/AccordionButton.d.ts +10 -0
  401. package/dist/molecules/Accordion/AccordionButton.js +37 -0
  402. package/dist/molecules/Accordion/AccordionButton.js.map +1 -0
  403. package/dist/molecules/Accordion/AccordionItem.d.ts +37 -0
  404. package/dist/molecules/Accordion/AccordionItem.js +28 -0
  405. package/dist/molecules/Accordion/AccordionItem.js.map +1 -0
  406. package/dist/molecules/Accordion/AccordionPanel.d.ts +10 -0
  407. package/dist/molecules/Accordion/AccordionPanel.js +10 -0
  408. package/dist/molecules/Accordion/AccordionPanel.js.map +1 -0
  409. package/dist/molecules/Accordion/index.d.ts +8 -0
  410. package/dist/molecules/Accordion/index.js +5 -0
  411. package/dist/molecules/Accordion/index.js.map +1 -0
  412. package/dist/molecules/AggregateRating/AggregateRating.d.ts +18 -0
  413. package/dist/molecules/AggregateRating/AggregateRating.js +26 -0
  414. package/dist/molecules/AggregateRating/AggregateRating.js.map +1 -0
  415. package/dist/molecules/AggregateRating/index.d.ts +2 -0
  416. package/dist/molecules/AggregateRating/index.js +2 -0
  417. package/dist/molecules/AggregateRating/index.js.map +1 -0
  418. package/dist/molecules/Alert/Alert.d.ts +11 -0
  419. package/dist/molecules/Alert/Alert.js +6 -0
  420. package/dist/molecules/Alert/Alert.js.map +1 -0
  421. package/dist/molecules/Alert/index.d.ts +2 -0
  422. package/dist/molecules/Alert/index.js +2 -0
  423. package/dist/molecules/Alert/index.js.map +1 -0
  424. package/dist/molecules/Banner/Banner.d.ts +14 -0
  425. package/dist/molecules/Banner/Banner.js +6 -0
  426. package/dist/molecules/Banner/Banner.js.map +1 -0
  427. package/dist/molecules/Banner/BannerContent.d.ts +10 -0
  428. package/dist/molecules/Banner/BannerContent.js +6 -0
  429. package/dist/molecules/Banner/BannerContent.js.map +1 -0
  430. package/dist/molecules/Banner/BannerImage.d.ts +10 -0
  431. package/dist/molecules/Banner/BannerImage.js +6 -0
  432. package/dist/molecules/Banner/BannerImage.js.map +1 -0
  433. package/dist/molecules/Banner/BannerLink.d.ts +10 -0
  434. package/dist/molecules/Banner/BannerLink.js +6 -0
  435. package/dist/molecules/Banner/BannerLink.js.map +1 -0
  436. package/dist/molecules/Banner/index.d.ts +8 -0
  437. package/dist/molecules/Banner/index.js +5 -0
  438. package/dist/molecules/Banner/index.js.map +1 -0
  439. package/dist/molecules/Breadcrumb/Breadcrumb.d.ts +14 -0
  440. package/dist/molecules/Breadcrumb/Breadcrumb.js +38 -0
  441. package/dist/molecules/Breadcrumb/Breadcrumb.js.map +1 -0
  442. package/dist/molecules/Breadcrumb/index.d.ts +2 -0
  443. package/dist/molecules/Breadcrumb/index.js +2 -0
  444. package/dist/molecules/Breadcrumb/index.js.map +1 -0
  445. package/dist/molecules/Bullets/Bullets.d.ts +35 -0
  446. package/dist/molecules/Bullets/Bullets.js +12 -0
  447. package/dist/molecules/Bullets/Bullets.js.map +1 -0
  448. package/dist/molecules/Bullets/index.d.ts +2 -0
  449. package/dist/molecules/Bullets/index.js +2 -0
  450. package/dist/molecules/Bullets/index.js.map +1 -0
  451. package/dist/molecules/Card/Card.d.ts +10 -0
  452. package/dist/molecules/Card/Card.js +6 -0
  453. package/dist/molecules/Card/Card.js.map +1 -0
  454. package/dist/molecules/Card/CardActions.d.ts +10 -0
  455. package/dist/molecules/Card/CardActions.js +6 -0
  456. package/dist/molecules/Card/CardActions.js.map +1 -0
  457. package/dist/molecules/Card/CardContent.d.ts +10 -0
  458. package/dist/molecules/Card/CardContent.js +6 -0
  459. package/dist/molecules/Card/CardContent.js.map +1 -0
  460. package/dist/molecules/Card/CardImage.d.ts +10 -0
  461. package/dist/molecules/Card/CardImage.js +6 -0
  462. package/dist/molecules/Card/CardImage.js.map +1 -0
  463. package/dist/molecules/Card/index.d.ts +8 -0
  464. package/dist/molecules/Card/index.js +5 -0
  465. package/dist/molecules/Card/index.js.map +1 -0
  466. package/dist/molecules/Carousel/Arrows.d.ts +12 -0
  467. package/dist/molecules/Carousel/Arrows.js +6 -0
  468. package/dist/molecules/Carousel/Arrows.js.map +1 -0
  469. package/dist/molecules/Carousel/Carousel.d.ts +54 -0
  470. package/dist/molecules/Carousel/Carousel.js +183 -0
  471. package/dist/molecules/Carousel/Carousel.js.map +1 -0
  472. package/dist/molecules/Carousel/CarouselItem.d.ts +11 -0
  473. package/dist/molecules/Carousel/CarouselItem.js +18 -0
  474. package/dist/molecules/Carousel/CarouselItem.js.map +1 -0
  475. package/dist/molecules/Carousel/hooks/useSlideVisibility.d.ts +9 -0
  476. package/dist/molecules/Carousel/hooks/useSlideVisibility.js +29 -0
  477. package/dist/molecules/Carousel/hooks/useSlideVisibility.js.map +1 -0
  478. package/dist/molecules/Carousel/index.d.ts +2 -0
  479. package/dist/molecules/Carousel/index.js +3 -0
  480. package/dist/molecules/Carousel/index.js.map +1 -0
  481. package/dist/molecules/CartItem/CartItem.d.ts +10 -0
  482. package/dist/molecules/CartItem/CartItem.js +6 -0
  483. package/dist/molecules/CartItem/CartItem.js.map +1 -0
  484. package/dist/molecules/CartItem/CartItemActions.d.ts +10 -0
  485. package/dist/molecules/CartItem/CartItemActions.js +6 -0
  486. package/dist/molecules/CartItem/CartItemActions.js.map +1 -0
  487. package/dist/molecules/CartItem/CartItemContent.d.ts +10 -0
  488. package/dist/molecules/CartItem/CartItemContent.js +6 -0
  489. package/dist/molecules/CartItem/CartItemContent.js.map +1 -0
  490. package/dist/molecules/CartItem/CartItemImage.d.ts +10 -0
  491. package/dist/molecules/CartItem/CartItemImage.js +6 -0
  492. package/dist/molecules/CartItem/CartItemImage.js.map +1 -0
  493. package/dist/molecules/CartItem/CartItemPrices.d.ts +10 -0
  494. package/dist/molecules/CartItem/CartItemPrices.js +6 -0
  495. package/dist/molecules/CartItem/CartItemPrices.js.map +1 -0
  496. package/dist/molecules/CartItem/CartItemSummary.d.ts +10 -0
  497. package/dist/molecules/CartItem/CartItemSummary.js +6 -0
  498. package/dist/molecules/CartItem/CartItemSummary.js.map +1 -0
  499. package/dist/molecules/CartItem/CartItemTitle.d.ts +10 -0
  500. package/dist/molecules/CartItem/CartItemTitle.js +6 -0
  501. package/dist/molecules/CartItem/CartItemTitle.js.map +1 -0
  502. package/dist/molecules/CartItem/index.d.ts +14 -0
  503. package/dist/molecules/CartItem/index.js +8 -0
  504. package/dist/molecules/CartItem/index.js.map +1 -0
  505. package/dist/molecules/Dropdown/Dropdown.d.ts +9 -0
  506. package/dist/molecules/Dropdown/Dropdown.js +67 -0
  507. package/dist/molecules/Dropdown/Dropdown.js.map +1 -0
  508. package/dist/molecules/Dropdown/DropdownButton.d.ts +10 -0
  509. package/dist/molecules/Dropdown/DropdownButton.js +11 -0
  510. package/dist/molecules/Dropdown/DropdownButton.js.map +1 -0
  511. package/dist/molecules/Dropdown/DropdownItem.d.ts +10 -0
  512. package/dist/molecules/Dropdown/DropdownItem.js +26 -0
  513. package/dist/molecules/Dropdown/DropdownItem.js.map +1 -0
  514. package/dist/molecules/Dropdown/DropdownMenu.d.ts +22 -0
  515. package/dist/molecules/Dropdown/DropdownMenu.js +65 -0
  516. package/dist/molecules/Dropdown/DropdownMenu.js.map +1 -0
  517. package/dist/molecules/Dropdown/contexts/DropdownContext.d.ts +41 -0
  518. package/dist/molecules/Dropdown/contexts/DropdownContext.js +11 -0
  519. package/dist/molecules/Dropdown/contexts/DropdownContext.js.map +1 -0
  520. package/dist/molecules/Dropdown/hooks/useDropdown.d.ts +6 -0
  521. package/dist/molecules/Dropdown/hooks/useDropdown.js +14 -0
  522. package/dist/molecules/Dropdown/hooks/useDropdown.js.map +1 -0
  523. package/dist/molecules/Dropdown/hooks/useDropdownPosition.d.ts +8 -0
  524. package/dist/molecules/Dropdown/hooks/useDropdownPosition.js +25 -0
  525. package/dist/molecules/Dropdown/hooks/useDropdownPosition.js.map +1 -0
  526. package/dist/molecules/Dropdown/index.d.ts +8 -0
  527. package/dist/molecules/Dropdown/index.js +5 -0
  528. package/dist/molecules/Dropdown/index.js.map +1 -0
  529. package/dist/molecules/Dropdown/stories/assets/Caret.d.ts +2 -0
  530. package/dist/molecules/Dropdown/stories/assets/Caret.js +4 -0
  531. package/dist/molecules/Dropdown/stories/assets/Caret.js.map +1 -0
  532. package/dist/molecules/Form/Form.d.ts +11 -0
  533. package/dist/molecules/Form/Form.js +6 -0
  534. package/dist/molecules/Form/Form.js.map +1 -0
  535. package/dist/molecules/Form/index.d.ts +2 -0
  536. package/dist/molecules/Form/index.js +2 -0
  537. package/dist/molecules/Form/index.js.map +1 -0
  538. package/dist/molecules/Gift/Gift.d.ts +16 -0
  539. package/dist/molecules/Gift/Gift.js +9 -0
  540. package/dist/molecules/Gift/Gift.js.map +1 -0
  541. package/dist/molecules/Gift/GiftContent.d.ts +10 -0
  542. package/dist/molecules/Gift/GiftContent.js +6 -0
  543. package/dist/molecules/Gift/GiftContent.js.map +1 -0
  544. package/dist/molecules/Gift/GiftImage.d.ts +10 -0
  545. package/dist/molecules/Gift/GiftImage.js +6 -0
  546. package/dist/molecules/Gift/GiftImage.js.map +1 -0
  547. package/dist/molecules/Gift/index.d.ts +6 -0
  548. package/dist/molecules/Gift/index.js +4 -0
  549. package/dist/molecules/Gift/index.js.map +1 -0
  550. package/dist/molecules/IconButton/IconButton.d.ts +19 -0
  551. package/dist/molecules/IconButton/IconButton.js +9 -0
  552. package/dist/molecules/IconButton/IconButton.js.map +1 -0
  553. package/dist/molecules/IconButton/index.d.ts +2 -0
  554. package/dist/molecules/IconButton/index.js +2 -0
  555. package/dist/molecules/IconButton/index.js.map +1 -0
  556. package/dist/molecules/LoadingButton/LoadingButton.d.ts +14 -0
  557. package/dist/molecules/LoadingButton/LoadingButton.js +8 -0
  558. package/dist/molecules/LoadingButton/LoadingButton.js.map +1 -0
  559. package/dist/molecules/LoadingButton/index.d.ts +2 -0
  560. package/dist/molecules/LoadingButton/index.js +2 -0
  561. package/dist/molecules/LoadingButton/index.js.map +1 -0
  562. package/dist/molecules/Modal/Modal.d.ts +25 -0
  563. package/dist/molecules/Modal/Modal.js +31 -0
  564. package/dist/molecules/Modal/Modal.js.map +1 -0
  565. package/dist/molecules/Modal/ModalContent.d.ts +10 -0
  566. package/dist/molecules/Modal/ModalContent.js +23 -0
  567. package/dist/molecules/Modal/ModalContent.js.map +1 -0
  568. package/dist/molecules/Modal/index.d.ts +2 -0
  569. package/dist/molecules/Modal/index.js +2 -0
  570. package/dist/molecules/Modal/index.js.map +1 -0
  571. package/dist/molecules/Modal/useTrapFocus.d.ts +8 -0
  572. package/dist/molecules/Modal/useTrapFocus.js +76 -0
  573. package/dist/molecules/Modal/useTrapFocus.js.map +1 -0
  574. package/dist/molecules/OrderSummary/OrderSummary.d.ts +35 -0
  575. package/dist/molecules/OrderSummary/OrderSummary.js +16 -0
  576. package/dist/molecules/OrderSummary/OrderSummary.js.map +1 -0
  577. package/dist/molecules/OrderSummary/index.d.ts +2 -0
  578. package/dist/molecules/OrderSummary/index.js +2 -0
  579. package/dist/molecules/OrderSummary/index.js.map +1 -0
  580. package/dist/molecules/PaymentMethods/PaymentMethods.d.ts +26 -0
  581. package/dist/molecules/PaymentMethods/PaymentMethods.js +8 -0
  582. package/dist/molecules/PaymentMethods/PaymentMethods.js.map +1 -0
  583. package/dist/molecules/PaymentMethods/index.d.ts +2 -0
  584. package/dist/molecules/PaymentMethods/index.js +2 -0
  585. package/dist/molecules/PaymentMethods/index.js.map +1 -0
  586. package/dist/molecules/PaymentMethods/stories/assets/Icons.d.ts +9 -0
  587. package/dist/molecules/PaymentMethods/stories/assets/Icons.js +26 -0
  588. package/dist/molecules/PaymentMethods/stories/assets/Icons.js.map +1 -0
  589. package/dist/molecules/PriceRange/PriceRange.d.ts +47 -0
  590. package/dist/molecules/PriceRange/PriceRange.js +28 -0
  591. package/dist/molecules/PriceRange/PriceRange.js.map +1 -0
  592. package/dist/molecules/PriceRange/index.d.ts +2 -0
  593. package/dist/molecules/PriceRange/index.js +2 -0
  594. package/dist/molecules/PriceRange/index.js.map +1 -0
  595. package/dist/molecules/ProductCard/ProductCard.d.ts +11 -0
  596. package/dist/molecules/ProductCard/ProductCard.js +6 -0
  597. package/dist/molecules/ProductCard/ProductCard.js.map +1 -0
  598. package/dist/molecules/ProductCard/ProductCardActions.d.ts +10 -0
  599. package/dist/molecules/ProductCard/ProductCardActions.js +6 -0
  600. package/dist/molecules/ProductCard/ProductCardActions.js.map +1 -0
  601. package/dist/molecules/ProductCard/ProductCardContent.d.ts +10 -0
  602. package/dist/molecules/ProductCard/ProductCardContent.js +6 -0
  603. package/dist/molecules/ProductCard/ProductCardContent.js.map +1 -0
  604. package/dist/molecules/ProductCard/ProductCardImage.d.ts +10 -0
  605. package/dist/molecules/ProductCard/ProductCardImage.js +6 -0
  606. package/dist/molecules/ProductCard/ProductCardImage.js.map +1 -0
  607. package/dist/molecules/ProductCard/index.d.ts +8 -0
  608. package/dist/molecules/ProductCard/index.js +5 -0
  609. package/dist/molecules/ProductCard/index.js.map +1 -0
  610. package/dist/molecules/ProductTitle/ProductTitle.d.ts +47 -0
  611. package/dist/molecules/ProductTitle/ProductTitle.js +12 -0
  612. package/dist/molecules/ProductTitle/ProductTitle.js.map +1 -0
  613. package/dist/molecules/ProductTitle/index.d.ts +2 -0
  614. package/dist/molecules/ProductTitle/index.js +2 -0
  615. package/dist/molecules/ProductTitle/index.js.map +1 -0
  616. package/dist/molecules/QuantitySelector/QuantitySelector.d.ts +30 -0
  617. package/dist/molecules/QuantitySelector/QuantitySelector.js +11 -0
  618. package/dist/molecules/QuantitySelector/QuantitySelector.js.map +1 -0
  619. package/dist/molecules/QuantitySelector/index.d.ts +2 -0
  620. package/dist/molecules/QuantitySelector/index.js +2 -0
  621. package/dist/molecules/QuantitySelector/index.js.map +1 -0
  622. package/dist/molecules/QuantitySelector/stories/assets/Icons.d.ts +7 -0
  623. package/dist/molecules/QuantitySelector/stories/assets/Icons.js +11 -0
  624. package/dist/molecules/QuantitySelector/stories/assets/Icons.js.map +1 -0
  625. package/dist/molecules/RadioGroup/RadioGroup.d.ts +5 -0
  626. package/dist/molecules/RadioGroup/RadioGroup.js +10 -0
  627. package/dist/molecules/RadioGroup/RadioGroup.js.map +1 -0
  628. package/dist/molecules/RadioGroup/RadioOption.d.ts +19 -0
  629. package/dist/molecules/RadioGroup/RadioOption.js +11 -0
  630. package/dist/molecules/RadioGroup/RadioOption.js.map +1 -0
  631. package/dist/molecules/RadioGroup/index.d.ts +4 -0
  632. package/dist/molecules/RadioGroup/index.js +3 -0
  633. package/dist/molecules/RadioGroup/index.js.map +1 -0
  634. package/dist/molecules/RadioGroup/useRadioGroup.d.ts +17 -0
  635. package/dist/molecules/RadioGroup/useRadioGroup.js +10 -0
  636. package/dist/molecules/RadioGroup/useRadioGroup.js.map +1 -0
  637. package/dist/molecules/SearchInput/SearchInput.d.ts +28 -0
  638. package/dist/molecules/SearchInput/SearchInput.js +28 -0
  639. package/dist/molecules/SearchInput/SearchInput.js.map +1 -0
  640. package/dist/molecules/SearchInput/index.d.ts +2 -0
  641. package/dist/molecules/SearchInput/index.js +2 -0
  642. package/dist/molecules/SearchInput/index.js.map +1 -0
  643. package/dist/molecules/SearchInput/stories/assets/CustomIcon.d.ts +3 -0
  644. package/dist/molecules/SearchInput/stories/assets/CustomIcon.js +7 -0
  645. package/dist/molecules/SearchInput/stories/assets/CustomIcon.js.map +1 -0
  646. package/dist/molecules/SkuSelector/SkuSelector.d.ts +58 -0
  647. package/dist/molecules/SkuSelector/SkuSelector.js +15 -0
  648. package/dist/molecules/SkuSelector/SkuSelector.js.map +1 -0
  649. package/dist/molecules/SkuSelector/index.d.ts +2 -0
  650. package/dist/molecules/SkuSelector/index.js +2 -0
  651. package/dist/molecules/SkuSelector/index.js.map +1 -0
  652. package/dist/molecules/Table/Table.d.ts +11 -0
  653. package/dist/molecules/Table/Table.js +6 -0
  654. package/dist/molecules/Table/Table.js.map +1 -0
  655. package/dist/molecules/Table/TableBody.d.ts +11 -0
  656. package/dist/molecules/Table/TableBody.js +6 -0
  657. package/dist/molecules/Table/TableBody.js.map +1 -0
  658. package/dist/molecules/Table/TableCell.d.ts +20 -0
  659. package/dist/molecules/Table/TableCell.js +7 -0
  660. package/dist/molecules/Table/TableCell.js.map +1 -0
  661. package/dist/molecules/Table/TableFooter.d.ts +11 -0
  662. package/dist/molecules/Table/TableFooter.js +6 -0
  663. package/dist/molecules/Table/TableFooter.js.map +1 -0
  664. package/dist/molecules/Table/TableHead.d.ts +11 -0
  665. package/dist/molecules/Table/TableHead.js +6 -0
  666. package/dist/molecules/Table/TableHead.js.map +1 -0
  667. package/dist/molecules/Table/TableRow.d.ts +11 -0
  668. package/dist/molecules/Table/TableRow.js +6 -0
  669. package/dist/molecules/Table/TableRow.js.map +1 -0
  670. package/dist/molecules/Table/index.d.ts +12 -0
  671. package/dist/molecules/Table/index.js +7 -0
  672. package/dist/molecules/Table/index.js.map +1 -0
  673. package/dist/organisms/Hero/Hero.d.ts +11 -0
  674. package/dist/organisms/Hero/Hero.js +6 -0
  675. package/dist/organisms/Hero/Hero.js.map +1 -0
  676. package/dist/organisms/Hero/HeroHeading.d.ts +10 -0
  677. package/dist/organisms/Hero/HeroHeading.js +6 -0
  678. package/dist/organisms/Hero/HeroHeading.js.map +1 -0
  679. package/dist/organisms/Hero/HeroImage.d.ts +10 -0
  680. package/dist/organisms/Hero/HeroImage.js +6 -0
  681. package/dist/organisms/Hero/HeroImage.js.map +1 -0
  682. package/dist/organisms/Hero/index.d.ts +6 -0
  683. package/dist/organisms/Hero/index.js +4 -0
  684. package/dist/organisms/Hero/index.js.map +1 -0
  685. package/dist/organisms/OutOfStock/OutOfStock.d.ts +21 -0
  686. package/dist/organisms/OutOfStock/OutOfStock.js +8 -0
  687. package/dist/organisms/OutOfStock/OutOfStock.js.map +1 -0
  688. package/dist/organisms/OutOfStock/OutOfStockMessage.d.ts +9 -0
  689. package/dist/organisms/OutOfStock/OutOfStockMessage.js +5 -0
  690. package/dist/organisms/OutOfStock/OutOfStockMessage.js.map +1 -0
  691. package/dist/organisms/OutOfStock/OutOfStockTitle.d.ts +9 -0
  692. package/dist/organisms/OutOfStock/OutOfStockTitle.js +5 -0
  693. package/dist/organisms/OutOfStock/OutOfStockTitle.js.map +1 -0
  694. package/dist/organisms/OutOfStock/index.d.ts +6 -0
  695. package/dist/organisms/OutOfStock/index.js +4 -0
  696. package/dist/organisms/OutOfStock/index.js.map +1 -0
  697. package/dist/organisms/Tiles/Tile.d.ts +11 -0
  698. package/dist/organisms/Tiles/Tile.js +6 -0
  699. package/dist/organisms/Tiles/Tile.js.map +1 -0
  700. package/dist/organisms/Tiles/Tiles.d.ts +11 -0
  701. package/dist/organisms/Tiles/Tiles.js +30 -0
  702. package/dist/organisms/Tiles/Tiles.js.map +1 -0
  703. package/dist/organisms/Tiles/index.d.ts +4 -0
  704. package/dist/organisms/Tiles/index.js +3 -0
  705. package/dist/organisms/Tiles/index.js.map +1 -0
  706. package/dist/setupTests.d.ts +1 -0
  707. package/dist/setupTests.js +6 -0
  708. package/dist/setupTests.js.map +1 -0
  709. package/dist/utils/toHaveNoIncomplete.d.ts +17 -0
  710. package/dist/utils/toHaveNoIncomplete.js +43 -0
  711. package/dist/utils/toHaveNoIncomplete.js.map +1 -0
  712. package/package.json +4 -4
  713. package/src/components/{molecules → organisms}/Banner/styles.scss +11 -11
  714. package/src/components/organisms/BannerNewsletter/styles.scss +1 -1
  715. package/src/index.ts +0 -14
  716. package/src/styles/base/layout.scss +10 -0
  717. package/src/styles/components.scss +1 -1
  718. package/src/components/molecules/Banner/Banner.tsx +0 -31
  719. package/src/components/molecules/Banner/BannerContent.tsx +0 -24
  720. package/src/components/molecules/Banner/BannerImage.tsx +0 -24
  721. package/src/components/molecules/Banner/BannerLink.tsx +0 -24
  722. package/src/components/molecules/Banner/index.ts +0 -11
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/QuantitySelector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA"}
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ 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 {};
@@ -0,0 +1,11 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Icons.js","sourceRoot":"","sources":["../../../../../../src/components/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"}
@@ -0,0 +1,5 @@
1
+ import type { PropsWithChildren } from 'react';
2
+ import { RadioGroupContext } from './useRadioGroup';
3
+ export type RadioGroupProps = PropsWithChildren<RadioGroupContext>;
4
+ declare const RadioGroup: ({ name, onChange, children, selectedValue, }: RadioGroupProps) => JSX.Element;
5
+ export default RadioGroup;
@@ -0,0 +1,10 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadioGroup.js","sourceRoot":"","sources":["../../../../src/components/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"}
@@ -0,0 +1,19 @@
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;
@@ -0,0 +1,11 @@
1
+ import React, { forwardRef } from 'react';
2
+ import { Radio } from '@faststore/components';
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, { "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
@@ -0,0 +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,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"}
@@ -0,0 +1,4 @@
1
+ export { default } from './RadioGroup';
2
+ export type { RadioGroupProps } from './RadioGroup';
3
+ export { default as RadioOption } from './RadioOption';
4
+ export type { RadioOptionProps } from './RadioOption';
@@ -0,0 +1,3 @@
1
+ export { default } from './RadioGroup';
2
+ export { default as RadioOption } from './RadioOption';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/RadioGroup/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAGtC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
@@ -0,0 +1,17 @@
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;
@@ -0,0 +1,10 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useRadioGroup.js","sourceRoot":"","sources":["../../../../src/components/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"}
@@ -0,0 +1,28 @@
1
+ import type { AriaAttributes, InputHTMLAttributes, ReactNode } from 'react';
2
+ import React from 'react';
3
+ 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;
@@ -0,0 +1,26 @@
1
+ import React, { forwardRef, useImperativeHandle, useRef } from 'react';
2
+ import { Icon, Button, Input } from '@faststore/components';
3
+ import Form from '../Form';
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" },
5
+ React.createElement("circle", { cx: "11", cy: "11", r: "8" }),
6
+ React.createElement("line", { x1: "21", y1: "21", x2: "16.65", y2: "16.65" })));
7
+ const SearchInput = forwardRef(function SearchInput({ onSubmit, icon, 'aria-label': ariaLabel = 'search', testId = 'store-search-input', ...otherProps }, ref) {
8
+ const inputRef = useRef(null);
9
+ const formRef = useRef(null);
10
+ const handleSubmit = (event) => {
11
+ event.preventDefault();
12
+ if (inputRef.current?.value !== '') {
13
+ onSubmit(inputRef.current.value);
14
+ }
15
+ };
16
+ useImperativeHandle(ref, () => ({
17
+ inputRef: inputRef.current,
18
+ formRef: formRef.current,
19
+ }));
20
+ return (React.createElement(Form, { ref: formRef, "data-fs-search-input-form": true, "data-testid": testId, onSubmit: handleSubmit, role: "search" },
21
+ React.createElement(Input, { ref: inputRef, "aria-label": ariaLabel, ...otherProps }),
22
+ React.createElement(Button, { type: "submit", "aria-label": "Submit Search" },
23
+ React.createElement(Icon, { component: icon ?? React.createElement(SearchIcon, null) }))));
24
+ });
25
+ export default SearchInput;
26
+ //# sourceMappingURL=SearchInput.js.map
@@ -0,0 +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,KAAK,EAAE,MAAM,uBAAuB,CAAA;AAC3D,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,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"}
@@ -0,0 +1,2 @@
1
+ export { default } from './SearchInput';
2
+ export type { SearchInputProps, SearchInputRef } from './SearchInput';
@@ -0,0 +1,2 @@
1
+ export { default } from './SearchInput';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/SearchInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { FC } from 'react';
2
+ declare const CustomIcon: FC;
3
+ export default CustomIcon;
@@ -0,0 +1,7 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CustomIcon.js","sourceRoot":"","sources":["../../../../../../src/components/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"}
@@ -0,0 +1,58 @@
1
+ import type { ChangeEventHandler, HTMLAttributes } from 'react';
2
+ import React from 'react';
3
+ interface SkuProps {
4
+ /**
5
+ * Alternative text description of the image.
6
+ */
7
+ alt?: string;
8
+ /**
9
+ * Image URL.
10
+ */
11
+ src?: string;
12
+ /**
13
+ * Label to describe the option when selected.
14
+ */
15
+ label: string;
16
+ /**
17
+ * Current value for this option.
18
+ */
19
+ value: string;
20
+ /**
21
+ * Specifies that this option should be disabled.
22
+ */
23
+ disabled?: boolean;
24
+ }
25
+ type Variant = 'label' | 'image';
26
+ export interface SkuSelectorProps extends HTMLAttributes<HTMLDivElement> {
27
+ /**
28
+ * ID to find this component in testing tools (e.g.: cypress,
29
+ * testing-library, and jest).
30
+ */
31
+ testId?: string;
32
+ /**
33
+ * ID of the current instance of the component.
34
+ */
35
+ id?: string;
36
+ /**
37
+ * Specify which variant the component should handle.
38
+ */
39
+ variant: Variant;
40
+ /**
41
+ * SKU options that should be rendered.
42
+ */
43
+ options: SkuProps[];
44
+ /**
45
+ * Section label for the SKU selector.
46
+ */
47
+ label?: string;
48
+ /**
49
+ * Currently active variation's value.
50
+ */
51
+ activeValue: string;
52
+ /**
53
+ * Function to be triggered when SKU option change.
54
+ */
55
+ onChange?: ChangeEventHandler<HTMLInputElement>;
56
+ }
57
+ declare const SkuSelector: React.ForwardRefExoticComponent<SkuSelectorProps & React.RefAttributes<HTMLDivElement>>;
58
+ export default SkuSelector;
@@ -0,0 +1,16 @@
1
+ import React, { forwardRef } from 'react';
2
+ import { Label } from '@faststore/components';
3
+ import RadioGroup from '../RadioGroup';
4
+ const SkuSelector = forwardRef(function SkuSelector({ id, label, variant, onChange, testId = 'store-sku-selector', activeValue, children, ...otherProps }, ref) {
5
+ const radioGroupId = id ? `-${id}` : '';
6
+ return (React.createElement("div", { ref: ref, "data-fs-sku-selector": true, "data-testid": testId, "data-fs-sku-selector-variant": variant, ...otherProps },
7
+ label && (React.createElement(Label, { "data-fs-sku-selector-title": true },
8
+ label,
9
+ ": ",
10
+ React.createElement("strong", null, activeValue))),
11
+ React.createElement(RadioGroup, { selectedValue: activeValue, name: `sku-selector-${variant}${radioGroupId}`, onChange: (e) => {
12
+ onChange?.(e);
13
+ } }, children)));
14
+ });
15
+ export default SkuSelector;
16
+ //# sourceMappingURL=SkuSelector.js.map
@@ -0,0 +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,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"}
@@ -0,0 +1,2 @@
1
+ export { default } from './SkuSelector';
2
+ export type { SkuSelectorProps } from './SkuSelector';
@@ -0,0 +1,2 @@
1
+ export { default } from './SkuSelector';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/SkuSelector/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA"}
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import type { ReactNode, FormHTMLAttributes } from 'react';
3
+ export type OutOfStockBaseProps = {
4
+ /**
5
+ * ID to find this component in testing tools (e.g.: cypress,
6
+ * testing-library, and jest).
7
+ */
8
+ testId?: string;
9
+ /**
10
+ * Children for Out of Stock components.
11
+ */
12
+ children: string | ReactNode;
13
+ };
14
+ export type OutOfStockProps = OutOfStockBaseProps & {
15
+ /**
16
+ * Event emitted when form is submitted.
17
+ */
18
+ onSubmit?: (event: React.FormEvent<HTMLFormElement>) => void;
19
+ } & FormHTMLAttributes<HTMLFormElement>;
20
+ declare const OutOfStock: ({ testId, children, ...otherProps }: OutOfStockProps) => JSX.Element;
21
+ export default OutOfStock;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import Form from '../../molecules/Form';
3
+ const OutOfStock = ({ testId = 'store-out-of-stock', children, ...otherProps }) => {
4
+ return (React.createElement("section", { "data-fs-out-of-stock": true, "data-testid": testId },
5
+ React.createElement(Form, { "data-out-of-stock-form": true, testId: `${testId}-form`, ...otherProps }, children)));
6
+ };
7
+ export default OutOfStock;
8
+ //# sourceMappingURL=OutOfStock.js.map
@@ -0,0 +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,oCAAwB,MAAM,EAAE,GAAG,MAAM,OAAO,KAAM,UAAU,IAClE,QAAQ,CACJ,CACC,CACX,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import type { OutOfStockBaseProps } from './OutOfStock';
3
+ export type OutOfStockMessageProps = {
4
+ /**
5
+ * Attribute used for polymorphic component.
6
+ */
7
+ as?: 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'div' | 'span';
8
+ } & OutOfStockBaseProps;
9
+ export declare const OutOfStockMessage: ({ as: MessageComponent, testId, children, ...otherProps }: OutOfStockMessageProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export const OutOfStockMessage = ({ as: MessageComponent = 'p', testId = 'store-out-of-stock-message', children, ...otherProps }) => {
3
+ return (React.createElement(MessageComponent, { "data-out-of-stock-message": true, "data-testid": testId, ...otherProps }, children));
4
+ };
5
+ //# sourceMappingURL=OutOfStockMessage.js.map
@@ -0,0 +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,sDAEF,MAAM,KACf,UAAU,IAEb,QAAQ,CACQ,CACpB,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ import type { OutOfStockBaseProps } from './OutOfStock';
3
+ export type OutOfStockTitleProps = {
4
+ /**
5
+ * Attribute used for polymorphic component.
6
+ */
7
+ as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p';
8
+ } & OutOfStockBaseProps;
9
+ export declare const OutOfStockTitle: ({ as: TitleComponent, testId, children, ...otherProps }: OutOfStockTitleProps) => JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ export const OutOfStockTitle = ({ as: TitleComponent = 'h2', testId = 'store-out-of-stock-title', children, ...otherProps }) => {
3
+ return (React.createElement(TitleComponent, { "data-out-of-stock-title": true, "data-testid": testId, ...otherProps }, children));
4
+ };
5
+ //# sourceMappingURL=OutOfStockTitle.js.map
@@ -0,0 +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,oDAEA,MAAM,KACf,UAAU,IAEb,QAAQ,CACM,CAClB,CAAA;AACH,CAAC,CAAA"}
@@ -0,0 +1,6 @@
1
+ export { default } from './OutOfStock';
2
+ export { OutOfStockMessage } from './OutOfStockMessage';
3
+ export { OutOfStockTitle } from './OutOfStockTitle';
4
+ export type { OutOfStockProps } from './OutOfStock';
5
+ export type { OutOfStockMessageProps } from './OutOfStockMessage';
6
+ export type { OutOfStockTitleProps } from './OutOfStockTitle';
@@ -0,0 +1,4 @@
1
+ export { default } from './OutOfStock';
2
+ export { OutOfStockMessage } from './OutOfStockMessage';
3
+ export { OutOfStockTitle } from './OutOfStockTitle';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/organisms/OutOfStock/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { default } from './useSlider';
2
+ export * from './useSlider';
@@ -0,0 +1,3 @@
1
+ export { default } from './useSlider';
2
+ export * from './useSlider';
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/hooks/useSlider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AACrC,cAAc,aAAa,CAAA"}
@@ -0,0 +1,64 @@
1
+ import type { Dispatch } from 'react';
2
+ import type { SwipeableProps } from 'react-swipeable';
3
+ export declare type SlideDirection = 'next' | 'previous';
4
+ interface NextPageAction {
5
+ type: 'NEXT_PAGE';
6
+ }
7
+ interface PreviousPageAction {
8
+ type: 'PREVIOUS_PAGE';
9
+ }
10
+ interface GoToPageAction {
11
+ type: 'GO_TO_PAGE';
12
+ payload: {
13
+ pageIndex: number;
14
+ shouldSlide: boolean;
15
+ };
16
+ }
17
+ interface StopSlideAction {
18
+ type: 'STOP_SLIDE';
19
+ }
20
+ export declare type Action = NextPageAction | PreviousPageAction | StopSlideAction | GoToPageAction;
21
+ export declare type SliderDispatch = Dispatch<Action>;
22
+ export interface SliderState {
23
+ /**
24
+ * The `currentItem` in a Slider with multiple items in a single page is
25
+ * always **the one with the lowest index** in the current page.
26
+ */
27
+ currentItem: number;
28
+ /** Currently active page */
29
+ currentPage: number;
30
+ /**
31
+ * Whether or not the Slider is currently sliding. This is useful to
32
+ * manipulate the `transition` property in a component.
33
+ */
34
+ sliding: boolean;
35
+ /** The direction in which the Slider is sliding. */
36
+ slideDirection: SlideDirection;
37
+ /** The total number of unique items in the slider. */
38
+ totalItems: number;
39
+ /** The number of items in a single page. */
40
+ itemsPerPage: number;
41
+ /** The total number of pages in the slider. */
42
+ totalPages: number;
43
+ /** Whether or not the slider is infinite. */
44
+ infinite: boolean;
45
+ }
46
+ export declare const nextPage: (current: number, total: number) => number;
47
+ export declare const previousPage: (current: number, total: number) => number;
48
+ export interface UseSliderArgs extends SwipeableProps {
49
+ /** The total number of unique items in the slider. */
50
+ totalItems: number;
51
+ /** The number of items in a single slider page. */
52
+ itemsPerPage?: number;
53
+ /** Whether or not the slider is infinite. */
54
+ infiniteMode?: boolean;
55
+ /** Whether or not slide after swiping left/right. */
56
+ shouldSlideOnSwipe?: boolean;
57
+ }
58
+ export default function useSlider({ totalItems, itemsPerPage, infiniteMode, shouldSlideOnSwipe, ...swipeableConfigOverrides }: UseSliderArgs): {
59
+ handlers: import("react-swipeable").SwipeableHandlers;
60
+ slide: (page: number | SlideDirection, dispatch: Dispatch<Action>) => void;
61
+ sliderState: SliderState;
62
+ sliderDispatch: Dispatch<Action>;
63
+ };
64
+ export {};
@@ -0,0 +1,103 @@
1
+ import { useReducer } from 'react';
2
+ import { useSwipeable } from 'react-swipeable';
3
+ export const nextPage = (current, total) => (current + 1) % total;
4
+ export const previousPage = (current, total) => (total - ((total - current + 1) % total)) % total;
5
+ function reducer(state, action) {
6
+ switch (action.type) {
7
+ case 'NEXT_PAGE': {
8
+ // If `state.infinite` is true, we need to take into account an extra
9
+ // page in the calculation. This extra page is a clone of the first page.
10
+ const adjustedTotalPages = state.infinite
11
+ ? state.totalPages + 1
12
+ : state.totalPages;
13
+ const nextPageIndex = nextPage(state.currentPage, adjustedTotalPages);
14
+ const nextItemIndex = (nextPageIndex % adjustedTotalPages) * state.itemsPerPage;
15
+ return {
16
+ ...state,
17
+ sliding: true,
18
+ slideDirection: 'next',
19
+ currentItem: nextItemIndex,
20
+ currentPage: nextPageIndex,
21
+ };
22
+ }
23
+ case 'PREVIOUS_PAGE': {
24
+ // If `state.infinite` is true, we need to take into account an extra
25
+ // page in the calculation. This extra page is a clone of the first page.
26
+ const adjustedTotalPages = state.infinite
27
+ ? state.totalPages + 1
28
+ : state.totalPages;
29
+ // If `state.infinite` is true and we're currently on page 0, we need to
30
+ // let the slider go to page -1. This -1 page is a clone of the last page.
31
+ const shouldGoToClone = state.infinite && state.currentPage === 0;
32
+ const previousPageIndex = shouldGoToClone
33
+ ? -1
34
+ : previousPage(state.currentPage, state.totalPages);
35
+ return {
36
+ ...state,
37
+ sliding: true,
38
+ slideDirection: 'previous',
39
+ currentItem: (previousPageIndex % adjustedTotalPages) * state.itemsPerPage,
40
+ currentPage: previousPageIndex,
41
+ };
42
+ }
43
+ case 'GO_TO_PAGE': {
44
+ if (action.payload.pageIndex === state.currentPage) {
45
+ return state;
46
+ }
47
+ return {
48
+ ...state,
49
+ sliding: action.payload.shouldSlide,
50
+ slideDirection: action.payload.pageIndex > state.currentPage ? 'next' : 'previous',
51
+ currentItem: (action.payload.pageIndex % state.totalPages) * state.itemsPerPage,
52
+ currentPage: action.payload.pageIndex,
53
+ };
54
+ }
55
+ case 'STOP_SLIDE':
56
+ return { ...state, sliding: false };
57
+ default:
58
+ return state;
59
+ }
60
+ }
61
+ const defaultSliderState = (totalItems, itemsPerPage, infinite) => ({
62
+ currentItem: 0,
63
+ currentPage: 0,
64
+ sliding: false,
65
+ slideDirection: 'next',
66
+ totalItems,
67
+ itemsPerPage,
68
+ totalPages: Math.ceil(totalItems / itemsPerPage),
69
+ infinite,
70
+ });
71
+ const slide = (page, dispatch) => {
72
+ if (page === 'next') {
73
+ dispatch({ type: 'NEXT_PAGE' });
74
+ }
75
+ if (page === 'previous') {
76
+ dispatch({ type: 'PREVIOUS_PAGE' });
77
+ }
78
+ if (typeof page === 'number') {
79
+ dispatch({
80
+ type: 'GO_TO_PAGE',
81
+ payload: {
82
+ pageIndex: page,
83
+ shouldSlide: true,
84
+ },
85
+ });
86
+ }
87
+ };
88
+ export default function useSlider({ totalItems, itemsPerPage = 1, infiniteMode = false, shouldSlideOnSwipe = true, ...swipeableConfigOverrides }) {
89
+ const [sliderState, sliderDispatch] = useReducer(reducer, undefined, () => defaultSliderState(totalItems, itemsPerPage, infiniteMode));
90
+ const handlers = useSwipeable({
91
+ onSwipedRight: () => shouldSlideOnSwipe && slide('previous', sliderDispatch),
92
+ onSwipedLeft: () => shouldSlideOnSwipe && slide('next', sliderDispatch),
93
+ trackMouse: true,
94
+ ...swipeableConfigOverrides,
95
+ });
96
+ return {
97
+ handlers,
98
+ slide,
99
+ sliderState,
100
+ sliderDispatch,
101
+ };
102
+ }
103
+ //# sourceMappingURL=useSlider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSlider.js","sourceRoot":"","sources":["../../../src/hooks/useSlider/useSlider.ts"],"names":[],"mappings":"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"}