@faststore/ui 1.9.2 → 1.9.9

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 (434) hide show
  1. package/CHANGELOG.md +742 -2286
  2. package/README.md +2 -0
  3. package/dist/atoms/Badge/Badge.d.ts +11 -11
  4. package/dist/atoms/Badge/Badge.js +6 -0
  5. package/dist/atoms/Badge/Badge.js.map +1 -0
  6. package/dist/atoms/Badge/index.d.ts +2 -2
  7. package/dist/atoms/Badge/index.js +2 -0
  8. package/dist/atoms/Badge/index.js.map +1 -0
  9. package/dist/atoms/Button/Button.d.ts +10 -10
  10. package/dist/atoms/Button/Button.js +6 -0
  11. package/dist/atoms/Button/Button.js.map +1 -0
  12. package/dist/atoms/Button/index.d.ts +2 -2
  13. package/dist/atoms/Button/index.js +2 -0
  14. package/dist/atoms/Button/index.js.map +1 -0
  15. package/dist/atoms/Checkbox/Checkbox.d.ts +10 -10
  16. package/dist/atoms/Checkbox/Checkbox.js +6 -0
  17. package/dist/atoms/Checkbox/Checkbox.js.map +1 -0
  18. package/dist/atoms/Checkbox/index.d.ts +2 -2
  19. package/dist/atoms/Checkbox/index.js +2 -0
  20. package/dist/atoms/Checkbox/index.js.map +1 -0
  21. package/dist/atoms/Icon/Icon.d.ts +14 -14
  22. package/dist/atoms/Icon/Icon.js +6 -0
  23. package/dist/atoms/Icon/Icon.js.map +1 -0
  24. package/dist/atoms/Icon/index.d.ts +2 -2
  25. package/dist/atoms/Icon/index.js +2 -0
  26. package/dist/atoms/Icon/index.js.map +1 -0
  27. package/dist/atoms/Icon/stories/assets/ShoppingCart.d.ts +3 -3
  28. package/dist/atoms/Icon/stories/assets/ShoppingCart.js +8 -0
  29. package/dist/atoms/Icon/stories/assets/ShoppingCart.js.map +1 -0
  30. package/dist/atoms/Incentive/Incentive.d.ts +11 -11
  31. package/dist/atoms/Incentive/Incentive.js +6 -0
  32. package/dist/atoms/Incentive/Incentive.js.map +1 -0
  33. package/dist/atoms/Incentive/index.d.ts +2 -2
  34. package/dist/atoms/Incentive/index.js +2 -0
  35. package/dist/atoms/Incentive/index.js.map +1 -0
  36. package/dist/atoms/Incentive/stories/assets/Icons.d.ts +2 -2
  37. package/dist/atoms/Incentive/stories/assets/Icons.js +6 -0
  38. package/dist/atoms/Incentive/stories/assets/Icons.js.map +1 -0
  39. package/dist/atoms/Input/Input.d.ts +14 -14
  40. package/dist/atoms/Input/Input.js +10 -0
  41. package/dist/atoms/Input/Input.js.map +1 -0
  42. package/dist/atoms/Input/index.d.ts +2 -2
  43. package/dist/atoms/Input/index.js +2 -0
  44. package/dist/atoms/Input/index.js.map +1 -0
  45. package/dist/atoms/Label/Label.d.ts +10 -10
  46. package/dist/atoms/Label/Label.js +6 -0
  47. package/dist/atoms/Label/Label.js.map +1 -0
  48. package/dist/atoms/Label/index.d.ts +2 -2
  49. package/dist/atoms/Label/index.js +2 -0
  50. package/dist/atoms/Label/index.js.map +1 -0
  51. package/dist/atoms/Link/Link.d.ts +19 -19
  52. package/dist/atoms/Link/Link.js +13 -0
  53. package/dist/atoms/Link/Link.js.map +1 -0
  54. package/dist/atoms/Link/index.d.ts +2 -2
  55. package/dist/atoms/Link/index.js +2 -0
  56. package/dist/atoms/Link/index.js.map +1 -0
  57. package/dist/atoms/List/List.d.ts +12 -12
  58. package/dist/atoms/List/List.js +16 -0
  59. package/dist/atoms/List/List.js.map +1 -0
  60. package/dist/atoms/List/index.d.ts +2 -2
  61. package/dist/atoms/List/index.js +2 -0
  62. package/dist/atoms/List/index.js.map +1 -0
  63. package/dist/atoms/Overlay/Overlay.d.ts +10 -10
  64. package/dist/atoms/Overlay/Overlay.js +6 -0
  65. package/dist/atoms/Overlay/Overlay.js.map +1 -0
  66. package/dist/atoms/Overlay/index.d.ts +2 -2
  67. package/dist/atoms/Overlay/index.js +2 -0
  68. package/dist/atoms/Overlay/index.js.map +1 -0
  69. package/dist/atoms/Popover/Popover.d.ts +15 -15
  70. package/dist/atoms/Popover/Popover.js +7 -0
  71. package/dist/atoms/Popover/Popover.js.map +1 -0
  72. package/dist/atoms/Popover/index.d.ts +2 -2
  73. package/dist/atoms/Popover/index.js +2 -0
  74. package/dist/atoms/Popover/index.js.map +1 -0
  75. package/dist/atoms/Price/Price.d.ts +28 -28
  76. package/dist/atoms/Price/Price.js +7 -0
  77. package/dist/atoms/Price/Price.js.map +1 -0
  78. package/dist/atoms/Price/index.d.ts +2 -2
  79. package/dist/atoms/Price/index.js +2 -0
  80. package/dist/atoms/Price/index.js.map +1 -0
  81. package/dist/atoms/Radio/Radio.d.ts +7 -7
  82. package/dist/atoms/Radio/Radio.js +6 -0
  83. package/dist/atoms/Radio/Radio.js.map +1 -0
  84. package/dist/atoms/Radio/index.d.ts +2 -2
  85. package/dist/atoms/Radio/index.js +2 -0
  86. package/dist/atoms/Radio/index.js.map +1 -0
  87. package/dist/atoms/Select/Select.d.ts +10 -10
  88. package/dist/atoms/Select/Select.js +6 -0
  89. package/dist/atoms/Select/Select.js.map +1 -0
  90. package/dist/atoms/Select/index.d.ts +2 -2
  91. package/dist/atoms/Select/index.js +2 -0
  92. package/dist/atoms/Select/index.js.map +1 -0
  93. package/dist/atoms/Skeleton/Skeleton.d.ts +10 -10
  94. package/dist/atoms/Skeleton/Skeleton.js +6 -0
  95. package/dist/atoms/Skeleton/Skeleton.js.map +1 -0
  96. package/dist/atoms/Skeleton/index.d.ts +2 -2
  97. package/dist/atoms/Skeleton/index.js +2 -0
  98. package/dist/atoms/Skeleton/index.js.map +1 -0
  99. package/dist/atoms/Slider/Slider.d.ts +37 -37
  100. package/dist/atoms/Slider/Slider.js +46 -0
  101. package/dist/atoms/Slider/Slider.js.map +1 -0
  102. package/dist/atoms/Slider/index.d.ts +2 -2
  103. package/dist/atoms/Slider/index.js +2 -0
  104. package/dist/atoms/Slider/index.js.map +1 -0
  105. package/dist/atoms/Spinner/Spinner.d.ts +11 -11
  106. package/dist/atoms/Spinner/Spinner.js +6 -0
  107. package/dist/atoms/Spinner/Spinner.js.map +1 -0
  108. package/dist/atoms/Spinner/index.d.ts +2 -2
  109. package/dist/atoms/Spinner/index.js +2 -0
  110. package/dist/atoms/Spinner/index.js.map +1 -0
  111. package/dist/atoms/TextArea/TextArea.d.ts +14 -14
  112. package/dist/atoms/TextArea/TextArea.js +10 -0
  113. package/dist/atoms/TextArea/TextArea.js.map +1 -0
  114. package/dist/atoms/TextArea/index.d.ts +2 -2
  115. package/dist/atoms/TextArea/index.js +2 -0
  116. package/dist/atoms/TextArea/index.js.map +1 -0
  117. package/dist/hooks/useSlider/index.d.ts +2 -2
  118. package/dist/hooks/useSlider/index.js +3 -0
  119. package/dist/hooks/useSlider/index.js.map +1 -0
  120. package/dist/hooks/useSlider/useSlider.d.ts +62 -62
  121. package/dist/hooks/useSlider/useSlider.js +108 -0
  122. package/dist/hooks/useSlider/useSlider.js.map +1 -0
  123. package/dist/index.d.ts +80 -80
  124. package/dist/index.js +45 -8
  125. package/dist/index.js.map +1 -0
  126. package/dist/molecules/Accordion/Accordion.d.ts +26 -26
  127. package/dist/molecules/Accordion/Accordion.js +21 -0
  128. package/dist/molecules/Accordion/Accordion.js.map +1 -0
  129. package/dist/molecules/Accordion/AccordionButton.d.ts +10 -10
  130. package/dist/molecules/Accordion/AccordionButton.js +37 -0
  131. package/dist/molecules/Accordion/AccordionButton.js.map +1 -0
  132. package/dist/molecules/Accordion/AccordionItem.d.ts +28 -28
  133. package/dist/molecules/Accordion/AccordionItem.js +21 -0
  134. package/dist/molecules/Accordion/AccordionItem.js.map +1 -0
  135. package/dist/molecules/Accordion/AccordionPanel.d.ts +10 -10
  136. package/dist/molecules/Accordion/AccordionPanel.js +10 -0
  137. package/dist/molecules/Accordion/AccordionPanel.js.map +1 -0
  138. package/dist/molecules/Accordion/index.d.ts +8 -8
  139. package/dist/molecules/Accordion/index.js +5 -0
  140. package/dist/molecules/Accordion/index.js.map +1 -0
  141. package/dist/molecules/AggregateRating/AggregateRating.d.ts +18 -18
  142. package/dist/molecules/AggregateRating/AggregateRating.js +26 -0
  143. package/dist/molecules/AggregateRating/AggregateRating.js.map +1 -0
  144. package/dist/molecules/AggregateRating/index.d.ts +2 -2
  145. package/dist/molecules/AggregateRating/index.js +2 -0
  146. package/dist/molecules/AggregateRating/index.js.map +1 -0
  147. package/dist/molecules/Alert/Alert.d.ts +11 -11
  148. package/dist/molecules/Alert/Alert.js +6 -0
  149. package/dist/molecules/Alert/Alert.js.map +1 -0
  150. package/dist/molecules/Alert/index.d.ts +2 -2
  151. package/dist/molecules/Alert/index.js +2 -0
  152. package/dist/molecules/Alert/index.js.map +1 -0
  153. package/dist/molecules/Banner/Banner.d.ts +14 -14
  154. package/dist/molecules/Banner/Banner.js +6 -0
  155. package/dist/molecules/Banner/Banner.js.map +1 -0
  156. package/dist/molecules/Banner/BannerContent.d.ts +10 -10
  157. package/dist/molecules/Banner/BannerContent.js +6 -0
  158. package/dist/molecules/Banner/BannerContent.js.map +1 -0
  159. package/dist/molecules/Banner/BannerImage.d.ts +10 -10
  160. package/dist/molecules/Banner/BannerImage.js +6 -0
  161. package/dist/molecules/Banner/BannerImage.js.map +1 -0
  162. package/dist/molecules/Banner/BannerLink.d.ts +10 -10
  163. package/dist/molecules/Banner/BannerLink.js +6 -0
  164. package/dist/molecules/Banner/BannerLink.js.map +1 -0
  165. package/dist/molecules/Banner/index.d.ts +8 -8
  166. package/dist/molecules/Banner/index.js +5 -0
  167. package/dist/molecules/Banner/index.js.map +1 -0
  168. package/dist/molecules/Breadcrumb/Breadcrumb.d.ts +14 -14
  169. package/dist/molecules/Breadcrumb/Breadcrumb.js +38 -0
  170. package/dist/molecules/Breadcrumb/Breadcrumb.js.map +1 -0
  171. package/dist/molecules/Breadcrumb/index.d.ts +2 -2
  172. package/dist/molecules/Breadcrumb/index.js +2 -0
  173. package/dist/molecules/Breadcrumb/index.js.map +1 -0
  174. package/dist/molecules/Bullets/Bullets.d.ts +35 -35
  175. package/dist/molecules/Bullets/Bullets.js +12 -0
  176. package/dist/molecules/Bullets/Bullets.js.map +1 -0
  177. package/dist/molecules/Bullets/index.d.ts +2 -2
  178. package/dist/molecules/Bullets/index.js +2 -0
  179. package/dist/molecules/Bullets/index.js.map +1 -0
  180. package/dist/molecules/Card/Card.d.ts +10 -10
  181. package/dist/molecules/Card/Card.js +6 -0
  182. package/dist/molecules/Card/Card.js.map +1 -0
  183. package/dist/molecules/Card/CardActions.d.ts +10 -10
  184. package/dist/molecules/Card/CardActions.js +6 -0
  185. package/dist/molecules/Card/CardActions.js.map +1 -0
  186. package/dist/molecules/Card/CardContent.d.ts +10 -10
  187. package/dist/molecules/Card/CardContent.js +6 -0
  188. package/dist/molecules/Card/CardContent.js.map +1 -0
  189. package/dist/molecules/Card/CardImage.d.ts +10 -10
  190. package/dist/molecules/Card/CardImage.js +6 -0
  191. package/dist/molecules/Card/CardImage.js.map +1 -0
  192. package/dist/molecules/Card/index.d.ts +8 -8
  193. package/dist/molecules/Card/index.js +5 -0
  194. package/dist/molecules/Card/index.js.map +1 -0
  195. package/dist/molecules/Carousel/Arrows.d.ts +12 -12
  196. package/dist/molecules/Carousel/Arrows.js +6 -0
  197. package/dist/molecules/Carousel/Arrows.js.map +1 -0
  198. package/dist/molecules/Carousel/Carousel.d.ts +16 -16
  199. package/dist/molecules/Carousel/Carousel.js +124 -0
  200. package/dist/molecules/Carousel/Carousel.js.map +1 -0
  201. package/dist/molecules/Carousel/hooks/useSlideVisibility.d.ts +9 -9
  202. package/dist/molecules/Carousel/hooks/useSlideVisibility.js +29 -0
  203. package/dist/molecules/Carousel/hooks/useSlideVisibility.js.map +1 -0
  204. package/dist/molecules/Carousel/index.d.ts +2 -2
  205. package/dist/molecules/Carousel/index.js +3 -0
  206. package/dist/molecules/Carousel/index.js.map +1 -0
  207. package/dist/molecules/Dropdown/Dropdown.d.ts +9 -9
  208. package/dist/molecules/Dropdown/Dropdown.js +67 -0
  209. package/dist/molecules/Dropdown/Dropdown.js.map +1 -0
  210. package/dist/molecules/Dropdown/DropdownButton.d.ts +10 -10
  211. package/dist/molecules/Dropdown/DropdownButton.js +11 -0
  212. package/dist/molecules/Dropdown/DropdownButton.js.map +1 -0
  213. package/dist/molecules/Dropdown/DropdownItem.d.ts +10 -10
  214. package/dist/molecules/Dropdown/DropdownItem.js +26 -0
  215. package/dist/molecules/Dropdown/DropdownItem.js.map +1 -0
  216. package/dist/molecules/Dropdown/DropdownMenu.d.ts +22 -22
  217. package/dist/molecules/Dropdown/DropdownMenu.js +65 -0
  218. package/dist/molecules/Dropdown/DropdownMenu.js.map +1 -0
  219. package/dist/molecules/Dropdown/contexts/DropdownContext.d.ts +41 -41
  220. package/dist/molecules/Dropdown/contexts/DropdownContext.js +11 -0
  221. package/dist/molecules/Dropdown/contexts/DropdownContext.js.map +1 -0
  222. package/dist/molecules/Dropdown/hooks/useDropdown.d.ts +6 -6
  223. package/dist/molecules/Dropdown/hooks/useDropdown.js +14 -0
  224. package/dist/molecules/Dropdown/hooks/useDropdown.js.map +1 -0
  225. package/dist/molecules/Dropdown/hooks/useDropdownPosition.d.ts +8 -8
  226. package/dist/molecules/Dropdown/hooks/useDropdownPosition.js +25 -0
  227. package/dist/molecules/Dropdown/hooks/useDropdownPosition.js.map +1 -0
  228. package/dist/molecules/Dropdown/index.d.ts +8 -8
  229. package/dist/molecules/Dropdown/index.js +5 -0
  230. package/dist/molecules/Dropdown/index.js.map +1 -0
  231. package/dist/molecules/Dropdown/stories/assets/Caret.d.ts +2 -2
  232. package/dist/molecules/Dropdown/stories/assets/Caret.js +4 -0
  233. package/dist/molecules/Dropdown/stories/assets/Caret.js.map +1 -0
  234. package/dist/molecules/Form/Form.d.ts +11 -11
  235. package/dist/molecules/Form/Form.js +6 -0
  236. package/dist/molecules/Form/Form.js.map +1 -0
  237. package/dist/molecules/Form/index.d.ts +2 -2
  238. package/dist/molecules/Form/index.js +2 -0
  239. package/dist/molecules/Form/index.js.map +1 -0
  240. package/dist/molecules/IconButton/IconButton.d.ts +19 -19
  241. package/dist/molecules/IconButton/IconButton.js +9 -0
  242. package/dist/molecules/IconButton/IconButton.js.map +1 -0
  243. package/dist/molecules/IconButton/index.d.ts +2 -2
  244. package/dist/molecules/IconButton/index.js +2 -0
  245. package/dist/molecules/IconButton/index.js.map +1 -0
  246. package/dist/molecules/LoadingButton/LoadingButton.d.ts +14 -14
  247. package/dist/molecules/LoadingButton/LoadingButton.js +8 -0
  248. package/dist/molecules/LoadingButton/LoadingButton.js.map +1 -0
  249. package/dist/molecules/LoadingButton/index.d.ts +2 -2
  250. package/dist/molecules/LoadingButton/index.js +2 -0
  251. package/dist/molecules/LoadingButton/index.js.map +1 -0
  252. package/dist/molecules/Modal/Modal.d.ts +25 -25
  253. package/dist/molecules/Modal/Modal.js +31 -0
  254. package/dist/molecules/Modal/Modal.js.map +1 -0
  255. package/dist/molecules/Modal/ModalContent.d.ts +10 -10
  256. package/dist/molecules/Modal/ModalContent.js +23 -0
  257. package/dist/molecules/Modal/ModalContent.js.map +1 -0
  258. package/dist/molecules/Modal/index.d.ts +2 -2
  259. package/dist/molecules/Modal/index.js +2 -0
  260. package/dist/molecules/Modal/index.js.map +1 -0
  261. package/dist/molecules/Modal/useTrapFocus.d.ts +8 -8
  262. package/dist/molecules/Modal/useTrapFocus.js +76 -0
  263. package/dist/molecules/Modal/useTrapFocus.js.map +1 -0
  264. package/dist/molecules/PaymentMethods/PaymentMethods.d.ts +26 -26
  265. package/dist/molecules/PaymentMethods/PaymentMethods.js +8 -0
  266. package/dist/molecules/PaymentMethods/PaymentMethods.js.map +1 -0
  267. package/dist/molecules/PaymentMethods/index.d.ts +2 -2
  268. package/dist/molecules/PaymentMethods/index.js +2 -0
  269. package/dist/molecules/PaymentMethods/index.js.map +1 -0
  270. package/dist/molecules/PaymentMethods/stories/assets/Icons.d.ts +9 -9
  271. package/dist/molecules/PaymentMethods/stories/assets/Icons.js +26 -0
  272. package/dist/molecules/PaymentMethods/stories/assets/Icons.js.map +1 -0
  273. package/dist/molecules/PriceRange/PriceRange.d.ts +23 -23
  274. package/dist/molecules/PriceRange/PriceRange.js +23 -0
  275. package/dist/molecules/PriceRange/PriceRange.js.map +1 -0
  276. package/dist/molecules/PriceRange/index.d.ts +2 -2
  277. package/dist/molecules/PriceRange/index.js +2 -0
  278. package/dist/molecules/PriceRange/index.js.map +1 -0
  279. package/dist/molecules/ProductCard/ProductCard.d.ts +11 -11
  280. package/dist/molecules/ProductCard/ProductCard.js +6 -0
  281. package/dist/molecules/ProductCard/ProductCard.js.map +1 -0
  282. package/dist/molecules/ProductCard/ProductCardActions.d.ts +10 -10
  283. package/dist/molecules/ProductCard/ProductCardActions.js +6 -0
  284. package/dist/molecules/ProductCard/ProductCardActions.js.map +1 -0
  285. package/dist/molecules/ProductCard/ProductCardContent.d.ts +10 -10
  286. package/dist/molecules/ProductCard/ProductCardContent.js +6 -0
  287. package/dist/molecules/ProductCard/ProductCardContent.js.map +1 -0
  288. package/dist/molecules/ProductCard/ProductCardImage.d.ts +10 -10
  289. package/dist/molecules/ProductCard/ProductCardImage.js +6 -0
  290. package/dist/molecules/ProductCard/ProductCardImage.js.map +1 -0
  291. package/dist/molecules/ProductCard/index.d.ts +8 -8
  292. package/dist/molecules/ProductCard/index.js +5 -0
  293. package/dist/molecules/ProductCard/index.js.map +1 -0
  294. package/dist/molecules/QuantitySelector/QuantitySelector.d.ts +30 -30
  295. package/dist/molecules/QuantitySelector/QuantitySelector.js +11 -0
  296. package/dist/molecules/QuantitySelector/QuantitySelector.js.map +1 -0
  297. package/dist/molecules/QuantitySelector/index.d.ts +2 -2
  298. package/dist/molecules/QuantitySelector/index.js +2 -0
  299. package/dist/molecules/QuantitySelector/index.js.map +1 -0
  300. package/dist/molecules/QuantitySelector/stories/assets/Icons.d.ts +7 -7
  301. package/dist/molecules/QuantitySelector/stories/assets/Icons.js +11 -0
  302. package/dist/molecules/QuantitySelector/stories/assets/Icons.js.map +1 -0
  303. package/dist/molecules/RadioGroup/RadioGroup.d.ts +5 -5
  304. package/dist/molecules/RadioGroup/RadioGroup.js +10 -0
  305. package/dist/molecules/RadioGroup/RadioGroup.js.map +1 -0
  306. package/dist/molecules/RadioGroup/RadioOption.d.ts +19 -19
  307. package/dist/molecules/RadioGroup/RadioOption.js +11 -0
  308. package/dist/molecules/RadioGroup/RadioOption.js.map +1 -0
  309. package/dist/molecules/RadioGroup/index.d.ts +4 -4
  310. package/dist/molecules/RadioGroup/index.js +3 -0
  311. package/dist/molecules/RadioGroup/index.js.map +1 -0
  312. package/dist/molecules/RadioGroup/useRadioGroup.d.ts +17 -17
  313. package/dist/molecules/RadioGroup/useRadioGroup.js +10 -0
  314. package/dist/molecules/RadioGroup/useRadioGroup.js.map +1 -0
  315. package/dist/molecules/SearchInput/SearchInput.d.ts +28 -28
  316. package/dist/molecules/SearchInput/SearchInput.js +28 -0
  317. package/dist/molecules/SearchInput/SearchInput.js.map +1 -0
  318. package/dist/molecules/SearchInput/index.d.ts +2 -2
  319. package/dist/molecules/SearchInput/index.js +2 -0
  320. package/dist/molecules/SearchInput/index.js.map +1 -0
  321. package/dist/molecules/SearchInput/stories/assets/CustomIcon.d.ts +3 -3
  322. package/dist/molecules/SearchInput/stories/assets/CustomIcon.js +7 -0
  323. package/dist/molecules/SearchInput/stories/assets/CustomIcon.js.map +1 -0
  324. package/dist/molecules/Table/Table.d.ts +11 -11
  325. package/dist/molecules/Table/Table.js +6 -0
  326. package/dist/molecules/Table/Table.js.map +1 -0
  327. package/dist/molecules/Table/TableBody.d.ts +11 -11
  328. package/dist/molecules/Table/TableBody.js +6 -0
  329. package/dist/molecules/Table/TableBody.js.map +1 -0
  330. package/dist/molecules/Table/TableCell.d.ts +20 -20
  331. package/dist/molecules/Table/TableCell.js +7 -0
  332. package/dist/molecules/Table/TableCell.js.map +1 -0
  333. package/dist/molecules/Table/TableFooter.d.ts +11 -11
  334. package/dist/molecules/Table/TableFooter.js +6 -0
  335. package/dist/molecules/Table/TableFooter.js.map +1 -0
  336. package/dist/molecules/Table/TableHead.d.ts +11 -11
  337. package/dist/molecules/Table/TableHead.js +6 -0
  338. package/dist/molecules/Table/TableHead.js.map +1 -0
  339. package/dist/molecules/Table/TableRow.d.ts +11 -11
  340. package/dist/molecules/Table/TableRow.js +6 -0
  341. package/dist/molecules/Table/TableRow.js.map +1 -0
  342. package/dist/molecules/Table/index.d.ts +12 -12
  343. package/dist/molecules/Table/index.js +7 -0
  344. package/dist/molecules/Table/index.js.map +1 -0
  345. package/dist/organisms/Hero/Hero.d.ts +11 -11
  346. package/dist/organisms/Hero/Hero.js +6 -0
  347. package/dist/organisms/Hero/Hero.js.map +1 -0
  348. package/dist/organisms/Hero/HeroHeading.d.ts +10 -10
  349. package/dist/organisms/Hero/HeroHeading.js +6 -0
  350. package/dist/organisms/Hero/HeroHeading.js.map +1 -0
  351. package/dist/organisms/Hero/HeroImage.d.ts +10 -10
  352. package/dist/organisms/Hero/HeroImage.js +6 -0
  353. package/dist/organisms/Hero/HeroImage.js.map +1 -0
  354. package/dist/organisms/Hero/index.d.ts +6 -6
  355. package/dist/organisms/Hero/index.js +4 -0
  356. package/dist/organisms/Hero/index.js.map +1 -0
  357. package/dist/organisms/OutOfStock/OutOfStock.d.ts +21 -21
  358. package/dist/organisms/OutOfStock/OutOfStock.js +8 -0
  359. package/dist/organisms/OutOfStock/OutOfStock.js.map +1 -0
  360. package/dist/organisms/OutOfStock/OutOfStockMessage.d.ts +9 -9
  361. package/dist/organisms/OutOfStock/OutOfStockMessage.js +5 -0
  362. package/dist/organisms/OutOfStock/OutOfStockMessage.js.map +1 -0
  363. package/dist/organisms/OutOfStock/OutOfStockTitle.d.ts +9 -9
  364. package/dist/organisms/OutOfStock/OutOfStockTitle.js +5 -0
  365. package/dist/organisms/OutOfStock/OutOfStockTitle.js.map +1 -0
  366. package/dist/organisms/OutOfStock/index.d.ts +6 -6
  367. package/dist/organisms/OutOfStock/index.js +4 -0
  368. package/dist/organisms/OutOfStock/index.js.map +1 -0
  369. package/dist/setupTests.d.ts +1 -1
  370. package/dist/setupTests.js +6 -0
  371. package/dist/setupTests.js.map +1 -0
  372. package/dist/typings/PolymorphicGenerics.d.ts +28 -28
  373. package/dist/typings/PolymorphicGenerics.js +8 -0
  374. package/dist/typings/PolymorphicGenerics.js.map +1 -0
  375. package/dist/typings/index.d.ts +1 -1
  376. package/dist/typings/index.js +2 -0
  377. package/dist/typings/index.js.map +1 -0
  378. package/dist/utils/toHaveNoIncomplete.d.ts +17 -17
  379. package/dist/utils/toHaveNoIncomplete.js +43 -0
  380. package/dist/utils/toHaveNoIncomplete.js.map +1 -0
  381. package/package.json +8 -11
  382. package/src/molecules/Accordion/Accordion.test.tsx +3 -3
  383. package/src/molecules/AggregateRating/stories/AggregateRating.stories.tsx +2 -3
  384. package/src/molecules/Bullets/Bullets.test.tsx +6 -6
  385. package/src/molecules/Bullets/Bullets.tsx +4 -3
  386. package/src/molecules/Dropdown/DropdownItem.tsx +2 -5
  387. package/src/molecules/Dropdown/DropdownMenu.tsx +2 -7
  388. package/src/molecules/Modal/ModalContent.tsx +0 -1
  389. package/src/typings/PolymorphicGenerics.ts +2 -3
  390. package/dist/atoms/Badge/stories/Badge.stories.d.ts +0 -17
  391. package/dist/atoms/Button/stories/Button.stories.d.ts +0 -14
  392. package/dist/atoms/Checkbox/stories/Checkbox.stories.d.ts +0 -4
  393. package/dist/atoms/Icon/stories/Icon.stories.d.ts +0 -14
  394. package/dist/atoms/Incentive/stories/Incentive.stories.d.ts +0 -4
  395. package/dist/atoms/Input/stories/Input.stories.d.ts +0 -14
  396. package/dist/atoms/Label/stories/Label.stories.d.ts +0 -14
  397. package/dist/atoms/List/stories/List.stories.d.ts +0 -22
  398. package/dist/atoms/Overlay/stories/Overlay.stories.d.ts +0 -8
  399. package/dist/atoms/Popover/stories/Popover.stories.d.ts +0 -14
  400. package/dist/atoms/Price/stories/Price.stories.d.ts +0 -18
  401. package/dist/atoms/Radio/stories/Radio.stories.d.ts +0 -4
  402. package/dist/atoms/Select/stories/Select.stories.d.ts +0 -20
  403. package/dist/atoms/Skeleton/stories/Skeleton.stories.d.ts +0 -12
  404. package/dist/atoms/Slider/stories/Slider.stories.d.ts +0 -4
  405. package/dist/atoms/Spinner/stories/Spinner.stories.d.ts +0 -12
  406. package/dist/atoms/TextArea/stories/TextArea.stories.d.ts +0 -4
  407. package/dist/molecules/Accordion/stories/Accordion.stories.d.ts +0 -14
  408. package/dist/molecules/AggregateRating/stories/AggregateRating.stories.d.ts +0 -16
  409. package/dist/molecules/Alert/stories/Alert.stories.d.ts +0 -5
  410. package/dist/molecules/Banner/stories/Banner.stories.d.ts +0 -4
  411. package/dist/molecules/Breadcrumb/stories/Breadcrumb.stories.d.ts +0 -15
  412. package/dist/molecules/Bullets/stories/Bullets.stories.d.ts +0 -15
  413. package/dist/molecules/Card/stories/Card.stories.d.ts +0 -4
  414. package/dist/molecules/Carousel/stories/Carousel.stories.d.ts +0 -18
  415. package/dist/molecules/Dropdown/stories/Dropdown.stories.d.ts +0 -7
  416. package/dist/molecules/Form/stories/Form.stories.d.ts +0 -12
  417. package/dist/molecules/IconButton/stories/IconButton.stories.d.ts +0 -5
  418. package/dist/molecules/LoadingButton/stories/LoadingButton.stories.d.ts +0 -14
  419. package/dist/molecules/Modal/stories/Modal.stories.d.ts +0 -5
  420. package/dist/molecules/PaymentMethods/stories/PaymentMethods.stories.d.ts +0 -4
  421. package/dist/molecules/PriceRange/stories/PriceRange.stories.d.ts +0 -4
  422. package/dist/molecules/ProductCard/stories/ProductCard.stories.d.ts +0 -4
  423. package/dist/molecules/QuantitySelector/stories/QuantitySelector.stories.d.ts +0 -5
  424. package/dist/molecules/RadioGroup/stories/RadioGroup.stories.d.ts +0 -15
  425. package/dist/molecules/SearchInput/stories/SearchInput.stories.d.ts +0 -15
  426. package/dist/molecules/Table/stories/Table.stories.d.ts +0 -12
  427. package/dist/organisms/Hero/stories/Hero.stories.d.ts +0 -4
  428. package/dist/organisms/OutOfStock/stories/OutOfStock.stories.d.ts +0 -10
  429. package/dist/ui.cjs.development.js +0 -2109
  430. package/dist/ui.cjs.development.js.map +0 -1
  431. package/dist/ui.cjs.production.min.js +0 -2
  432. package/dist/ui.cjs.production.min.js.map +0 -1
  433. package/dist/ui.esm.js +0 -2037
  434. package/dist/ui.esm.js.map +0 -1
