@seeqdev/qomponents 0.0.157 → 0.0.158

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 (428) hide show
  1. package/dist/Accordion/Accordion.js +7 -0
  2. package/dist/Accordion/Accordion.js.map +1 -0
  3. package/dist/Accordion/Accordion.stories.js +75 -0
  4. package/dist/Accordion/Accordion.stories.js.map +1 -0
  5. package/dist/Accordion/Accordion.test.js +55 -0
  6. package/dist/Accordion/Accordion.test.js.map +1 -0
  7. package/dist/Accordion/Accordion.types.js +2 -0
  8. package/dist/Accordion/Accordion.types.js.map +1 -0
  9. package/dist/Accordion/index.js +2 -0
  10. package/dist/Accordion/index.js.map +1 -0
  11. package/dist/Alert/Alert.js +32 -0
  12. package/dist/Alert/Alert.js.map +1 -0
  13. package/dist/Alert/Alert.stories.js +57 -0
  14. package/dist/Alert/Alert.stories.js.map +1 -0
  15. package/dist/Alert/Alert.test.js +50 -0
  16. package/dist/Alert/Alert.test.js.map +1 -0
  17. package/dist/Alert/Alert.types.js +2 -0
  18. package/dist/Alert/Alert.types.js.map +1 -0
  19. package/dist/Alert/index.js +2 -0
  20. package/dist/Alert/index.js.map +1 -0
  21. package/dist/Button/Button.js +89 -0
  22. package/dist/Button/Button.js.map +1 -0
  23. package/dist/Button/Button.stories.js +25 -0
  24. package/dist/Button/Button.stories.js.map +1 -0
  25. package/dist/Button/Button.test.js +47 -0
  26. package/dist/Button/Button.test.js.map +1 -0
  27. package/dist/Button/Button.types.js +5 -0
  28. package/dist/Button/Button.types.js.map +1 -0
  29. package/dist/Button/index.js +2 -0
  30. package/dist/Button/index.js.map +1 -0
  31. package/dist/ButtonGroup/ButtonGroup.js +35 -0
  32. package/dist/ButtonGroup/ButtonGroup.js.map +1 -0
  33. package/dist/ButtonGroup/ButtonGroup.stories.js +317 -0
  34. package/dist/ButtonGroup/ButtonGroup.stories.js.map +1 -0
  35. package/dist/ButtonGroup/ButtonGroup.test.js +66 -0
  36. package/dist/ButtonGroup/ButtonGroup.test.js.map +1 -0
  37. package/dist/ButtonGroup/ButtonGroup.types.js +2 -0
  38. package/dist/ButtonGroup/ButtonGroup.types.js.map +1 -0
  39. package/dist/ButtonGroup/index.js +2 -0
  40. package/dist/ButtonGroup/index.js.map +1 -0
  41. package/dist/ButtonWithDropdown/ButtonWithDropdown.js +36 -0
  42. package/dist/ButtonWithDropdown/ButtonWithDropdown.js.map +1 -0
  43. package/dist/ButtonWithDropdown/ButtonWithDropdown.stories.js +104 -0
  44. package/dist/ButtonWithDropdown/ButtonWithDropdown.stories.js.map +1 -0
  45. package/dist/ButtonWithDropdown/ButtonWithDropdown.test.js +93 -0
  46. package/dist/ButtonWithDropdown/ButtonWithDropdown.test.js.map +1 -0
  47. package/dist/ButtonWithDropdown/ButtonWithDropdown.types.js +2 -0
  48. package/dist/ButtonWithDropdown/ButtonWithDropdown.types.js.map +1 -0
  49. package/dist/ButtonWithDropdown/index.js +2 -0
  50. package/dist/ButtonWithDropdown/index.js.map +1 -0
  51. package/dist/ButtonWithPopover/ButtonWithPopover.js +55 -0
  52. package/dist/ButtonWithPopover/ButtonWithPopover.js.map +1 -0
  53. package/dist/ButtonWithPopover/ButtonWithPopover.stories.js +25 -0
  54. package/dist/ButtonWithPopover/ButtonWithPopover.stories.js.map +1 -0
  55. package/dist/ButtonWithPopover/ButtonWithPopover.test.js +81 -0
  56. package/dist/ButtonWithPopover/ButtonWithPopover.test.js.map +1 -0
  57. package/dist/ButtonWithPopover/ButtonWithPopover.types.js +2 -0
  58. package/dist/ButtonWithPopover/ButtonWithPopover.types.js.map +1 -0
  59. package/dist/ButtonWithPopover/index.js +2 -0
  60. package/dist/ButtonWithPopover/index.js.map +1 -0
  61. package/dist/Carousel/Carousel.js +75 -0
  62. package/dist/Carousel/Carousel.js.map +1 -0
  63. package/dist/Carousel/Carousel.stories.js +63 -0
  64. package/dist/Carousel/Carousel.stories.js.map +1 -0
  65. package/dist/Carousel/Carousel.test.js +48 -0
  66. package/dist/Carousel/Carousel.test.js.map +1 -0
  67. package/dist/Carousel/Carousel.types.js +2 -0
  68. package/dist/Carousel/Carousel.types.js.map +1 -0
  69. package/dist/Carousel/index.js +2 -0
  70. package/dist/Carousel/index.js.map +1 -0
  71. package/dist/Checkbox/Checkbox.js +24 -0
  72. package/dist/Checkbox/Checkbox.js.map +1 -0
  73. package/dist/Checkbox/Checkbox.stories.js +12 -0
  74. package/dist/Checkbox/Checkbox.stories.js.map +1 -0
  75. package/dist/Checkbox/Checkbox.test.js +94 -0
  76. package/dist/Checkbox/Checkbox.test.js.map +1 -0
  77. package/dist/Checkbox/Checkbox.types.js +2 -0
  78. package/dist/Checkbox/Checkbox.types.js.map +1 -0
  79. package/dist/Checkbox/index.js +2 -0
  80. package/dist/Checkbox/index.js.map +1 -0
  81. package/dist/Collapse/Collapse.js +17 -0
  82. package/dist/Collapse/Collapse.js.map +1 -0
  83. package/dist/Collapse/Collapse.stories.js +15 -0
  84. package/dist/Collapse/Collapse.stories.js.map +1 -0
  85. package/dist/Collapse/Collapse.test.js +17 -0
  86. package/dist/Collapse/Collapse.test.js.map +1 -0
  87. package/dist/Collapse/Collapse.types.js +2 -0
  88. package/dist/Collapse/Collapse.types.js.map +1 -0
  89. package/dist/Collapse/index.js +2 -0
  90. package/dist/Collapse/index.js.map +1 -0
  91. package/dist/Icon/Icon.js +55 -0
  92. package/dist/Icon/Icon.js.map +1 -0
  93. package/dist/Icon/Icon.stories.js +15 -0
  94. package/dist/Icon/Icon.stories.js.map +1 -0
  95. package/dist/Icon/Icon.test.js +55 -0
  96. package/dist/Icon/Icon.test.js.map +1 -0
  97. package/dist/Icon/Icon.types.js +16 -0
  98. package/dist/Icon/Icon.types.js.map +1 -0
  99. package/dist/Icon/index.js +2 -0
  100. package/dist/Icon/index.js.map +1 -0
  101. package/dist/InputGroup/InputGroup.js +34 -0
  102. package/dist/InputGroup/InputGroup.js.map +1 -0
  103. package/dist/InputGroup/InputGroup.stories.js +129 -0
  104. package/dist/InputGroup/InputGroup.stories.js.map +1 -0
  105. package/dist/InputGroup/InputGroup.test.js +42 -0
  106. package/dist/InputGroup/InputGroup.test.js.map +1 -0
  107. package/dist/InputGroup/InputGroup.types.js +2 -0
  108. package/dist/InputGroup/InputGroup.types.js.map +1 -0
  109. package/dist/InputGroup/index.js +2 -0
  110. package/dist/InputGroup/index.js.map +1 -0
  111. package/dist/Modal/Modal.js +76 -0
  112. package/dist/Modal/Modal.js.map +1 -0
  113. package/dist/Modal/Modal.stories.js +44 -0
  114. package/dist/Modal/Modal.stories.js.map +1 -0
  115. package/dist/Modal/Modal.test.js +108 -0
  116. package/dist/Modal/Modal.test.js.map +1 -0
  117. package/dist/Modal/Modal.types.js +2 -0
  118. package/dist/Modal/Modal.types.js.map +1 -0
  119. package/dist/Modal/index.js +2 -0
  120. package/dist/Modal/index.js.map +1 -0
  121. package/dist/ProgressBar/ProgressBar.js +72 -0
  122. package/dist/ProgressBar/ProgressBar.js.map +1 -0
  123. package/dist/ProgressBar/ProgressBar.stories.js +35 -0
  124. package/dist/ProgressBar/ProgressBar.stories.js.map +1 -0
  125. package/dist/ProgressBar/ProgressBar.test.js +43 -0
  126. package/dist/ProgressBar/ProgressBar.test.js.map +1 -0
  127. package/dist/ProgressBar/ProgressBar.types.js +2 -0
  128. package/dist/ProgressBar/ProgressBar.types.js.map +1 -0
  129. package/dist/ProgressBar/index.js +2 -0
  130. package/dist/ProgressBar/index.js.map +1 -0
  131. package/dist/SeeqActionDropdown/SeeqActionDropdown.js +39 -0
  132. package/dist/SeeqActionDropdown/SeeqActionDropdown.js.map +1 -0
  133. package/dist/SeeqActionDropdown/SeeqActionDropdown.stories.js +56 -0
  134. package/dist/SeeqActionDropdown/SeeqActionDropdown.stories.js.map +1 -0
  135. package/dist/SeeqActionDropdown/SeeqActionDropdown.test.js +73 -0
  136. package/dist/SeeqActionDropdown/SeeqActionDropdown.test.js.map +1 -0
  137. package/dist/SeeqActionDropdown/SeeqActionDropdown.types.js +2 -0
  138. package/dist/SeeqActionDropdown/SeeqActionDropdown.types.js.map +1 -0
  139. package/dist/SeeqActionDropdown/index.js +2 -0
  140. package/dist/SeeqActionDropdown/index.js.map +1 -0
  141. package/dist/SeeqActionDropdown/variants.js +29 -0
  142. package/dist/SeeqActionDropdown/variants.js.map +1 -0
  143. package/dist/Select/Select.js +177 -0
  144. package/dist/Select/Select.js.map +1 -0
  145. package/dist/Select/Select.stories.js +40 -0
  146. package/dist/Select/Select.stories.js.map +1 -0
  147. package/dist/Select/Select.test.js +175 -0
  148. package/dist/Select/Select.test.js.map +1 -0
  149. package/dist/Select/Select.types.js +2 -0
  150. package/dist/Select/Select.types.js.map +1 -0
  151. package/dist/Select/index.js +3 -0
  152. package/dist/Select/index.js.map +1 -0
  153. package/dist/Slider/Slider.js +10 -0
  154. package/dist/Slider/Slider.js.map +1 -0
  155. package/dist/Slider/Slider.stories.js +14 -0
  156. package/dist/Slider/Slider.stories.js.map +1 -0
  157. package/dist/Slider/Slider.test.js +32 -0
  158. package/dist/Slider/Slider.test.js.map +1 -0
  159. package/dist/Slider/Slider.types.js +2 -0
  160. package/dist/Slider/Slider.types.js.map +1 -0
  161. package/dist/Slider/index.js +2 -0
  162. package/dist/Slider/index.js.map +1 -0
  163. package/dist/SvgIcon/SvgIcon.js +28 -0
  164. package/dist/SvgIcon/SvgIcon.js.map +1 -0
  165. package/dist/SvgIcon/SvgIcon.stories.js +18 -0
  166. package/dist/SvgIcon/SvgIcon.stories.js.map +1 -0
  167. package/dist/SvgIcon/SvgIcon.test.js +41 -0
  168. package/dist/SvgIcon/SvgIcon.test.js.map +1 -0
  169. package/dist/SvgIcon/SvgIcon.types.js +6 -0
  170. package/dist/SvgIcon/SvgIcon.types.js.map +1 -0
  171. package/dist/SvgIcon/index.js +2 -0
  172. package/dist/SvgIcon/index.js.map +1 -0
  173. package/dist/Tabs/Tabs.js +17 -0
  174. package/dist/Tabs/Tabs.js.map +1 -0
  175. package/dist/Tabs/Tabs.stories.js +73 -0
  176. package/dist/Tabs/Tabs.stories.js.map +1 -0
  177. package/dist/Tabs/Tabs.test.js +86 -0
  178. package/dist/Tabs/Tabs.test.js.map +1 -0
  179. package/dist/Tabs/Tabs.types.js +2 -0
  180. package/dist/Tabs/Tabs.types.js.map +1 -0
  181. package/dist/Tabs/index.js +2 -0
  182. package/dist/Tabs/index.js.map +1 -0
  183. package/dist/TextArea/TextArea.js +25 -0
  184. package/dist/TextArea/TextArea.js.map +1 -0
  185. package/dist/TextArea/TextArea.stories.js +10 -0
  186. package/dist/TextArea/TextArea.stories.js.map +1 -0
  187. package/dist/TextArea/TextArea.test.js +68 -0
  188. package/dist/TextArea/TextArea.test.js.map +1 -0
  189. package/dist/TextArea/TextArea.types.js +2 -0
  190. package/dist/TextArea/TextArea.types.js.map +1 -0
  191. package/dist/TextArea/index.js +2 -0
  192. package/dist/TextArea/index.js.map +1 -0
  193. package/dist/TextField/TextField.js +85 -0
  194. package/dist/TextField/TextField.js.map +1 -0
  195. package/dist/TextField/TextField.stories.js +11 -0
  196. package/dist/TextField/TextField.stories.js.map +1 -0
  197. package/dist/TextField/TextField.test.js +41 -0
  198. package/dist/TextField/TextField.test.js.map +1 -0
  199. package/dist/TextField/TextField.types.js +2 -0
  200. package/dist/TextField/TextField.types.js.map +1 -0
  201. package/dist/TextField/index.js +2 -0
  202. package/dist/TextField/index.js.map +1 -0
  203. package/dist/ToolbarButton/ToolbarButton.js +57 -0
  204. package/dist/ToolbarButton/ToolbarButton.js.map +1 -0
  205. package/dist/ToolbarButton/ToolbarButton.stories.js +28 -0
  206. package/dist/ToolbarButton/ToolbarButton.stories.js.map +1 -0
  207. package/dist/ToolbarButton/ToolbarButton.test.js +85 -0
  208. package/dist/ToolbarButton/ToolbarButton.test.js.map +1 -0
  209. package/dist/ToolbarButton/ToolbarButton.types.js +2 -0
  210. package/dist/ToolbarButton/ToolbarButton.types.js.map +1 -0
  211. package/dist/ToolbarButton/index.js +2 -0
  212. package/dist/ToolbarButton/index.js.map +1 -0
  213. package/dist/Tooltip/QTip.stories.js +18 -0
  214. package/dist/Tooltip/QTip.stories.js.map +1 -0
  215. package/dist/Tooltip/QTip.types.js +2 -0
  216. package/dist/Tooltip/QTip.types.js.map +1 -0
  217. package/dist/Tooltip/QTipPerformance.stories.js +26 -0
  218. package/dist/Tooltip/QTipPerformance.stories.js.map +1 -0
  219. package/dist/Tooltip/Qtip.js +168 -0
  220. package/dist/Tooltip/Qtip.js.map +1 -0
  221. package/dist/Tooltip/Tooltip.js +34 -0
  222. package/dist/Tooltip/Tooltip.js.map +1 -0
  223. package/dist/Tooltip/Tooltip.stories.js +15 -0
  224. package/dist/Tooltip/Tooltip.stories.js.map +1 -0
  225. package/dist/Tooltip/Tooltip.types.js +3 -0
  226. package/dist/Tooltip/Tooltip.types.js.map +1 -0
  227. package/dist/Tooltip/TooltipPerformance.stories.js +26 -0
  228. package/dist/Tooltip/TooltipPerformance.stories.js.map +1 -0
  229. package/dist/Tooltip/index.js +3 -0
  230. package/dist/Tooltip/index.js.map +1 -0
  231. package/dist/Tooltip/qTip.utilities.js +11 -0
  232. package/dist/Tooltip/qTip.utilities.js.map +1 -0
  233. package/dist/example/package.json +15 -13
  234. package/dist/example/src/Example.tsx +269 -39
  235. package/dist/example/src/index.css +1 -0
  236. package/dist/example/vite.config.ts +2 -1
  237. package/dist/index.esm.js +2710 -2706
  238. package/dist/index.esm.js.map +1 -1
  239. package/dist/index.js +2710 -2706
  240. package/dist/index.js.map +1 -1
  241. package/dist/setupTests.d.ts +1 -0
  242. package/dist/setupTests.js +6 -0
  243. package/dist/setupTests.js.map +1 -0
  244. package/dist/{Accordion → src/Accordion}/Accordion.d.ts +4 -4
  245. package/dist/src/Accordion/Accordion.stories.d.ts +5 -0
  246. package/dist/{Accordion → src/Accordion}/Accordion.test.d.ts +1 -1
  247. package/dist/src/Accordion/Accordion.types.d.ts +86 -0
  248. package/dist/{Accordion → src/Accordion}/index.d.ts +1 -1
  249. package/dist/{Alert → src/Alert}/Alert.d.ts +7 -7
  250. package/dist/src/Alert/Alert.stories.d.ts +5 -0
  251. package/dist/src/Alert/Alert.test.d.ts +1 -0
  252. package/dist/src/Alert/Alert.types.d.ts +63 -0
  253. package/dist/{Alert → src/Alert}/index.d.ts +1 -1
  254. package/dist/{Button → src/Button}/Button.d.ts +10 -10
  255. package/dist/src/Button/Button.stories.d.ts +8 -0
  256. package/dist/{Button → src/Button}/Button.test.d.ts +1 -1
  257. package/dist/src/Button/Button.types.d.ts +148 -0
  258. package/dist/{Button → src/Button}/index.d.ts +1 -1
  259. package/dist/{ButtonGroup → src/ButtonGroup}/ButtonGroup.d.ts +7 -7
  260. package/dist/src/ButtonGroup/ButtonGroup.stories.d.ts +5 -0
  261. package/dist/src/ButtonGroup/ButtonGroup.test.d.ts +1 -0
  262. package/dist/src/ButtonGroup/ButtonGroup.types.d.ts +81 -0
  263. package/dist/{ButtonGroup → src/ButtonGroup}/index.d.ts +1 -1
  264. package/dist/{ButtonWithDropdown → src/ButtonWithDropdown}/ButtonWithDropdown.d.ts +4 -4
  265. package/dist/src/ButtonWithDropdown/ButtonWithDropdown.stories.d.ts +5 -0
  266. package/dist/{ButtonWithDropdown → src/ButtonWithDropdown}/ButtonWithDropdown.test.d.ts +1 -1
  267. package/dist/src/ButtonWithDropdown/ButtonWithDropdown.types.d.ts +233 -0
  268. package/dist/{ButtonWithDropdown → src/ButtonWithDropdown}/index.d.ts +1 -1
  269. package/dist/{ButtonWithPopover → src/ButtonWithPopover}/ButtonWithPopover.d.ts +4 -4
  270. package/dist/src/ButtonWithPopover/ButtonWithPopover.stories.d.ts +5 -0
  271. package/dist/{ButtonWithPopover → src/ButtonWithPopover}/ButtonWithPopover.test.d.ts +1 -1
  272. package/dist/src/ButtonWithPopover/ButtonWithPopover.types.d.ts +134 -0
  273. package/dist/{ButtonWithPopover → src/ButtonWithPopover}/index.d.ts +1 -1
  274. package/dist/{Carousel → src/Carousel}/Carousel.d.ts +9 -9
  275. package/dist/src/Carousel/Carousel.stories.d.ts +5 -0
  276. package/dist/{Carousel → src/Carousel}/Carousel.test.d.ts +1 -1
  277. package/dist/src/Carousel/Carousel.types.d.ts +86 -0
  278. package/dist/{Carousel → src/Carousel}/index.d.ts +1 -1
  279. package/dist/{Checkbox → src/Checkbox}/Checkbox.d.ts +7 -7
  280. package/dist/src/Checkbox/Checkbox.stories.d.ts +5 -0
  281. package/dist/{Checkbox → src/Checkbox}/Checkbox.test.d.ts +1 -1
  282. package/dist/src/Checkbox/Checkbox.types.d.ts +92 -0
  283. package/dist/{Checkbox → src/Checkbox}/index.d.ts +1 -1
  284. package/dist/{Collapse → src/Collapse}/Collapse.d.ts +4 -4
  285. package/dist/src/Collapse/Collapse.stories.d.ts +5 -0
  286. package/dist/{Collapse → src/Collapse}/Collapse.test.d.ts +1 -1
  287. package/dist/src/Collapse/Collapse.types.d.ts +19 -0
  288. package/dist/{Collapse → src/Collapse}/index.d.ts +1 -1
  289. package/dist/{Icon → src/Icon}/Icon.d.ts +10 -10
  290. package/dist/src/Icon/Icon.stories.d.ts +5 -0
  291. package/dist/{Icon → src/Icon}/Icon.test.d.ts +1 -1
  292. package/dist/src/Icon/Icon.types.d.ts +87 -0
  293. package/dist/{Icon → src/Icon}/index.d.ts +1 -1
  294. package/dist/{InputGroup → src/InputGroup}/InputGroup.d.ts +7 -7
  295. package/dist/src/InputGroup/InputGroup.stories.d.ts +5 -0
  296. package/dist/src/InputGroup/InputGroup.test.d.ts +1 -0
  297. package/dist/src/InputGroup/InputGroup.types.d.ts +62 -0
  298. package/dist/{InputGroup → src/InputGroup}/index.d.ts +2 -2
  299. package/dist/{Modal → src/Modal}/Modal.d.ts +5 -5
  300. package/dist/{Modal → src/Modal}/Modal.stories.d.ts +10 -10
  301. package/dist/{Modal → src/Modal}/Modal.test.d.ts +1 -1
  302. package/dist/src/Modal/Modal.types.d.ts +244 -0
  303. package/dist/{Modal → src/Modal}/index.d.ts +1 -1
  304. package/dist/{ProgressBar → src/ProgressBar}/ProgressBar.d.ts +4 -4
  305. package/dist/src/ProgressBar/ProgressBar.stories.d.ts +5 -0
  306. package/dist/src/ProgressBar/ProgressBar.test.d.ts +1 -0
  307. package/dist/src/ProgressBar/ProgressBar.types.d.ts +77 -0
  308. package/dist/{ProgressBar → src/ProgressBar}/index.d.ts +1 -1
  309. package/dist/{SeeqActionDropdown → src/SeeqActionDropdown}/SeeqActionDropdown.d.ts +4 -4
  310. package/dist/src/SeeqActionDropdown/SeeqActionDropdown.stories.d.ts +5 -0
  311. package/dist/{SeeqActionDropdown → src/SeeqActionDropdown}/SeeqActionDropdown.test.d.ts +1 -1
  312. package/dist/src/SeeqActionDropdown/SeeqActionDropdown.types.d.ts +160 -0
  313. package/dist/{SeeqActionDropdown → src/SeeqActionDropdown}/index.d.ts +1 -1
  314. package/dist/{SeeqActionDropdown → src/SeeqActionDropdown}/variants.d.ts +5 -5
  315. package/dist/{Select → src/Select}/Select.d.ts +15 -15
  316. package/dist/src/Select/Select.stories.d.ts +5 -0
  317. package/dist/{Select → src/Select}/Select.test.d.ts +1 -1
  318. package/dist/src/Select/Select.types.d.ts +220 -0
  319. package/dist/{Select → src/Select}/index.d.ts +2 -2
  320. package/dist/{Slider → src/Slider}/Slider.d.ts +6 -6
  321. package/dist/src/Slider/Slider.stories.d.ts +5 -0
  322. package/dist/src/Slider/Slider.test.d.ts +1 -0
  323. package/dist/src/Slider/Slider.types.d.ts +85 -0
  324. package/dist/{Slider → src/Slider}/index.d.ts +1 -1
  325. package/dist/{SvgIcon → src/SvgIcon}/SvgIcon.d.ts +20 -20
  326. package/dist/src/SvgIcon/SvgIcon.stories.d.ts +5 -0
  327. package/dist/{SvgIcon → src/SvgIcon}/SvgIcon.test.d.ts +1 -1
  328. package/dist/src/SvgIcon/SvgIcon.types.d.ts +76 -0
  329. package/dist/{SvgIcon → src/SvgIcon}/index.d.ts +1 -1
  330. package/dist/{Tabs → src/Tabs}/Tabs.d.ts +4 -4
  331. package/dist/src/Tabs/Tabs.stories.d.ts +5 -0
  332. package/dist/{Tabs → src/Tabs}/Tabs.test.d.ts +1 -1
  333. package/dist/src/Tabs/Tabs.types.d.ts +95 -0
  334. package/dist/{Tabs → src/Tabs}/index.d.ts +1 -1
  335. package/dist/{TextArea → src/TextArea}/TextArea.d.ts +7 -7
  336. package/dist/src/TextArea/TextArea.stories.d.ts +5 -0
  337. package/dist/{TextArea → src/TextArea}/TextArea.test.d.ts +1 -1
  338. package/dist/src/TextArea/TextArea.types.d.ts +105 -0
  339. package/dist/{TextArea → src/TextArea}/index.d.ts +1 -1
  340. package/dist/{TextField → src/TextField}/TextField.d.ts +7 -7
  341. package/dist/src/TextField/TextField.stories.d.ts +5 -0
  342. package/dist/{TextField → src/TextField}/TextField.test.d.ts +1 -1
  343. package/dist/src/TextField/TextField.types.d.ts +199 -0
  344. package/dist/{TextField → src/TextField}/index.d.ts +1 -1
  345. package/dist/{ToolbarButton → src/ToolbarButton}/ToolbarButton.d.ts +3 -3
  346. package/dist/src/ToolbarButton/ToolbarButton.stories.d.ts +5 -0
  347. package/dist/{ToolbarButton → src/ToolbarButton}/ToolbarButton.test.d.ts +1 -1
  348. package/dist/src/ToolbarButton/ToolbarButton.types.d.ts +124 -0
  349. package/dist/{ToolbarButton → src/ToolbarButton}/index.d.ts +1 -1
  350. package/dist/src/Tooltip/QTip.stories.d.ts +5 -0
  351. package/dist/{Tooltip → src/Tooltip}/QTip.types.d.ts +13 -13
  352. package/dist/src/Tooltip/QTipPerformance.stories.d.ts +5 -0
  353. package/dist/{Tooltip → src/Tooltip}/Qtip.d.ts +26 -26
  354. package/dist/{Tooltip → src/Tooltip}/Tooltip.d.ts +13 -13
  355. package/dist/src/Tooltip/Tooltip.stories.d.ts +5 -0
  356. package/dist/{Tooltip → src/Tooltip}/Tooltip.types.d.ts +22 -22
  357. package/dist/src/Tooltip/TooltipPerformance.stories.d.ts +5 -0
  358. package/dist/{Tooltip → src/Tooltip}/index.d.ts +2 -2
  359. package/dist/{Tooltip → src/Tooltip}/qTip.utilities.d.ts +3 -3
  360. package/dist/{index.d.ts → src/index.d.ts} +45 -45
  361. package/dist/src/setupTests.d.ts +1 -0
  362. package/dist/{types.d.ts → src/types.d.ts} +2 -2
  363. package/dist/{utils → src/utils}/browserId.d.ts +9 -9
  364. package/dist/{utils → src/utils}/svg.d.ts +15 -15
  365. package/dist/{utils → src/utils}/validateStyleDimension.d.ts +2 -2
  366. package/dist/{utils → src/utils}/validateStyleDimension.test.d.ts +1 -1
  367. package/dist/styles.css +98 -67
  368. package/dist/types.js +2 -0
  369. package/dist/types.js.map +1 -0
  370. package/dist/utils/browserId.js +29 -0
  371. package/dist/utils/browserId.js.map +1 -0
  372. package/dist/utils/svg.js +20 -0
  373. package/dist/utils/svg.js.map +1 -0
  374. package/dist/utils/validateStyleDimension.js +14 -0
  375. package/dist/utils/validateStyleDimension.js.map +1 -0
  376. package/dist/utils/validateStyleDimension.test.js +20 -0
  377. package/dist/utils/validateStyleDimension.test.js.map +1 -0
  378. package/package.json +20 -20
  379. package/dist/Accordion/Accordion.stories.d.ts +0 -6
  380. package/dist/Accordion/Accordion.types.d.ts +0 -20
  381. package/dist/Alert/Alert.stories.d.ts +0 -6
  382. package/dist/Alert/Alert.test.d.ts +0 -1
  383. package/dist/Alert/Alert.types.d.ts +0 -14
  384. package/dist/Button/Button.stories.d.ts +0 -9
  385. package/dist/Button/Button.types.d.ts +0 -53
  386. package/dist/ButtonGroup/ButtonGroup.stories.d.ts +0 -6
  387. package/dist/ButtonGroup/ButtonGroup.test.d.ts +0 -1
  388. package/dist/ButtonGroup/ButtonGroup.types.d.ts +0 -40
  389. package/dist/ButtonWithDropdown/ButtonWithDropdown.stories.d.ts +0 -6
  390. package/dist/ButtonWithDropdown/ButtonWithDropdown.types.d.ts +0 -90
  391. package/dist/ButtonWithPopover/ButtonWithPopover.stories.d.ts +0 -6
  392. package/dist/ButtonWithPopover/ButtonWithPopover.types.d.ts +0 -48
  393. package/dist/Carousel/Carousel.stories.d.ts +0 -6
  394. package/dist/Carousel/Carousel.types.d.ts +0 -24
  395. package/dist/Checkbox/Checkbox.stories.d.ts +0 -6
  396. package/dist/Checkbox/Checkbox.types.d.ts +0 -20
  397. package/dist/Collapse/Collapse.stories.d.ts +0 -6
  398. package/dist/Collapse/Collapse.types.d.ts +0 -5
  399. package/dist/Icon/Icon.stories.d.ts +0 -6
  400. package/dist/Icon/Icon.types.d.ts +0 -31
  401. package/dist/InputGroup/InputGroup.stories.d.ts +0 -6
  402. package/dist/InputGroup/InputGroup.test.d.ts +0 -1
  403. package/dist/InputGroup/InputGroup.types.d.ts +0 -36
  404. package/dist/Modal/Modal.types.d.ts +0 -48
  405. package/dist/ProgressBar/ProgressBar.stories.d.ts +0 -6
  406. package/dist/ProgressBar/ProgressBar.test.d.ts +0 -1
  407. package/dist/ProgressBar/ProgressBar.types.d.ts +0 -30
  408. package/dist/SeeqActionDropdown/SeeqActionDropdown.stories.d.ts +0 -6
  409. package/dist/SeeqActionDropdown/SeeqActionDropdown.types.d.ts +0 -58
  410. package/dist/Select/Select.stories.d.ts +0 -6
  411. package/dist/Select/Select.types.d.ts +0 -89
  412. package/dist/Slider/Slider.stories.d.ts +0 -6
  413. package/dist/Slider/Slider.test.d.ts +0 -1
  414. package/dist/Slider/Slider.types.d.ts +0 -17
  415. package/dist/SvgIcon/SvgIcon.stories.d.ts +0 -6
  416. package/dist/SvgIcon/SvgIcon.types.d.ts +0 -25
  417. package/dist/Tabs/Tabs.stories.d.ts +0 -6
  418. package/dist/Tabs/Tabs.types.d.ts +0 -21
  419. package/dist/TextArea/TextArea.stories.d.ts +0 -6
  420. package/dist/TextArea/TextArea.types.d.ts +0 -35
  421. package/dist/TextField/TextField.stories.d.ts +0 -6
  422. package/dist/TextField/TextField.types.d.ts +0 -40
  423. package/dist/ToolbarButton/ToolbarButton.stories.d.ts +0 -6
  424. package/dist/ToolbarButton/ToolbarButton.types.d.ts +0 -53
  425. package/dist/Tooltip/QTip.stories.d.ts +0 -6
  426. package/dist/Tooltip/QTipPerformance.stories.d.ts +0 -6
  427. package/dist/Tooltip/Tooltip.stories.d.ts +0 -6
  428. package/dist/Tooltip/TooltipPerformance.stories.d.ts +0 -6
