@synerise/ds-mocks 0.1.16 → 0.2.1

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 (501) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +187 -332
  3. package/dist/ActionArea/index.d.ts +1 -0
  4. package/dist/ActionArea/index.js +5 -0
  5. package/dist/ActionArea/jest.js +21 -0
  6. package/dist/ActionArea/vi.d.ts +10 -0
  7. package/dist/ActionArea/vi.js +15 -0
  8. package/dist/Alert/index.d.ts +1 -0
  9. package/dist/Alert/index.js +5 -0
  10. package/dist/Alert/jest.js +81 -0
  11. package/dist/Alert/vi.d.ts +42 -0
  12. package/dist/Alert/vi.js +75 -0
  13. package/dist/AppMenu/index.d.ts +1 -0
  14. package/dist/AppMenu/index.js +5 -0
  15. package/dist/AppMenu/jest.js +51 -0
  16. package/dist/AppMenu/vi.d.ts +29 -0
  17. package/dist/AppMenu/vi.js +45 -0
  18. package/dist/Autocomplete/index.d.ts +1 -0
  19. package/dist/Autocomplete/index.js +5 -0
  20. package/dist/Autocomplete/jest.js +27 -0
  21. package/dist/Autocomplete/vi.d.ts +25 -0
  22. package/dist/Autocomplete/vi.js +21 -0
  23. package/dist/Avatar/index.d.ts +1 -0
  24. package/dist/Avatar/index.js +5 -0
  25. package/dist/Avatar/jest.js +55 -0
  26. package/dist/Avatar/vi.d.ts +43 -0
  27. package/dist/Avatar/vi.js +49 -0
  28. package/dist/AvatarGroup/index.d.ts +1 -0
  29. package/dist/AvatarGroup/index.js +5 -0
  30. package/dist/AvatarGroup/jest.js +22 -0
  31. package/dist/AvatarGroup/vi.d.ts +10 -0
  32. package/dist/AvatarGroup/vi.js +16 -0
  33. package/dist/Badge/index.d.ts +1 -0
  34. package/dist/Badge/index.js +5 -0
  35. package/dist/Badge/jest.js +23 -0
  36. package/dist/Badge/vi.d.ts +10 -0
  37. package/dist/Badge/vi.js +17 -0
  38. package/dist/Banner/index.d.ts +1 -0
  39. package/dist/Banner/index.js +5 -0
  40. package/dist/Banner/jest.js +27 -0
  41. package/dist/Banner/vi.d.ts +10 -0
  42. package/dist/Banner/vi.js +21 -0
  43. package/dist/BroadcastBar/index.d.ts +1 -0
  44. package/dist/BroadcastBar/index.js +5 -0
  45. package/dist/BroadcastBar/jest.js +22 -0
  46. package/dist/BroadcastBar/vi.d.ts +10 -0
  47. package/dist/BroadcastBar/vi.js +16 -0
  48. package/dist/ButtonGroup/index.d.ts +1 -0
  49. package/dist/ButtonGroup/index.js +5 -0
  50. package/dist/ButtonGroup/jest.js +25 -0
  51. package/dist/ButtonGroup/vi.d.ts +27 -0
  52. package/dist/ButtonGroup/vi.js +19 -0
  53. package/dist/Card/index.d.ts +1 -0
  54. package/dist/Card/index.js +5 -0
  55. package/dist/Card/jest.js +55 -0
  56. package/dist/Card/vi.d.ts +33 -0
  57. package/dist/Card/vi.js +49 -0
  58. package/dist/CardSelect/index.d.ts +1 -0
  59. package/dist/CardSelect/index.js +5 -0
  60. package/dist/CardSelect/jest.js +51 -0
  61. package/dist/CardSelect/vi.d.ts +27 -0
  62. package/dist/CardSelect/vi.js +45 -0
  63. package/dist/CardTabs/index.d.ts +1 -0
  64. package/dist/CardTabs/index.js +5 -0
  65. package/dist/CardTabs/jest.js +34 -0
  66. package/dist/CardTabs/vi.d.ts +33 -0
  67. package/dist/CardTabs/vi.js +28 -0
  68. package/dist/Cascader/index.d.ts +1 -0
  69. package/dist/Cascader/index.js +4 -0
  70. package/dist/Cascader/jest.js +21 -0
  71. package/dist/Cascader/vi.d.ts +15 -0
  72. package/dist/Cascader/vi.js +18 -0
  73. package/dist/Checkbox/index.d.ts +1 -0
  74. package/dist/Checkbox/index.js +5 -0
  75. package/dist/Checkbox/jest.js +78 -0
  76. package/dist/Checkbox/vi.d.ts +31 -0
  77. package/dist/Checkbox/vi.js +72 -0
  78. package/dist/CodeArea/index.d.ts +1 -0
  79. package/dist/CodeArea/index.js +5 -0
  80. package/dist/CodeArea/jest.js +42 -0
  81. package/dist/CodeArea/vi.d.ts +26 -0
  82. package/dist/CodeArea/vi.js +36 -0
  83. package/dist/CodeSnippet/index.d.ts +1 -0
  84. package/dist/CodeSnippet/index.js +6 -0
  85. package/dist/CodeSnippet/jest.js +30 -0
  86. package/dist/CodeSnippet/vi.d.ts +25 -0
  87. package/dist/CodeSnippet/vi.js +24 -0
  88. package/dist/Collector/index.d.ts +1 -0
  89. package/dist/Collector/index.js +4 -0
  90. package/dist/Collector/jest.js +38 -0
  91. package/dist/Collector/vi.d.ts +14 -0
  92. package/dist/Collector/vi.js +35 -0
  93. package/dist/ColorPicker/index.d.ts +1 -0
  94. package/dist/ColorPicker/index.js +5 -0
  95. package/dist/ColorPicker/jest.js +22 -0
  96. package/dist/ColorPicker/vi.d.ts +10 -0
  97. package/dist/ColorPicker/vi.js +16 -0
  98. package/dist/ColumnManager/index.d.ts +1 -0
  99. package/dist/ColumnManager/index.js +5 -0
  100. package/dist/ColumnManager/jest.js +35 -0
  101. package/dist/ColumnManager/vi.d.ts +25 -0
  102. package/dist/ColumnManager/vi.js +29 -0
  103. package/dist/CompletedWithin/index.d.ts +1 -0
  104. package/dist/CompletedWithin/index.js +5 -0
  105. package/dist/CompletedWithin/jest.js +20 -0
  106. package/dist/CompletedWithin/vi.d.ts +12 -0
  107. package/dist/CompletedWithin/vi.js +14 -0
  108. package/dist/Condition/index.d.ts +1 -0
  109. package/dist/Condition/index.js +5 -0
  110. package/dist/Condition/jest.js +21 -0
  111. package/dist/Condition/vi.d.ts +10 -0
  112. package/dist/Condition/vi.js +15 -0
  113. package/dist/Confirmation/index.d.ts +1 -0
  114. package/dist/Confirmation/index.js +5 -0
  115. package/dist/Confirmation/jest.js +60 -0
  116. package/dist/Confirmation/vi.d.ts +27 -0
  117. package/dist/Confirmation/vi.js +54 -0
  118. package/dist/ContextSelector/index.d.ts +1 -0
  119. package/dist/ContextSelector/index.js +5 -0
  120. package/dist/ContextSelector/jest.js +23 -0
  121. package/dist/ContextSelector/vi.d.ts +25 -0
  122. package/dist/ContextSelector/vi.js +17 -0
  123. package/dist/CopyIcon/index.d.ts +1 -0
  124. package/dist/CopyIcon/index.js +5 -0
  125. package/dist/CopyIcon/jest.js +22 -0
  126. package/dist/CopyIcon/vi.d.ts +10 -0
  127. package/dist/CopyIcon/vi.js +16 -0
  128. package/dist/DatePicker/index.d.ts +1 -0
  129. package/dist/DatePicker/index.js +5 -0
  130. package/dist/DatePicker/jest.js +54 -0
  131. package/dist/DatePicker/vi.d.ts +36 -0
  132. package/dist/DatePicker/vi.js +48 -0
  133. package/dist/DateRangePicker/index.d.ts +1 -0
  134. package/dist/DateRangePicker/index.js +5 -0
  135. package/dist/DateRangePicker/jest.js +58 -0
  136. package/dist/DateRangePicker/vi.d.ts +42 -0
  137. package/dist/DateRangePicker/vi.js +52 -0
  138. package/dist/Description/index.d.ts +1 -0
  139. package/dist/Description/index.js +5 -0
  140. package/dist/Description/jest.js +42 -0
  141. package/dist/Description/vi.d.ts +29 -0
  142. package/dist/Description/vi.js +36 -0
  143. package/dist/Divider/index.d.ts +1 -0
  144. package/dist/Divider/index.js +5 -0
  145. package/dist/Divider/jest.js +21 -0
  146. package/dist/Divider/vi.d.ts +6 -0
  147. package/dist/Divider/vi.js +15 -0
  148. package/dist/Drawer/index.d.ts +1 -0
  149. package/dist/Drawer/index.js +5 -0
  150. package/dist/Drawer/jest.js +86 -0
  151. package/dist/Drawer/vi.d.ts +25 -0
  152. package/dist/Drawer/vi.js +80 -0
  153. package/dist/EditableItemsList/index.d.ts +1 -0
  154. package/dist/EditableItemsList/index.js +5 -0
  155. package/dist/EditableItemsList/jest.js +21 -0
  156. package/dist/EditableItemsList/vi.d.ts +10 -0
  157. package/dist/EditableItemsList/vi.js +15 -0
  158. package/dist/EmojiPicker/index.d.ts +1 -0
  159. package/dist/EmojiPicker/index.js +5 -0
  160. package/dist/EmojiPicker/jest.js +27 -0
  161. package/dist/EmojiPicker/vi.d.ts +12 -0
  162. package/dist/EmojiPicker/vi.js +21 -0
  163. package/dist/EmptyStates/index.d.ts +1 -0
  164. package/dist/EmptyStates/index.js +5 -0
  165. package/dist/EmptyStates/jest.js +34 -0
  166. package/dist/EmptyStates/vi.d.ts +6 -0
  167. package/dist/EmptyStates/vi.js +28 -0
  168. package/dist/Estimation/index.d.ts +1 -0
  169. package/dist/Estimation/index.js +5 -0
  170. package/dist/Estimation/jest.js +21 -0
  171. package/dist/Estimation/vi.d.ts +10 -0
  172. package/dist/Estimation/vi.js +15 -0
  173. package/dist/Factors/index.d.ts +1 -0
  174. package/dist/Factors/index.js +5 -0
  175. package/dist/Factors/jest.js +25 -0
  176. package/dist/Factors/vi.d.ts +18 -0
  177. package/dist/Factors/vi.js +19 -0
  178. package/dist/FieldSet/index.d.ts +1 -0
  179. package/dist/FieldSet/index.js +5 -0
  180. package/dist/FieldSet/jest.js +23 -0
  181. package/dist/FieldSet/vi.d.ts +10 -0
  182. package/dist/FieldSet/vi.js +17 -0
  183. package/dist/FileUploader/index.d.ts +1 -0
  184. package/dist/FileUploader/index.js +5 -0
  185. package/dist/FileUploader/jest.js +54 -0
  186. package/dist/FileUploader/vi.d.ts +31 -0
  187. package/dist/FileUploader/vi.js +48 -0
  188. package/dist/Filter/index.d.ts +1 -0
  189. package/dist/Filter/index.js +5 -0
  190. package/dist/Filter/jest.js +21 -0
  191. package/dist/Filter/vi.d.ts +12 -0
  192. package/dist/Filter/vi.js +15 -0
  193. package/dist/Flag/index.d.ts +1 -0
  194. package/dist/Flag/index.js +5 -0
  195. package/dist/Flag/jest.js +23 -0
  196. package/dist/Flag/vi.d.ts +12 -0
  197. package/dist/Flag/vi.js +17 -0
  198. package/dist/FlexBox/index.d.ts +1 -0
  199. package/dist/FlexBox/index.js +5 -0
  200. package/dist/FlexBox/jest.js +38 -0
  201. package/dist/FlexBox/vi.d.ts +5 -0
  202. package/dist/FlexBox/vi.js +35 -0
  203. package/dist/Footer/index.d.ts +1 -0
  204. package/dist/Footer/index.js +5 -0
  205. package/dist/Footer/jest.js +21 -0
  206. package/dist/Footer/vi.d.ts +10 -0
  207. package/dist/Footer/vi.js +15 -0
  208. package/dist/FormField/index.d.ts +1 -0
  209. package/dist/FormField/index.js +5 -0
  210. package/dist/FormField/jest.js +57 -0
  211. package/dist/FormField/vi.d.ts +32 -0
  212. package/dist/FormField/vi.js +51 -0
  213. package/dist/FormatPicker/index.d.ts +1 -0
  214. package/dist/FormatPicker/index.js +5 -0
  215. package/dist/FormatPicker/jest.js +23 -0
  216. package/dist/FormatPicker/vi.d.ts +10 -0
  217. package/dist/FormatPicker/vi.js +17 -0
  218. package/dist/Grid/index.d.ts +1 -0
  219. package/dist/Grid/index.js +5 -0
  220. package/dist/Grid/jest.js +40 -0
  221. package/dist/Grid/vi.d.ts +25 -0
  222. package/dist/Grid/vi.js +34 -0
  223. package/dist/IconPicker/index.d.ts +1 -0
  224. package/dist/IconPicker/index.js +5 -0
  225. package/dist/IconPicker/jest.js +23 -0
  226. package/dist/IconPicker/vi.d.ts +10 -0
  227. package/dist/IconPicker/vi.js +17 -0
  228. package/dist/InformationCard/index.d.ts +1 -0
  229. package/dist/InformationCard/index.js +5 -0
  230. package/dist/InformationCard/jest.js +45 -0
  231. package/dist/InformationCard/vi.d.ts +36 -0
  232. package/dist/InformationCard/vi.js +39 -0
  233. package/dist/InlineAlert/index.d.ts +1 -0
  234. package/dist/InlineAlert/index.js +5 -0
  235. package/dist/InlineAlert/jest.js +26 -0
  236. package/dist/InlineAlert/vi.d.ts +10 -0
  237. package/dist/InlineAlert/vi.js +20 -0
  238. package/dist/InlineEdit/index.d.ts +1 -0
  239. package/dist/InlineEdit/index.js +5 -0
  240. package/dist/InlineEdit/jest.js +41 -0
  241. package/dist/InlineEdit/vi.d.ts +27 -0
  242. package/dist/InlineEdit/vi.js +35 -0
  243. package/dist/InputNumber/index.d.ts +1 -0
  244. package/dist/InputNumber/index.js +5 -0
  245. package/dist/InputNumber/jest.js +27 -0
  246. package/dist/InputNumber/vi.d.ts +10 -0
  247. package/dist/InputNumber/vi.js +21 -0
  248. package/dist/Insight/index.d.ts +1 -0
  249. package/dist/Insight/index.js +5 -0
  250. package/dist/Insight/jest.js +21 -0
  251. package/dist/Insight/vi.d.ts +10 -0
  252. package/dist/Insight/vi.js +15 -0
  253. package/dist/ItemFilter/index.d.ts +1 -0
  254. package/dist/ItemFilter/index.js +5 -0
  255. package/dist/ItemFilter/jest.js +21 -0
  256. package/dist/ItemFilter/vi.d.ts +12 -0
  257. package/dist/ItemFilter/vi.js +15 -0
  258. package/dist/ItemPicker/index.d.ts +1 -0
  259. package/dist/ItemPicker/index.js +4 -0
  260. package/dist/ItemPicker/jest.js +37 -0
  261. package/dist/ItemPicker/vi.d.ts +20 -0
  262. package/dist/ItemPicker/vi.js +34 -0
  263. package/dist/ItemsRoll/index.d.ts +1 -0
  264. package/dist/ItemsRoll/index.js +5 -0
  265. package/dist/ItemsRoll/jest.js +21 -0
  266. package/dist/ItemsRoll/vi.d.ts +10 -0
  267. package/dist/ItemsRoll/vi.js +15 -0
  268. package/dist/Layout/index.d.ts +1 -0
  269. package/dist/Layout/index.js +5 -0
  270. package/dist/Layout/jest.js +27 -0
  271. package/dist/Layout/vi.d.ts +27 -0
  272. package/dist/Layout/vi.js +21 -0
  273. package/dist/List/index.d.ts +1 -0
  274. package/dist/List/index.js +5 -0
  275. package/dist/List/jest.js +61 -0
  276. package/dist/List/vi.d.ts +25 -0
  277. package/dist/List/vi.js +55 -0
  278. package/dist/ListItem/index.d.ts +1 -0
  279. package/dist/ListItem/index.js +5 -0
  280. package/dist/ListItem/jest.js +46 -0
  281. package/dist/ListItem/vi.d.ts +36 -0
  282. package/dist/ListItem/vi.js +40 -0
  283. package/dist/Loader/index.d.ts +1 -0
  284. package/dist/Loader/index.js +5 -0
  285. package/dist/Loader/jest.js +22 -0
  286. package/dist/Loader/vi.d.ts +10 -0
  287. package/dist/Loader/vi.js +16 -0
  288. package/dist/Logic/index.d.ts +1 -0
  289. package/dist/Logic/index.js +5 -0
  290. package/dist/Logic/jest.js +46 -0
  291. package/dist/Logic/vi.d.ts +29 -0
  292. package/dist/Logic/vi.js +40 -0
  293. package/dist/ManageableList/index.d.ts +1 -0
  294. package/dist/ManageableList/index.js +5 -0
  295. package/dist/ManageableList/jest.js +72 -0
  296. package/dist/ManageableList/vi.d.ts +33 -0
  297. package/dist/ManageableList/vi.js +66 -0
  298. package/dist/Mapping/index.d.ts +1 -0
  299. package/dist/Mapping/index.js +5 -0
  300. package/dist/Mapping/jest.js +21 -0
  301. package/dist/Mapping/vi.d.ts +12 -0
  302. package/dist/Mapping/vi.js +15 -0
  303. package/dist/Menu/index.d.ts +1 -0
  304. package/dist/Menu/index.js +5 -0
  305. package/dist/Menu/jest.js +94 -0
  306. package/dist/Menu/vi.d.ts +33 -0
  307. package/dist/Menu/vi.js +88 -0
  308. package/dist/MetricCard/index.d.ts +1 -0
  309. package/dist/MetricCard/index.js +5 -0
  310. package/dist/MetricCard/jest.js +23 -0
  311. package/dist/MetricCard/vi.d.ts +10 -0
  312. package/dist/MetricCard/vi.js +17 -0
  313. package/dist/Navbar/index.d.ts +1 -0
  314. package/dist/Navbar/index.js +5 -0
  315. package/dist/Navbar/jest.js +41 -0
  316. package/dist/Navbar/vi.d.ts +25 -0
  317. package/dist/Navbar/vi.js +35 -0
  318. package/dist/Operators/index.d.ts +1 -0
  319. package/dist/Operators/index.js +5 -0
  320. package/dist/Operators/jest.js +21 -0
  321. package/dist/Operators/vi.d.ts +15 -0
  322. package/dist/Operators/vi.js +15 -0
  323. package/dist/OrderedList/index.d.ts +1 -0
  324. package/dist/OrderedList/index.js +5 -0
  325. package/dist/OrderedList/jest.js +25 -0
  326. package/dist/OrderedList/vi.d.ts +10 -0
  327. package/dist/OrderedList/vi.js +19 -0
  328. package/dist/PageHeader/index.d.ts +1 -0
  329. package/dist/PageHeader/index.js +5 -0
  330. package/dist/PageHeader/jest.js +34 -0
  331. package/dist/PageHeader/vi.d.ts +6 -0
  332. package/dist/PageHeader/vi.js +28 -0
  333. package/dist/Pagination/index.d.ts +1 -0
  334. package/dist/Pagination/index.js +5 -0
  335. package/dist/Pagination/jest.js +28 -0
  336. package/dist/Pagination/vi.d.ts +10 -0
  337. package/dist/Pagination/vi.js +22 -0
  338. package/dist/Panel/index.d.ts +1 -0
  339. package/dist/Panel/index.js +5 -0
  340. package/dist/Panel/jest.js +21 -0
  341. package/dist/Panel/vi.d.ts +10 -0
  342. package/dist/Panel/vi.js +15 -0
  343. package/dist/PanelsResizer/index.d.ts +1 -0
  344. package/dist/PanelsResizer/index.js +5 -0
  345. package/dist/PanelsResizer/jest.js +21 -0
  346. package/dist/PanelsResizer/vi.d.ts +10 -0
  347. package/dist/PanelsResizer/vi.js +15 -0
  348. package/dist/Popconfirm/index.d.ts +1 -0
  349. package/dist/Popconfirm/index.js +5 -0
  350. package/dist/Popconfirm/jest.js +55 -0
  351. package/dist/Popconfirm/vi.d.ts +8 -0
  352. package/dist/Popconfirm/vi.js +49 -0
  353. package/dist/Popover/index.d.ts +1 -0
  354. package/dist/Popover/index.js +5 -0
  355. package/dist/Popover/jest.js +61 -0
  356. package/dist/Popover/vi.d.ts +28 -0
  357. package/dist/Popover/vi.js +55 -0
  358. package/dist/ProgressBar/index.d.ts +1 -0
  359. package/dist/ProgressBar/index.js +5 -0
  360. package/dist/ProgressBar/jest.js +62 -0
  361. package/dist/ProgressBar/vi.d.ts +20 -0
  362. package/dist/ProgressBar/vi.js +56 -0
  363. package/dist/Radio/index.d.ts +1 -0
  364. package/dist/Radio/index.js +5 -0
  365. package/dist/Radio/jest.js +77 -0
  366. package/dist/Radio/vi.d.ts +25 -0
  367. package/dist/Radio/vi.js +71 -0
  368. package/dist/Result/index.d.ts +1 -0
  369. package/dist/Result/index.js +5 -0
  370. package/dist/Result/jest.js +33 -0
  371. package/dist/Result/vi.d.ts +6 -0
  372. package/dist/Result/vi.js +27 -0
  373. package/dist/Search/index.d.ts +1 -0
  374. package/dist/Search/index.js +5 -0
  375. package/dist/Search/jest.js +85 -0
  376. package/dist/Search/vi.d.ts +37 -0
  377. package/dist/Search/vi.js +79 -0
  378. package/dist/SearchBar/index.d.ts +1 -0
  379. package/dist/SearchBar/index.js +5 -0
  380. package/dist/SearchBar/jest.js +30 -0
  381. package/dist/SearchBar/vi.d.ts +16 -0
  382. package/dist/SearchBar/vi.js +24 -0
  383. package/dist/SectionMessage/index.d.ts +1 -0
  384. package/dist/SectionMessage/index.js +5 -0
  385. package/dist/SectionMessage/jest.js +23 -0
  386. package/dist/SectionMessage/vi.d.ts +10 -0
  387. package/dist/SectionMessage/vi.js +17 -0
  388. package/dist/ShortCuts/index.d.ts +1 -0
  389. package/dist/ShortCuts/index.js +5 -0
  390. package/dist/ShortCuts/jest.js +21 -0
  391. package/dist/ShortCuts/vi.d.ts +10 -0
  392. package/dist/ShortCuts/vi.js +15 -0
  393. package/dist/Sidebar/index.d.ts +1 -0
  394. package/dist/Sidebar/index.js +4 -0
  395. package/dist/Sidebar/jest.js +29 -0
  396. package/dist/Sidebar/vi.d.ts +15 -0
  397. package/dist/Sidebar/vi.js +26 -0
  398. package/dist/SidebarObject/index.d.ts +1 -0
  399. package/dist/SidebarObject/index.js +5 -0
  400. package/dist/SidebarObject/jest.js +21 -0
  401. package/dist/SidebarObject/vi.d.ts +10 -0
  402. package/dist/SidebarObject/vi.js +15 -0
  403. package/dist/Skeleton/index.d.ts +1 -0
  404. package/dist/Skeleton/index.js +5 -0
  405. package/dist/Skeleton/jest.js +41 -0
  406. package/dist/Skeleton/vi.d.ts +14 -0
  407. package/dist/Skeleton/vi.js +35 -0
  408. package/dist/Slider/index.d.ts +1 -0
  409. package/dist/Slider/index.js +5 -0
  410. package/dist/Slider/jest.js +36 -0
  411. package/dist/Slider/vi.d.ts +25 -0
  412. package/dist/Slider/vi.js +30 -0
  413. package/dist/Sortable/index.d.ts +1 -0
  414. package/dist/Sortable/index.js +5 -0
  415. package/dist/Sortable/jest.js +49 -0
  416. package/dist/Sortable/vi.d.ts +22 -0
  417. package/dist/Sortable/vi.js +43 -0
  418. package/dist/Status/index.d.ts +1 -0
  419. package/dist/Status/index.js +5 -0
  420. package/dist/Status/jest.js +23 -0
  421. package/dist/Status/vi.d.ts +10 -0
  422. package/dist/Status/vi.js +17 -0
  423. package/dist/StepCard/index.d.ts +1 -0
  424. package/dist/StepCard/index.js +5 -0
  425. package/dist/StepCard/jest.js +25 -0
  426. package/dist/StepCard/vi.d.ts +10 -0
  427. package/dist/StepCard/vi.js +19 -0
  428. package/dist/Stepper/index.d.ts +1 -0
  429. package/dist/Stepper/index.js +5 -0
  430. package/dist/Stepper/jest.js +51 -0
  431. package/dist/Stepper/vi.d.ts +25 -0
  432. package/dist/Stepper/vi.js +45 -0
  433. package/dist/Subject/index.d.ts +1 -0
  434. package/dist/Subject/index.js +5 -0
  435. package/dist/Subject/jest.js +24 -0
  436. package/dist/Subject/vi.d.ts +10 -0
  437. package/dist/Subject/vi.js +18 -0
  438. package/dist/SubtleForm/index.d.ts +1 -0
  439. package/dist/SubtleForm/index.js +4 -0
  440. package/dist/SubtleForm/jest.js +35 -0
  441. package/dist/SubtleForm/vi.d.ts +14 -0
  442. package/dist/SubtleForm/vi.js +32 -0
  443. package/dist/Switch/index.d.ts +1 -0
  444. package/dist/Switch/index.js +5 -0
  445. package/dist/Switch/jest.js +37 -0
  446. package/dist/Switch/vi.d.ts +12 -0
  447. package/dist/Switch/vi.js +31 -0
  448. package/dist/TableNew/index.d.ts +1 -0
  449. package/dist/TableNew/index.js +5 -0
  450. package/dist/TableNew/jest.js +29 -0
  451. package/dist/TableNew/vi.d.ts +18 -0
  452. package/dist/TableNew/vi.js +23 -0
  453. package/dist/Tag/index.d.ts +1 -0
  454. package/dist/Tag/index.js +5 -0
  455. package/dist/Tag/jest.js +52 -0
  456. package/dist/Tag/vi.d.ts +28 -0
  457. package/dist/Tag/vi.js +46 -0
  458. package/dist/Tags/index.d.ts +1 -0
  459. package/dist/Tags/index.js +5 -0
  460. package/dist/Tags/jest.js +59 -0
  461. package/dist/Tags/vi.d.ts +37 -0
  462. package/dist/Tags/vi.js +53 -0
  463. package/dist/TimePicker/index.d.ts +1 -0
  464. package/dist/TimePicker/index.js +5 -0
  465. package/dist/TimePicker/jest.js +30 -0
  466. package/dist/TimePicker/vi.d.ts +24 -0
  467. package/dist/TimePicker/vi.js +24 -0
  468. package/dist/Toast/index.d.ts +1 -0
  469. package/dist/Toast/index.js +5 -0
  470. package/dist/Toast/jest.js +66 -0
  471. package/dist/Toast/vi.d.ts +35 -0
  472. package/dist/Toast/vi.js +60 -0
  473. package/dist/Toolbar/index.d.ts +1 -0
  474. package/dist/Toolbar/index.js +5 -0
  475. package/dist/Toolbar/jest.js +45 -0
  476. package/dist/Toolbar/vi.d.ts +33 -0
  477. package/dist/Toolbar/vi.js +39 -0
  478. package/dist/Tray/index.d.ts +1 -0
  479. package/dist/Tray/index.js +5 -0
  480. package/dist/Tray/jest.js +52 -0
  481. package/dist/Tray/vi.d.ts +29 -0
  482. package/dist/Tray/vi.js +46 -0
  483. package/dist/Typography/index.d.ts +1 -0
  484. package/dist/Typography/index.js +5 -0
  485. package/dist/Typography/jest.js +65 -0
  486. package/dist/Typography/vi.d.ts +20 -0
  487. package/dist/Typography/vi.js +59 -0
  488. package/dist/UnorderedList/index.d.ts +1 -0
  489. package/dist/UnorderedList/index.js +5 -0
  490. package/dist/UnorderedList/jest.js +25 -0
  491. package/dist/UnorderedList/vi.d.ts +10 -0
  492. package/dist/UnorderedList/vi.js +19 -0
  493. package/dist/Wizard/index.d.ts +1 -0
  494. package/dist/Wizard/index.js +5 -0
  495. package/dist/Wizard/jest.js +58 -0
  496. package/dist/Wizard/vi.d.ts +25 -0
  497. package/dist/Wizard/vi.js +52 -0
  498. package/dist/index.d.ts +99 -0
  499. package/dist/index.js +294 -1
  500. package/dist/jest.js +294 -1
  501. package/package.json +45 -45
