@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,37 @@
1
+ import React, { forwardRef } from 'react';
2
+ import { useAccordion } from './Accordion';
3
+ import { useAccordionItem } from './AccordionItem';
4
+ import { Button } from '@faststore/components';
5
+ const AccordionButton = forwardRef(function AccordionButton({ testId = 'store-accordion-button', children, ...otherProps }, ref) {
6
+ const { indices, onChange, numberOfItems } = useAccordion();
7
+ const { index, panel, button, prefixId } = useAccordionItem();
8
+ const onKeyDown = (event) => {
9
+ if (!['ArrowDown', 'ArrowUp'].includes(event.key)) {
10
+ return;
11
+ }
12
+ const getNext = () => {
13
+ const next = Number(index) + 1 === numberOfItems ? 0 : Number(index) + 1;
14
+ return document.getElementById(`${prefixId && `${prefixId}-`}button--${next}`);
15
+ };
16
+ const getPrevious = () => {
17
+ const previous = Number(index) - 1 < 0 ? numberOfItems - 1 : Number(index) - 1;
18
+ return document.getElementById(`${prefixId && `${prefixId}-`}button--${previous}`);
19
+ };
20
+ switch (event.key) {
21
+ case 'ArrowDown':
22
+ event.preventDefault();
23
+ getNext()?.focus();
24
+ break;
25
+ case 'ArrowUp':
26
+ event.preventDefault();
27
+ getPrevious()?.focus();
28
+ break;
29
+ default:
30
+ }
31
+ };
32
+ return (React.createElement(Button, { ref: ref, id: button, "aria-expanded": indices.has(index), "aria-controls": panel, "data-accordion-button": true, "data-testid": testId, onKeyDown: onKeyDown, onClick: () => {
33
+ onChange(index);
34
+ }, ...otherProps }, children));
35
+ });
36
+ export default AccordionButton;
37
+ //# sourceMappingURL=AccordionButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccordionButton.js","sourceRoot":"","sources":["../../../../src/components/molecules/Accordion/AccordionButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAElD,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAU9C,MAAM,eAAe,GAAG,UAAU,CAChC,SAAS,eAAe,CACtB,EAAE,MAAM,GAAG,wBAAwB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC9D,GAAG;IAEH,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,GAAG,YAAY,EAAE,CAAA;IAC3D,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,GAAG,gBAAgB,EAAE,CAAA;IAE7D,MAAM,SAAS,GAAG,CAAC,KAA0B,EAAE,EAAE;QAC/C,IAAI,CAAC,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;YACjD,OAAM;SACP;QAED,MAAM,OAAO,GAAG,GAAG,EAAE;YACnB,MAAM,IAAI,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YAExE,OAAO,QAAQ,CAAC,cAAc,CAC5B,GAAG,QAAQ,IAAI,GAAG,QAAQ,GAAG,WAAW,IAAI,EAAE,CAC/C,CAAA;QACH,CAAC,CAAA;QAED,MAAM,WAAW,GAAG,GAAG,EAAE;YACvB,MAAM,QAAQ,GACZ,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,aAAa,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAA;YAE/D,OAAO,QAAQ,CAAC,cAAc,CAC5B,GAAG,QAAQ,IAAI,GAAG,QAAQ,GAAG,WAAW,QAAQ,EAAE,CACnD,CAAA;QACH,CAAC,CAAA;QAED,QAAQ,KAAK,CAAC,GAAG,EAAE;YACjB,KAAK,WAAW;gBACd,KAAK,CAAC,cAAc,EAAE,CAAA;gBACtB,OAAO,EAAE,EAAE,KAAK,EAAE,CAAA;gBAClB,MAAK;YAEP,KAAK,SAAS;gBACZ,KAAK,CAAC,cAAc,EAAE,CAAA;gBACtB,WAAW,EAAE,EAAE,KAAK,EAAE,CAAA;gBACtB,MAAK;YAEP,QAAQ;SACT;IACH,CAAC,CAAA;IAED,OAAO,CACL,oBAAC,MAAM,IACL,GAAG,EAAE,GAAG,EACR,EAAE,EAAE,MAAM,mBACK,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,mBAClB,KAAK,gDAEP,MAAM,EACnB,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,GAAG,EAAE;YACZ,QAAQ,CAAC,KAAK,CAAC,CAAA;QACjB,CAAC,KACG,UAAU,IAEb,QAAQ,CACF,CACV,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,eAAe,CAAA"}
@@ -0,0 +1,31 @@
1
+ import type { ElementType, HTMLAttributes, ReactElement } from 'react';
2
+ import React from 'react';
3
+ import type { PolymorphicComponentPropsWithRef } from '../../../typings';
4
+ interface AccordionItemContext {
5
+ index: number;
6
+ panel: string;
7
+ button: string;
8
+ prefixId: string;
9
+ }
10
+ declare const AccordionItemContext: React.Context<AccordionItemContext | undefined>;
11
+ interface Props extends HTMLAttributes<HTMLDivElement> {
12
+ /**
13
+ * ID to find this component in testing tools (e.g.: cypress,
14
+ * testing-library, and jest).
15
+ */
16
+ testId?: string;
17
+ /**
18
+ * Index of the current accordion item within the accordion.
19
+ */
20
+ index?: number;
21
+ /**
22
+ * Namespace ID prefix for the current Accordion item's panel and button
23
+ * to avoid ID duplication when multiple instances are on the same page.
24
+ */
25
+ prefixId?: string;
26
+ }
27
+ export type AccordionItemProps<C extends ElementType> = PolymorphicComponentPropsWithRef<C, Props>;
28
+ type AccordionItemComponent = <C extends ElementType = 'div'>(props: AccordionItemProps<C>) => ReactElement | null;
29
+ declare const AccordionItem: AccordionItemComponent;
30
+ export declare function useAccordionItem(): AccordionItemContext;
31
+ export default AccordionItem;
@@ -0,0 +1,22 @@
1
+ import React, { createContext, forwardRef, useContext } from 'react';
2
+ const AccordionItemContext = createContext(undefined);
3
+ const AccordionItem = forwardRef(function AccordionItem({ testId = 'store-accordion-item', children, prefixId = '', index = 0, as: MaybeComponent, ...otherProps }, ref) {
4
+ const Component = MaybeComponent ?? 'div';
5
+ const context = {
6
+ index,
7
+ prefixId,
8
+ panel: `${prefixId && `${prefixId}-`}panel--${index}`,
9
+ button: `${prefixId && `${prefixId}-`}button--${index}`,
10
+ };
11
+ return (React.createElement(AccordionItemContext.Provider, { value: context },
12
+ React.createElement(Component, { ref: ref, "data-accordion-item": true, "data-testid": testId, ...otherProps }, children)));
13
+ });
14
+ export function useAccordionItem() {
15
+ const context = useContext(AccordionItemContext);
16
+ if (context === undefined) {
17
+ throw new Error('Do not use AccordionItem components outside the AccordionItem context.');
18
+ }
19
+ return context;
20
+ }
21
+ export default AccordionItem;
22
+ //# sourceMappingURL=AccordionItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../../src/components/molecules/Accordion/AccordionItem.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAapE,MAAM,oBAAoB,GAAG,aAAa,CACxC,SAAS,CACV,CAAA;AA2BD,MAAM,aAAa,GAA2B,UAAU,CAAC,SAAS,aAAa,CAG7E,EACE,MAAM,GAAG,sBAAsB,EAC/B,QAAQ,EACR,QAAQ,GAAG,EAAE,EACb,KAAK,GAAG,CAAC,EACT,EAAE,EAAE,cAAc,EAClB,GAAG,UAAU,EACS,EACxB,GAAsB;IAEtB,MAAM,SAAS,GAAG,cAAc,IAAI,KAAK,CAAA;IAEzC,MAAM,OAAO,GAAG;QACd,KAAK;QACL,QAAQ;QACR,KAAK,EAAE,GAAG,QAAQ,IAAI,GAAG,QAAQ,GAAG,UAAU,KAAK,EAAE;QACrD,MAAM,EAAE,GAAG,QAAQ,IAAI,GAAG,QAAQ,GAAG,WAAW,KAAK,EAAE;KACxD,CAAA;IAED,OAAO,CACL,oBAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,OAAO;QAC3C,oBAAC,SAAS,IACR,GAAG,EAAE,GAAG,8CAEK,MAAM,KACf,UAAU,IAEb,QAAQ,CACC,CACkB,CACjC,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,MAAM,UAAU,gBAAgB;IAC9B,MAAM,OAAO,GAAG,UAAU,CAAC,oBAAoB,CAAC,CAAA;IAEhD,IAAI,OAAO,KAAK,SAAS,EAAE;QACzB,MAAM,IAAI,KAAK,CACb,wEAAwE,CACzE,CAAA;KACF;IAED,OAAO,OAAO,CAAA;AAChB,CAAC;AAED,eAAe,aAAa,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { HTMLAttributes } from 'react';
2
+ import React from 'react';
3
+ export interface AccordionPanelProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role'> {
4
+ /**
5
+ * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
+ */
7
+ testId?: string;
8
+ }
9
+ declare const AccordionPanel: React.ForwardRefExoticComponent<AccordionPanelProps & React.RefAttributes<HTMLDivElement>>;
10
+ export default AccordionPanel;
@@ -0,0 +1,10 @@
1
+ import React, { forwardRef } from 'react';
2
+ import { useAccordion } from './Accordion';
3
+ import { useAccordionItem } from './AccordionItem';
4
+ const AccordionPanel = forwardRef(function AccordionPanel({ testId = 'store-accordion-panel', children, ...otherProps }, ref) {
5
+ const { indices } = useAccordion();
6
+ const { index, button, panel } = useAccordionItem();
7
+ return (React.createElement("div", { ref: ref, id: panel, "aria-labelledby": button, role: "region", "data-accordion-panel": true, "data-testid": testId, hidden: !indices.has(index), ...otherProps }, children));
8
+ });
9
+ export default AccordionPanel;
10
+ //# sourceMappingURL=AccordionPanel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccordionPanel.js","sourceRoot":"","sources":["../../../../src/components/molecules/Accordion/AccordionPanel.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAA;AAUlD,MAAM,cAAc,GAAG,UAAU,CAC/B,SAAS,cAAc,CACrB,EAAE,MAAM,GAAG,uBAAuB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC7D,GAAG;IAEH,MAAM,EAAE,OAAO,EAAE,GAAG,YAAY,EAAE,CAAA;IAClC,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,gBAAgB,EAAE,CAAA;IAEnD,OAAO,CACL,6BACE,GAAG,EAAE,GAAG,EACR,EAAE,EAAE,KAAK,qBACQ,MAAM,EACvB,IAAI,EAAC,QAAQ,+CAEA,MAAM,EACnB,MAAM,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,KACvB,UAAU,IAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,cAAc,CAAA"}
@@ -0,0 +1,8 @@
1
+ export { default } from './Accordion';
2
+ export type { AccordionProps } from './Accordion';
3
+ export { default as AccordionItem } from './AccordionItem';
4
+ export type { AccordionItemProps } from './AccordionItem';
5
+ export { default as AccordionButton } from './AccordionButton';
6
+ export type { AccordionButtonProps } from './AccordionButton';
7
+ export { default as AccordionPanel } from './AccordionPanel';
8
+ export type { AccordionPanelProps } from './AccordionPanel';
@@ -0,0 +1,5 @@
1
+ export { default } from './Accordion';
2
+ export { default as AccordionItem } from './AccordionItem';
3
+ export { default as AccordionButton } from './AccordionButton';
4
+ export { default as AccordionPanel } from './AccordionPanel';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/Accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAGrC,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAG1D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAG9D,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kBAAkB,CAAA"}
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import type { ListProps } from '@faststore/components';
3
+ export interface AggregateRatingProps extends ListProps<'ul'> {
4
+ /**
5
+ * The current value of the rating, based on the quantity of child elements.
6
+ */
7
+ value: number;
8
+ /**
9
+ * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
10
+ */
11
+ testId?: string;
12
+ }
13
+ export interface RatingItemProps {
14
+ 'data-fs-aggregate-rating-item'?: 'full' | 'partial' | 'empty';
15
+ 'data-testid'?: string;
16
+ }
17
+ declare const AggregateRating: React.ForwardRefExoticComponent<Pick<AggregateRatingProps, "children" | "hidden" | "testId" | "slot" | "style" | "title" | "marker" | "as" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "nonce" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "value"> & React.RefAttributes<HTMLUListElement>>;
18
+ export default AggregateRating;
@@ -0,0 +1,26 @@
1
+ import React, { forwardRef } from 'react';
2
+ import { List } from '@faststore/components';
3
+ const RatingItem = ({ children, ...otherProps }) => {
4
+ if (!React.isValidElement(children)) {
5
+ return React.createElement("li", { ...otherProps }, children);
6
+ }
7
+ return React.createElement("li", null, React.cloneElement(children, otherProps));
8
+ };
9
+ const AggregateRating = forwardRef(function AggregateRating({ children, testId = 'store-aggregate-rating', value, ...otherProps }, ref) {
10
+ const fillCheck = (itemValue) => {
11
+ if (itemValue >= 1) {
12
+ return 'full';
13
+ }
14
+ if (0 < itemValue && itemValue < 1) {
15
+ return 'partial';
16
+ }
17
+ return 'empty';
18
+ };
19
+ return (React.createElement(List, { "data-fs-aggregate-rating": true, ref: ref, "data-testid": testId, ...otherProps }, React.Children.map(children, (child, index) => {
20
+ const currentItemNumber = index;
21
+ const fill = fillCheck(value - currentItemNumber);
22
+ return (React.createElement(RatingItem, { key: `aggregate-rating-${index}`, "data-fs-aggregate-rating-item": fill, "data-testid": `${testId}-item` }, child));
23
+ })));
24
+ });
25
+ export default AggregateRating;
26
+ //# sourceMappingURL=AggregateRating.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AggregateRating.js","sourceRoot":"","sources":["../../../../src/components/molecules/AggregateRating/AggregateRating.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAmB5C,MAAM,UAAU,GAA2C,CAAC,EAC1D,QAAQ,EACR,GAAG,UAAU,EACd,EAAE,EAAE;IACH,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE;QACnC,OAAO,+BAAQ,UAAU,IAAG,QAAQ,CAAM,CAAA;KAC3C;IAED,OAAO,gCAAK,KAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,UAAU,CAAC,CAAM,CAAA;AAC5D,CAAC,CAAA;AAED,MAAM,eAAe,GAAG,UAAU,CAChC,SAAS,eAAe,CACtB,EAAE,QAAQ,EAAE,MAAM,GAAG,wBAAwB,EAAE,KAAK,EAAE,GAAG,UAAU,EAAE,EACrE,GAAG;IAEH,MAAM,SAAS,GAAG,CAAC,SAAiB,EAAE,EAAE;QACtC,IAAI,SAAS,IAAI,CAAC,EAAE;YAClB,OAAO,MAAM,CAAA;SACd;QAED,IAAI,CAAC,GAAG,SAAS,IAAI,SAAS,GAAG,CAAC,EAAE;YAClC,OAAO,SAAS,CAAA;SACjB;QAED,OAAO,OAAO,CAAA;IAChB,CAAC,CAAA;IAED,OAAO,CACL,oBAAC,IAAI,sCAEH,GAAG,EAAE,GAAG,iBACK,MAAM,KACf,UAAU,IAEb,KAAK,CAAC,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,KAAa,EAAE,EAAE;QACrD,MAAM,iBAAiB,GAAG,KAAK,CAAA;QAC/B,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,GAAG,iBAAiB,CAAC,CAAA;QAEjD,OAAO,CACL,oBAAC,UAAU,IACT,GAAG,EAAE,oBAAoB,KAAK,EAAE,mCACD,IAAI,iBACtB,GAAG,MAAM,OAAO,IAE5B,KAAK,CACK,CACd,CAAA;IACH,CAAC,CAAC,CACG,CACR,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,eAAe,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { default } from './AggregateRating';
2
+ export type { AggregateRatingProps } from './AggregateRating';
@@ -0,0 +1,2 @@
1
+ export { default } from './AggregateRating';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/AggregateRating/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAA"}
@@ -0,0 +1,11 @@
1
+ import type { HTMLAttributes } from 'react';
2
+ import React from 'react';
3
+ export interface AlertProps extends Omit<HTMLAttributes<HTMLDivElement>, 'role'> {
4
+ /**
5
+ * ID to find this component in testing tools (e.g.: cypress,
6
+ * testing-library, and jest).
7
+ */
8
+ testId?: string;
9
+ }
10
+ declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
11
+ export default Alert;
@@ -0,0 +1,6 @@
1
+ import React, { forwardRef } from 'react';
2
+ const Alert = forwardRef(function Alert({ testId = 'store-alert', children, ...otherProps }, ref) {
3
+ return (React.createElement("div", { ref: ref, role: "alert", "data-fs-alert": true, "data-testid": testId, ...otherProps }, children));
4
+ });
5
+ export default Alert;
6
+ //# sourceMappingURL=Alert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Alert.js","sourceRoot":"","sources":["../../../../src/components/molecules/Alert/Alert.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,KAAK,GAAG,UAAU,CAA6B,SAAS,KAAK,CACjE,EAAE,MAAM,GAAG,aAAa,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACnD,GAAG;IAEH,OAAO,CACL,6BACE,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,OAAO,wCAEC,MAAM,KACf,UAAU,IAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,KAAK,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Alert';
2
+ export type { AlertProps } from './Alert';
@@ -0,0 +1,2 @@
1
+ export { default } from './Alert';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/Alert/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA"}
@@ -0,0 +1,14 @@
1
+ import React from 'react';
2
+ import type { HTMLAttributes, ReactNode } from 'react';
3
+ export interface BreadcrumbProps extends HTMLAttributes<HTMLDivElement> {
4
+ /**
5
+ * A ReactNode that will be rendered as the Divider icon.
6
+ */
7
+ divider?: ReactNode;
8
+ /**
9
+ * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
10
+ */
11
+ testId?: string;
12
+ }
13
+ declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLDivElement>>;
14
+ export default Breadcrumb;
@@ -0,0 +1,38 @@
1
+ import React, { forwardRef } from 'react';
2
+ import { List } from '@faststore/components';
3
+ const Divider = ({ divider, testId }) => {
4
+ const props = {
5
+ 'data-breadcrumb-divider': true,
6
+ 'aria-hidden': true,
7
+ 'data-testid': `${testId}-divider`,
8
+ };
9
+ if (React.isValidElement(divider)) {
10
+ return React.cloneElement(divider, props);
11
+ }
12
+ return React.createElement("span", { ...props }, divider ?? '/');
13
+ };
14
+ const ListItem = ({ children, isLastItem, divider, testId, }) => {
15
+ const props = {
16
+ 'data-testid': `${testId}-item`,
17
+ 'data-breadcrumb-item': isLastItem ? 'current' : true,
18
+ 'aria-current': isLastItem ? 'page' : undefined,
19
+ };
20
+ if (!React.isValidElement(children)) {
21
+ return (React.createElement("li", { "data-breadcrumb-list-item": true },
22
+ React.createElement("span", { ...props },
23
+ children,
24
+ isLastItem ? null : React.createElement(Divider, { divider: divider, testId: testId }))));
25
+ }
26
+ return (React.createElement("li", { "data-breadcrumb-list-item": true },
27
+ React.cloneElement(children, props),
28
+ isLastItem ? null : React.createElement(Divider, { divider: divider, testId: testId })));
29
+ };
30
+ const Breadcrumb = forwardRef(function Breadcrumb({ children, divider: rawDivider, testId = 'store-breadcrumb', ...otherProps }, ref) {
31
+ return (React.createElement("nav", { "aria-label": "Breadcrumb", role: "navigation", ref: ref, "data-fs-breadcrumb": true, "data-testid": testId, ...otherProps },
32
+ React.createElement(List, { as: "ol", "data-breadcrumb-list": true }, React.Children.toArray(children).map((child, index, childrenArray) => {
33
+ const isLastItem = index === childrenArray.length - 1;
34
+ return (React.createElement(ListItem, { isLastItem: isLastItem, divider: rawDivider, key: `breadcrumb-${index}`, testId: testId }, child));
35
+ }))));
36
+ });
37
+ export default Breadcrumb;
38
+ //# sourceMappingURL=Breadcrumb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Breadcrumb.js","sourceRoot":"","sources":["../../../../src/components/molecules/Breadcrumb/Breadcrumb.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,IAAI,EAAE,MAAM,uBAAuB,CAAA;AAa5C,MAAM,OAAO,GAAwB,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,EAAE;IAC3D,MAAM,KAAK,GAAG;QACZ,yBAAyB,EAAE,IAAI;QAC/B,aAAa,EAAE,IAAI;QACnB,aAAa,EAAE,GAAG,MAAM,UAAU;KACnC,CAAA;IAED,IAAI,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,EAAE;QACjC,OAAO,KAAK,CAAC,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,CAAA;KAC1C;IAED,OAAO,iCAAU,KAAK,IAAG,OAAO,IAAI,GAAG,CAAQ,CAAA;AACjD,CAAC,CAAA;AASD,MAAM,QAAQ,GAAsB,CAAC,EACnC,QAAQ,EACR,UAAU,EACV,OAAO,EACP,MAAM,GACP,EAAE,EAAE;IACH,MAAM,KAAK,GAAG;QACZ,aAAa,EAAE,GAAG,MAAM,OAAO;QAC/B,sBAAsB,EAAE,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI;QACrD,cAAc,EAAE,UAAU,CAAC,CAAC,CAAE,MAAgB,CAAC,CAAC,CAAC,SAAS;KAC3D,CAAA;IAED,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE;QACnC,OAAO,CACL;YACE,iCAAU,KAAK;gBACZ,QAAQ;gBACR,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAC,OAAO,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAI,CAC7D,CACJ,CACN,CAAA;KACF;IAED,OAAO,CACL;QACG,KAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,KAAK,CAAC;QACnC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,oBAAC,OAAO,IAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAI,CAC/D,CACN,CAAA;AACH,CAAC,CAAA;AAED,MAAM,UAAU,GAAG,UAAU,CAC3B,SAAS,UAAU,CACjB,EACE,QAAQ,EACR,OAAO,EAAE,UAAU,EACnB,MAAM,GAAG,kBAAkB,EAC3B,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,2CACa,YAAY,EACvB,IAAI,EAAC,YAAY,EACjB,GAAG,EAAE,GAAG,6CAEK,MAAM,KACf,UAAU;QAEd,oBAAC,IAAI,IAAC,EAAE,EAAC,IAAI,kCACV,KAAK,CAAC,QAAQ,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,GAAG,CACnC,CAAC,KAAK,EAAE,KAAK,EAAE,aAAa,EAAE,EAAE;YAC9B,MAAM,UAAU,GAAG,KAAK,KAAK,aAAa,CAAC,MAAM,GAAG,CAAC,CAAA;YAErD,OAAO,CACL,oBAAC,QAAQ,IACP,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,UAAU,EACnB,GAAG,EAAE,cAAc,KAAK,EAAE,EAC1B,MAAM,EAAE,MAAM,IAEb,KAAK,CACG,CACZ,CAAA;QACH,CAAC,CACF,CACI,CACH,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Breadcrumb';
2
+ export type { BreadcrumbProps } from './Breadcrumb';
@@ -0,0 +1,2 @@
1
+ export { default } from './Breadcrumb';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/Breadcrumb/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
@@ -0,0 +1,35 @@
1
+ import type { HTMLAttributes, MouseEvent } from 'react';
2
+ import React from 'react';
3
+ export interface BulletsProps extends Omit<HTMLAttributes<HTMLDivElement>, 'onClick' | 'role'> {
4
+ /**
5
+ * Number of bullets that should be rendered.
6
+ */
7
+ totalQuantity: number;
8
+ /**
9
+ * The currently active bullet (zero-indexed).
10
+ */
11
+ activeBullet: number;
12
+ /**
13
+ * Event handler for clicks on each bullet. The handler will be called with
14
+ * the index of the bullet that received the click.
15
+ */
16
+ onClick: (e: MouseEvent, bulletIdx: number) => void;
17
+ /**
18
+ * ID to find this component in testing tools (e.g.: cypress,
19
+ * testing-library, and jest).
20
+ */
21
+ testId?: string;
22
+ /**
23
+ * Function that should be used to generate the aria-label attribute added
24
+ * to each bullet that is inactive. It receives the bullet index as an
25
+ * argument so that it can be interpolated in the generated string.
26
+ */
27
+ ariaLabelGenerator?: (index: number, isActive: boolean) => string;
28
+ /**
29
+ * Function that should be used to generate the aria-controls attribute added
30
+ * to each bullet. It receives the bullet index as argument and should return a string.
31
+ */
32
+ ariaControlsGenerator?: (index: number) => string;
33
+ }
34
+ declare const Bullets: React.ForwardRefExoticComponent<BulletsProps & React.RefAttributes<HTMLDivElement>>;
35
+ export default Bullets;
@@ -0,0 +1,12 @@
1
+ import React, { forwardRef, useMemo } from 'react';
2
+ import { Button } from '@faststore/components';
3
+ const defaultAriaLabel = (idx, isActive) => isActive ? 'Current page' : `Go to page ${idx + 1}`;
4
+ const Bullets = forwardRef(function Bullets({ totalQuantity, activeBullet, onClick, testId = 'store-bullets', ariaLabelGenerator = defaultAriaLabel, ariaControlsGenerator, ...otherProps }, ref) {
5
+ const bulletIndexes = useMemo(() => Array(totalQuantity).fill(0), [totalQuantity]);
6
+ return (React.createElement("div", { ref: ref, "data-fs-bullets": true, "data-testid": testId, role: "tablist", ...otherProps }, bulletIndexes.map((_, idx) => {
7
+ const isActive = activeBullet === idx;
8
+ return (React.createElement(Button, { key: idx, role: "tab", tabIndex: -1, "data-fs-bullet": true, testId: `${testId}-bullet`, onClick: (e) => onClick(e, idx), "aria-label": ariaLabelGenerator(idx, isActive), "aria-controls": ariaControlsGenerator?.(idx), "aria-selected": isActive }));
9
+ })));
10
+ });
11
+ export default Bullets;
12
+ //# sourceMappingURL=Bullets.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Bullets.js","sourceRoot":"","sources":["../../../../src/components/molecules/Bullets/Bullets.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAElD,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAmC9C,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,QAAiB,EAAE,EAAE,CAC1D,QAAQ,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,cAAc,GAAG,GAAG,CAAC,EAAE,CAAA;AAErD,MAAM,OAAO,GAAG,UAAU,CAA+B,SAAS,OAAO,CACvE,EACE,aAAa,EACb,YAAY,EACZ,OAAO,EACP,MAAM,GAAG,eAAe,EACxB,kBAAkB,GAAG,gBAAgB,EACrC,qBAAqB,EACrB,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,aAAa,GAAG,OAAO,CAC3B,GAAG,EAAE,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAClC,CAAC,aAAa,CAAC,CAChB,CAAA;IAED,OAAO,CACL,6BACE,GAAG,EAAE,GAAG,0CAEK,MAAM,EACnB,IAAI,EAAC,SAAS,KACV,UAAU,IAEb,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE;QAC5B,MAAM,QAAQ,GAAG,YAAY,KAAK,GAAG,CAAA;QAErC,OAAO,CACL,oBAAC,MAAM,IACL,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,KAAK,EACV,QAAQ,EAAE,CAAC,CAAC,0BAEZ,MAAM,EAAE,GAAG,MAAM,SAAS,EAC1B,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,GAAG,CAAC,gBACnB,kBAAkB,CAAC,GAAG,EAAE,QAAQ,CAAC,mBAC9B,qBAAqB,EAAE,CAAC,GAAG,CAAC,mBAC5B,QAAQ,GACvB,CACH,CAAA;IACH,CAAC,CAAC,CACE,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,OAAO,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { default } from './Bullets';
2
+ export type { BulletsProps } from './Bullets';
@@ -0,0 +1,2 @@
1
+ export { default } from './Bullets';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/Bullets/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { HTMLAttributes } from 'react';
3
+ export interface CardProps extends HTMLAttributes<HTMLDivElement> {
4
+ /**
5
+ * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
+ */
7
+ testId?: string;
8
+ }
9
+ declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLDivElement>>;
10
+ export default Card;
@@ -0,0 +1,6 @@
1
+ import React, { forwardRef } from 'react';
2
+ const Card = forwardRef(function Card({ testId = 'store-card', children, ...otherProps }, ref) {
3
+ return (React.createElement("article", { ref: ref, "data-fs-card": true, "data-testid": testId, ...otherProps }, children));
4
+ });
5
+ export default Card;
6
+ //# sourceMappingURL=Card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.js","sourceRoot":"","sources":["../../../../src/components/molecules/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,IAAI,GAAG,UAAU,CAA4B,SAAS,IAAI,CAC9D,EAAE,MAAM,GAAG,YAAY,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAClD,GAAG;IAEH,OAAO,CACL,iCAAS,GAAG,EAAE,GAAG,uCAA4B,MAAM,KAAM,UAAU,IAChE,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,IAAI,CAAA"}
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import type { HTMLAttributes } from 'react';
3
+ export interface CardActionsProps extends HTMLAttributes<HTMLDivElement> {
4
+ /**
5
+ * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
+ */
7
+ testId?: string;
8
+ }
9
+ declare const CardActions: React.ForwardRefExoticComponent<CardActionsProps & React.RefAttributes<HTMLDivElement>>;
10
+ export default CardActions;
@@ -0,0 +1,6 @@
1
+ import React, { forwardRef } from 'react';
2
+ const CardActions = forwardRef(function CardActions({ testId = 'store-card-actions', children, ...otherProps }, ref) {
3
+ return (React.createElement("div", { ref: ref, "data-card-actions": true, "data-testid": testId, ...otherProps }, children));
4
+ });
5
+ export default CardActions;
6
+ //# sourceMappingURL=CardActions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardActions.js","sourceRoot":"","sources":["../../../../src/components/molecules/Card/CardActions.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAUzC,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EAAE,MAAM,GAAG,oBAAoB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC1D,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,4CAAiC,MAAM,KAAM,UAAU,IACjE,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { HTMLAttributes } from 'react';
2
+ import React from 'react';
3
+ export interface CardContentProps extends HTMLAttributes<HTMLElement> {
4
+ /**
5
+ * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
+ */
7
+ testId?: string;
8
+ }
9
+ declare const CardContent: React.ForwardRefExoticComponent<CardContentProps & React.RefAttributes<HTMLElement>>;
10
+ export default CardContent;
@@ -0,0 +1,6 @@
1
+ import React, { forwardRef } from 'react';
2
+ const CardContent = forwardRef(function CardContent({ testId = 'store-card-content', children, ...otherProps }, ref) {
3
+ return (React.createElement("section", { ref: ref, "data-card-content": true, "data-testid": testId, ...otherProps }, children));
4
+ });
5
+ export default CardContent;
6
+ //# sourceMappingURL=CardContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardContent.js","sourceRoot":"","sources":["../../../../src/components/molecules/Card/CardContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EAAE,MAAM,GAAG,oBAAoB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EAC1D,GAAG;IAEH,OAAO,CACL,iCAAS,GAAG,EAAE,GAAG,4CAAiC,MAAM,KAAM,UAAU,IACrE,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -0,0 +1,10 @@
1
+ import type { HTMLAttributes } from 'react';
2
+ import React from 'react';
3
+ export interface CardImageProps extends HTMLAttributes<HTMLDivElement> {
4
+ /**
5
+ * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
+ */
7
+ testId?: string;
8
+ }
9
+ declare const CardImage: React.ForwardRefExoticComponent<CardImageProps & React.RefAttributes<HTMLDivElement>>;
10
+ export default CardImage;
@@ -0,0 +1,6 @@
1
+ import React, { forwardRef } from 'react';
2
+ const CardImage = forwardRef(function CardImage({ testId = 'store-card-image', children, ...otherProps }, ref) {
3
+ return (React.createElement("div", { ref: ref, "data-card-image": true, "data-testid": testId, ...otherProps }, children));
4
+ });
5
+ export default CardImage;
6
+ //# sourceMappingURL=CardImage.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CardImage.js","sourceRoot":"","sources":["../../../../src/components/molecules/Card/CardImage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AASzC,MAAM,SAAS,GAAG,UAAU,CAAiC,SAAS,SAAS,CAC7E,EAAE,MAAM,GAAG,kBAAkB,EAAE,QAAQ,EAAE,GAAG,UAAU,EAAE,EACxD,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,0CAA+B,MAAM,KAAM,UAAU,IAC/D,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CAAC,CAAA;AAEF,eAAe,SAAS,CAAA"}
@@ -0,0 +1,8 @@
1
+ export { default } from './Card';
2
+ export type { CardProps } from './Card';
3
+ export { default as CardImage } from './CardImage';
4
+ export type { CardImageProps } from './CardImage';
5
+ export { default as CardContent } from './CardContent';
6
+ export type { CardContentProps } from './CardContent';
7
+ export { default as CardActions } from './CardActions';
8
+ export type { CardActionsProps } from './CardActions';
@@ -0,0 +1,5 @@
1
+ export { default } from './Card';
2
+ export { default as CardImage } from './CardImage';
3
+ export { default as CardContent } from './CardContent';
4
+ export { default as CardActions } from './CardActions';
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/molecules/Card/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,QAAQ,CAAA;AAGhC,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAA;AAGlD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA;AAGtD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAA"}
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ interface IconProps {
3
+ size?: {
4
+ width: number;
5
+ height: number;
6
+ };
7
+ viewBox?: string;
8
+ color?: string;
9
+ }
10
+ export declare const LeftArrowIcon: ({ size, viewBox, color, }: IconProps) => JSX.Element;
11
+ export declare const RightArrowIcon: ({ size, viewBox, color, }: IconProps) => JSX.Element;
12
+ export {};
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export const LeftArrowIcon = ({ size = { width: 25, height: 25 }, viewBox = '0 0 16 16', color = 'currentColor', }) => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: viewBox, width: size.width, height: size.height },
3
+ React.createElement("path", { d: "M11 1L4 8L11 15", strokeWidth: "2", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round", stroke: color, fill: "none" })));
4
+ export const RightArrowIcon = ({ size = { width: 25, height: 25 }, viewBox = '0 0 16 16', color = 'currentColor', }) => (React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: viewBox, width: size.width, height: size.height },
5
+ React.createElement("path", { d: "M5 15L12 8L5 1", strokeWidth: "2", strokeMiterlimit: "10", strokeLinecap: "round", strokeLinejoin: "round", stroke: color, fill: "none" })));
6
+ //# sourceMappingURL=Arrows.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Arrows.js","sourceRoot":"","sources":["../../../../src/components/molecules/Carousel/Arrows.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAWzB,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,EAC5B,IAAI,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,EAChC,OAAO,GAAG,WAAW,EACrB,KAAK,GAAG,cAAc,GACZ,EAAE,EAAE,CAAC,CACf,6BACE,KAAK,EAAC,4BAA4B,EAClC,UAAU,EAAC,8BAA8B,EACzC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM;IAEnB,8BACE,CAAC,EAAC,iBAAiB,EACnB,WAAW,EAAC,GAAG,EACf,gBAAgB,EAAC,IAAI,EACrB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,MAAM,EAAE,KAAK,EACb,IAAI,EAAC,MAAM,GACX,CACE,CACP,CAAA;AAED,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,EAC7B,IAAI,GAAG,EAAE,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,EAChC,OAAO,GAAG,WAAW,EACrB,KAAK,GAAG,cAAc,GACZ,EAAE,EAAE,CAAC,CACf,6BACE,KAAK,EAAC,4BAA4B,EAClC,UAAU,EAAC,8BAA8B,EACzC,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,MAAM,EAAE,IAAI,CAAC,MAAM;IAEnB,8BACE,CAAC,EAAC,gBAAgB,EAClB,WAAW,EAAC,GAAG,EACf,gBAAgB,EAAC,IAAI,EACrB,aAAa,EAAC,OAAO,EACrB,cAAc,EAAC,OAAO,EACtB,MAAM,EAAE,KAAK,EACb,IAAI,EAAC,MAAM,GACX,CACE,CACP,CAAA"}
@@ -0,0 +1,54 @@
1
+ import type { ReactNode, PropsWithChildren } from 'react';
2
+ import type { SwipeableProps } from 'react-swipeable';
3
+ export interface CarouselProps extends SwipeableProps {
4
+ /**
5
+ * ID of the current instance of the component.
6
+ */
7
+ id?: string;
8
+ /**
9
+ * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
10
+ */
11
+ testId?: string;
12
+ /**
13
+ * Returns the value of element's class content attribute.
14
+ */
15
+ className?: string;
16
+ /**
17
+ * Whether or not the Carousel is infinite slide/scroll. Only for the `slide` variant.
18
+ * @default true
19
+ */
20
+ infiniteMode?: boolean;
21
+ /**
22
+ * Specifies which navigation elements should be visible.
23
+ * @default complete
24
+ */
25
+ controls?: 'complete' | 'navigationArrows' | 'paginationBullets';
26
+ /**
27
+ * Specifies the slide transition. Only for the `slide` variant
28
+ */
29
+ transition?: {
30
+ duration: number;
31
+ property: string;
32
+ delay?: number;
33
+ timing?: string;
34
+ };
35
+ /**
36
+ * Specifies the number of items per page.
37
+ * @default 1
38
+ */
39
+ itemsPerPage?: number;
40
+ /**
41
+ * Specifies the Carousel track variant.
42
+ * @default slide
43
+ */
44
+ variant?: 'slide' | 'scroll';
45
+ /**
46
+ * Specifies the navigation icons.
47
+ */
48
+ navigationIcons?: {
49
+ left?: ReactNode;
50
+ right?: ReactNode;
51
+ };
52
+ }
53
+ declare function Carousel({ infiniteMode, controls, testId, transition, children, className, id, variant, itemsPerPage, navigationIcons, ...swipeableConfigOverrides }: PropsWithChildren<CarouselProps>): JSX.Element;
54
+ export default Carousel;