@faststore/components 3.0.32-alpha.0 → 3.0.38

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 (694) hide show
  1. package/dist/cjs/molecules/CheckboxField/CheckboxField.d.ts +2 -17
  2. package/dist/cjs/molecules/CheckboxField/CheckboxField.js +2 -2
  3. package/dist/cjs/molecules/CheckboxField/CheckboxField.js.map +1 -1
  4. package/dist/cjs/organisms/PaymentMethods/PaymentMethods.js +1 -1
  5. package/dist/cjs/organisms/PaymentMethods/PaymentMethods.js.map +1 -1
  6. package/dist/esm/molecules/CheckboxField/CheckboxField.d.ts +2 -17
  7. package/dist/esm/molecules/CheckboxField/CheckboxField.js +2 -2
  8. package/dist/esm/molecules/CheckboxField/CheckboxField.js.map +1 -1
  9. package/dist/esm/organisms/PaymentMethods/PaymentMethods.js +1 -1
  10. package/dist/esm/organisms/PaymentMethods/PaymentMethods.js.map +1 -1
  11. package/package.json +8 -3
  12. package/src/molecules/CheckboxField/CheckboxField.tsx +18 -20
  13. package/src/organisms/PaymentMethods/PaymentMethods.tsx +1 -1
  14. package/dist/atoms/Badge/Badge.d.ts +0 -27
  15. package/dist/atoms/Badge/Badge.js +0 -7
  16. package/dist/atoms/Badge/Badge.js.map +0 -1
  17. package/dist/atoms/Badge/index.d.ts +0 -2
  18. package/dist/atoms/Badge/index.js +0 -2
  19. package/dist/atoms/Badge/index.js.map +0 -1
  20. package/dist/atoms/Button/Button.d.ts +0 -45
  21. package/dist/atoms/Button/Button.js +0 -14
  22. package/dist/atoms/Button/Button.js.map +0 -1
  23. package/dist/atoms/Button/index.d.ts +0 -2
  24. package/dist/atoms/Button/index.js +0 -2
  25. package/dist/atoms/Button/index.js.map +0 -1
  26. package/dist/atoms/Checkbox/Checkbox.d.ts +0 -14
  27. package/dist/atoms/Checkbox/Checkbox.js +0 -6
  28. package/dist/atoms/Checkbox/Checkbox.js.map +0 -1
  29. package/dist/atoms/Checkbox/index.d.ts +0 -2
  30. package/dist/atoms/Checkbox/index.js +0 -2
  31. package/dist/atoms/Checkbox/index.js.map +0 -1
  32. package/dist/atoms/Icon/Icon.d.ts +0 -35
  33. package/dist/atoms/Icon/Icon.js +0 -14
  34. package/dist/atoms/Icon/Icon.js.map +0 -1
  35. package/dist/atoms/Icon/index.d.ts +0 -2
  36. package/dist/atoms/Icon/index.js +0 -2
  37. package/dist/atoms/Icon/index.js.map +0 -1
  38. package/dist/atoms/Input/Input.d.ts +0 -10
  39. package/dist/atoms/Input/Input.js +0 -6
  40. package/dist/atoms/Input/Input.js.map +0 -1
  41. package/dist/atoms/Input/index.d.ts +0 -2
  42. package/dist/atoms/Input/index.js +0 -2
  43. package/dist/atoms/Input/index.js.map +0 -1
  44. package/dist/atoms/Label/Label.d.ts +0 -10
  45. package/dist/atoms/Label/Label.js +0 -6
  46. package/dist/atoms/Label/Label.js.map +0 -1
  47. package/dist/atoms/Label/index.d.ts +0 -2
  48. package/dist/atoms/Label/index.js +0 -2
  49. package/dist/atoms/Label/index.js.map +0 -1
  50. package/dist/atoms/Link/Link.d.ts +0 -25
  51. package/dist/atoms/Link/Link.js +0 -7
  52. package/dist/atoms/Link/Link.js.map +0 -1
  53. package/dist/atoms/Link/index.d.ts +0 -2
  54. package/dist/atoms/Link/index.js +0 -2
  55. package/dist/atoms/Link/index.js.map +0 -1
  56. package/dist/atoms/List/List.d.ts +0 -16
  57. package/dist/atoms/List/List.js +0 -7
  58. package/dist/atoms/List/List.js.map +0 -1
  59. package/dist/atoms/List/index.d.ts +0 -2
  60. package/dist/atoms/List/index.js +0 -2
  61. package/dist/atoms/List/index.js.map +0 -1
  62. package/dist/atoms/Loader/Loader.d.ts +0 -14
  63. package/dist/atoms/Loader/Loader.js +0 -9
  64. package/dist/atoms/Loader/Loader.js.map +0 -1
  65. package/dist/atoms/Loader/index.d.ts +0 -2
  66. package/dist/atoms/Loader/index.js +0 -2
  67. package/dist/atoms/Loader/index.js.map +0 -1
  68. package/dist/atoms/Overlay/Overlay.d.ts +0 -10
  69. package/dist/atoms/Overlay/Overlay.js +0 -6
  70. package/dist/atoms/Overlay/Overlay.js.map +0 -1
  71. package/dist/atoms/Overlay/index.d.ts +0 -2
  72. package/dist/atoms/Overlay/index.js +0 -2
  73. package/dist/atoms/Overlay/index.js.map +0 -1
  74. package/dist/atoms/Price/Price.d.ts +0 -32
  75. package/dist/atoms/Price/Price.js +0 -10
  76. package/dist/atoms/Price/Price.js.map +0 -1
  77. package/dist/atoms/Price/index.d.ts +0 -2
  78. package/dist/atoms/Price/index.js +0 -2
  79. package/dist/atoms/Price/index.js.map +0 -1
  80. package/dist/atoms/Radio/Radio.d.ts +0 -10
  81. package/dist/atoms/Radio/Radio.js +0 -6
  82. package/dist/atoms/Radio/Radio.js.map +0 -1
  83. package/dist/atoms/Radio/index.d.ts +0 -2
  84. package/dist/atoms/Radio/index.js +0 -2
  85. package/dist/atoms/Radio/index.js.map +0 -1
  86. package/dist/atoms/SROnly/SROnly.d.ts +0 -14
  87. package/dist/atoms/SROnly/SROnly.js +0 -7
  88. package/dist/atoms/SROnly/SROnly.js.map +0 -1
  89. package/dist/atoms/SROnly/index.d.ts +0 -1
  90. package/dist/atoms/SROnly/index.js +0 -2
  91. package/dist/atoms/SROnly/index.js.map +0 -1
  92. package/dist/atoms/Select/Select.d.ts +0 -20
  93. package/dist/atoms/Select/Select.js +0 -9
  94. package/dist/atoms/Select/Select.js.map +0 -1
  95. package/dist/atoms/Select/index.d.ts +0 -2
  96. package/dist/atoms/Select/index.js +0 -2
  97. package/dist/atoms/Select/index.js.map +0 -1
  98. package/dist/atoms/Skeleton/Skeleton.d.ts +0 -37
  99. package/dist/atoms/Skeleton/Skeleton.js +0 -10
  100. package/dist/atoms/Skeleton/Skeleton.js.map +0 -1
  101. package/dist/atoms/Skeleton/index.d.ts +0 -2
  102. package/dist/atoms/Skeleton/index.js +0 -2
  103. package/dist/atoms/Skeleton/index.js.map +0 -1
  104. package/dist/atoms/Slider/Slider.d.ts +0 -71
  105. package/dist/atoms/Slider/Slider.js +0 -57
  106. package/dist/atoms/Slider/Slider.js.map +0 -1
  107. package/dist/atoms/Slider/index.d.ts +0 -2
  108. package/dist/atoms/Slider/index.js +0 -2
  109. package/dist/atoms/Slider/index.js.map +0 -1
  110. package/dist/cjs/organisms/ImageGallery/ImageZoom.d.ts +0 -7
  111. package/dist/cjs/organisms/ImageGallery/ImageZoom.js +0 -9
  112. package/dist/cjs/organisms/ImageGallery/ImageZoom.js.map +0 -1
  113. package/dist/esm/organisms/ImageGallery/ImageZoom.d.ts +0 -7
  114. package/dist/esm/organisms/ImageGallery/ImageZoom.js +0 -6
  115. package/dist/esm/organisms/ImageGallery/ImageZoom.js.map +0 -1
  116. package/dist/hooks/UIProvider.d.ts +0 -34
  117. package/dist/hooks/UIProvider.js +0 -78
  118. package/dist/hooks/UIProvider.js.map +0 -1
  119. package/dist/hooks/index.d.ts +0 -8
  120. package/dist/hooks/index.js +0 -8
  121. package/dist/hooks/index.js.map +0 -1
  122. package/dist/hooks/useFadeEffect.d.ts +0 -5
  123. package/dist/hooks/useFadeEffect.js +0 -18
  124. package/dist/hooks/useFadeEffect.js.map +0 -1
  125. package/dist/hooks/useScrollDirection.d.ts +0 -1
  126. package/dist/hooks/useScrollDirection.js +0 -22
  127. package/dist/hooks/useScrollDirection.js.map +0 -1
  128. package/dist/hooks/useSearch.d.ts +0 -7
  129. package/dist/hooks/useSearch.js +0 -10
  130. package/dist/hooks/useSearch.js.map +0 -1
  131. package/dist/hooks/useSlideVisibility.d.ts +0 -9
  132. package/dist/hooks/useSlideVisibility.js +0 -29
  133. package/dist/hooks/useSlideVisibility.js.map +0 -1
  134. package/dist/hooks/useSlider.d.ts +0 -64
  135. package/dist/hooks/useSlider.js +0 -103
  136. package/dist/hooks/useSlider.js.map +0 -1
  137. package/dist/hooks/useTrapFocus.d.ts +0 -8
  138. package/dist/hooks/useTrapFocus.js +0 -75
  139. package/dist/hooks/useTrapFocus.js.map +0 -1
  140. package/dist/index.d.ts +0 -141
  141. package/dist/index.js +0 -78
  142. package/dist/index.js.map +0 -1
  143. package/dist/molecules/Accordion/Accordion.d.ts +0 -26
  144. package/dist/molecules/Accordion/Accordion.js +0 -21
  145. package/dist/molecules/Accordion/Accordion.js.map +0 -1
  146. package/dist/molecules/Accordion/AccordionButton.d.ts +0 -19
  147. package/dist/molecules/Accordion/AccordionButton.js +0 -37
  148. package/dist/molecules/Accordion/AccordionButton.js.map +0 -1
  149. package/dist/molecules/Accordion/AccordionItem.d.ts +0 -31
  150. package/dist/molecules/Accordion/AccordionItem.js +0 -22
  151. package/dist/molecules/Accordion/AccordionItem.js.map +0 -1
  152. package/dist/molecules/Accordion/AccordionPanel.d.ts +0 -10
  153. package/dist/molecules/Accordion/AccordionPanel.js +0 -10
  154. package/dist/molecules/Accordion/AccordionPanel.js.map +0 -1
  155. package/dist/molecules/Accordion/index.d.ts +0 -8
  156. package/dist/molecules/Accordion/index.js +0 -5
  157. package/dist/molecules/Accordion/index.js.map +0 -1
  158. package/dist/molecules/Alert/Alert.d.ts +0 -29
  159. package/dist/molecules/Alert/Alert.js +0 -17
  160. package/dist/molecules/Alert/Alert.js.map +0 -1
  161. package/dist/molecules/Alert/index.d.ts +0 -2
  162. package/dist/molecules/Alert/index.js +0 -2
  163. package/dist/molecules/Alert/index.js.map +0 -1
  164. package/dist/molecules/Breadcrumb/Breadcrumb.d.ts +0 -6
  165. package/dist/molecules/Breadcrumb/Breadcrumb.js +0 -7
  166. package/dist/molecules/Breadcrumb/Breadcrumb.js.map +0 -1
  167. package/dist/molecules/Breadcrumb/BreadcrumbBase.d.ts +0 -47
  168. package/dist/molecules/Breadcrumb/BreadcrumbBase.js +0 -45
  169. package/dist/molecules/Breadcrumb/BreadcrumbBase.js.map +0 -1
  170. package/dist/molecules/Breadcrumb/BreadcrumbPure.d.ts +0 -14
  171. package/dist/molecules/Breadcrumb/BreadcrumbPure.js +0 -12
  172. package/dist/molecules/Breadcrumb/BreadcrumbPure.js.map +0 -1
  173. package/dist/molecules/Breadcrumb/Divider.d.ts +0 -4
  174. package/dist/molecules/Breadcrumb/Divider.js +0 -14
  175. package/dist/molecules/Breadcrumb/Divider.js.map +0 -1
  176. package/dist/molecules/Breadcrumb/ListItem.d.ts +0 -10
  177. package/dist/molecules/Breadcrumb/ListItem.js +0 -20
  178. package/dist/molecules/Breadcrumb/ListItem.js.map +0 -1
  179. package/dist/molecules/Breadcrumb/index.d.ts +0 -4
  180. package/dist/molecules/Breadcrumb/index.js +0 -3
  181. package/dist/molecules/Breadcrumb/index.js.map +0 -1
  182. package/dist/molecules/BuyButton/BuyButton.d.ts +0 -5
  183. package/dist/molecules/BuyButton/BuyButton.js +0 -7
  184. package/dist/molecules/BuyButton/BuyButton.js.map +0 -1
  185. package/dist/molecules/BuyButton/index.d.ts +0 -1
  186. package/dist/molecules/BuyButton/index.js +0 -2
  187. package/dist/molecules/BuyButton/index.js.map +0 -1
  188. package/dist/molecules/Carousel/Carousel.d.ts +0 -60
  189. package/dist/molecules/Carousel/Carousel.js +0 -188
  190. package/dist/molecules/Carousel/Carousel.js.map +0 -1
  191. package/dist/molecules/Carousel/CarouselBullets.d.ts +0 -39
  192. package/dist/molecules/Carousel/CarouselBullets.js +0 -12
  193. package/dist/molecules/Carousel/CarouselBullets.js.map +0 -1
  194. package/dist/molecules/Carousel/CarouselItem.d.ts +0 -13
  195. package/dist/molecules/Carousel/CarouselItem.js +0 -20
  196. package/dist/molecules/Carousel/CarouselItem.js.map +0 -1
  197. package/dist/molecules/Carousel/index.d.ts +0 -6
  198. package/dist/molecules/Carousel/index.js +0 -4
  199. package/dist/molecules/Carousel/index.js.map +0 -1
  200. package/dist/molecules/CartItem/CartItem.d.ts +0 -32
  201. package/dist/molecules/CartItem/CartItem.js +0 -12
  202. package/dist/molecules/CartItem/CartItem.js.map +0 -1
  203. package/dist/molecules/CartItem/CartItemImage.d.ts +0 -10
  204. package/dist/molecules/CartItem/CartItemImage.js +0 -6
  205. package/dist/molecules/CartItem/CartItemImage.js.map +0 -1
  206. package/dist/molecules/CartItem/CartItemSummary.d.ts +0 -21
  207. package/dist/molecules/CartItem/CartItemSummary.js +0 -12
  208. package/dist/molecules/CartItem/CartItemSummary.js.map +0 -1
  209. package/dist/molecules/CartItem/index.d.ts +0 -6
  210. package/dist/molecules/CartItem/index.js +0 -4
  211. package/dist/molecules/CartItem/index.js.map +0 -1
  212. package/dist/molecules/CheckboxField/CheckboxField.d.ts +0 -25
  213. package/dist/molecules/CheckboxField/CheckboxField.js +0 -10
  214. package/dist/molecules/CheckboxField/CheckboxField.js.map +0 -1
  215. package/dist/molecules/CheckboxField/index.d.ts +0 -2
  216. package/dist/molecules/CheckboxField/index.js +0 -2
  217. package/dist/molecules/CheckboxField/index.js.map +0 -1
  218. package/dist/molecules/DiscountBadge/DiscountBadge.d.ts +0 -26
  219. package/dist/molecules/DiscountBadge/DiscountBadge.js +0 -19
  220. package/dist/molecules/DiscountBadge/DiscountBadge.js.map +0 -1
  221. package/dist/molecules/DiscountBadge/index.d.ts +0 -2
  222. package/dist/molecules/DiscountBadge/index.js +0 -2
  223. package/dist/molecules/DiscountBadge/index.js.map +0 -1
  224. package/dist/molecules/DiscountBadge/useDiscountPercent.d.ts +0 -1
  225. package/dist/molecules/DiscountBadge/useDiscountPercent.js +0 -9
  226. package/dist/molecules/DiscountBadge/useDiscountPercent.js.map +0 -1
  227. package/dist/molecules/Dropdown/Dropdown.d.ts +0 -18
  228. package/dist/molecules/Dropdown/Dropdown.js +0 -66
  229. package/dist/molecules/Dropdown/Dropdown.js.map +0 -1
  230. package/dist/molecules/Dropdown/DropdownButton.d.ts +0 -14
  231. package/dist/molecules/Dropdown/DropdownButton.js +0 -12
  232. package/dist/molecules/Dropdown/DropdownButton.js.map +0 -1
  233. package/dist/molecules/Dropdown/DropdownItem.d.ts +0 -14
  234. package/dist/molecules/Dropdown/DropdownItem.js +0 -28
  235. package/dist/molecules/Dropdown/DropdownItem.js.map +0 -1
  236. package/dist/molecules/Dropdown/DropdownMenu.d.ts +0 -26
  237. package/dist/molecules/Dropdown/DropdownMenu.js +0 -66
  238. package/dist/molecules/Dropdown/DropdownMenu.js.map +0 -1
  239. package/dist/molecules/Dropdown/contexts/DropdownContext.d.ts +0 -41
  240. package/dist/molecules/Dropdown/contexts/DropdownContext.js +0 -11
  241. package/dist/molecules/Dropdown/contexts/DropdownContext.js.map +0 -1
  242. package/dist/molecules/Dropdown/hooks/useDropdown.d.ts +0 -6
  243. package/dist/molecules/Dropdown/hooks/useDropdown.js +0 -14
  244. package/dist/molecules/Dropdown/hooks/useDropdown.js.map +0 -1
  245. package/dist/molecules/Dropdown/hooks/useDropdownPosition.d.ts +0 -8
  246. package/dist/molecules/Dropdown/hooks/useDropdownPosition.js +0 -25
  247. package/dist/molecules/Dropdown/hooks/useDropdownPosition.js.map +0 -1
  248. package/dist/molecules/Dropdown/index.d.ts +0 -8
  249. package/dist/molecules/Dropdown/index.js +0 -5
  250. package/dist/molecules/Dropdown/index.js.map +0 -1
  251. package/dist/molecules/Gift/Gift.d.ts +0 -15
  252. package/dist/molecules/Gift/Gift.js +0 -8
  253. package/dist/molecules/Gift/Gift.js.map +0 -1
  254. package/dist/molecules/Gift/GiftContent.d.ts +0 -27
  255. package/dist/molecules/Gift/GiftContent.js +0 -14
  256. package/dist/molecules/Gift/GiftContent.js.map +0 -1
  257. package/dist/molecules/Gift/GiftImage.d.ts +0 -10
  258. package/dist/molecules/Gift/GiftImage.js +0 -6
  259. package/dist/molecules/Gift/GiftImage.js.map +0 -1
  260. package/dist/molecules/Gift/index.d.ts +0 -6
  261. package/dist/molecules/Gift/index.js +0 -4
  262. package/dist/molecules/Gift/index.js.map +0 -1
  263. package/dist/molecules/IconButton/IconButton.d.ts +0 -19
  264. package/dist/molecules/IconButton/IconButton.js +0 -7
  265. package/dist/molecules/IconButton/IconButton.js.map +0 -1
  266. package/dist/molecules/IconButton/index.d.ts +0 -2
  267. package/dist/molecules/IconButton/index.js +0 -2
  268. package/dist/molecules/IconButton/index.js.map +0 -1
  269. package/dist/molecules/InputField/InputField.d.ts +0 -60
  270. package/dist/molecules/InputField/InputField.js +0 -18
  271. package/dist/molecules/InputField/InputField.js.map +0 -1
  272. package/dist/molecules/InputField/index.d.ts +0 -2
  273. package/dist/molecules/InputField/index.js +0 -2
  274. package/dist/molecules/InputField/index.js.map +0 -1
  275. package/dist/molecules/LinkButton/LinkButton.d.ts +0 -6
  276. package/dist/molecules/LinkButton/LinkButton.js +0 -17
  277. package/dist/molecules/LinkButton/LinkButton.js.map +0 -1
  278. package/dist/molecules/LinkButton/index.d.ts +0 -2
  279. package/dist/molecules/LinkButton/index.js +0 -2
  280. package/dist/molecules/LinkButton/index.js.map +0 -1
  281. package/dist/molecules/Modal/Modal.d.ts +0 -39
  282. package/dist/molecules/Modal/Modal.js +0 -38
  283. package/dist/molecules/Modal/Modal.js.map +0 -1
  284. package/dist/molecules/Modal/ModalBody.d.ts +0 -9
  285. package/dist/molecules/Modal/ModalBody.js +0 -4
  286. package/dist/molecules/Modal/ModalBody.js.map +0 -1
  287. package/dist/molecules/Modal/ModalContent.d.ts +0 -11
  288. package/dist/molecules/Modal/ModalContent.js +0 -23
  289. package/dist/molecules/Modal/ModalContent.js.map +0 -1
  290. package/dist/molecules/Modal/ModalHeader.d.ts +0 -22
  291. package/dist/molecules/Modal/ModalHeader.js +0 -11
  292. package/dist/molecules/Modal/ModalHeader.js.map +0 -1
  293. package/dist/molecules/Modal/index.d.ts +0 -5
  294. package/dist/molecules/Modal/index.js +0 -4
  295. package/dist/molecules/Modal/index.js.map +0 -1
  296. package/dist/molecules/NavbarLinks/NavbarLinks.d.ts +0 -10
  297. package/dist/molecules/NavbarLinks/NavbarLinks.js +0 -6
  298. package/dist/molecules/NavbarLinks/NavbarLinks.js.map +0 -1
  299. package/dist/molecules/NavbarLinks/NavbarLinksList.d.ts +0 -10
  300. package/dist/molecules/NavbarLinks/NavbarLinksList.js +0 -7
  301. package/dist/molecules/NavbarLinks/NavbarLinksList.js.map +0 -1
  302. package/dist/molecules/NavbarLinks/NavbarLinksListItem.d.ts +0 -10
  303. package/dist/molecules/NavbarLinks/NavbarLinksListItem.js +0 -6
  304. package/dist/molecules/NavbarLinks/NavbarLinksListItem.js.map +0 -1
  305. package/dist/molecules/NavbarLinks/index.d.ts +0 -6
  306. package/dist/molecules/NavbarLinks/index.js +0 -4
  307. package/dist/molecules/NavbarLinks/index.js.map +0 -1
  308. package/dist/molecules/OrderSummary/OrderSummary.d.ts +0 -35
  309. package/dist/molecules/OrderSummary/OrderSummary.js +0 -16
  310. package/dist/molecules/OrderSummary/OrderSummary.js.map +0 -1
  311. package/dist/molecules/OrderSummary/index.d.ts +0 -2
  312. package/dist/molecules/OrderSummary/index.js +0 -2
  313. package/dist/molecules/OrderSummary/index.js.map +0 -1
  314. package/dist/molecules/ProductCard/ProductCard.d.ts +0 -23
  315. package/dist/molecules/ProductCard/ProductCard.js +0 -6
  316. package/dist/molecules/ProductCard/ProductCard.js.map +0 -1
  317. package/dist/molecules/ProductCard/ProductCardContent.d.ts +0 -48
  318. package/dist/molecules/ProductCard/ProductCardContent.js +0 -19
  319. package/dist/molecules/ProductCard/ProductCardContent.js.map +0 -1
  320. package/dist/molecules/ProductCard/ProductCardImage.d.ts +0 -14
  321. package/dist/molecules/ProductCard/ProductCardImage.js +0 -8
  322. package/dist/molecules/ProductCard/ProductCardImage.js.map +0 -1
  323. package/dist/molecules/ProductCard/index.d.ts +0 -6
  324. package/dist/molecules/ProductCard/index.js +0 -4
  325. package/dist/molecules/ProductCard/index.js.map +0 -1
  326. package/dist/molecules/ProductPrice/ProductPrice.d.ts +0 -24
  327. package/dist/molecules/ProductPrice/ProductPrice.js +0 -11
  328. package/dist/molecules/ProductPrice/ProductPrice.js.map +0 -1
  329. package/dist/molecules/ProductPrice/index.d.ts +0 -2
  330. package/dist/molecules/ProductPrice/index.js +0 -2
  331. package/dist/molecules/ProductPrice/index.js.map +0 -1
  332. package/dist/molecules/ProductTitle/ProductTitle.d.ts +0 -30
  333. package/dist/molecules/ProductTitle/ProductTitle.js +0 -16
  334. package/dist/molecules/ProductTitle/ProductTitle.js.map +0 -1
  335. package/dist/molecules/ProductTitle/index.d.ts +0 -2
  336. package/dist/molecules/ProductTitle/index.js +0 -2
  337. package/dist/molecules/ProductTitle/index.js.map +0 -1
  338. package/dist/molecules/QuantitySelector/QuantitySelector.d.ts +0 -31
  339. package/dist/molecules/QuantitySelector/QuantitySelector.js +0 -37
  340. package/dist/molecules/QuantitySelector/QuantitySelector.js.map +0 -1
  341. package/dist/molecules/QuantitySelector/index.d.ts +0 -2
  342. package/dist/molecules/QuantitySelector/index.js +0 -2
  343. package/dist/molecules/QuantitySelector/index.js.map +0 -1
  344. package/dist/molecules/RadioField/RadioField.d.ts +0 -26
  345. package/dist/molecules/RadioField/RadioField.js +0 -10
  346. package/dist/molecules/RadioField/RadioField.js.map +0 -1
  347. package/dist/molecules/RadioField/index.d.ts +0 -2
  348. package/dist/molecules/RadioField/index.js +0 -2
  349. package/dist/molecules/RadioField/index.js.map +0 -1
  350. package/dist/molecules/RadioGroup/RadioGroup.d.ts +0 -6
  351. package/dist/molecules/RadioGroup/RadioGroup.js +0 -10
  352. package/dist/molecules/RadioGroup/RadioGroup.js.map +0 -1
  353. package/dist/molecules/RadioGroup/RadioOption.d.ts +0 -19
  354. package/dist/molecules/RadioGroup/RadioOption.js +0 -11
  355. package/dist/molecules/RadioGroup/RadioOption.js.map +0 -1
  356. package/dist/molecules/RadioGroup/index.d.ts +0 -4
  357. package/dist/molecules/RadioGroup/index.js +0 -3
  358. package/dist/molecules/RadioGroup/index.js.map +0 -1
  359. package/dist/molecules/RadioGroup/useRadioGroup.d.ts +0 -17
  360. package/dist/molecules/RadioGroup/useRadioGroup.js +0 -10
  361. package/dist/molecules/RadioGroup/useRadioGroup.js.map +0 -1
  362. package/dist/molecules/Rating/Rating.d.ts +0 -29
  363. package/dist/molecules/Rating/Rating.js +0 -27
  364. package/dist/molecules/Rating/Rating.js.map +0 -1
  365. package/dist/molecules/Rating/index.d.ts +0 -2
  366. package/dist/molecules/Rating/index.js +0 -2
  367. package/dist/molecules/Rating/index.js.map +0 -1
  368. package/dist/molecules/RegionBar/RegionBar.d.ts +0 -30
  369. package/dist/molecules/RegionBar/RegionBar.js +0 -12
  370. package/dist/molecules/RegionBar/RegionBar.js.map +0 -1
  371. package/dist/molecules/RegionBar/index.d.ts +0 -2
  372. package/dist/molecules/RegionBar/index.js +0 -2
  373. package/dist/molecules/RegionBar/index.js.map +0 -1
  374. package/dist/molecules/SearchAutoComplete/SearchAutoComplete.d.ts +0 -9
  375. package/dist/molecules/SearchAutoComplete/SearchAutoComplete.js +0 -12
  376. package/dist/molecules/SearchAutoComplete/SearchAutoComplete.js.map +0 -1
  377. package/dist/molecules/SearchAutoComplete/SearchAutoCompleteTerm.d.ts +0 -27
  378. package/dist/molecules/SearchAutoComplete/SearchAutoCompleteTerm.js +0 -27
  379. package/dist/molecules/SearchAutoComplete/SearchAutoCompleteTerm.js.map +0 -1
  380. package/dist/molecules/SearchAutoComplete/index.d.ts +0 -4
  381. package/dist/molecules/SearchAutoComplete/index.js +0 -3
  382. package/dist/molecules/SearchAutoComplete/index.js.map +0 -1
  383. package/dist/molecules/SearchDropdown/SearchDropdown.d.ts +0 -14
  384. package/dist/molecules/SearchDropdown/SearchDropdown.js +0 -14
  385. package/dist/molecules/SearchDropdown/SearchDropdown.js.map +0 -1
  386. package/dist/molecules/SearchDropdown/index.d.ts +0 -2
  387. package/dist/molecules/SearchDropdown/index.js +0 -2
  388. package/dist/molecules/SearchDropdown/index.js.map +0 -1
  389. package/dist/molecules/SearchHistory/SearchHistory.d.ts +0 -21
  390. package/dist/molecules/SearchHistory/SearchHistory.js +0 -15
  391. package/dist/molecules/SearchHistory/SearchHistory.js.map +0 -1
  392. package/dist/molecules/SearchHistory/SearchHistoryTerm.d.ts +0 -23
  393. package/dist/molecules/SearchHistory/SearchHistoryTerm.js +0 -10
  394. package/dist/molecules/SearchHistory/SearchHistoryTerm.js.map +0 -1
  395. package/dist/molecules/SearchHistory/index.d.ts +0 -4
  396. package/dist/molecules/SearchHistory/index.js +0 -3
  397. package/dist/molecules/SearchHistory/index.js.map +0 -1
  398. package/dist/molecules/SearchInputField/SearchInputField.d.ts +0 -36
  399. package/dist/molecules/SearchInputField/SearchInputField.js +0 -21
  400. package/dist/molecules/SearchInputField/SearchInputField.js.map +0 -1
  401. package/dist/molecules/SearchInputField/index.d.ts +0 -2
  402. package/dist/molecules/SearchInputField/index.js +0 -2
  403. package/dist/molecules/SearchInputField/index.js.map +0 -1
  404. package/dist/molecules/SearchProducts/SearchProductItem.d.ts +0 -16
  405. package/dist/molecules/SearchProducts/SearchProductItem.js +0 -8
  406. package/dist/molecules/SearchProducts/SearchProductItem.js.map +0 -1
  407. package/dist/molecules/SearchProducts/SearchProductItemContent.d.ts +0 -14
  408. package/dist/molecules/SearchProducts/SearchProductItemContent.js +0 -9
  409. package/dist/molecules/SearchProducts/SearchProductItemContent.js.map +0 -1
  410. package/dist/molecules/SearchProducts/SearchProductItemImage.d.ts +0 -10
  411. package/dist/molecules/SearchProducts/SearchProductItemImage.js +0 -6
  412. package/dist/molecules/SearchProducts/SearchProductItemImage.js.map +0 -1
  413. package/dist/molecules/SearchProducts/SearchProducts.d.ts +0 -13
  414. package/dist/molecules/SearchProducts/SearchProducts.js +0 -14
  415. package/dist/molecules/SearchProducts/SearchProducts.js.map +0 -1
  416. package/dist/molecules/SearchProducts/index.d.ts +0 -8
  417. package/dist/molecules/SearchProducts/index.js +0 -5
  418. package/dist/molecules/SearchProducts/index.js.map +0 -1
  419. package/dist/molecules/SearchProvider/SearchProvider.d.ts +0 -29
  420. package/dist/molecules/SearchProvider/SearchProvider.js +0 -8
  421. package/dist/molecules/SearchProvider/SearchProvider.js.map +0 -1
  422. package/dist/molecules/SearchProvider/index.d.ts +0 -2
  423. package/dist/molecules/SearchProvider/index.js +0 -2
  424. package/dist/molecules/SearchProvider/index.js.map +0 -1
  425. package/dist/molecules/SearchTop/SearchTop.d.ts +0 -14
  426. package/dist/molecules/SearchTop/SearchTop.js +0 -15
  427. package/dist/molecules/SearchTop/SearchTop.js.map +0 -1
  428. package/dist/molecules/SearchTop/SearchTopTerm.d.ts +0 -23
  429. package/dist/molecules/SearchTop/SearchTopTerm.js +0 -10
  430. package/dist/molecules/SearchTop/SearchTopTerm.js.map +0 -1
  431. package/dist/molecules/SearchTop/index.d.ts +0 -4
  432. package/dist/molecules/SearchTop/index.js +0 -3
  433. package/dist/molecules/SearchTop/index.js.map +0 -1
  434. package/dist/molecules/SelectField/SelectField.d.ts +0 -12
  435. package/dist/molecules/SelectField/SelectField.js +0 -9
  436. package/dist/molecules/SelectField/SelectField.js.map +0 -1
  437. package/dist/molecules/SelectField/index.d.ts +0 -2
  438. package/dist/molecules/SelectField/index.js +0 -2
  439. package/dist/molecules/SelectField/index.js.map +0 -1
  440. package/dist/molecules/SkuSelector/SkuSelector.d.ts +0 -78
  441. package/dist/molecules/SkuSelector/SkuSelector.js +0 -31
  442. package/dist/molecules/SkuSelector/SkuSelector.js.map +0 -1
  443. package/dist/molecules/SkuSelector/index.d.ts +0 -2
  444. package/dist/molecules/SkuSelector/index.js +0 -2
  445. package/dist/molecules/SkuSelector/index.js.map +0 -1
  446. package/dist/molecules/SkuSelector/useDefineVariant.d.ts +0 -3
  447. package/dist/molecules/SkuSelector/useDefineVariant.js +0 -27
  448. package/dist/molecules/SkuSelector/useDefineVariant.js.map +0 -1
  449. package/dist/molecules/SkuSelector/useSkuSlug.d.ts +0 -6
  450. package/dist/molecules/SkuSelector/useSkuSlug.js +0 -23
  451. package/dist/molecules/SkuSelector/useSkuSlug.js.map +0 -1
  452. package/dist/molecules/Table/Table.d.ts +0 -26
  453. package/dist/molecules/Table/Table.js +0 -7
  454. package/dist/molecules/Table/Table.js.map +0 -1
  455. package/dist/molecules/Table/TableBody.d.ts +0 -12
  456. package/dist/molecules/Table/TableBody.js +0 -6
  457. package/dist/molecules/Table/TableBody.js.map +0 -1
  458. package/dist/molecules/Table/TableCell.d.ts +0 -26
  459. package/dist/molecules/Table/TableCell.js +0 -7
  460. package/dist/molecules/Table/TableCell.js.map +0 -1
  461. package/dist/molecules/Table/TableFooter.d.ts +0 -12
  462. package/dist/molecules/Table/TableFooter.js +0 -6
  463. package/dist/molecules/Table/TableFooter.js.map +0 -1
  464. package/dist/molecules/Table/TableHead.d.ts +0 -12
  465. package/dist/molecules/Table/TableHead.js +0 -6
  466. package/dist/molecules/Table/TableHead.js.map +0 -1
  467. package/dist/molecules/Table/TableRow.d.ts +0 -12
  468. package/dist/molecules/Table/TableRow.js +0 -6
  469. package/dist/molecules/Table/TableRow.js.map +0 -1
  470. package/dist/molecules/Table/index.d.ts +0 -12
  471. package/dist/molecules/Table/index.js +0 -7
  472. package/dist/molecules/Table/index.js.map +0 -1
  473. package/dist/molecules/Tag/Tag.d.ts +0 -27
  474. package/dist/molecules/Tag/Tag.js +0 -9
  475. package/dist/molecules/Tag/Tag.js.map +0 -1
  476. package/dist/molecules/Tag/index.d.ts +0 -2
  477. package/dist/molecules/Tag/index.js +0 -2
  478. package/dist/molecules/Tag/index.js.map +0 -1
  479. package/dist/molecules/Toast/Toast.d.ts +0 -3
  480. package/dist/molecules/Toast/Toast.js +0 -29
  481. package/dist/molecules/Toast/Toast.js.map +0 -1
  482. package/dist/molecules/Toast/index.d.ts +0 -1
  483. package/dist/molecules/Toast/index.js +0 -2
  484. package/dist/molecules/Toast/index.js.map +0 -1
  485. package/dist/molecules/Toggle/Toggle.d.ts +0 -22
  486. package/dist/molecules/Toggle/Toggle.js +0 -10
  487. package/dist/molecules/Toggle/Toggle.js.map +0 -1
  488. package/dist/molecules/Toggle/index.d.ts +0 -2
  489. package/dist/molecules/Toggle/index.js +0 -2
  490. package/dist/molecules/Toggle/index.js.map +0 -1
  491. package/dist/molecules/ToggleField/ToggleField.d.ts +0 -29
  492. package/dist/molecules/ToggleField/ToggleField.js +0 -9
  493. package/dist/molecules/ToggleField/ToggleField.js.map +0 -1
  494. package/dist/molecules/ToggleField/index.d.ts +0 -2
  495. package/dist/molecules/ToggleField/index.js +0 -2
  496. package/dist/molecules/ToggleField/index.js.map +0 -1
  497. package/dist/organisms/BannerText/BannerText.d.ts +0 -27
  498. package/dist/organisms/BannerText/BannerText.js +0 -16
  499. package/dist/organisms/BannerText/BannerText.js.map +0 -1
  500. package/dist/organisms/BannerText/BannerTextContent.d.ts +0 -30
  501. package/dist/organisms/BannerText/BannerTextContent.js +0 -13
  502. package/dist/organisms/BannerText/BannerTextContent.js.map +0 -1
  503. package/dist/organisms/BannerText/index.d.ts +0 -4
  504. package/dist/organisms/BannerText/index.js +0 -3
  505. package/dist/organisms/BannerText/index.js.map +0 -1
  506. package/dist/organisms/CartSidebar/CartSidebar.d.ts +0 -45
  507. package/dist/organisms/CartSidebar/CartSidebar.js +0 -18
  508. package/dist/organisms/CartSidebar/CartSidebar.js.map +0 -1
  509. package/dist/organisms/CartSidebar/CartSidebarFooter.d.ts +0 -5
  510. package/dist/organisms/CartSidebar/CartSidebarFooter.js +0 -6
  511. package/dist/organisms/CartSidebar/CartSidebarFooter.js.map +0 -1
  512. package/dist/organisms/CartSidebar/CartSidebarList.d.ts +0 -5
  513. package/dist/organisms/CartSidebar/CartSidebarList.js +0 -7
  514. package/dist/organisms/CartSidebar/CartSidebarList.js.map +0 -1
  515. package/dist/organisms/CartSidebar/index.d.ts +0 -4
  516. package/dist/organisms/CartSidebar/index.js +0 -4
  517. package/dist/organisms/CartSidebar/index.js.map +0 -1
  518. package/dist/organisms/EmptyState/EmptyState.d.ts +0 -28
  519. package/dist/organisms/EmptyState/EmptyState.js +0 -10
  520. package/dist/organisms/EmptyState/EmptyState.js.map +0 -1
  521. package/dist/organisms/EmptyState/index.d.ts +0 -2
  522. package/dist/organisms/EmptyState/index.js +0 -2
  523. package/dist/organisms/EmptyState/index.js.map +0 -1
  524. package/dist/organisms/Filter/Filter.d.ts +0 -26
  525. package/dist/organisms/Filter/Filter.js +0 -9
  526. package/dist/organisms/Filter/Filter.js.map +0 -1
  527. package/dist/organisms/Filter/FilterFacetBoolean.d.ts +0 -5
  528. package/dist/organisms/Filter/FilterFacetBoolean.js +0 -7
  529. package/dist/organisms/Filter/FilterFacetBoolean.js.map +0 -1
  530. package/dist/organisms/Filter/FilterFacetBooleanItem.d.ts +0 -38
  531. package/dist/organisms/Filter/FilterFacetBooleanItem.js +0 -12
  532. package/dist/organisms/Filter/FilterFacetBooleanItem.js.map +0 -1
  533. package/dist/organisms/Filter/FilterFacetRange.d.ts +0 -32
  534. package/dist/organisms/Filter/FilterFacetRange.js +0 -11
  535. package/dist/organisms/Filter/FilterFacetRange.js.map +0 -1
  536. package/dist/organisms/Filter/FilterFacets.d.ts +0 -21
  537. package/dist/organisms/Filter/FilterFacets.js +0 -9
  538. package/dist/organisms/Filter/FilterFacets.js.map +0 -1
  539. package/dist/organisms/Filter/FilterSlider.d.ts +0 -36
  540. package/dist/organisms/Filter/FilterSlider.js +0 -22
  541. package/dist/organisms/Filter/FilterSlider.js.map +0 -1
  542. package/dist/organisms/Filter/index.d.ts +0 -11
  543. package/dist/organisms/Filter/index.js +0 -7
  544. package/dist/organisms/Filter/index.js.map +0 -1
  545. package/dist/organisms/Hero/Hero.d.ts +0 -27
  546. package/dist/organisms/Hero/Hero.js +0 -16
  547. package/dist/organisms/Hero/Hero.js.map +0 -1
  548. package/dist/organisms/Hero/HeroHeader.d.ts +0 -34
  549. package/dist/organisms/Hero/HeroHeader.js +0 -15
  550. package/dist/organisms/Hero/HeroHeader.js.map +0 -1
  551. package/dist/organisms/Hero/HeroImage.d.ts +0 -10
  552. package/dist/organisms/Hero/HeroImage.js +0 -6
  553. package/dist/organisms/Hero/HeroImage.js.map +0 -1
  554. package/dist/organisms/Hero/index.d.ts +0 -6
  555. package/dist/organisms/Hero/index.js +0 -4
  556. package/dist/organisms/Hero/index.js.map +0 -1
  557. package/dist/organisms/ImageGallery/ImageGallery.d.ts +0 -42
  558. package/dist/organisms/ImageGallery/ImageGallery.js +0 -10
  559. package/dist/organisms/ImageGallery/ImageGallery.js.map +0 -1
  560. package/dist/organisms/ImageGallery/ImageGallerySelector.d.ts +0 -32
  561. package/dist/organisms/ImageGallery/ImageGallerySelector.js +0 -46
  562. package/dist/organisms/ImageGallery/ImageGallerySelector.js.map +0 -1
  563. package/dist/organisms/ImageGallery/ImageGalleryViewer.d.ts +0 -8
  564. package/dist/organisms/ImageGallery/ImageGalleryViewer.js +0 -6
  565. package/dist/organisms/ImageGallery/ImageGalleryViewer.js.map +0 -1
  566. package/dist/organisms/ImageGallery/ImageZoom.d.ts +0 -7
  567. package/dist/organisms/ImageGallery/ImageZoom.js +0 -6
  568. package/dist/organisms/ImageGallery/ImageZoom.js.map +0 -1
  569. package/dist/organisms/ImageGallery/index.d.ts +0 -6
  570. package/dist/organisms/ImageGallery/index.js +0 -4
  571. package/dist/organisms/ImageGallery/index.js.map +0 -1
  572. package/dist/organisms/Navbar/Navbar.d.ts +0 -14
  573. package/dist/organisms/Navbar/Navbar.js +0 -6
  574. package/dist/organisms/Navbar/Navbar.js.map +0 -1
  575. package/dist/organisms/Navbar/NavbarButtons.d.ts +0 -14
  576. package/dist/organisms/Navbar/NavbarButtons.js +0 -6
  577. package/dist/organisms/Navbar/NavbarButtons.js.map +0 -1
  578. package/dist/organisms/Navbar/NavbarHeader.d.ts +0 -10
  579. package/dist/organisms/Navbar/NavbarHeader.js +0 -6
  580. package/dist/organisms/Navbar/NavbarHeader.js.map +0 -1
  581. package/dist/organisms/Navbar/NavbarRow.d.ts +0 -10
  582. package/dist/organisms/Navbar/NavbarRow.js +0 -6
  583. package/dist/organisms/Navbar/NavbarRow.js.map +0 -1
  584. package/dist/organisms/Navbar/index.d.ts +0 -8
  585. package/dist/organisms/Navbar/index.js +0 -5
  586. package/dist/organisms/Navbar/index.js.map +0 -1
  587. package/dist/organisms/NavbarSlider/NavbarSlider.d.ts +0 -19
  588. package/dist/organisms/NavbarSlider/NavbarSlider.js +0 -7
  589. package/dist/organisms/NavbarSlider/NavbarSlider.js.map +0 -1
  590. package/dist/organisms/NavbarSlider/NavbarSliderContent.d.ts +0 -10
  591. package/dist/organisms/NavbarSlider/NavbarSliderContent.js +0 -6
  592. package/dist/organisms/NavbarSlider/NavbarSliderContent.js.map +0 -1
  593. package/dist/organisms/NavbarSlider/NavbarSliderFooter.d.ts +0 -10
  594. package/dist/organisms/NavbarSlider/NavbarSliderFooter.js +0 -6
  595. package/dist/organisms/NavbarSlider/NavbarSliderFooter.js.map +0 -1
  596. package/dist/organisms/NavbarSlider/NavbarSliderHeader.d.ts +0 -10
  597. package/dist/organisms/NavbarSlider/NavbarSliderHeader.js +0 -7
  598. package/dist/organisms/NavbarSlider/NavbarSliderHeader.js.map +0 -1
  599. package/dist/organisms/NavbarSlider/index.d.ts +0 -8
  600. package/dist/organisms/NavbarSlider/index.js +0 -5
  601. package/dist/organisms/NavbarSlider/index.js.map +0 -1
  602. package/dist/organisms/Newsletter/Newsletter.d.ts +0 -19
  603. package/dist/organisms/Newsletter/Newsletter.js +0 -6
  604. package/dist/organisms/Newsletter/Newsletter.js.map +0 -1
  605. package/dist/organisms/Newsletter/NewsletterAddendum.d.ts +0 -14
  606. package/dist/organisms/Newsletter/NewsletterAddendum.js +0 -6
  607. package/dist/organisms/Newsletter/NewsletterAddendum.js.map +0 -1
  608. package/dist/organisms/Newsletter/NewsletterContent.d.ts +0 -10
  609. package/dist/organisms/Newsletter/NewsletterContent.js +0 -6
  610. package/dist/organisms/Newsletter/NewsletterContent.js.map +0 -1
  611. package/dist/organisms/Newsletter/NewsletterForm.d.ts +0 -14
  612. package/dist/organisms/Newsletter/NewsletterForm.js +0 -6
  613. package/dist/organisms/Newsletter/NewsletterForm.js.map +0 -1
  614. package/dist/organisms/Newsletter/NewsletterHeader.d.ts +0 -22
  615. package/dist/organisms/Newsletter/NewsletterHeader.js +0 -10
  616. package/dist/organisms/Newsletter/NewsletterHeader.js.map +0 -1
  617. package/dist/organisms/Newsletter/index.d.ts +0 -10
  618. package/dist/organisms/Newsletter/index.js +0 -6
  619. package/dist/organisms/Newsletter/index.js.map +0 -1
  620. package/dist/organisms/OutOfStock/OutOfStock.d.ts +0 -43
  621. package/dist/organisms/OutOfStock/OutOfStock.js +0 -13
  622. package/dist/organisms/OutOfStock/OutOfStock.js.map +0 -1
  623. package/dist/organisms/OutOfStock/index.d.ts +0 -2
  624. package/dist/organisms/OutOfStock/index.js +0 -2
  625. package/dist/organisms/OutOfStock/index.js.map +0 -1
  626. package/dist/organisms/PaymentMethods/PaymentMethods.d.ts +0 -32
  627. package/dist/organisms/PaymentMethods/PaymentMethods.js +0 -11
  628. package/dist/organisms/PaymentMethods/PaymentMethods.js.map +0 -1
  629. package/dist/organisms/PaymentMethods/index.d.ts +0 -2
  630. package/dist/organisms/PaymentMethods/index.js +0 -2
  631. package/dist/organisms/PaymentMethods/index.js.map +0 -1
  632. package/dist/organisms/PriceRange/PriceRange.d.ts +0 -25
  633. package/dist/organisms/PriceRange/PriceRange.js +0 -75
  634. package/dist/organisms/PriceRange/PriceRange.js.map +0 -1
  635. package/dist/organisms/PriceRange/index.d.ts +0 -2
  636. package/dist/organisms/PriceRange/index.js +0 -2
  637. package/dist/organisms/PriceRange/index.js.map +0 -1
  638. package/dist/organisms/ProductGrid/ProductGrid.d.ts +0 -10
  639. package/dist/organisms/ProductGrid/ProductGrid.js +0 -6
  640. package/dist/organisms/ProductGrid/ProductGrid.js.map +0 -1
  641. package/dist/organisms/ProductGrid/ProductGridItem.d.ts +0 -10
  642. package/dist/organisms/ProductGrid/ProductGridItem.js +0 -6
  643. package/dist/organisms/ProductGrid/ProductGridItem.js.map +0 -1
  644. package/dist/organisms/ProductGrid/index.d.ts +0 -4
  645. package/dist/organisms/ProductGrid/index.js +0 -3
  646. package/dist/organisms/ProductGrid/index.js.map +0 -1
  647. package/dist/organisms/ProductShelf/ProductShelf.d.ts +0 -10
  648. package/dist/organisms/ProductShelf/ProductShelf.js +0 -6
  649. package/dist/organisms/ProductShelf/ProductShelf.js.map +0 -1
  650. package/dist/organisms/ProductShelf/ProductShelfItem.d.ts +0 -10
  651. package/dist/organisms/ProductShelf/ProductShelfItem.js +0 -6
  652. package/dist/organisms/ProductShelf/ProductShelfItem.js.map +0 -1
  653. package/dist/organisms/ProductShelf/ProductShelfItems.d.ts +0 -10
  654. package/dist/organisms/ProductShelf/ProductShelfItems.js +0 -6
  655. package/dist/organisms/ProductShelf/ProductShelfItems.js.map +0 -1
  656. package/dist/organisms/ProductShelf/index.d.ts +0 -6
  657. package/dist/organisms/ProductShelf/index.js +0 -4
  658. package/dist/organisms/ProductShelf/index.js.map +0 -1
  659. package/dist/organisms/RegionModal/RegionModal.d.ts +0 -72
  660. package/dist/organisms/RegionModal/RegionModal.js +0 -19
  661. package/dist/organisms/RegionModal/RegionModal.js.map +0 -1
  662. package/dist/organisms/RegionModal/index.d.ts +0 -2
  663. package/dist/organisms/RegionModal/index.js +0 -2
  664. package/dist/organisms/RegionModal/index.js.map +0 -1
  665. package/dist/organisms/SearchInput/SearchInput.d.ts +0 -26
  666. package/dist/organisms/SearchInput/SearchInput.js +0 -8
  667. package/dist/organisms/SearchInput/SearchInput.js.map +0 -1
  668. package/dist/organisms/SearchInput/index.d.ts +0 -2
  669. package/dist/organisms/SearchInput/index.js +0 -2
  670. package/dist/organisms/SearchInput/index.js.map +0 -1
  671. package/dist/organisms/ShippingSimulation/ShippingSimulation.d.ts +0 -125
  672. package/dist/organisms/ShippingSimulation/ShippingSimulation.js +0 -22
  673. package/dist/organisms/ShippingSimulation/ShippingSimulation.js.map +0 -1
  674. package/dist/organisms/ShippingSimulation/index.d.ts +0 -2
  675. package/dist/organisms/ShippingSimulation/index.js +0 -2
  676. package/dist/organisms/ShippingSimulation/index.js.map +0 -1
  677. package/dist/organisms/SlideOver/SlideOver.d.ts +0 -39
  678. package/dist/organisms/SlideOver/SlideOver.js +0 -7
  679. package/dist/organisms/SlideOver/SlideOver.js.map +0 -1
  680. package/dist/organisms/SlideOver/SlideOverHeader.d.ts +0 -19
  681. package/dist/organisms/SlideOver/SlideOverHeader.js +0 -9
  682. package/dist/organisms/SlideOver/SlideOverHeader.js.map +0 -1
  683. package/dist/organisms/SlideOver/index.d.ts +0 -4
  684. package/dist/organisms/SlideOver/index.js +0 -3
  685. package/dist/organisms/SlideOver/index.js.map +0 -1
  686. package/dist/typings/PolymorphicGenerics.d.ts +0 -28
  687. package/dist/typings/PolymorphicGenerics.js +0 -8
  688. package/dist/typings/PolymorphicGenerics.js.map +0 -1
  689. package/dist/typings/PriceDefinition.d.ts +0 -6
  690. package/dist/typings/PriceDefinition.js +0 -2
  691. package/dist/typings/PriceDefinition.js.map +0 -1
  692. package/dist/typings/index.d.ts +0 -2
  693. package/dist/typings/index.js +0 -2
  694. package/dist/typings/index.js.map +0 -1
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import type { HTMLAttributes } from 'react';
3
- export interface NavbarLinksListItemProps extends HTMLAttributes<HTMLLIElement> {
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 NavbarLinksListItem: React.ForwardRefExoticComponent<NavbarLinksListItemProps & React.RefAttributes<HTMLLIElement>>;
10
- export default NavbarLinksListItem;
@@ -1,6 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const NavbarLinksListItem = forwardRef(function NavbarLinksListItem({ children, testId = 'fs-navbar-links-list-item', ...otherProps }, ref) {
3
- return (React.createElement("li", { "data-fs-navbar-links-list-item": true, ref: ref, "data-testid": testId, ...otherProps }, children));
4
- });
5
- export default NavbarLinksListItem;
6
- //# sourceMappingURL=NavbarLinksListItem.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NavbarLinksListItem.js","sourceRoot":"","sources":["../../../src/molecules/NavbarLinks/NavbarLinksListItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAWzC,MAAM,mBAAmB,GAAG,UAAU,CACpC,SAAS,mBAAmB,CAC1B,EAAE,QAAQ,EAAE,MAAM,GAAG,2BAA2B,EAAE,GAAG,UAAU,EAAE,EACjE,GAAG;IAEH,OAAO,CACL,oEAEE,GAAG,EAAE,GAAG,iBACK,MAAM,KACf,UAAU,IAEb,QAAQ,CACN,CACN,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -1,6 +0,0 @@
1
- export { default } from './NavbarLinks';
2
- export type { NavbarLinksProps } from './NavbarLinks';
3
- export { default as NavbarLinksList } from './NavbarLinksList';
4
- export type { NavbarLinksListProps } from './NavbarLinksList';
5
- export { default as NavbarLinksListItem } from './NavbarLinksListItem';
6
- export type { NavbarLinksListItemProps } from './NavbarLinksListItem';
@@ -1,4 +0,0 @@
1
- export { default } from './NavbarLinks';
2
- export { default as NavbarLinksList } from './NavbarLinksList';
3
- export { default as NavbarLinksListItem } from './NavbarLinksListItem';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/NavbarLinks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAGvC,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAG9D,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uBAAuB,CAAA"}
@@ -1,35 +0,0 @@
1
- import React from 'react';
2
- import type { HTMLAttributes } from 'react';
3
- export interface OrderSummaryProps extends HTMLAttributes<HTMLUListElement> {
4
- /**
5
- * ID to find this component in testing tools (e.g.: cypress,
6
- * testing-library, and jest).
7
- */
8
- testId?: string;
9
- /**
10
- * Label for the subtotal value of the order. Will only show if subtotalValue is provided.
11
- */
12
- subtotalLabel?: string;
13
- /**
14
- * Subtotal value of the order. If provided, subtotal label and value will be shown.
15
- */
16
- subtotalValue?: string;
17
- /**
18
- * Label for the discount value for the order. Will only show if discountValue is provided.
19
- */
20
- discountLabel?: string;
21
- /**
22
- * Discount value for the order. If provided, discount label and value will be shown.
23
- */
24
- discountValue?: string;
25
- /**
26
- * Label for the total value of the order.
27
- */
28
- totalLabel?: string;
29
- /**
30
- * Total value of the order.
31
- */
32
- totalValue?: string;
33
- }
34
- declare const OrderSummary: React.ForwardRefExoticComponent<OrderSummaryProps & React.RefAttributes<HTMLUListElement>>;
35
- export default OrderSummary;
@@ -1,16 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- import { List } from '../../';
3
- const OrderSummary = forwardRef(function OrderSummary({ testId = 'fs-order-summary', subtotalLabel, subtotalValue, discountLabel = 'Discount', discountValue, totalLabel = 'Total', totalValue, ...otherProps }, ref) {
4
- return (React.createElement(List, { ref: ref, "data-fs-order-summary": true, "data-testid": testId, ...otherProps },
5
- subtotalValue ? (React.createElement("li", { "data-fs-order-summary-subtotal": true },
6
- React.createElement("span", { "data-fs-order-summary-subtotal-label": true, "data-testid": `${testId}-subtotal-label` }, subtotalLabel),
7
- React.createElement("span", { "data-fs-order-summary-subtotal-value": true, "data-testid": `${testId}-subtotal-value` }, subtotalValue))) : null,
8
- discountValue ? (React.createElement("li", { "data-fs-order-summary-discount": true },
9
- React.createElement("span", { "data-fs-order-summary-discount-label": true, "data-testid": `${testId}-discount-label` }, discountLabel),
10
- React.createElement("span", { "data-fs-order-summary-discount-value": true, "data-testid": `${testId}-discount-value` }, discountValue))) : null,
11
- React.createElement("li", { "data-fs-order-summary-total": true },
12
- React.createElement("span", { "data-fs-order-summary-total-label": true, "data-testid": `${testId}-total-label` }, totalLabel),
13
- React.createElement("span", { "data-fs-order-summary-total-value": true, "data-testid": `${testId}-total-value` }, totalValue))));
14
- });
15
- export default OrderSummary;
16
- //# sourceMappingURL=OrderSummary.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OrderSummary.js","sourceRoot":"","sources":["../../../src/molecules/OrderSummary/OrderSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGzC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAA;AAkC7B,MAAM,YAAY,GAAG,UAAU,CAC7B,SAAS,YAAY,CACnB,EACE,MAAM,GAAG,kBAAkB,EAC3B,aAAa,EACb,aAAa,EACb,aAAa,GAAG,UAAU,EAC1B,aAAa,EACb,UAAU,GAAG,OAAO,EACpB,UAAU,EACV,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,oBAAC,IAAI,IACH,GAAG,EAAE,GAAG,gDAEK,MAAM,KACf,UAAU;QAEb,aAAa,CAAC,CAAC,CAAC,CACf;YACE,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT;YACP,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT,CACJ,CACN,CAAC,CAAC,CAAC,IAAI;QACP,aAAa,CAAC,CAAC,CAAC,CACf;YACE,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT;YACP,2FAEe,GAAG,MAAM,iBAAiB,IAEtC,aAAa,CACT,CACJ,CACN,CAAC,CAAC,CAAC,IAAI;QACR;YACE,wFAEe,GAAG,MAAM,cAAc,IAEnC,UAAU,CACN;YACP,wFAEe,GAAG,MAAM,cAAc,IAEnC,UAAU,CACN,CACJ,CACA,CACR,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './OrderSummary';
2
- export type { OrderSummaryProps } from './OrderSummary';
@@ -1,2 +0,0 @@
1
- export { default } from './OrderSummary';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/OrderSummary/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import type { HTMLAttributes } from 'react';
3
- export interface ProductCardProps extends HTMLAttributes<HTMLDivElement> {
4
- /**
5
- * Sets a border to the component.
6
- */
7
- bordered?: boolean;
8
- /**
9
- * Sets the component's size.
10
- */
11
- variant?: 'wide' | 'default';
12
- /**
13
- * Enables a outOfStock status.
14
- */
15
- outOfStock?: boolean;
16
- /**
17
- * ID to find this component in testing tools (e.g.: cypress,
18
- * testing-library, and jest).
19
- */
20
- testId?: string;
21
- }
22
- declare const ProductCard: React.ForwardRefExoticComponent<ProductCardProps & React.RefAttributes<HTMLDivElement>>;
23
- export default ProductCard;
@@ -1,6 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const ProductCard = forwardRef(function ProductCard({ testId = 'fs-product-card', variant = 'default', bordered = false, outOfStock, children, ...otherProps }, ref) {
3
- return (React.createElement("article", { ref: ref, "data-fs-product-card": outOfStock ? 'out-of-stock' : '', "data-fs-product-card-variant": variant, "data-fs-product-card-bordered": bordered, "data-testid": testId, ...otherProps }, children));
4
- });
5
- export default ProductCard;
6
- //# sourceMappingURL=ProductCard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductCard.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/ProductCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAuBzC,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EACE,MAAM,GAAG,iBAAiB,EAC1B,OAAO,GAAG,SAAS,EACnB,QAAQ,GAAG,KAAK,EAChB,UAAU,EACV,QAAQ,EACR,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,iCACE,GAAG,EAAE,GAAG,0BACc,UAAU,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,kCACxB,OAAO,mCACN,QAAQ,iBAC1B,MAAM,KACf,UAAU,IAEb,QAAQ,CACD,CACX,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,48 +0,0 @@
1
- import type { HTMLAttributes } from 'react';
2
- import React from 'react';
3
- import type { PriceDefinition } from '../../typings/PriceDefinition';
4
- import { LinkElementType, LinkProps } from '../../';
5
- export interface ProductCardContentProps extends HTMLAttributes<HTMLElement> {
6
- /**
7
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
8
- */
9
- testId?: string;
10
- /**
11
- * Specifies the product's title.
12
- */
13
- title: string;
14
- /**
15
- * Props for the link from ProductCard component.
16
- */
17
- linkProps?: Partial<LinkProps<LinkElementType>>;
18
- /**
19
- * Specifies product's prices.
20
- */
21
- price?: PriceDefinition;
22
- /**
23
- * Enables a outOfStock status.
24
- */
25
- outOfStock?: boolean;
26
- /**
27
- * Specifies the OutOfStock badge's label.
28
- */
29
- outOfStockLabel?: string;
30
- /**
31
- * Specifies Rating Value of the product.
32
- */
33
- ratingValue?: number;
34
- /**
35
- * Specifies the button's label.
36
- */
37
- buttonLabel?: string;
38
- /**
39
- * Enables a DiscountBadge to the component.
40
- */
41
- showDiscountBadge?: boolean;
42
- /**
43
- * Callback function when button is clicked.
44
- */
45
- onButtonClick?: () => void;
46
- }
47
- declare const ProductCardContent: React.ForwardRefExoticComponent<ProductCardContentProps & React.RefAttributes<HTMLElement>>;
48
- export default ProductCardContent;
@@ -1,19 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- import { Badge, Button, DiscountBadge, Icon, Link, ProductPrice, Rating, } from '../../';
3
- const ProductCardContent = forwardRef(function CardContent({ testId = 'fs-product-card-content', title, linkProps, price, outOfStock, outOfStockLabel = 'Out of stock', ratingValue, showDiscountBadge, buttonLabel = 'Add', onButtonClick, children, ...otherProps }, ref) {
4
- const listingPrice = price?.listPrice ? price.listPrice : 0;
5
- const sellingPrice = price?.value ? price.value : 0;
6
- return (React.createElement("section", { ref: ref, "data-fs-product-card-content": true, "data-fs-product-card-badge": showDiscountBadge, "data-testid": testId, ...otherProps },
7
- React.createElement("div", { "data-fs-product-card-heading": true },
8
- React.createElement("h3", { "data-fs-product-card-title": true },
9
- React.createElement(Link, { ...linkProps, title: title },
10
- React.createElement("span", null, title))),
11
- !outOfStock && (React.createElement(ProductPrice, { "data-fs-product-card-prices": true, value: sellingPrice, listPrice: listingPrice, formatter: price?.formatter })),
12
- ratingValue && (React.createElement(Rating, { value: ratingValue, icon: React.createElement(Icon, { name: "Star" }) }))),
13
- showDiscountBadge && !outOfStock && (React.createElement(DiscountBadge, { listPrice: listingPrice, spotPrice: sellingPrice })),
14
- outOfStock && React.createElement(Badge, null, outOfStockLabel),
15
- onButtonClick && !outOfStock && (React.createElement("div", { "data-fs-product-card-actions": true },
16
- React.createElement(Button, { variant: "primary", icon: React.createElement(Icon, { name: "ShoppingCart" }), iconPosition: "left", size: "small", onClick: onButtonClick }, buttonLabel)))));
17
- });
18
- export default ProductCardContent;
19
- //# sourceMappingURL=ProductCardContent.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductCardContent.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/ProductCardContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAIzC,OAAO,EACL,KAAK,EACL,MAAM,EACN,aAAa,EACb,IAAI,EACJ,IAAI,EAGJ,YAAY,EACZ,MAAM,GACP,MAAM,QAAQ,CAAA;AA6Cf,MAAM,kBAAkB,GAAG,UAAU,CACnC,SAAS,WAAW,CAClB,EACE,MAAM,GAAG,yBAAyB,EAClC,KAAK,EACL,SAAS,EACT,KAAK,EACL,UAAU,EACV,eAAe,GAAG,cAAc,EAChC,WAAW,EACX,iBAAiB,EACjB,WAAW,GAAG,KAAK,EACnB,aAAa,EACb,QAAQ,EACR,GAAG,UAAU,EACd,EACD,GAAG;IAEH,MAAM,YAAY,GAAG,KAAK,EAAE,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAAA;IAC3D,MAAM,YAAY,GAAG,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA;IAEnD,OAAO,CACL,iCACE,GAAG,EAAE,GAAG,sEAEoB,iBAAiB,iBAChC,MAAM,KACf,UAAU;QAEd;YACE;gBACE,oBAAC,IAAI,OAAK,SAAS,EAAE,KAAK,EAAE,KAAK;oBAC/B,kCAAO,KAAK,CAAQ,CACf,CACJ;YACJ,CAAC,UAAU,IAAI,CACd,oBAAC,YAAY,yCAEX,KAAK,EAAE,YAAY,EACnB,SAAS,EAAE,YAAY,EACvB,SAAS,EAAE,KAAK,EAAE,SAAS,GAC3B,CACH;YACA,WAAW,IAAI,CACd,oBAAC,MAAM,IAAC,KAAK,EAAE,WAAW,EAAE,IAAI,EAAE,oBAAC,IAAI,IAAC,IAAI,EAAC,MAAM,GAAG,GAAI,CAC3D,CACG;QACL,iBAAiB,IAAI,CAAC,UAAU,IAAI,CACnC,oBAAC,aAAa,IAAC,SAAS,EAAE,YAAY,EAAE,SAAS,EAAE,YAAY,GAAI,CACpE;QACA,UAAU,IAAI,oBAAC,KAAK,QAAE,eAAe,CAAS;QAC9C,aAAa,IAAI,CAAC,UAAU,IAAI,CAC/B;YACE,oBAAC,MAAM,IACL,OAAO,EAAC,SAAS,EACjB,IAAI,EAAE,oBAAC,IAAI,IAAC,IAAI,EAAC,cAAc,GAAG,EAClC,YAAY,EAAC,MAAM,EACnB,IAAI,EAAC,OAAO,EACZ,OAAO,EAAE,aAAa,IAErB,WAAW,CACL,CACL,CACP,CACO,CACX,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,kBAAkB,CAAA"}
@@ -1,14 +0,0 @@
1
- import type { HTMLAttributes } from 'react';
2
- import React from 'react';
3
- export interface ProductCardImageProps extends HTMLAttributes<HTMLDivElement> {
4
- /**
5
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
- */
7
- testId?: string;
8
- /**
9
- * Specifies the ProductCard image's aspect ratio.
10
- */
11
- aspectRatio?: number;
12
- }
13
- declare const ProductCardImage: React.ForwardRefExoticComponent<ProductCardImageProps & React.RefAttributes<HTMLDivElement>>;
14
- export default ProductCardImage;
@@ -1,8 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- const ProductCardImage = forwardRef(function ProductCardImage({ testId = 'fs-product-card-image', aspectRatio = 1, children, ...otherProps }, ref) {
3
- return (React.createElement("div", { ref: ref, "data-fs-product-card-image": true, "data-testid": testId, style: {
4
- '--fs-product-card-image-aspect-ratio': aspectRatio
5
- }, ...otherProps }, children));
6
- });
7
- export default ProductCardImage;
8
- //# sourceMappingURL=ProductCardImage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductCardImage.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/ProductCardImage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAazC,MAAM,gBAAgB,GAAG,UAAU,CACjC,SAAS,gBAAgB,CACvB,EACE,MAAM,GAAG,uBAAuB,EAChC,WAAW,GAAG,CAAC,EACf,QAAQ,EACR,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,6BACE,GAAG,EAAE,GAAG,qDAEK,MAAM,EACnB,KAAK,EACH;YACE,sCAAsC,EAAE,WAAW;SAC7B,KAEtB,UAAU,IAEb,QAAQ,CACL,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,6 +0,0 @@
1
- export { default } from './ProductCard';
2
- export type { ProductCardProps } from './ProductCard';
3
- export { default as ProductCardImage } from './ProductCardImage';
4
- export type { ProductCardImageProps } from './ProductCardImage';
5
- export { default as ProductCardContent } from './ProductCardContent';
6
- export type { ProductCardContentProps } from './ProductCardContent';
@@ -1,4 +0,0 @@
1
- export { default } from './ProductCard';
2
- export { default as ProductCardImage } from './ProductCardImage';
3
- export { default as ProductCardContent } from './ProductCardContent';
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/ProductCard/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAGvC,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAGhE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,sBAAsB,CAAA"}
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import type { HTMLAttributes } from 'react';
3
- import type { PriceFormatter } from '../../atoms/Price';
4
- export interface ProductPriceProps extends HTMLAttributes<HTMLDivElement> {
5
- /**
6
- * Specifies product's raw price value.
7
- */
8
- value: number;
9
- /**
10
- * Specifies product's listing price.
11
- */
12
- listPrice: number;
13
- /**
14
- * Formatter function that transforms the raw price value and render the result.
15
- */
16
- formatter?: PriceFormatter;
17
- /**
18
- * ID to find this component in testing tools (e.g.: cypress,
19
- * testing-library, and jest).
20
- */
21
- testId?: string;
22
- }
23
- declare const ProductPrice: React.ForwardRefExoticComponent<ProductPriceProps & React.RefAttributes<HTMLDivElement>>;
24
- export default ProductPrice;
@@ -1,11 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- import { Price } from '../../';
3
- const ProductPrice = forwardRef(function ProductCard({ testId = 'fs-product-price', value, listPrice, formatter, ...otherProps }, ref) {
4
- const listingPrice = listPrice ?? 0;
5
- const sellingPrice = value ?? 0;
6
- return (React.createElement("div", { ref: ref, "data-fs-product-price": true, "data-testid": testId, ...otherProps }, sellingPrice !== listingPrice && listingPrice !== 0 ? (React.createElement(React.Fragment, null,
7
- React.createElement(Price, { value: listingPrice, formatter: formatter, testId: "list-price", "data-value": listingPrice, variant: "listing", SRText: "Original price:" }),
8
- React.createElement(Price, { value: sellingPrice, formatter: formatter, testId: "price", "data-value": sellingPrice, variant: "spot", SRText: "Price:" }))) : (React.createElement(Price, { value: sellingPrice, formatter: formatter, testId: "price", "data-value": sellingPrice, variant: "spot", SRText: "Price:" }))));
9
- });
10
- export default ProductPrice;
11
- //# sourceMappingURL=ProductPrice.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductPrice.js","sourceRoot":"","sources":["../../../src/molecules/ProductPrice/ProductPrice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAIzC,OAAO,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AAsB9B,MAAM,YAAY,GAAG,UAAU,CAC7B,SAAS,WAAW,CAClB,EAAE,MAAM,GAAG,kBAAkB,EAAE,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,GAAG,UAAU,EAAE,EAC3E,GAAG;IAEH,MAAM,YAAY,GAAG,SAAS,IAAI,CAAC,CAAA;IACnC,MAAM,YAAY,GAAG,KAAK,IAAI,CAAC,CAAA;IAE/B,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,gDAAqC,MAAM,KAAM,UAAU,IACrE,YAAY,KAAK,YAAY,IAAI,YAAY,KAAK,CAAC,CAAC,CAAC,CAAC,CACrD;QACE,oBAAC,KAAK,IACJ,KAAK,EAAE,YAAY,EACnB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAC,YAAY,gBACP,YAAY,EACxB,OAAO,EAAC,SAAS,EACjB,MAAM,EAAC,iBAAiB,GACxB;QACF,oBAAC,KAAK,IACJ,KAAK,EAAE,YAAY,EACnB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAC,OAAO,gBACF,YAAY,EACxB,OAAO,EAAC,MAAM,EACd,MAAM,EAAC,QAAQ,GACf,CACD,CACJ,CAAC,CAAC,CAAC,CACF,oBAAC,KAAK,IACJ,KAAK,EAAE,YAAY,EACnB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAC,OAAO,gBACF,YAAY,EACxB,OAAO,EAAC,MAAM,EACd,MAAM,EAAC,QAAQ,GACf,CACH,CACG,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './ProductPrice';
2
- export type { ProductPriceProps } from './ProductPrice';
@@ -1,2 +0,0 @@
1
- export { default } from './ProductPrice';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/ProductPrice/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
@@ -1,30 +0,0 @@
1
- import React, { HTMLAttributes } from 'react';
2
- import type { ReactNode } from 'react';
3
- export interface ProductTitleProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
4
- /**
5
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
6
- */
7
- testId?: string;
8
- /**
9
- * A react component to be used as the product title, e.g. a `h1`
10
- */
11
- title: ReactNode;
12
- /**
13
- * A react component to be used as the product label, e.g. a `DiscountBadge`
14
- */
15
- label?: ReactNode;
16
- /**
17
- * Label for reference.
18
- */
19
- refTag?: string;
20
- /**
21
- * A text to be used below the title and the label, such as the product's reference number.
22
- */
23
- refNumber?: string;
24
- /**
25
- * The current value of the rating, a number from 0 to 5.
26
- */
27
- ratingValue?: number;
28
- }
29
- declare const ProductTitle: React.ForwardRefExoticComponent<ProductTitleProps & React.RefAttributes<HTMLElement>>;
30
- export default ProductTitle;
@@ -1,16 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- import { Rating } from '../../';
3
- const ProductTitle = forwardRef(function ProductTitle({ title, label, refTag = 'Ref.: ', refNumber, testId = 'fs-product-title', ratingValue, ...otherProps }, ref) {
4
- return (React.createElement("header", { ref: ref, "data-fs-product-title": true, "data-testid": testId, ...otherProps },
5
- React.createElement("div", { "data-fs-product-title-header": true },
6
- title,
7
- !!label && label),
8
- (refNumber || ratingValue) && (React.createElement("div", { "data-fs-product-title-addendum": true },
9
- ratingValue && React.createElement(Rating, { value: ratingValue }),
10
- refNumber && (React.createElement(React.Fragment, null,
11
- refTag,
12
- " ",
13
- refNumber))))));
14
- });
15
- export default ProductTitle;
16
- //# sourceMappingURL=ProductTitle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ProductTitle.js","sourceRoot":"","sources":["../../../src/molecules/ProductTitle/ProductTitle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAkB,MAAM,OAAO,CAAA;AAGzD,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA8B/B,MAAM,YAAY,GAAG,UAAU,CAC7B,SAAS,YAAY,CACnB,EACE,KAAK,EACL,KAAK,EACL,MAAM,GAAG,QAAQ,EACjB,SAAS,EACT,MAAM,GAAG,kBAAkB,EAC3B,WAAW,EACX,GAAG,UAAU,EACd,EACD,GAAG;IAEH,OAAO,CACL,gCACE,GAAG,EAAE,GAAG,gDAEK,MAAM,KACf,UAAU;QAEd;YACG,KAAK;YACL,CAAC,CAAC,KAAK,IAAI,KAAK,CACb;QAEL,CAAC,SAAS,IAAI,WAAW,CAAC,IAAI,CAC7B;YACG,WAAW,IAAI,oBAAC,MAAM,IAAC,KAAK,EAAE,WAAW,GAAI;YAC7C,SAAS,IAAI,CACZ;gBACG,MAAM;;gBAAG,SAAS,CAClB,CACJ,CACG,CACP,CACM,CACV,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,YAAY,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './ProductTitle';
2
- export type { ProductTitleProps } from './ProductTitle';
@@ -1,2 +0,0 @@
1
- export { default } from './ProductTitle';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/ProductTitle/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA"}
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- export interface QuantitySelectorProps {
3
- /**
4
- * ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
5
- *
6
- * @default 'fs-quantity-selector'
7
- */
8
- testId?: string;
9
- /**
10
- * The maximum value the quantity selector can receive
11
- */
12
- max?: number;
13
- /**
14
- * The minimum value the quantity selector can receive
15
- */
16
- min?: number;
17
- /**
18
- * The initial value for quantity selector
19
- */
20
- initial?: number;
21
- /**
22
- * Specifies that the whole quantity selector component should be disabled.
23
- */
24
- disabled?: boolean;
25
- /**
26
- * Event emitted when value is changed
27
- */
28
- onChange?: (value: number) => void;
29
- }
30
- declare const QuantitySelector: ({ max, min, initial, disabled, onChange, testId, ...otherProps }: QuantitySelectorProps) => React.JSX.Element;
31
- export default QuantitySelector;
@@ -1,37 +0,0 @@
1
- import React, { useEffect, useState } from 'react';
2
- import { Icon, IconButton, Input } from '../../';
3
- const QuantitySelector = ({ max, min = 1, initial, disabled = false, onChange, testId = 'fs-quantity-selector', ...otherProps }) => {
4
- const [quantity, setQuantity] = useState(initial ?? min);
5
- const isLeftDisabled = quantity === min;
6
- const isRightDisabled = quantity === max;
7
- const changeQuantity = (increaseValue) => {
8
- const quantityValue = validateQuantityBounds(quantity + increaseValue);
9
- onChange?.(quantityValue);
10
- setQuantity(quantityValue);
11
- };
12
- const increase = () => changeQuantity(1);
13
- const decrease = () => changeQuantity(-1);
14
- function validateQuantityBounds(n) {
15
- const maxValue = min ? Math.max(n, min) : n;
16
- return max ? Math.min(maxValue, max) : maxValue;
17
- }
18
- function validateInput(e) {
19
- const val = e.currentTarget.value;
20
- if (!Number.isNaN(Number(val))) {
21
- setQuantity(() => {
22
- const quantityValue = validateQuantityBounds(Number(val));
23
- onChange?.(quantityValue);
24
- return quantityValue;
25
- });
26
- }
27
- }
28
- useEffect(() => {
29
- initial && setQuantity(initial);
30
- }, [initial]);
31
- return (React.createElement("div", { "data-fs-quantity-selector": disabled ? 'disabled' : 'true', "data-testid": testId, ...otherProps },
32
- React.createElement(IconButton, { "data-quantity-selector-button": "left", icon: React.createElement(Icon, { name: "Minus", width: 16, height: 16, weight: "bold" }), "aria-label": "Decrement Quantity", "aria-controls": "quantity-selector-input", disabled: isLeftDisabled || disabled, onClick: decrease, testId: `${testId}-left-button`, size: "small" }),
33
- React.createElement(Input, { "data-quantity-selector-input": true, id: "quantity-selector-input", "aria-label": "Quantity", value: quantity, onChange: validateInput, disabled: disabled }),
34
- React.createElement(IconButton, { "data-quantity-selector-button": "right", "aria-controls": "quantity-selector-input", "aria-label": "Increment Quantity", disabled: isRightDisabled || disabled, icon: React.createElement(Icon, { name: "Plus", width: 16, height: 16, weight: "bold" }), onClick: increase, testId: `${testId}-right-button`, size: "small" })));
35
- };
36
- export default QuantitySelector;
37
- //# sourceMappingURL=QuantitySelector.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"QuantitySelector.js","sourceRoot":"","sources":["../../../src/molecules/QuantitySelector/QuantitySelector.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAElD,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAA;AA+BhD,MAAM,gBAAgB,GAAG,CAAC,EACxB,GAAG,EACH,GAAG,GAAG,CAAC,EACP,OAAO,EACP,QAAQ,GAAG,KAAK,EAChB,QAAQ,EACR,MAAM,GAAG,sBAAsB,EAC/B,GAAG,UAAU,EACS,EAAE,EAAE;IAC1B,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAS,OAAO,IAAI,GAAG,CAAC,CAAA;IAEhE,MAAM,cAAc,GAAG,QAAQ,KAAK,GAAG,CAAA;IACvC,MAAM,eAAe,GAAG,QAAQ,KAAK,GAAG,CAAA;IAExC,MAAM,cAAc,GAAG,CAAC,aAAqB,EAAE,EAAE;QAC/C,MAAM,aAAa,GAAG,sBAAsB,CAAC,QAAQ,GAAG,aAAa,CAAC,CAAA;QAEtE,QAAQ,EAAE,CAAC,aAAa,CAAC,CAAA;QACzB,WAAW,CAAC,aAAa,CAAC,CAAA;IAC5B,CAAC,CAAA;IAED,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,CAAA;IAExC,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC,CAAA;IAEzC,SAAS,sBAAsB,CAAC,CAAS;QACvC,MAAM,QAAQ,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;QAE3C,OAAO,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAA;IACjD,CAAC;IAED,SAAS,aAAa,CAAC,CAAoC;QACzD,MAAM,GAAG,GAAG,CAAC,CAAC,aAAa,CAAC,KAAK,CAAA;QAEjC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE;YAC9B,WAAW,CAAC,GAAG,EAAE;gBACf,MAAM,aAAa,GAAG,sBAAsB,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAA;gBAEzD,QAAQ,EAAE,CAAC,aAAa,CAAC,CAAA;gBAEzB,OAAO,aAAa,CAAA;YACtB,CAAC,CAAC,CAAA;SACH;IACH,CAAC;IAED,SAAS,CAAC,GAAG,EAAE;QACb,OAAO,IAAI,WAAW,CAAC,OAAO,CAAC,CAAA;IACjC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAA;IAEb,OAAO,CACL,0DAC6B,QAAQ,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,MAAM,iBAC5C,MAAM,KACf,UAAU;QAEd,oBAAC,UAAU,qCACqB,MAAM,EACpC,IAAI,EAAE,oBAAC,IAAI,IAAC,IAAI,EAAC,OAAO,EAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAC,MAAM,GAAG,gBACrD,oBAAoB,mBACjB,yBAAyB,EACvC,QAAQ,EAAE,cAAc,IAAI,QAAQ,EACpC,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,GAAG,MAAM,cAAc,EAC/B,IAAI,EAAC,OAAO,GACZ;QACF,oBAAC,KAAK,0CAEJ,EAAE,EAAC,yBAAyB,gBACjB,UAAU,EACrB,KAAK,EAAE,QAAQ,EACf,QAAQ,EAAE,aAAa,EACvB,QAAQ,EAAE,QAAQ,GAClB;QACF,oBAAC,UAAU,qCACqB,OAAO,mBACvB,yBAAyB,gBAC5B,oBAAoB,EAC/B,QAAQ,EAAE,eAAe,IAAI,QAAQ,EACrC,IAAI,EAAE,oBAAC,IAAI,IAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAC,MAAM,GAAG,EAC/D,OAAO,EAAE,QAAQ,EACjB,MAAM,EAAE,GAAG,MAAM,eAAe,EAChC,IAAI,EAAC,OAAO,GACZ,CACE,CACP,CAAA;AACH,CAAC,CAAA;AAED,eAAe,gBAAgB,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './QuantitySelector';
2
- export type { QuantitySelectorProps } from './QuantitySelector';
@@ -1,2 +0,0 @@
1
- export { default } from './QuantitySelector';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/QuantitySelector/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA"}
@@ -1,26 +0,0 @@
1
- import type { HTMLAttributes } from 'react';
2
- import React from 'react';
3
- export interface RadioFieldProps 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
- * ID to identify input and corresponding label.
10
- */
11
- id: string;
12
- /**
13
- * The text displayed to identify the input radio.
14
- */
15
- label: string;
16
- /**
17
- * The value to identify the input radio.
18
- */
19
- value?: string;
20
- /**
21
- * Identify radio in the same group.
22
- */
23
- name?: string;
24
- }
25
- declare const RadioField: React.ForwardRefExoticComponent<RadioFieldProps & React.RefAttributes<HTMLDivElement>>;
26
- export default RadioField;
@@ -1,10 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- import Label from '../../atoms/Label';
3
- import Radio from '../../atoms/Radio';
4
- const RadioField = forwardRef(function RadioField({ testId = 'fs-radio-field', id, label, value, name, ...otherProps }, ref) {
5
- return (React.createElement("div", { ref: ref, "data-fs-radio-field": true, "data-testid": testId },
6
- React.createElement(Radio, { id: id, value: value ?? label, name: name, ...otherProps }),
7
- React.createElement(Label, { htmlFor: id }, label)));
8
- });
9
- export default RadioField;
10
- //# sourceMappingURL=RadioField.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioField.js","sourceRoot":"","sources":["../../../src/molecules/RadioField/RadioField.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,KAAK,MAAM,mBAAmB,CAAA;AACrC,OAAO,KAAK,MAAM,mBAAmB,CAAA;AAyBrC,MAAM,UAAU,GAAG,UAAU,CAC3B,SAAS,UAAU,CACjB,EAAE,MAAM,GAAG,gBAAgB,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,GAAG,UAAU,EAAE,EACpE,GAAG;IAEH,OAAO,CACL,6BAAK,GAAG,EAAE,GAAG,8CAAmC,MAAM;QACpD,oBAAC,KAAK,IAAC,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,IAAI,KAAK,EAAE,IAAI,EAAE,IAAI,KAAM,UAAU,GAAI;QACpE,oBAAC,KAAK,IAAC,OAAO,EAAE,EAAE,IAAG,KAAK,CAAS,CAC/B,CACP,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,2 +0,0 @@
1
- export { default } from './RadioField';
2
- export type { RadioFieldProps } from './RadioField';
@@ -1,2 +0,0 @@
1
- export { default } from './RadioField';
2
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/molecules/RadioField/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA"}
@@ -1,6 +0,0 @@
1
- import type { PropsWithChildren } from 'react';
2
- import React from 'react';
3
- import { RadioGroupContext } from './useRadioGroup';
4
- export type RadioGroupProps = PropsWithChildren<RadioGroupContext>;
5
- declare const RadioGroup: ({ name, onChange, children, selectedValue, }: RadioGroupProps) => React.JSX.Element;
6
- export default RadioGroup;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { RadioGroupContext } from './useRadioGroup';
3
- const RadioGroup = ({ name, onChange, children, selectedValue, }) => {
4
- const contextValues = React.useMemo(() => {
5
- return { name, selectedValue, onChange };
6
- }, [name, selectedValue, onChange]);
7
- return (React.createElement(RadioGroupContext.Provider, { value: contextValues }, children));
8
- };
9
- export default RadioGroup;
10
- //# sourceMappingURL=RadioGroup.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioGroup.js","sourceRoot":"","sources":["../../../src/molecules/RadioGroup/RadioGroup.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAInD,MAAM,UAAU,GAAG,CAAC,EAClB,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,aAAa,GACG,EAAE,EAAE;IACpB,MAAM,aAAa,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACvC,OAAO,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,CAAA;IAC1C,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,EAAE,QAAQ,CAAC,CAAC,CAAA;IAEnC,OAAO,CACL,oBAAC,iBAAiB,CAAC,QAAQ,IAAC,KAAK,EAAE,aAAa,IAC7C,QAAQ,CACkB,CAC9B,CAAA;AACH,CAAC,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,19 +0,0 @@
1
- import type { InputHTMLAttributes } from 'react';
2
- import React from 'react';
3
- export interface RadioOptionProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> {
4
- /**
5
- * ID to find this component in testing tools (e.g.: cypress,
6
- * testing-library, and jest).
7
- */
8
- testId?: string;
9
- /**
10
- * Attribute to set aria-label option as required.
11
- */
12
- label: string;
13
- /**
14
- * Value to be emitted when radio is clicked.
15
- */
16
- value: string | number;
17
- }
18
- declare const RadioOption: React.ForwardRefExoticComponent<RadioOptionProps & React.RefAttributes<HTMLInputElement>>;
19
- export default RadioOption;
@@ -1,11 +0,0 @@
1
- import React, { forwardRef } from 'react';
2
- import Radio from '../../atoms/Radio';
3
- import { useRadioGroup } from './useRadioGroup';
4
- const RadioOption = forwardRef(function RadioOption({ label, value, children, testId = 'fs-radio-group-option', ...otherProps }, ref) {
5
- const { name, selectedValue, onChange } = useRadioGroup();
6
- return (React.createElement("label", { "aria-label": label, "data-fs-radio-group-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
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioOption.js","sourceRoot":"","sources":["../../../src/molecules/RadioGroup/RadioOption.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAEzC,OAAO,KAAK,MAAM,mBAAmB,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAmB/C,MAAM,WAAW,GAAG,UAAU,CAC5B,SAAS,WAAW,CAClB,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,GAAG,uBAAuB,EAAE,GAAG,UAAU,EAAE,EAC3E,GAAG;IAEH,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,QAAQ,EAAE,GAAG,aAAa,EAAE,CAAA;IAEzD,OAAO,CACL,6CAAmB,KAAK;QACtB,oBAAC,KAAK,uCAEJ,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,KAAK,KAAK,aAAa,EAChC,QAAQ,EAAE,QAAQ,EAClB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,KACV,UAAU,GACd;QACD,QAAQ,CACH,CACT,CAAA;AACH,CAAC,CACF,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,4 +0,0 @@
1
- export { default } from './RadioGroup';
2
- export type { RadioGroupProps } from './RadioGroup';
3
- export { default as RadioOption } from './RadioOption';
4
- export type { RadioOptionProps } from './RadioOption';
@@ -1,3 +0,0 @@
1
- export { default } from './RadioGroup';
2
- export { default as RadioOption } from './RadioOption';
3
- //# sourceMappingURL=index.js.map