@@ -0,0 +1,5 @@
1
+ import { radioMinimalMockFactory, radioMockFactory } from "./vi.js";
2
+ export {
3
+ radioMinimalMockFactory,
4
+ radioMockFactory
5
+ };
@@ -0,0 +1,77 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ const mockRadio = () => {
3
+ jest.mock("@synerise/ds-radio", () => {
4
+ const Group = jest.fn(({
5
+ children,
6
+ options,
7
+ value,
8
+ onChange,
9
+ disabled,
10
+ fullWidth,
11
+ "data-testid": dataTestId
12
+ }) => {
13
+ const testId = dataTestId || "ds-radio-group";
14
+ return /* @__PURE__ */ jsx("div", { "data-testid": testId, className: "ds-radio-group", "data-full-width": fullWidth, children: options ? options.map((opt, i) => {
15
+ const optValue = typeof opt === "string" ? opt : opt.value;
16
+ const optLabel = typeof opt === "string" ? opt : opt.label;
17
+ return /* @__PURE__ */ jsxs("label", { "data-testid": `${testId}-option-${i}`, children: [
18
+ /* @__PURE__ */ jsx("input", { type: "radio", checked: value === optValue, disabled, onChange: () => onChange?.({
19
+ target: {
20
+ value: optValue
21
+ }
22
+ }) }),
23
+ optLabel
24
+ ] }, i);
25
+ }) : children });
26
+ });
27
+ const Button = jest.fn(({
28
+ children,
29
+ value,
30
+ disabled,
31
+ "data-testid": dataTestId
32
+ }) => /* @__PURE__ */ jsx("button", { "data-testid": dataTestId || "ds-radio-button", "data-value": value, disabled, children }));
33
+ const Radio = Object.assign(jest.fn(({
34
+ children,
35
+ className,
36
+ checked,
37
+ disabled,
38
+ value,
39
+ label,
40
+ description,
41
+ onChange,
42
+ "data-testid": dataTestId
43
+ }) => {
44
+ const testId = dataTestId || "ds-radio";
45
+ return /* @__PURE__ */ jsxs("div", { className: `ds-radio ${className || ""}`, "data-testid": testId, children: [
46
+ /* @__PURE__ */ jsxs("label", { children: [
47
+ /* @__PURE__ */ jsx("input", { type: "radio", checked, disabled, value, onChange }),
48
+ label || children
49
+ ] }),
50
+ description && /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-description`, children: description })
51
+ ] });
52
+ }), {
53
+ Group,
54
+ Button
55
+ });
56
+ return {
57
+ __esModule: true,
58
+ default: Radio
59
+ };
60
+ });
61
+ };
62
+ const mockRadioMinimal = () => {
63
+ jest.mock("@synerise/ds-radio", () => {
64
+ const Radio = Object.assign(jest.fn(() => null), {
65
+ Group: jest.fn(() => null),
66
+ Button: jest.fn(() => null)
67
+ });
68
+ return {
69
+ __esModule: true,
70
+ default: Radio
71
+ };
72
+ });
73
+ };
74
+ export {
75
+ mockRadio,
76
+ mockRadioMinimal
77
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Factory function for Radio mock.
3
+ * Use directly with vi.mock() to avoid hoisting issues.
4
+ *
5
+ * @example
6
+ * ```typescript
7
+ * import { radioMockFactory } from '@synerise/ds-mocks/Radio/vi';
8
+ *
9
+ * vi.mock('@synerise/ds-radio', radioMockFactory);
10
+ * ```
11
+ */
12
+ export declare const radioMockFactory: () => {
13
+ default: any;
14
+ };
15
+ /**
16
+ * Factory function for minimal Radio mock.
17
+ *
18
+ * @example
19
+ * ```typescript
20
+ * vi.mock('@synerise/ds-radio', radioMinimalMockFactory);
21
+ * ```
22
+ */
23
+ export declare const radioMinimalMockFactory: () => {
24
+ default: any;
25
+ };
@@ -0,0 +1,71 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ const radioMockFactory = () => {
3
+ const Group = vi.fn(({
4
+ children,
5
+ options,
6
+ value,
7
+ onChange,
8
+ disabled,
9
+ fullWidth,
10
+ "data-testid": dataTestId
11
+ }) => {
12
+ const testId = dataTestId || "ds-radio-group";
13
+ return /* @__PURE__ */ jsx("div", { "data-testid": testId, className: "ds-radio-group", "data-full-width": fullWidth, children: options ? options.map((opt, i) => {
14
+ const optValue = typeof opt === "string" ? opt : opt.value;
15
+ const optLabel = typeof opt === "string" ? opt : opt.label;
16
+ return /* @__PURE__ */ jsxs("label", { "data-testid": `${testId}-option-${i}`, children: [
17
+ /* @__PURE__ */ jsx("input", { type: "radio", checked: value === optValue, disabled, onChange: () => onChange?.({
18
+ target: {
19
+ value: optValue
20
+ }
21
+ }) }),
22
+ optLabel
23
+ ] }, i);
24
+ }) : children });
25
+ });
26
+ const Button = vi.fn(({
27
+ children,
28
+ value,
29
+ disabled,
30
+ "data-testid": dataTestId
31
+ }) => /* @__PURE__ */ jsx("button", { "data-testid": dataTestId || "ds-radio-button", "data-value": value, disabled, children }));
32
+ const Radio = Object.assign(vi.fn(({
33
+ children,
34
+ className,
35
+ checked,
36
+ disabled,
37
+ value,
38
+ label,
39
+ description,
40
+ onChange,
41
+ "data-testid": dataTestId
42
+ }) => {
43
+ const testId = dataTestId || "ds-radio";
44
+ return /* @__PURE__ */ jsxs("div", { className: `ds-radio ${className || ""}`, "data-testid": testId, children: [
45
+ /* @__PURE__ */ jsxs("label", { children: [
46
+ /* @__PURE__ */ jsx("input", { type: "radio", checked, disabled, value, onChange }),
47
+ label || children
48
+ ] }),
49
+ description && /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-description`, children: description })
50
+ ] });
51
+ }), {
52
+ Group,
53
+ Button
54
+ });
55
+ return {
56
+ default: Radio
57
+ };
58
+ };
59
+ const radioMinimalMockFactory = () => {
60
+ const Radio = Object.assign(vi.fn(() => null), {
61
+ Group: vi.fn(() => null),
62
+ Button: vi.fn(() => null)
63
+ });
64
+ return {
65
+ default: Radio
66
+ };
67
+ };
68
+ export {
69
+ radioMinimalMockFactory,
70
+ radioMockFactory
71
+ };
@@ -0,0 +1 @@
1
+ export * from './vi';
@@ -0,0 +1,5 @@
1
+ import { resultMinimalMockFactory, resultMockFactory } from "./vi.js";
2
+ export {
3
+ resultMinimalMockFactory,
4
+ resultMockFactory
5
+ };
@@ -0,0 +1,33 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const mockResult = () => {
3
+ jest.mock("@synerise/ds-result", () => ({
4
+ __esModule: true,
5
+ default: jest.fn(({
6
+ children,
7
+ className,
8
+ title,
9
+ description,
10
+ type,
11
+ noSearchResults,
12
+ panel,
13
+ "data-testid": dataTestId
14
+ }) => {
15
+ const testId = dataTestId || "ds-result";
16
+ return /* @__PURE__ */ jsxs("div", { className: `ds-result ${className || ""}`, "data-testid": testId, "data-type": type, "data-no-search-results": noSearchResults, "data-panel": panel, children: [
17
+ title && /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-title`, children: title }),
18
+ description && /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-description`, children: description }),
19
+ children
20
+ ] });
21
+ })
22
+ }));
23
+ };
24
+ const mockResultMinimal = () => {
25
+ jest.mock("@synerise/ds-result", () => ({
26
+ __esModule: true,
27
+ default: jest.fn(() => null)
28
+ }));
29
+ };
30
+ export {
31
+ mockResult,
32
+ mockResultMinimal
33
+ };
@@ -0,0 +1,6 @@
1
+ export declare const resultMockFactory: () => {
2
+ default: any;
3
+ };
4
+ export declare const resultMinimalMockFactory: () => {
5
+ default: any;
6
+ };
@@ -0,0 +1,27 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const resultMockFactory = () => ({
3
+ default: vi.fn(({
4
+ children,
5
+ className,
6
+ title,
7
+ description,
8
+ type,
9
+ noSearchResults,
10
+ panel,
11
+ "data-testid": dataTestId
12
+ }) => {
13
+ const testId = dataTestId || "ds-result";
14
+ return /* @__PURE__ */ jsxs("div", { className: `ds-result ${className || ""}`, "data-testid": testId, "data-type": type, "data-no-search-results": noSearchResults, "data-panel": panel, children: [
15
+ title && /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-title`, children: title }),
16
+ description && /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-description`, children: description }),
17
+ children
18
+ ] });
19
+ })
20
+ });
21
+ const resultMinimalMockFactory = () => ({
22
+ default: vi.fn(() => null)
23
+ });
24
+ export {
25
+ resultMinimalMockFactory,
26
+ resultMockFactory
27
+ };
@@ -0,0 +1 @@
1
+ export * from './vi';
@@ -0,0 +1,5 @@
1
+ import { searchMinimalMockFactory, searchMockFactory } from "./vi.js";
2
+ export {
3
+ searchMinimalMockFactory,
4
+ searchMockFactory
5
+ };
@@ -0,0 +1,85 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ const mockSearch = () => {
3
+ jest.mock("@synerise/ds-search", () => ({
4
+ __esModule: true,
5
+ default: jest.fn(({
6
+ className,
7
+ value,
8
+ placeholder,
9
+ onValueChange,
10
+ onClear,
11
+ parameters,
12
+ recent,
13
+ suggestions,
14
+ textLookupConfig,
15
+ "data-testid": dataTestId
16
+ }) => {
17
+ const testId = dataTestId || "ds-search";
18
+ const textKey = textLookupConfig?.parameters || "text";
19
+ return /* @__PURE__ */ jsxs("div", { className: `ds-search ${className || ""}`, "data-testid": testId, children: [
20
+ /* @__PURE__ */ jsx("input", { "data-testid": `${testId}-input`, value, placeholder, onChange: (e) => onValueChange?.(e.target.value) }),
21
+ value && /* @__PURE__ */ jsx("button", { "data-testid": `${testId}-clear`, onClick: onClear, children: "Clear" }),
22
+ parameters && parameters.length > 0 && /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-parameters`, children: parameters.map((param, i) => /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-parameter-${i}`, children: param[textKey] || param.text || String(param) }, i)) }),
23
+ recent && recent.length > 0 && /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-recent`, children: recent.map((item, i) => /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-recent-${i}`, children: item[textLookupConfig?.recent || "text"] || String(item) }, i)) }),
24
+ suggestions && suggestions.length > 0 && /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-suggestions`, children: suggestions.map((item, i) => /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-suggestion-${i}`, children: item[textLookupConfig?.suggestions || "text"] || String(item) }, i)) })
25
+ ] });
26
+ }),
27
+ SearchInput: jest.fn(({
28
+ value,
29
+ onChange,
30
+ onClear,
31
+ placeholder,
32
+ disabled,
33
+ clearTooltip,
34
+ "data-testid": dataTestId
35
+ }) => {
36
+ const testId = dataTestId || "ds-search-input";
37
+ return /* @__PURE__ */ jsxs("div", { "data-testid": testId, children: [
38
+ /* @__PURE__ */ jsx("input", { "data-testid": `${testId}-field`, value, placeholder, disabled, onChange: (e) => onChange?.(e.target.value) }),
39
+ value && /* @__PURE__ */ jsx("button", { "data-testid": `${testId}-clear`, onClick: onClear, children: clearTooltip || "Clear" })
40
+ ] });
41
+ }),
42
+ SearchHeader: jest.fn(({
43
+ headerText,
44
+ tooltip,
45
+ "data-testid": dataTestId
46
+ }) => /* @__PURE__ */ jsxs("div", { "data-testid": dataTestId || "ds-search-header", children: [
47
+ headerText,
48
+ tooltip && /* @__PURE__ */ jsx("span", { "data-testid": "ds-search-header-tooltip", children: tooltip })
49
+ ] })),
50
+ SearchItems: jest.fn(({
51
+ data,
52
+ itemRender,
53
+ onItemClick,
54
+ "data-testid": dataTestId
55
+ }) => /* @__PURE__ */ jsx("div", { "data-testid": dataTestId || "ds-search-items", children: data?.map((item, i) => /* @__PURE__ */ jsx("div", { "data-testid": `ds-search-item-${i}`, className: "ds-search-item", onClick: () => onItemClick?.(item), children: itemRender ? itemRender(item) : String(item) }, i)) })),
56
+ SearchItemList: jest.fn(({
57
+ data,
58
+ itemRender,
59
+ onItemClick,
60
+ "data-testid": dataTestId
61
+ }) => /* @__PURE__ */ jsx("div", { "data-testid": dataTestId || "ds-search-items", children: data?.map((item, i) => /* @__PURE__ */ jsx("div", { "data-testid": `ds-search-item-${i}`, className: "ds-search-item", onClick: () => onItemClick?.(item), children: itemRender ? itemRender(item) : String(item) }, i)) })),
62
+ SearchButton: jest.fn(({
63
+ onClick,
64
+ disabled,
65
+ "data-testid": dataTestId
66
+ }) => /* @__PURE__ */ jsx("button", { "data-testid": dataTestId || "ds-search-button", onClick, disabled, children: "Search" })),
67
+ renderSearchList: jest.fn(() => null)
68
+ }));
69
+ };
70
+ const mockSearchMinimal = () => {
71
+ jest.mock("@synerise/ds-search", () => ({
72
+ __esModule: true,
73
+ default: jest.fn(() => null),
74
+ SearchInput: jest.fn(() => null),
75
+ SearchHeader: jest.fn(() => null),
76
+ SearchItems: jest.fn(() => null),
77
+ SearchItemList: jest.fn(() => null),
78
+ SearchButton: jest.fn(() => null),
79
+ renderSearchList: jest.fn(() => null)
80
+ }));
81
+ };
82
+ export {
83
+ mockSearch,
84
+ mockSearchMinimal
85
+ };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Factory function for Search mock with all sub-components.
3
+ * Use directly with vi.mock() to avoid hoisting issues.
4
+ *
5
+ * @example
6
+ * ```typescript
7
+ * import { searchMockFactory } from '@synerise/ds-mocks/Search/vi';
8
+ *
9
+ * vi.mock('@synerise/ds-search', searchMockFactory);
10
+ * ```
11
+ */
12
+ export declare const searchMockFactory: () => {
13
+ default: any;
14
+ SearchInput: any;
15
+ SearchHeader: any;
16
+ SearchItems: any;
17
+ SearchItemList: any;
18
+ SearchButton: any;
19
+ renderSearchList: any;
20
+ };
21
+ /**
22
+ * Factory function for minimal Search mock.
23
+ *
24
+ * @example
25
+ * ```typescript
26
+ * vi.mock('@synerise/ds-search', searchMinimalMockFactory);
27
+ * ```
28
+ */
29
+ export declare const searchMinimalMockFactory: () => {
30
+ default: any;
31
+ SearchInput: any;
32
+ SearchHeader: any;
33
+ SearchItems: any;
34
+ SearchItemList: any;
35
+ SearchButton: any;
36
+ renderSearchList: any;
37
+ };
@@ -0,0 +1,79 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ const searchMockFactory = () => ({
3
+ default: vi.fn(({
4
+ className,
5
+ value,
6
+ placeholder,
7
+ onValueChange,
8
+ onClear,
9
+ parameters,
10
+ recent,
11
+ suggestions,
12
+ textLookupConfig,
13
+ "data-testid": dataTestId
14
+ }) => {
15
+ const testId = dataTestId || "ds-search";
16
+ const textKey = textLookupConfig?.parameters || "text";
17
+ return /* @__PURE__ */ jsxs("div", { className: `ds-search ${className || ""}`, "data-testid": testId, children: [
18
+ /* @__PURE__ */ jsx("input", { "data-testid": `${testId}-input`, value, placeholder, onChange: (e) => onValueChange?.(e.target.value) }),
19
+ value && /* @__PURE__ */ jsx("button", { "data-testid": `${testId}-clear`, onClick: onClear, children: "Clear" }),
20
+ parameters && parameters.length > 0 && /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-parameters`, children: parameters.map((param, i) => /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-parameter-${i}`, children: param[textKey] || param.text || String(param) }, i)) }),
21
+ recent && recent.length > 0 && /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-recent`, children: recent.map((item, i) => /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-recent-${i}`, children: item[textLookupConfig?.recent || "text"] || String(item) }, i)) }),
22
+ suggestions && suggestions.length > 0 && /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-suggestions`, children: suggestions.map((item, i) => /* @__PURE__ */ jsx("div", { "data-testid": `${testId}-suggestion-${i}`, children: item[textLookupConfig?.suggestions || "text"] || String(item) }, i)) })
23
+ ] });
24
+ }),
25
+ SearchInput: vi.fn(({
26
+ value,
27
+ onChange,
28
+ onClear,
29
+ placeholder,
30
+ disabled,
31
+ clearTooltip,
32
+ "data-testid": dataTestId
33
+ }) => {
34
+ const testId = dataTestId || "ds-search-input";
35
+ return /* @__PURE__ */ jsxs("div", { "data-testid": testId, children: [
36
+ /* @__PURE__ */ jsx("input", { "data-testid": `${testId}-field`, value, placeholder, disabled, onChange: (e) => onChange?.(e.target.value) }),
37
+ value && /* @__PURE__ */ jsx("button", { "data-testid": `${testId}-clear`, onClick: onClear, children: clearTooltip || "Clear" })
38
+ ] });
39
+ }),
40
+ SearchHeader: vi.fn(({
41
+ headerText,
42
+ tooltip,
43
+ "data-testid": dataTestId
44
+ }) => /* @__PURE__ */ jsxs("div", { "data-testid": dataTestId || "ds-search-header", children: [
45
+ headerText,
46
+ tooltip && /* @__PURE__ */ jsx("span", { "data-testid": "ds-search-header-tooltip", children: tooltip })
47
+ ] })),
48
+ SearchItems: vi.fn(({
49
+ data,
50
+ itemRender,
51
+ onItemClick,
52
+ "data-testid": dataTestId
53
+ }) => /* @__PURE__ */ jsx("div", { "data-testid": dataTestId || "ds-search-items", children: data?.map((item, i) => /* @__PURE__ */ jsx("div", { "data-testid": `ds-search-item-${i}`, className: "ds-search-item", onClick: () => onItemClick?.(item), children: itemRender ? itemRender(item) : String(item) }, i)) })),
54
+ SearchItemList: vi.fn(({
55
+ data,
56
+ itemRender,
57
+ onItemClick,
58
+ "data-testid": dataTestId
59
+ }) => /* @__PURE__ */ jsx("div", { "data-testid": dataTestId || "ds-search-items", children: data?.map((item, i) => /* @__PURE__ */ jsx("div", { "data-testid": `ds-search-item-${i}`, className: "ds-search-item", onClick: () => onItemClick?.(item), children: itemRender ? itemRender(item) : String(item) }, i)) })),
60
+ SearchButton: vi.fn(({
61
+ onClick,
62
+ disabled,
63
+ "data-testid": dataTestId
64
+ }) => /* @__PURE__ */ jsx("button", { "data-testid": dataTestId || "ds-search-button", onClick, disabled, children: "Search" })),
65
+ renderSearchList: vi.fn(() => null)
66
+ });
67
+ const searchMinimalMockFactory = () => ({
68
+ default: vi.fn(() => null),
69
+ SearchInput: vi.fn(() => null),
70
+ SearchHeader: vi.fn(() => null),
71
+ SearchItems: vi.fn(() => null),
72
+ SearchItemList: vi.fn(() => null),
73
+ SearchButton: vi.fn(() => null),
74
+ renderSearchList: vi.fn(() => null)
75
+ });
76
+ export {
77
+ searchMinimalMockFactory,
78
+ searchMockFactory
79
+ };
@@ -0,0 +1 @@
1
+ export * from './vi';
@@ -0,0 +1,5 @@
1
+ import { searchBarMinimalMockFactory, searchBarMockFactory } from "./vi.js";
2
+ export {
3
+ searchBarMinimalMockFactory,
4
+ searchBarMockFactory
5
+ };
@@ -0,0 +1,30 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const mockSearchBar = () => {
3
+ jest.mock("@synerise/ds-search-bar", () => ({
4
+ __esModule: true,
5
+ default: jest.fn(({
6
+ className,
7
+ placeholder,
8
+ value,
9
+ onSearchChange,
10
+ onClearInput,
11
+ "data-testid": dataTestId
12
+ }) => {
13
+ const testId = dataTestId || "ds-search-bar";
14
+ return /* @__PURE__ */ jsxs("div", { className: `ds-search-bar ${className || ""}`, "data-testid": testId, children: [
15
+ /* @__PURE__ */ jsx("input", { "data-testid": `${testId}-input`, placeholder, value, onChange: (e) => onSearchChange?.(e.target.value) }),
16
+ value && /* @__PURE__ */ jsx("button", { "data-testid": `${testId}-clear`, onClick: onClearInput, children: "Clear" })
17
+ ] });
18
+ })
19
+ }));
20
+ };
21
+ const mockSearchBarMinimal = () => {
22
+ jest.mock("@synerise/ds-search-bar", () => ({
23
+ __esModule: true,
24
+ default: jest.fn(() => null)
25
+ }));
26
+ };
27
+ export {
28
+ mockSearchBar,
29
+ mockSearchBarMinimal
30
+ };
@@ -0,0 +1,16 @@
1
+ import { default as React } from 'react';
2
+ export type MockSearchBarProps = {
3
+ children?: React.ReactNode;
4
+ className?: string;
5
+ placeholder?: string;
6
+ value?: string;
7
+ onSearchChange?: (value: string) => void;
8
+ onClearInput?: () => void;
9
+ 'data-testid'?: string;
10
+ };
11
+ export declare const searchBarMockFactory: () => {
12
+ default: any;
13
+ };
14
+ export declare const searchBarMinimalMockFactory: () => {
15
+ default: any;
16
+ };
@@ -0,0 +1,24 @@
1
+ import { jsxs, jsx } from "react/jsx-runtime";
2
+ const searchBarMockFactory = () => ({
3
+ default: vi.fn(({
4
+ className,
5
+ placeholder,
6
+ value,
7
+ onSearchChange,
8
+ onClearInput,
9
+ "data-testid": dataTestId
10
+ }) => {
11
+ const testId = dataTestId || "ds-search-bar";
12
+ return /* @__PURE__ */ jsxs("div", { className: `ds-search-bar ${className || ""}`, "data-testid": testId, children: [
13
+ /* @__PURE__ */ jsx("input", { "data-testid": `${testId}-input`, placeholder, value, onChange: (e) => onSearchChange?.(e.target.value) }),
14
+ value && /* @__PURE__ */ jsx("button", { "data-testid": `${testId}-clear`, onClick: onClearInput, children: "Clear" })
15
+ ] });
16
+ })
17
+ });
18
+ const searchBarMinimalMockFactory = () => ({
19
+ default: vi.fn(() => null)
20
+ });
21
+ export {
22
+ searchBarMinimalMockFactory,
23
+ searchBarMockFactory
24
+ };
@@ -0,0 +1 @@
1
+ export * from './vi';
@@ -0,0 +1,5 @@
1
+ import { sectionMessageMinimalMockFactory, sectionMessageMockFactory } from "./vi.js";
2
+ export {
3
+ sectionMessageMinimalMockFactory,
4
+ sectionMessageMockFactory
5
+ };
@@ -0,0 +1,23 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const mockSectionMessage = () => {
3
+ jest.mock("@synerise/ds-section-message", () => ({
4
+ __esModule: true,
5
+ default: jest.fn(({
6
+ children,
7
+ className,
8
+ type,
9
+ message,
10
+ "data-testid": dataTestId
11
+ }) => /* @__PURE__ */ jsx("div", { className: `ds-section-message ${className || ""}`, "data-testid": dataTestId || "ds-section-message", "data-type": type, "data-message": message, children }))
12
+ }));
13
+ };
14
+ const mockSectionMessageMinimal = () => {
15
+ jest.mock("@synerise/ds-section-message", () => ({
16
+ __esModule: true,
17
+ default: jest.fn(() => null)
18
+ }));
19
+ };
20
+ export {
21
+ mockSectionMessage,
22
+ mockSectionMessageMinimal
23
+ };
@@ -0,0 +1,10 @@
1
+ import { SectionMessageProps } from '@synerise/ds-section-message';
2
+ export type MockSectionMessageProps = SectionMessageProps & {
3
+ 'data-testid'?: string;
4
+ };
5
+ export declare const sectionMessageMockFactory: () => {
6
+ default: any;
7
+ };
8
+ export declare const sectionMessageMinimalMockFactory: () => {
9
+ default: any;
10
+ };
@@ -0,0 +1,17 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const sectionMessageMockFactory = () => ({
3
+ default: vi.fn(({
4
+ children,
5
+ className,
6
+ type,
7
+ message,
8
+ "data-testid": dataTestId
9
+ }) => /* @__PURE__ */ jsx("div", { className: `ds-section-message ${className || ""}`, "data-testid": dataTestId || "ds-section-message", "data-type": type, "data-message": message, children }))
10
+ });
11
+ const sectionMessageMinimalMockFactory = () => ({
12
+ default: vi.fn(() => null)
13
+ });
14
+ export {
15
+ sectionMessageMinimalMockFactory,
16
+ sectionMessageMockFactory
17
+ };
@@ -0,0 +1 @@
1
+ export * from './vi';
@@ -0,0 +1,5 @@
1
+ import { shortCutsMinimalMockFactory, shortCutsMockFactory } from "./vi.js";
2
+ export {
3
+ shortCutsMinimalMockFactory,
4
+ shortCutsMockFactory
5
+ };
@@ -0,0 +1,21 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const mockShortCuts = () => {
3
+ jest.mock("@synerise/ds-short-cuts", () => ({
4
+ __esModule: true,
5
+ default: jest.fn(({
6
+ children,
7
+ className,
8
+ "data-testid": dataTestId
9
+ }) => /* @__PURE__ */ jsx("div", { className: `ds-short-cuts ${className || ""}`, "data-testid": dataTestId || "ds-short-cuts", children }))
10
+ }));
11
+ };
12
+ const mockShortCutsMinimal = () => {
13
+ jest.mock("@synerise/ds-short-cuts", () => ({
14
+ __esModule: true,
15
+ default: jest.fn(() => null)
16
+ }));
17
+ };
18
+ export {
19
+ mockShortCuts,
20
+ mockShortCutsMinimal
21
+ };