@@ -0,0 +1,233 @@
1
+ /// <reference types="react" />
2
+ import { TooltipComponentProps } from '../Tooltip/Tooltip.types';
3
+ /**
4
+ * Interface for sub-menu items that appear in nested dropdown menus.
5
+ * Used to create hierarchical menu structures within dropdown items.
6
+ */
7
+ interface DropdownSubItem {
8
+ /**
9
+ * Icon class name to display next to the sub-item label.
10
+ * Typically uses FontAwesome classes (e.g., 'fc-zoom', 'fc-delete').
11
+ * Optional visual enhancement for better user recognition.
12
+ */
13
+ iconClass?: string;
14
+ /**
15
+ * Text label for the dropdown sub-item.
16
+ * This is the clickable text that users will see and interact with.
17
+ */
18
+ label: string;
19
+ /**
20
+ * Callback function triggered when the sub-item is clicked.
21
+ * Use this to define the action that should occur when users select this sub-item.
22
+ */
23
+ onClick?: (e?: Event) => void;
24
+ /**
25
+ * When true, disables the sub-item preventing user interaction.
26
+ * Disabled items appear visually dimmed and don't respond to clicks.
27
+ */
28
+ disabled?: boolean;
29
+ /**
30
+ * Tooltip text to display when hovering over the sub-item.
31
+ * Provides additional context or information about the sub-item's action.
32
+ */
33
+ tooltip?: string;
34
+ }
35
+ /**
36
+ * Interface for main dropdown menu items that can contain sub-menus.
37
+ * Extends TooltipComponentProps for enhanced tooltip functionality.
38
+ */
39
+ interface DropdownItems extends TooltipComponentProps {
40
+ /**
41
+ * HTML ID attribute for the dropdown item element.
42
+ * Should be unique for proper HTML semantics and accessibility.
43
+ */
44
+ id?: string;
45
+ /**
46
+ * Icon class name to display next to the item label.
47
+ * Typically uses Seeq or FontAwesome classes for consistent visual styling.
48
+ */
49
+ icon?: string;
50
+ /**
51
+ * Type/style of the icon that determines its rendering and colors.
52
+ * Common values include 'theme', 'text', 'color' based on the Icon component.
53
+ */
54
+ iconType?: string;
55
+ /**
56
+ * Custom color for the icon when using color-type icons.
57
+ * Can be any valid CSS color value (hex, rgb, color names).
58
+ */
59
+ iconColor?: string;
60
+ /**
61
+ * Custom HTML ID attribute specifically for the icon element.
62
+ * Useful for targeting the icon separately from the item container.
63
+ */
64
+ iconCustomId?: string;
65
+ /**
66
+ * Additional CSS classes to apply to the icon element.
67
+ * Use this to customize icon appearance beyond standard styling.
68
+ */
69
+ iconExtraClassNames?: string;
70
+ /**
71
+ * Content to display as the item label.
72
+ * Can be simple text or any React element for rich content like formatted text or badges.
73
+ */
74
+ label: string | React.ReactNode;
75
+ /**
76
+ * Custom HTML ID attribute specifically for the label element.
77
+ * Useful for accessibility or when you need to target the label separately.
78
+ */
79
+ labelCustomId?: string;
80
+ /**
81
+ * When true, treats this item as a non-interactive label/header.
82
+ * Label items typically appear different visually and don't trigger onClick events.
83
+ */
84
+ isLabel?: boolean;
85
+ /**
86
+ * Callback function triggered when the dropdown item is clicked.
87
+ * Required for interactive items. Use this to define the primary action for the item.
88
+ */
89
+ onClick: (e?: Event) => void;
90
+ /**
91
+ * Additional CSS classes to apply to the label element.
92
+ * Use this to customize label appearance, typography, or spacing.
93
+ */
94
+ labelClasses?: string;
95
+ /**
96
+ * When true, disables this dropdown item preventing user interaction.
97
+ * Disabled items appear visually dimmed and don't respond to clicks.
98
+ */
99
+ disabled?: boolean;
100
+ /**
101
+ * Custom HTML ID attribute for the entire dropdown item container.
102
+ * Useful for unique identification and accessibility purposes.
103
+ */
104
+ itemCustomId?: string;
105
+ /**
106
+ * Additional CSS classes to apply to the dropdown item container.
107
+ * Use this to customize item appearance, spacing, or hover effects.
108
+ */
109
+ itemExtraClassNames?: string;
110
+ /**
111
+ * Test ID attribute for the label element used in automated testing.
112
+ * Helps identify and interact with specific dropdown item labels in tests.
113
+ */
114
+ labelTestId?: string;
115
+ /**
116
+ * Test ID attribute for the icon element used in automated testing.
117
+ * Helps identify and interact with specific dropdown item icons in tests.
118
+ */
119
+ iconTestId?: string;
120
+ /**
121
+ * When true, displays a visual divider line below this dropdown item.
122
+ * Useful for grouping related items or separating different sections of the menu.
123
+ */
124
+ hasDivider?: boolean;
125
+ /**
126
+ * Test ID attribute for the dropdown item container used in automated testing.
127
+ * Helps identify and interact with specific dropdown items in test suites.
128
+ */
129
+ testId?: string;
130
+ /**
131
+ * Array of sub-menu items that appear when this item is hovered or clicked.
132
+ * Creates hierarchical dropdown menus for organizing related actions.
133
+ */
134
+ subMenuItems?: DropdownSubItem[];
135
+ }
136
+ /**
137
+ * Props for the ButtonWithDropdown component that creates a button with an attached dropdown menu.
138
+ * Extends TooltipComponentProps to support tooltip functionality on the trigger button.
139
+ */
140
+ export interface ButtonWithDropdownProps extends TooltipComponentProps {
141
+ /**
142
+ * Array of items to display in the dropdown menu.
143
+ * Each item can be interactive (with onClick) or decorative (labels/dividers).
144
+ * Items can also contain sub-menus for hierarchical organization.
145
+ */
146
+ dropdownItems: DropdownItems[];
147
+ /**
148
+ * React element to use as the clickable trigger button.
149
+ * Typically an icon, text, or button element that users click to open the dropdown.
150
+ */
151
+ triggerIcon: React.ReactNode;
152
+ /**
153
+ * HTML ID attribute for the dropdown trigger element.
154
+ * Should be unique across the page for proper HTML semantics and accessibility.
155
+ */
156
+ id?: string;
157
+ /**
158
+ * Additional CSS classes to apply to the dropdown trigger button.
159
+ * Use this to customize the trigger's appearance beyond default styling.
160
+ */
161
+ extraClassNames?: string;
162
+ /**
163
+ * Test ID attribute for the dropdown container element used in automated testing.
164
+ * Applied to the main container that wraps both trigger and dropdown content.
165
+ */
166
+ containerTestId?: string;
167
+ /**
168
+ * Additional CSS classes to apply to the dropdown content container.
169
+ * Use this to customize the dropdown menu's appearance, spacing, or styling.
170
+ */
171
+ contentExtraClassNames?: string;
172
+ /**
173
+ * When true, disables the dropdown trigger preventing user interaction.
174
+ * Disabled triggers appear visually dimmed and don't open the dropdown when clicked.
175
+ */
176
+ disabled?: boolean;
177
+ /**
178
+ * Horizontal alignment of the dropdown content relative to the trigger:
179
+ * - `start`: Aligns to the left edge of the trigger
180
+ * - `center`: Centers the dropdown on the trigger
181
+ * - `end`: Aligns to the right edge of the trigger
182
+ */
183
+ align?: 'start' | 'center' | 'end';
184
+ /**
185
+ * Numeric offset in pixels from the aligned position.
186
+ * Positive values move the dropdown further from the trigger in the align direction.
187
+ */
188
+ alignOffset?: number;
189
+ /**
190
+ * Position of the dropdown relative to the trigger element:
191
+ * - `top`: Dropdown appears above the trigger
192
+ * - `bottom`: Dropdown appears below the trigger
193
+ * - `left`: Dropdown appears to the left of the trigger
194
+ * - `right`: Dropdown appears to the right of the trigger
195
+ */
196
+ placement?: 'top' | 'bottom' | 'left' | 'right';
197
+ /**
198
+ * Numeric offset in pixels from the placement position.
199
+ * Positive values move the dropdown further away from the trigger.
200
+ */
201
+ placementOffset?: number;
202
+ /**
203
+ * When true, displays a visual arrow pointing from the dropdown to the trigger.
204
+ * Helps users understand the relationship between trigger and dropdown content.
205
+ */
206
+ hasArrow?: boolean;
207
+ /**
208
+ * Controls whether the dropdown is currently open and visible.
209
+ * Use this for controlled dropdown behavior where you manage open state externally.
210
+ */
211
+ isOpen?: boolean;
212
+ /**
213
+ * Callback function triggered when the dropdown open state changes.
214
+ * Receives the new open state as a boolean parameter. Use this to sync with external state.
215
+ */
216
+ onOpenChange?: (isOpen: boolean) => void;
217
+ /**
218
+ * When true, automatically focuses the trigger button when the dropdown closes.
219
+ * Improves keyboard navigation and accessibility by returning focus to the trigger.
220
+ */
221
+ setFocusOnTriggerOnClose?: boolean;
222
+ /**
223
+ * When true, traps keyboard focus within the dropdown when it's open.
224
+ * Prevents users from tabbing outside the dropdown, improving accessibility.
225
+ */
226
+ keepFocusInsideDropdown?: boolean;
227
+ /**
228
+ * Callback function triggered when the dropdown container is clicked.
229
+ * Receives the click event. Use this for handling container-level interactions.
230
+ */
231
+ onContainerClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
232
+ }
233
+ export {};
@@ -1 +1 @@
1
- export { default } from './ButtonWithDropdown';
1
+ export { default } from './ButtonWithDropdown';
@@ -1,4 +1,4 @@
1
- import * as React from 'react';
2
- import { ButtonWithPopoverProps } from './ButtonWithPopover.types';
3
- declare const ButtonWithPopover: React.FunctionComponent<ButtonWithPopoverProps>;
4
- export default ButtonWithPopover;
1
+ import * as React from 'react';
2
+ import { ButtonWithPopoverProps } from './ButtonWithPopover.types';
3
+ declare const ButtonWithPopover: React.FunctionComponent<ButtonWithPopoverProps>;
4
+ export default ButtonWithPopover;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const AllButtonWithPopoverVariants: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- import '@testing-library/jest-dom';
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,134 @@
1
+ import React from 'react';
2
+ import { TooltipComponentProps } from '../Tooltip/Tooltip.types';
3
+ /**
4
+ * Props for the ButtonWithPopover component that creates a button with an attached popover.
5
+ * Extends TooltipComponentProps to support tooltip functionality on the trigger button.
6
+ */
7
+ export interface ButtonWithPopoverProps extends TooltipComponentProps {
8
+ /**
9
+ * React element to use as the clickable trigger for the popover.
10
+ * Can be an icon, text, button, or any interactive element that users click to open the popover.
11
+ */
12
+ trigger?: React.ReactNode;
13
+ /**
14
+ * Content to display inside the popover when it's open.
15
+ * Can be any React elements including forms, lists, complex layouts, or interactive components.
16
+ */
17
+ children: React.ReactNode;
18
+ /**
19
+ * HTML ID attribute for the popover trigger element.
20
+ * Should be unique across the page for proper HTML semantics and accessibility.
21
+ */
22
+ id?: string;
23
+ /**
24
+ * Test ID attribute for the popover container element used in automated testing.
25
+ * Applied to the main container that wraps both trigger and popover content.
26
+ */
27
+ containerTestId?: string;
28
+ /**
29
+ * When true, disables the popover trigger preventing user interaction.
30
+ * Disabled triggers appear visually dimmed and don't open the popover when clicked.
31
+ */
32
+ disabled?: boolean;
33
+ /**
34
+ * Callback function triggered when the trigger is clicked.
35
+ * Receives the current open state as a parameter. Note: this doesn't control popover opening,
36
+ * it's mainly for tracking or analytics purposes.
37
+ */
38
+ onClick?: (isOpen: boolean) => void;
39
+ /**
40
+ * Horizontal alignment of the popover content relative to the trigger:
41
+ * - `start`: Aligns to the left edge of the trigger
42
+ * - `center`: Centers the popover on the trigger
43
+ * - `end`: Aligns to the right edge of the trigger
44
+ */
45
+ align?: 'start' | 'center' | 'end';
46
+ /**
47
+ * Numeric offset in pixels from the aligned position.
48
+ * Positive values move the popover further from the trigger in the align direction.
49
+ */
50
+ alignOffset?: number;
51
+ /**
52
+ * Position of the popover relative to the trigger element:
53
+ * - `top`: Popover appears above the trigger
54
+ * - `bottom`: Popover appears below the trigger
55
+ * - `left`: Popover appears to the left of the trigger
56
+ * - `right`: Popover appears to the right of the trigger
57
+ */
58
+ placement?: 'top' | 'bottom' | 'left' | 'right';
59
+ /**
60
+ * Numeric offset in pixels from the placement position.
61
+ * Positive values move the popover further away from the trigger.
62
+ */
63
+ placementOffset?: number;
64
+ /**
65
+ * Controls whether the popover is currently open and visible.
66
+ * Use this for controlled popover behavior where you manage open state externally.
67
+ */
68
+ isOpen?: boolean;
69
+ /**
70
+ * Callback function triggered when the popover open state changes.
71
+ * Receives the new open state as a boolean parameter. Use this to sync with external state.
72
+ */
73
+ onOpenChange?: (isOpen: boolean) => void;
74
+ /**
75
+ * When true, displays a visual arrow pointing from the popover to the trigger.
76
+ * Helps users understand the relationship between trigger and popover content.
77
+ */
78
+ hasArrow?: boolean;
79
+ /**
80
+ * When true, enables the popover to open when hovering over the trigger.
81
+ * Useful for preview or quick-info popovers that don't require clicking.
82
+ */
83
+ isHoverEnabled?: boolean;
84
+ /**
85
+ * Delay in milliseconds before the popover opens when hover is enabled.
86
+ * Prevents accidental popover opening from brief mouse movements.
87
+ * Only relevant when `isHoverEnabled` is true.
88
+ */
89
+ hoverOpenDelay?: number;
90
+ /**
91
+ * Additional CSS classes to apply to the trigger container element.
92
+ * Use this to customize the trigger's appearance beyond default styling.
93
+ */
94
+ extraTriggerClassNames?: string;
95
+ /**
96
+ * Additional CSS classes to apply to the popover content container.
97
+ * Use this to customize the popover's appearance, spacing, or styling.
98
+ */
99
+ extraPopoverClassNames?: string;
100
+ /**
101
+ * When true, automatically closes the popover when any content inside it is clicked.
102
+ * Useful for action popovers where selecting an option should close the popover.
103
+ */
104
+ isCloseOnContentClick?: boolean;
105
+ /**
106
+ * Callback function triggered when user interacts outside the popover content.
107
+ * This includes clicks, taps, and focus events outside the popover area.
108
+ * Use this to handle outside interactions or implement custom close behavior.
109
+ */
110
+ onInteractOutside?: () => void;
111
+ /**
112
+ * Callback function triggered when user clicks/taps outside the popover content.
113
+ * More specific than `onInteractOutside`, focusing only on pointer down events.
114
+ * Use this for custom outside-click handling.
115
+ */
116
+ onPointerDownOutside?: () => void;
117
+ /**
118
+ * When true, merges the trigger functionality with the provided trigger element.
119
+ * Instead of wrapping the trigger in a button, it adds trigger behavior to the element itself.
120
+ * Useful when the trigger element is already interactive.
121
+ */
122
+ isTriggerAsChild?: boolean;
123
+ /**
124
+ * When true, makes the trigger button expand to fill the full width of its container.
125
+ * Useful for layout consistency or when the trigger should span the available space.
126
+ */
127
+ shouldTriggerFullWidth?: boolean;
128
+ /**
129
+ * When true, renders the popover content in a React portal.
130
+ * This moves the popover to the end of the document body, which can help with
131
+ * z-index issues and ensure the popover appears above other content.
132
+ */
133
+ isPortal?: boolean;
134
+ }
@@ -1 +1 @@
1
- export { default } from './ButtonWithPopover';
1
+ export { default } from './ButtonWithPopover';
@@ -1,9 +1,9 @@
1
- import React from 'react';
2
- import { CarouselProps } from './Carousel.types';
3
- /**
4
- * Carousel:
5
- * - Easily create a carousel with custom slides.
6
- * - Supports automatic sliding, navigation arrows, and slide indicators.
7
- */
8
- declare const Carousel: React.FunctionComponent<CarouselProps>;
9
- export default Carousel;
1
+ import React from 'react';
2
+ import { CarouselProps } from './Carousel.types';
3
+ /**
4
+ * Carousel:
5
+ * - Easily create a carousel with custom slides.
6
+ * - Supports automatic sliding, navigation arrows, and slide indicators.
7
+ */
8
+ declare const Carousel: React.FunctionComponent<CarouselProps>;
9
+ export default Carousel;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const AllCarousels: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- import '@testing-library/jest-dom';
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,86 @@
1
+ /// <reference types="react" />
2
+ /**
3
+ * Properties for the Carousel component that creates a sliding content viewer.
4
+ */
5
+ export interface CarouselProps {
6
+ /**
7
+ * Test ID attribute for the carousel container used in automated testing.
8
+ * Applied to the main carousel element for test targeting and interaction.
9
+ */
10
+ testId?: string;
11
+ /**
12
+ * Additional CSS classes to apply to the carousel container.
13
+ * Use this to customize the carousel's appearance, spacing, or layout beyond default styling.
14
+ */
15
+ extraClassNames?: string;
16
+ /**
17
+ * Zero-based index of the currently visible/active slide.
18
+ * Use this for controlled carousel behavior where you manage the active slide externally.
19
+ * When not provided, the carousel manages its own internal state.
20
+ */
21
+ activeIndex?: number;
22
+ /**
23
+ * Callback function triggered when the slide changes due to user interaction or auto-sliding.
24
+ * Receives the new slide index and the direction of transition.
25
+ * Use this to sync with external state or implement custom slide change logic.
26
+ * @param nextSlide - The zero-based index of the slide that will become active
27
+ * @param direction - The direction of the slide transition ('left' or 'right')
28
+ */
29
+ onSlide?: (nextSlide: number, direction: 'left' | 'right') => void;
30
+ /**
31
+ * When true, enables automatic slide transitions at regular intervals.
32
+ * The carousel will continuously advance to the next slide without user interaction.
33
+ * Useful for image galleries, testimonials, or promotional content.
34
+ */
35
+ autoSlide?: boolean;
36
+ /**
37
+ * Time interval in milliseconds between automatic slide transitions.
38
+ * Only relevant when `autoSlide` is true. Controls how long each slide is displayed
39
+ * before automatically advancing to the next one.
40
+ * @default 3000
41
+ */
42
+ interval?: number;
43
+ /**
44
+ * Icon class name for the "next" navigation arrow.
45
+ * Typically uses FontAwesome classes (e.g., 'fc-chevron-right').
46
+ * Displayed on the right side to advance to the next slide.
47
+ */
48
+ nextIcon?: string;
49
+ /**
50
+ * Icon class name for the "previous" navigation arrow.
51
+ * Typically uses FontAwesome classes (e.g., 'fc-chevron-left').
52
+ * Displayed on the left side to go back to the previous slide.
53
+ */
54
+ prevIcon?: string;
55
+ /**
56
+ * Additional CSS classes to apply to both navigation arrow icons.
57
+ * Use this to customize the size, color, or styling of the arrow icons.
58
+ */
59
+ iconExtraClassNames?: string;
60
+ /**
61
+ * When true, displays clickable navigation arrows on the left and right sides.
62
+ * Allows users to manually navigate between slides by clicking the arrows.
63
+ * @default true
64
+ */
65
+ showArrows?: boolean;
66
+ /**
67
+ * When true, displays clickable dot indicators at the bottom of the carousel.
68
+ * Each dot represents a slide and allows direct navigation to any slide.
69
+ * The active slide's indicator is visually highlighted.
70
+ * @default true
71
+ */
72
+ showIndicators?: boolean;
73
+ /**
74
+ * When true, enables continuous looping through slides.
75
+ * After the last slide, clicking "next" will go to the first slide.
76
+ * Before the first slide, clicking "previous" will go to the last slide.
77
+ * @default true
78
+ */
79
+ continuous?: boolean;
80
+ /**
81
+ * Array of React elements to display as carousel slides.
82
+ * Each item represents one slide and can contain any content including
83
+ * images, text, cards, or complex components. The order determines slide sequence.
84
+ */
85
+ carouselItems: React.ReactNode[];
86
+ }
@@ -1 +1 @@
1
- export { default } from './Carousel';
1
+ export { default } from './Carousel';
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { CheckboxProps } from './Checkbox.types';
3
- import '../styles.css';
4
- /**
5
- * Checkbox and Radio Box Component.
6
- */
7
- export declare const Checkbox: React.FunctionComponent<CheckboxProps>;
1
+ import React from 'react';
2
+ import { CheckboxProps } from './Checkbox.types';
3
+ import '../styles.css';
4
+ /**
5
+ * Checkbox and Radio Box Component.
6
+ */
7
+ export declare const Checkbox: React.FunctionComponent<CheckboxProps>;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const AllCheckboxes: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- import '@testing-library/jest-dom';
1
+ import '@testing-library/jest-dom';
@@ -0,0 +1,92 @@
1
+ /// <reference types="react" />
2
+ import { TooltipComponentProps } from '../Tooltip/Tooltip.types';
3
+ type FormControlElement = HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement;
4
+ export interface CheckboxProps extends TooltipComponentProps {
5
+ /**
6
+ * Additional CSS classes to apply to the checkbox container.
7
+ * These classes are combined with the component's built-in styling.
8
+ * Use this to customize the overall appearance of the checkbox wrapper.
9
+ */
10
+ extraClassNames?: string;
11
+ /**
12
+ * Additional CSS classes to apply specifically to the label element.
13
+ * Use this to customize the styling of the text label that appears next to the checkbox.
14
+ * Does not affect the input element itself.
15
+ */
16
+ extraLabelClassNames?: string;
17
+ /**
18
+ * Determines the type of input control to render:
19
+ * - `checkbox`: Standard checkbox that can be checked/unchecked independently
20
+ * - `radio`: Radio button that is typically part of a group where only one can be selected
21
+ * @default 'checkbox'
22
+ */
23
+ type?: 'radio' | 'checkbox';
24
+ /**
25
+ * HTML ID attribute for the input element.
26
+ * Should be unique across the entire page for proper HTML semantics and accessibility.
27
+ * If not provided, a random ID will be generated automatically.
28
+ * Used for associating the label with the input for accessibility.
29
+ */
30
+ id?: string;
31
+ /**
32
+ * Name attribute for the input element, used for form submission and grouping.
33
+ * For radio buttons, all options in the same group should share the same name.
34
+ * For checkboxes, this identifies the field when the form is submitted.
35
+ */
36
+ name?: string;
37
+ /**
38
+ * Controls whether the checkbox/radio button is currently checked.
39
+ * Use this for controlled components where you manage the state externally.
40
+ * When provided, the component becomes controlled and you must handle state changes via `onChange`.
41
+ */
42
+ checked?: boolean;
43
+ /**
44
+ * Sets the initial checked state for uncontrolled components.
45
+ * Only used when `checked` is not provided (uncontrolled mode).
46
+ * The component will manage its own state after the initial render.
47
+ */
48
+ defaultChecked?: boolean;
49
+ /**
50
+ * The value associated with this checkbox/radio button.
51
+ * This is the value that will be submitted with the form when the input is checked.
52
+ * For radio buttons, each option in a group should have a unique value.
53
+ */
54
+ value?: string | number;
55
+ /**
56
+ * The text or content to display as the label next to the checkbox/radio button.
57
+ * Can be a simple string or any React element for more complex label content.
58
+ * Clicking on this label will toggle the input due to proper accessibility association.
59
+ */
60
+ label?: string | React.ReactNode;
61
+ /**
62
+ * Callback function triggered when the checkbox/radio button state changes.
63
+ * Receives the change event which contains the new checked state and value.
64
+ * Use this to update your component state when in controlled mode.
65
+ */
66
+ onChange?: React.ChangeEventHandler<FormControlElement>;
67
+ /**
68
+ * Callback function triggered when a key is pressed while the input has focus.
69
+ * Useful for implementing custom keyboard navigation or shortcuts.
70
+ * Receives the keyboard event with details about the pressed key.
71
+ */
72
+ onKeyDown?: React.KeyboardEventHandler<FormControlElement>;
73
+ /**
74
+ * Callback function triggered when the input element is clicked.
75
+ * This fires before the onChange event and can be used for additional click handling.
76
+ * Note that clicking the associated label will also trigger this event.
77
+ */
78
+ onClick?: React.MouseEventHandler<FormControlElement>;
79
+ /**
80
+ * When true, disables the checkbox/radio button preventing user interaction.
81
+ * Disabled inputs appear visually dimmed and do not respond to user actions.
82
+ * The input will not be included in form submissions when disabled.
83
+ */
84
+ disabled?: boolean;
85
+ /**
86
+ * Test ID attribute for the input element used in automated testing.
87
+ * Applied to the `data-testid` attribute for element selection in test suites.
88
+ * Helps identify this specific checkbox/radio button in tests.
89
+ */
90
+ testId?: string;
91
+ }
92
+ export {};
@@ -1 +1 @@
1
- export { Checkbox as default } from './Checkbox';
1
+ export { Checkbox as default } from './Checkbox';
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { CollapseProps } from './Collapse.types';
3
- declare const Collapse: React.FunctionComponent<CollapseProps>;
4
- export default Collapse;
1
+ import React from 'react';
2
+ import { CollapseProps } from './Collapse.types';
3
+ declare const Collapse: React.FunctionComponent<CollapseProps>;
4
+ export default Collapse;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ title: string;
3
+ };
4
+ export default _default;
5
+ export declare const AllCollapses: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- import '@testing-library/jest-dom';
1
+ import '@testing-library/jest-dom';