@@ -0,0 +1,43 @@
1
+ import { printReceived, matcherHint } from 'jest-matcher-utils';
2
+ import chalk from 'chalk';
3
+ // This code is based on jest-axe library.
4
+ // https://github.com/nickcolley/jest-axe
5
+ export const toHaveNoIncompletes = {
6
+ toHaveNoIncompletes: (results) => {
7
+ if (typeof results.incomplete === 'undefined') {
8
+ throw new Error('No incompletes found in aXe results object');
9
+ }
10
+ const reporter = (incompletes) => {
11
+ if (incompletes.length === 0) {
12
+ return [];
13
+ }
14
+ const lineBreak = '\n\n';
15
+ const horizontalLine = '\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500';
16
+ return incompletes
17
+ .map((incomplete) => {
18
+ const errorBody = incomplete.nodes
19
+ .map((node) => {
20
+ const selector = node.target.join(', ');
21
+ const expectedText = `Expected the HTML found at $('${selector}') to have no incompletes:${lineBreak}`;
22
+ return `${expectedText + chalk.grey(node.html) + lineBreak}Received:${lineBreak}${printReceived(`${incomplete.help} (${incomplete.id})`)}${lineBreak}${chalk.yellow(node.failureSummary)}${lineBreak}${incomplete.helpUrl
23
+ ? `You can find more information on this issue here: \n${chalk.blue(incomplete.helpUrl)}`
24
+ : ''}`;
25
+ })
26
+ .join(lineBreak);
27
+ return errorBody;
28
+ })
29
+ .join(lineBreak + horizontalLine + lineBreak);
30
+ };
31
+ const { incomplete: incompletes } = results;
32
+ const formatedIncompletes = reporter(incompletes);
33
+ const pass = formatedIncompletes.length === 0;
34
+ const message = () => {
35
+ if (pass) {
36
+ return '';
37
+ }
38
+ return (`${matcherHint('.toHaveNoIncompletes')}\n\n` + `${formatedIncompletes}`);
39
+ };
40
+ return { actual: incompletes, message, pass };
41
+ },
42
+ };
43
+ //# sourceMappingURL=toHaveNoIncomplete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toHaveNoIncomplete.js","sourceRoot":"","sources":["../../src/utils/toHaveNoIncomplete.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAC/D,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,0CAA0C;AAC1C,yCAAyC;AACzC,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,mBAAmB,EAAE,CAAC,OAAmB,EAAE,EAAE;QAC3C,IAAI,OAAO,OAAO,CAAC,UAAU,KAAK,WAAW,EAAE;YAC7C,MAAM,IAAI,KAAK,CAAC,4CAA4C,CAAC,CAAA;SAC9D;QAED,MAAM,QAAQ,GAAG,CAAC,WAAqC,EAAE,EAAE;YACzD,IAAI,WAAW,CAAC,MAAM,KAAK,CAAC,EAAE;gBAC5B,OAAO,EAAE,CAAA;aACV;YAED,MAAM,SAAS,GAAG,MAAM,CAAA;YACxB,MAAM,cAAc,GAAG,kDAAkD,CAAA;YAEzE,OAAO,WAAW;iBACf,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE;gBAClB,MAAM,SAAS,GAAG,UAAU,CAAC,KAAK;qBAC/B,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;oBACZ,MAAM,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;oBACvC,MAAM,YAAY,GAAG,iCAAiC,QAAQ,6BAA6B,SAAS,EAAE,CAAA;oBAEtG,OAAO,GACL,YAAY,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,SACzC,YAAY,SAAS,GAAG,aAAa,CACnC,GAAG,UAAU,CAAC,IAAI,KAAK,UAAU,CAAC,EAAE,GAAG,CACxC,GAAG,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,cAAc,CAAC,GAAG,SAAS,GAC3D,UAAU,CAAC,OAAO;wBAChB,CAAC,CAAC,uDAAuD,KAAK,CAAC,IAAI,CAC/D,UAAU,CAAC,OAAO,CACnB,EAAE;wBACL,CAAC,CAAC,EACN,EAAE,CAAA;gBACJ,CAAC,CAAC;qBACD,IAAI,CAAC,SAAS,CAAC,CAAA;gBAElB,OAAO,SAAS,CAAA;YAClB,CAAC,CAAC;iBACD,IAAI,CAAC,SAAS,GAAG,cAAc,GAAG,SAAS,CAAC,CAAA;QACjD,CAAC,CAAA;QAED,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,OAAO,CAAA;QAC3C,MAAM,mBAAmB,GAAG,QAAQ,CAAC,WAAW,CAAC,CAAA;QACjD,MAAM,IAAI,GAAG,mBAAmB,CAAC,MAAM,KAAK,CAAC,CAAA;QAE7C,MAAM,OAAO,GAAG,GAAG,EAAE;YACnB,IAAI,IAAI,EAAE;gBACR,OAAO,EAAE,CAAA;aACV;YAED,OAAO,CACL,GAAG,WAAW,CAAC,sBAAsB,CAAC,MAAM,GAAG,GAAG,mBAAmB,EAAE,CACxE,CAAA;QACH,CAAC,CAAA;QAED,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,CAAA;IAC/C,CAAC;CACF,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faststore/ui",
3
- "version": "1.9.2",
3
+ "version": "1.9.9",
4
4
  "description": "A lightweight, framework agnostic component library for React",
5
5
  "author": "emersonlaurentino",
6
6
  "license": "MIT",
@@ -22,8 +22,9 @@
22
22
  "src"
23
23
  ],
24
24
  "scripts": {
25
- "develop": "tsdx watch",
26
- "build": "tsdx build",
25
+ "develop": "tsc --watch",
26
+ "build": "tsc",
27
+ "lint": "eslint src/**/*.{ts,tsx}",
27
28
  "test": "tsdx test --passWithNoTests",
28
29
  "storybook": "start-storybook -p 6006 --no-manager-cache",
29
30
  "size": "size-limit",
@@ -42,11 +43,7 @@
42
43
  },
43
44
  "size-limit": [
44
45
  {
45
- "path": "dist/ui.cjs.production.min.js",
46
- "limit": "20 KB"
47
- },
48
- {
49
- "path": "dist/ui.esm.js",
46
+ "path": "dist/index.js",
50
47
  "limit": "20 KB"
51
48
  }
52
49
  ],
@@ -61,7 +58,7 @@
61
58
  "react-dom": "^17.0.2"
62
59
  },
63
60
  "devDependencies": {
64
- "@size-limit/preset-small-lib": "^4.11.0",
61
+ "@size-limit/preset-small-lib": "^7.0.8",
65
62
  "@storybook/addon-actions": "^6.4.4",
66
63
  "@storybook/addon-docs": "^6.4.4",
67
64
  "@storybook/addon-essentials": "^6.4.4",
@@ -84,10 +81,10 @@
84
81
  "react": "^17.0.2",
85
82
  "react-docgen-typescript-loader": "^3.7.2",
86
83
  "react-dom": "^17.0.2",
87
- "size-limit": "^4.11.0",
84
+ "size-limit": "^7.0.8",
88
85
  "storybook-addon-themes": "^6.1.0",
89
86
  "tsdx": "^0.14.1",
90
87
  "typescript": "^4.2.4"
91
88
  },
92
- "gitHead": "1e8d1cf3c3f0d670f521be3b1394333fabbfd2ac"
89
+ "gitHead": "1f1d2c97e399fb44987cdbd7980157242f193abf"
93
90
  }
@@ -76,7 +76,7 @@ describe('Accordion', () => {
76
76
 
77
77
  it('should show panel specified by `indices`', () => {
78
78
  const { getAllByTestId } = render(
79
- <Accordion indices={[1]} onChange={() => {}}>
79
+ <Accordion indices={[1]} onChange={() => null}>
80
80
  <AccordionItem>
81
81
  <AccordionButton />
82
82
  <AccordionPanel testId="store-accordion-panel-mock" />
@@ -97,13 +97,13 @@ describe('Accordion', () => {
97
97
  it('should prevent duplicate IDs when using the `prefixID` attribute', () => {
98
98
  const { getAllByTestId } = render(
99
99
  <>
100
- <Accordion indices={[]} onChange={() => {}}>
100
+ <Accordion indices={[]} onChange={() => null}>
101
101
  <AccordionItem prefixId="filter">
102
102
  <AccordionButton testId="data-accordion-button" />
103
103
  <AccordionPanel testId="data-accordion-panel" />
104
104
  </AccordionItem>
105
105
  </Accordion>
106
- <Accordion indices={[]} onChange={() => {}}>
106
+ <Accordion indices={[]} onChange={() => null}>
107
107
  <AccordionItem prefixId="footer">
108
108
  <AccordionButton testId="data-accordion-button" />
109
109
  <AccordionPanel testId="data-accordion-panel" />
@@ -72,9 +72,8 @@ const AggregateRatingWithoutIconTemplate: Story<AggregateRatingProps> = ({
72
72
  )
73
73
  }
74
74
 
75
- export const AggregateRatingWithoutIcon = AggregateRatingWithoutIconTemplate.bind(
76
- {}
77
- )
75
+ export const AggregateRatingWithoutIcon =
76
+ AggregateRatingWithoutIconTemplate.bind({})
78
77
  AggregateRatingWithoutIcon.args = { value: 3 }
79
78
 
80
79
  const AggregateRatingWithCSSTemplate: Story<AggregateRatingProps> = ({
@@ -7,7 +7,7 @@ import Bullets from './Bullets'
7
7
  describe('Bullets', () => {
8
8
  it('should have `data-store-bullets` attribute', () => {
9
9
  const { getByTestId } = render(
10
- <Bullets totalQuantity={5} activeBullet={2} onClick={() => {}} />
10
+ <Bullets totalQuantity={5} activeBullet={2} onClick={() => null} />
11
11
  )
12
12
 
13
13
  expect(getByTestId('store-bullets')).toHaveAttribute('data-store-bullets')
@@ -15,7 +15,7 @@ describe('Bullets', () => {
15
15
 
16
16
  it('should render 5 bullets with `data-bullet-item` attribute', () => {
17
17
  const { queryAllByTestId } = render(
18
- <Bullets totalQuantity={5} activeBullet={2} onClick={() => {}} />
18
+ <Bullets totalQuantity={5} activeBullet={2} onClick={() => null} />
19
19
  )
20
20
 
21
21
  const bulletItems = queryAllByTestId('store-bullets-item')
@@ -29,7 +29,7 @@ describe('Bullets', () => {
29
29
 
30
30
  it('should render only the currently active bullet with an `aria-selected` equal to true', () => {
31
31
  const { queryAllByTestId } = render(
32
- <Bullets totalQuantity={5} activeBullet={2} onClick={() => {}} />
32
+ <Bullets totalQuantity={5} activeBullet={2} onClick={() => null} />
33
33
  )
34
34
 
35
35
  const bulletItems = queryAllByTestId('store-bullets-item')
@@ -78,7 +78,7 @@ describe('Bullets', () => {
78
78
  describe('Accessibility', () => {
79
79
  it('should have no violations on a default use case', async () => {
80
80
  const { getByTestId } = render(
81
- <Bullets totalQuantity={5} activeBullet={2} onClick={() => {}} />
81
+ <Bullets totalQuantity={5} activeBullet={2} onClick={() => null} />
82
82
  )
83
83
 
84
84
  expect(await axe(getByTestId('store-bullets'))).toHaveNoViolations()
@@ -91,7 +91,7 @@ describe('Bullets', () => {
91
91
  <Bullets
92
92
  totalQuantity={1}
93
93
  activeBullet={0}
94
- onClick={() => {}}
94
+ onClick={() => null}
95
95
  ariaControlsGenerator={(idx: number) => `item-${idx + 1}`}
96
96
  />
97
97
  </>
@@ -108,7 +108,7 @@ describe('Bullets', () => {
108
108
  <Bullets
109
109
  totalQuantity={2}
110
110
  activeBullet={0}
111
- onClick={() => {}}
111
+ onClick={() => null}
112
112
  ariaControlsGenerator={(idx: number) => `item-${idx + 1}`}
113
113
  />
114
114
  </>
@@ -51,9 +51,10 @@ const Bullets = forwardRef<HTMLDivElement, BulletsProps>(function Bullets(
51
51
  },
52
52
  ref
53
53
  ) {
54
- const bulletIndexes = useMemo(() => Array(totalQuantity).fill(0), [
55
- totalQuantity,
56
- ])
54
+ const bulletIndexes = useMemo(
55
+ () => Array(totalQuantity).fill(0),
56
+ [totalQuantity]
57
+ )
57
58
 
58
59
  return (
59
60
  <div
@@ -16,11 +16,8 @@ const DropdownItem = forwardRef<HTMLButtonElement, DropdownItemProps>(
16
16
  { children, onClick, testId = 'store-dropdown-item', ...otherProps },
17
17
  ref
18
18
  ) {
19
- const {
20
- dropdownItemsRef,
21
- selectedDropdownItemIndexRef,
22
- close,
23
- } = useDropdown()
19
+ const { dropdownItemsRef, selectedDropdownItemIndexRef, close } =
20
+ useDropdown()
24
21
 
25
22
  const [dropdownItemIndex, setDropdownItemIndex] = useState(0)
26
23
  const dropdownItemRef = useRef<HTMLButtonElement>()
@@ -44,13 +44,8 @@ const DropdownMenu = ({
44
44
  style,
45
45
  ...otherProps
46
46
  }: PropsWithChildren<DropdownMenuProps>) => {
47
- const {
48
- isOpen,
49
- close,
50
- dropdownItemsRef,
51
- selectedDropdownItemIndexRef,
52
- id,
53
- } = useDropdown()
47
+ const { isOpen, close, dropdownItemsRef, selectedDropdownItemIndexRef, id } =
48
+ useDropdown()
54
49
 
55
50
  const dropdownPosition = useDropdownPosition()
56
51
 
@@ -1,4 +1,3 @@
1
- /* eslint-disable jsx-a11y/no-noninteractive-tabindex */
2
1
  import type {
3
2
  DetailedHTMLProps,
4
3
  HTMLAttributes,
@@ -46,6 +46,5 @@ export type PolymorphicComponentPropsWithRef<
46
46
  > = PolymorphicComponentProps<C, P> & { ref?: ComponentPropsWithRef<C>['ref'] }
47
47
 
48
48
  // Extract the `ref` prop from a polymorphic component
49
- export type PolymorphicRef<
50
- C extends ElementType
51
- > = PolymorphicComponentPropsWithRef<C>['ref']
49
+ export type PolymorphicRef<C extends ElementType> =
50
+ PolymorphicComponentPropsWithRef<C>['ref']
@@ -1,17 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentArgTypes } from '../../../typings/utils';
3
- interface StoryControls {
4
- badgeText: string;
5
- }
6
- export declare const Badge: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, StoryControls>;
7
- declare const _default: {
8
- title: string;
9
- component: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, StoryControls>;
10
- argTypes: ComponentArgTypes<StoryControls>;
11
- parameters: {
12
- docs: {
13
- page: (props: any) => JSX.Element;
14
- };
15
- };
16
- };
17
- export default _default;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentArgTypes } from '../../../typings/utils';
3
- import type { ButtonProps } from '../Button';
4
- export declare const Button: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ButtonProps<HTMLButtonElement>>;
5
- declare const _default: {
6
- title: string;
7
- argTypes: ComponentArgTypes<ButtonProps<HTMLButtonElement>>;
8
- parameters: {
9
- docs: {
10
- page: (props: any) => JSX.Element;
11
- };
12
- };
13
- };
14
- export default _default;
@@ -1,4 +0,0 @@
1
- import type { CheckboxProps } from '../Checkbox';
2
- export declare const Checkbox: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CheckboxProps>;
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
- export default _default;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import type { IconProps } from '../Icon';
3
- import type { ComponentArgTypes } from '../../../typings/utils';
4
- export declare const Icon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IconProps>;
5
- declare const _default: {
6
- title: string;
7
- argTypes: ComponentArgTypes<Pick<IconProps, "testId" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "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" | "css">>;
8
- parameters: {
9
- docs: {
10
- page: (props: any) => JSX.Element;
11
- };
12
- };
13
- };
14
- export default _default;
@@ -1,4 +0,0 @@
1
- import type { IncentiveProps } from '../Incentive';
2
- export declare const Incentive: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, IncentiveProps>;
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
- export default _default;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentArgTypes } from '../../../typings/utils';
3
- import type { InputProps } from '../Input';
4
- export declare const Input: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, InputProps>;
5
- declare const _default: {
6
- title: string;
7
- argTypes: ComponentArgTypes<InputProps>;
8
- parameters: {
9
- docs: {
10
- page: (props: any) => JSX.Element;
11
- };
12
- };
13
- };
14
- export default _default;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentArgTypes } from '../../../typings/utils';
3
- import type { LabelProps } from '../Label';
4
- export declare const Label: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, LabelProps>;
5
- declare const _default: {
6
- title: string;
7
- argTypes: ComponentArgTypes<LabelProps>;
8
- parameters: {
9
- docs: {
10
- page: (props: any) => JSX.Element;
11
- };
12
- };
13
- };
14
- export default _default;
@@ -1,22 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentArgTypes } from '../../../typings/utils';
3
- import type { ListProps } from '../List';
4
- declare type ListStoryProps = ListProps & {
5
- options: string[];
6
- };
7
- declare type DescriptionListStoryProps = ListProps & {
8
- options: string[][];
9
- };
10
- export declare const UnorderedList: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ListStoryProps>;
11
- export declare const OrderedList: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, ListStoryProps>;
12
- export declare const DescriptionList: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, DescriptionListStoryProps>;
13
- declare const _default: {
14
- title: string;
15
- argTypes: ComponentArgTypes<ListStoryProps>;
16
- parameters: {
17
- docs: {
18
- page: (props: any) => JSX.Element;
19
- };
20
- };
21
- };
22
- export default _default;
@@ -1,8 +0,0 @@
1
- import type { Props as OverlayProps } from '../Overlay';
2
- declare type ColorType = 'black' | 'green';
3
- declare type OverlayStoryProps = OverlayProps & {
4
- color: ColorType;
5
- };
6
- export declare const Overlay: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, OverlayStoryProps>;
7
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
8
- export default _default;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import type { PopoverProps } from '../Popover';
3
- import type { ComponentArgTypes } from '../../../typings/utils';
4
- export declare const Popover: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PopoverProps>;
5
- declare const _default: {
6
- title: string;
7
- argTypes: ComponentArgTypes<Pick<PopoverProps, "testId" | "children" | "hidden" | "unstable_observableRefs">>;
8
- parameters: {
9
- docs: {
10
- page: (props: any) => JSX.Element;
11
- };
12
- };
13
- };
14
- export default _default;
@@ -1,18 +0,0 @@
1
- /// <reference types="react" />
2
- import type { Story } from '@storybook/react';
3
- import type { PriceProps } from '../Price';
4
- import type { ComponentArgTypes } from '../../../typings/utils';
5
- export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PriceProps>;
6
- export declare const INTLFormatted: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PriceProps>;
7
- export declare const INTLFormattedToParts: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, PriceProps>;
8
- export declare const Custom: Story<PriceProps>;
9
- declare const _default: {
10
- title: string;
11
- argTypes: ComponentArgTypes<Pick<PriceProps, "testId" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "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" | "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" | "css" | "variant" | "as" | "formatter">>;
12
- parameters: {
13
- docs: {
14
- page: (props: any) => JSX.Element;
15
- };
16
- };
17
- };
18
- export default _default;
@@ -1,4 +0,0 @@
1
- import type { RadioProps } from '../Radio';
2
- export declare const Radio: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, RadioProps>;
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
- export default _default;
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentArgTypes } from '../../../typings/utils';
3
- import type { SelectProps } from '../Select';
4
- declare type SelectStoryProps = SelectProps & {
5
- options: string[][];
6
- };
7
- export declare const DefaultSelect: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectStoryProps>;
8
- export declare const DisabledSelect: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectStoryProps>;
9
- export declare const MultipleSelect: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectStoryProps>;
10
- export declare const BaseValueSelect: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SelectStoryProps>;
11
- declare const _default: {
12
- title: string;
13
- argTypes: ComponentArgTypes<SelectStoryProps>;
14
- parameters: {
15
- docs: {
16
- page: (props: any) => JSX.Element;
17
- };
18
- };
19
- };
20
- export default _default;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import type { SkeletonProps } from '../Skeleton';
3
- export declare const Skeleton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SkeletonProps>;
4
- declare const _default: {
5
- title: string;
6
- parameters: {
7
- docs: {
8
- page: (props: any) => JSX.Element;
9
- };
10
- };
11
- };
12
- export default _default;
@@ -1,4 +0,0 @@
1
- import type { SliderProps } from '../Slider';
2
- export declare const Slider: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SliderProps>;
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
- export default _default;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import type { SpinnerProps } from '../Spinner';
3
- export declare const Spinner: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, SpinnerProps>;
4
- declare const _default: {
5
- title: string;
6
- parameters: {
7
- docs: {
8
- page: (props: any) => JSX.Element;
9
- };
10
- };
11
- };
12
- export default _default;
@@ -1,4 +0,0 @@
1
- import type { TextAreaProps } from '../TextArea';
2
- export declare const Textarea: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, TextAreaProps>;
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
- export default _default;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import type { AccordionProps } from '..';
3
- export declare const MultipleAndCollapsible: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AccordionProps>;
4
- export declare const ToggleWithIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AccordionProps>;
5
- declare const _default: {
6
- title: string;
7
- component: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AccordionProps>;
8
- parameters: {
9
- docs: {
10
- page: (props: any) => JSX.Element;
11
- };
12
- };
13
- };
14
- export default _default;
@@ -1,16 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentArgTypes } from '../../../typings/utils';
3
- import type { AggregateRatingProps } from '../AggregateRating';
4
- export declare const AggregateRating: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AggregateRatingProps>;
5
- export declare const AggregateRatingWithoutIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AggregateRatingProps>;
6
- export declare const AggregateRatingWithCSS: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AggregateRatingProps>;
7
- declare const _default: {
8
- title: string;
9
- argTypes: ComponentArgTypes<AggregateRatingProps>;
10
- parameters: {
11
- docs: {
12
- page: (props: any) => JSX.Element;
13
- };
14
- };
15
- };
16
- export default _default;
@@ -1,5 +0,0 @@
1
- import type { AlertProps } from '../Alert';
2
- export declare const Alert: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AlertProps>;
3
- export declare const AlertWithIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, AlertProps>;
4
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
5
- export default _default;
@@ -1,4 +0,0 @@
1
- import type { BannerProps } from '../Banner';
2
- export declare const Banner: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BannerProps>;
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
- export default _default;
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentArgTypes } from '../../../typings/utils';
3
- import type { BreadcrumbProps } from '../Breadcrumb';
4
- export declare const Breadcrumb: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadcrumbProps>;
5
- export declare const BreadcrumbWithIcon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadcrumbProps>;
6
- declare const _default: {
7
- title: string;
8
- argTypes: ComponentArgTypes<BreadcrumbProps>;
9
- parameters: {
10
- docs: {
11
- page: (props: any) => JSX.Element;
12
- };
13
- };
14
- };
15
- export default _default;
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentArgTypes } from '../../../typings/utils';
3
- import type { BulletsProps } from '../Bullets';
4
- export declare const Bullets: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BulletsProps>;
5
- declare const _default: {
6
- title: string;
7
- component: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BulletsProps>;
8
- argTypes: ComponentArgTypes<BulletsProps>;
9
- parameters: {
10
- docs: {
11
- page: (props: any) => JSX.Element;
12
- };
13
- };
14
- };
15
- export default _default;
@@ -1,4 +0,0 @@
1
- import type { CardProps } from '../Card';
2
- export declare const Card: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CardProps>;
3
- declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("@storybook/react").Args>;
4
- export default _default;
@@ -1,18 +0,0 @@
1
- /// <reference types="react" />
2
- import type { ComponentArgTypes } from '../../../typings/utils';
3
- import type { CarouselProps } from '../Carousel';
4
- export declare const Carousel: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, CarouselProps & {
5
- transitionDuration: number;
6
- }>;
7
- declare const _default: {
8
- title: string;
9
- argTypes: ComponentArgTypes<CarouselProps & {
10
- transitionDuration: number;
11
- }>;
12
- parameters: {
13
- docs: {
14
- page: (props: any) => JSX.Element;
15
- };
16
- };
17
- };
18
- export default _default;