@gisce/react-ooui 1.5.2-alpha.1 → 1.5.2-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/dist/ConnectionProvider.d.ts +7 -0
  2. package/dist/ConnectionProvider.d.ts.map +1 -0
  3. package/dist/actionbar/ActionButton.d.ts +13 -0
  4. package/dist/actionbar/ActionButton.d.ts.map +1 -0
  5. package/dist/actionbar/AttachmentsButton.d.ts +12 -0
  6. package/dist/actionbar/AttachmentsButton.d.ts.map +1 -0
  7. package/dist/actionbar/AttachmentsButtonWrapper.d.ts +19 -0
  8. package/dist/actionbar/AttachmentsButtonWrapper.d.ts.map +1 -0
  9. package/dist/actionbar/ButtonWithBadge.d.ts +8 -0
  10. package/dist/actionbar/ButtonWithBadge.d.ts.map +1 -0
  11. package/dist/actionbar/ChangeViewButton.d.ts +13 -0
  12. package/dist/actionbar/ChangeViewButton.d.ts.map +1 -0
  13. package/dist/actionbar/DashboardActionBar.d.ts +4 -0
  14. package/dist/actionbar/DashboardActionBar.d.ts.map +1 -0
  15. package/dist/actionbar/DropdownButton.d.ts +12 -0
  16. package/dist/actionbar/DropdownButton.d.ts.map +1 -0
  17. package/dist/actionbar/FormActionBar.d.ts +6 -0
  18. package/dist/actionbar/FormActionBar.d.ts.map +1 -0
  19. package/dist/actionbar/GraphActionBar.d.ts +6 -0
  20. package/dist/actionbar/GraphActionBar.d.ts.map +1 -0
  21. package/dist/actionbar/NewButton.d.ts +7 -0
  22. package/dist/actionbar/NewButton.d.ts.map +1 -0
  23. package/dist/actionbar/SearchBar.d.ts +9 -0
  24. package/dist/actionbar/SearchBar.d.ts.map +1 -0
  25. package/dist/actionbar/TreeActionBar.d.ts +9 -0
  26. package/dist/actionbar/TreeActionBar.d.ts.map +1 -0
  27. package/dist/common/ButtonWithTooltip.d.ts +8 -0
  28. package/dist/common/ButtonWithTooltip.d.ts.map +1 -0
  29. package/dist/common/DatePicker.d.ts +20 -0
  30. package/dist/common/DatePicker.d.ts.map +1 -0
  31. package/dist/common/Field.d.ts +14 -0
  32. package/dist/common/Field.d.ts.map +1 -0
  33. package/dist/common/SelectAllRecordsRow.d.ts +10 -0
  34. package/dist/common/SelectAllRecordsRow.d.ts.map +1 -0
  35. package/dist/context/ActionViewContext.d.ts +65 -0
  36. package/dist/context/ActionViewContext.d.ts.map +1 -0
  37. package/dist/context/ConfigContext.d.ts +7 -0
  38. package/dist/context/ConfigContext.d.ts.map +1 -0
  39. package/dist/context/ContentRootContext.d.ts +19 -0
  40. package/dist/context/ContentRootContext.d.ts.map +1 -0
  41. package/dist/context/DashboardActionContext.d.ts +19 -0
  42. package/dist/context/DashboardActionContext.d.ts.map +1 -0
  43. package/dist/context/FormContext.d.ts +35 -0
  44. package/dist/context/FormContext.d.ts.map +1 -0
  45. package/dist/context/FormModalContext.d.ts +11 -0
  46. package/dist/context/FormModalContext.d.ts.map +1 -0
  47. package/dist/context/LocaleContext.d.ts +14 -0
  48. package/dist/context/LocaleContext.d.ts.map +1 -0
  49. package/dist/context/One2manyContext.d.ts +17 -0
  50. package/dist/context/One2manyContext.d.ts.map +1 -0
  51. package/dist/context/TabManagerContext.d.ts +50 -0
  52. package/dist/context/TabManagerContext.d.ts.map +1 -0
  53. package/dist/helpers/containerHelper.d.ts +22 -0
  54. package/dist/helpers/containerHelper.d.ts.map +1 -0
  55. package/dist/helpers/dynamicColumnsHelper.d.ts +8 -0
  56. package/dist/helpers/dynamicColumnsHelper.d.ts.map +1 -0
  57. package/dist/helpers/errorHelper.d.ts +6 -0
  58. package/dist/helpers/errorHelper.d.ts.map +1 -0
  59. package/dist/helpers/filesHelper.d.ts +8 -0
  60. package/dist/helpers/filesHelper.d.ts.map +1 -0
  61. package/dist/helpers/formHelper.d.ts +36 -0
  62. package/dist/helpers/formHelper.d.ts.map +1 -0
  63. package/dist/helpers/iconMapper.d.ts +13 -0
  64. package/dist/helpers/iconMapper.d.ts.map +1 -0
  65. package/dist/helpers/logInfoHelper.d.ts +3 -0
  66. package/dist/helpers/logInfoHelper.d.ts.map +1 -0
  67. package/dist/helpers/one2manyHelper.d.ts +37 -0
  68. package/dist/helpers/one2manyHelper.d.ts.map +1 -0
  69. package/dist/helpers/searchHelper.d.ts +6 -0
  70. package/dist/helpers/searchHelper.d.ts.map +1 -0
  71. package/dist/helpers/timeHelper.d.ts +4 -0
  72. package/dist/helpers/timeHelper.d.ts.map +1 -0
  73. package/dist/helpers/treeHelper.d.ts +23 -0
  74. package/dist/helpers/treeHelper.d.ts.map +1 -0
  75. package/dist/helpers/viewHelper.d.ts +10 -0
  76. package/dist/helpers/viewHelper.d.ts.map +1 -0
  77. package/dist/hooks/useExport.d.ts +44 -0
  78. package/dist/hooks/useExport.d.ts.map +1 -0
  79. package/dist/hooks/useSearch.d.ts +56 -0
  80. package/dist/hooks/useSearch.d.ts.map +1 -0
  81. package/dist/hooks/useWindowDimensions.d.ts +7 -0
  82. package/dist/hooks/useWindowDimensions.d.ts.map +1 -0
  83. package/dist/index.d.ts +57 -0
  84. package/dist/index.d.ts.map +1 -0
  85. package/dist/locales/ca_ES.d.ts +93 -0
  86. package/dist/locales/ca_ES.d.ts.map +1 -0
  87. package/dist/locales/en_US.d.ts +93 -0
  88. package/dist/locales/en_US.d.ts.map +1 -0
  89. package/dist/locales/es_ES.d.ts +93 -0
  90. package/dist/locales/es_ES.d.ts.map +1 -0
  91. package/dist/react-ooui.es.js +11763 -0
  92. package/dist/react-ooui.es.js.map +1 -0
  93. package/dist/react-ooui.umd.js +42 -0
  94. package/dist/react-ooui.umd.js.map +1 -0
  95. package/dist/style.css +1 -0
  96. package/dist/types/index.d.ts +256 -0
  97. package/dist/types/index.d.ts.map +1 -0
  98. package/dist/ui/ActionErrorDialog.d.ts +3 -0
  99. package/dist/ui/ActionErrorDialog.d.ts.map +1 -0
  100. package/dist/ui/ConfirmDialog.d.ts +7 -0
  101. package/dist/ui/ConfirmDialog.d.ts.map +1 -0
  102. package/dist/ui/ErrorAlert.d.ts +6 -0
  103. package/dist/ui/ErrorAlert.d.ts.map +1 -0
  104. package/dist/ui/FavouriteButton.d.ts +26 -0
  105. package/dist/ui/FavouriteButton.d.ts.map +1 -0
  106. package/dist/ui/FormErrorsDialog.d.ts +3 -0
  107. package/dist/ui/FormErrorsDialog.d.ts.map +1 -0
  108. package/dist/ui/GenericErrorDialog.d.ts +3 -0
  109. package/dist/ui/GenericErrorDialog.d.ts.map +1 -0
  110. package/dist/ui/GoToResourceModal.d.ts +10 -0
  111. package/dist/ui/GoToResourceModal.d.ts.map +1 -0
  112. package/dist/ui/InfoDialog.d.ts +3 -0
  113. package/dist/ui/InfoDialog.d.ts.map +1 -0
  114. package/dist/ui/RefreshItemDialog.d.ts +7 -0
  115. package/dist/ui/RefreshItemDialog.d.ts.map +1 -0
  116. package/dist/ui/RemoveItemDialog.d.ts +6 -0
  117. package/dist/ui/RemoveItemDialog.d.ts.map +1 -0
  118. package/dist/ui/TitleHeader.d.ts +8 -0
  119. package/dist/ui/TitleHeader.d.ts.map +1 -0
  120. package/dist/ui/UnlinkItemDialog.d.ts +6 -0
  121. package/dist/ui/UnlinkItemDialog.d.ts.map +1 -0
  122. package/dist/ui/UnsavedChangesDialog.d.ts +7 -0
  123. package/dist/ui/UnsavedChangesDialog.d.ts.map +1 -0
  124. package/dist/ui/WarningDialog.d.ts +3 -0
  125. package/dist/ui/WarningDialog.d.ts.map +1 -0
  126. package/dist/views/ActionView.d.ts +22 -0
  127. package/dist/views/ActionView.d.ts.map +1 -0
  128. package/dist/views/CurrentTabContent.d.ts +4 -0
  129. package/dist/views/CurrentTabContent.d.ts.map +1 -0
  130. package/dist/views/RootView.d.ts +14 -0
  131. package/dist/views/RootView.d.ts.map +1 -0
  132. package/dist/views/TabContent.d.ts +8 -0
  133. package/dist/views/TabContent.d.ts.map +1 -0
  134. package/dist/views/TabSelector.d.ts +4 -0
  135. package/dist/views/TabSelector.d.ts.map +1 -0
  136. package/dist/views/Welcome.d.ts +4 -0
  137. package/dist/views/Welcome.d.ts.map +1 -0
  138. package/dist/views/actionViews/DashboardActionView.d.ts +7 -0
  139. package/dist/views/actionViews/DashboardActionView.d.ts.map +1 -0
  140. package/dist/views/actionViews/FormActionView.d.ts +18 -0
  141. package/dist/views/actionViews/FormActionView.d.ts.map +1 -0
  142. package/dist/views/actionViews/GraphActionView.d.ts +13 -0
  143. package/dist/views/actionViews/GraphActionView.d.ts.map +1 -0
  144. package/dist/views/actionViews/TreeActionView.d.ts +20 -0
  145. package/dist/views/actionViews/TreeActionView.d.ts.map +1 -0
  146. package/dist/views/tabs/Tab.d.ts +11 -0
  147. package/dist/views/tabs/Tab.d.ts.map +1 -0
  148. package/dist/widgets/WidgetFactory.d.ts +4 -0
  149. package/dist/widgets/WidgetFactory.d.ts.map +1 -0
  150. package/dist/widgets/base/Binary.d.ts +14 -0
  151. package/dist/widgets/base/Binary.d.ts.map +1 -0
  152. package/dist/widgets/base/Boolean.d.ts +4 -0
  153. package/dist/widgets/base/Boolean.d.ts.map +1 -0
  154. package/dist/widgets/base/Button.d.ts +8 -0
  155. package/dist/widgets/base/Button.d.ts.map +1 -0
  156. package/dist/widgets/base/Char.d.ts +8 -0
  157. package/dist/widgets/base/Char.d.ts.map +1 -0
  158. package/dist/widgets/base/Date.d.ts +5 -0
  159. package/dist/widgets/base/Date.d.ts.map +1 -0
  160. package/dist/widgets/base/DateTime.d.ts +5 -0
  161. package/dist/widgets/base/DateTime.d.ts.map +1 -0
  162. package/dist/widgets/base/Email.d.ts +4 -0
  163. package/dist/widgets/base/Email.d.ts.map +1 -0
  164. package/dist/widgets/base/Float.d.ts +4 -0
  165. package/dist/widgets/base/Float.d.ts.map +1 -0
  166. package/dist/widgets/base/FloatTime.d.ts +12 -0
  167. package/dist/widgets/base/FloatTime.d.ts.map +1 -0
  168. package/dist/widgets/base/Image.d.ts +14 -0
  169. package/dist/widgets/base/Image.d.ts.map +1 -0
  170. package/dist/widgets/base/Integer.d.ts +8 -0
  171. package/dist/widgets/base/Integer.d.ts.map +1 -0
  172. package/dist/widgets/base/Label.d.ts +9 -0
  173. package/dist/widgets/base/Label.d.ts.map +1 -0
  174. package/dist/widgets/base/LinkInput.d.ts +12 -0
  175. package/dist/widgets/base/LinkInput.d.ts.map +1 -0
  176. package/dist/widgets/base/MultiSelection.d.ts +10 -0
  177. package/dist/widgets/base/MultiSelection.d.ts.map +1 -0
  178. package/dist/widgets/base/ProgressBar.d.ts +7 -0
  179. package/dist/widgets/base/ProgressBar.d.ts.map +1 -0
  180. package/dist/widgets/base/Reference.d.ts +16 -0
  181. package/dist/widgets/base/Reference.d.ts.map +1 -0
  182. package/dist/widgets/base/ReferenceTree.d.ts +8 -0
  183. package/dist/widgets/base/ReferenceTree.d.ts.map +1 -0
  184. package/dist/widgets/base/Selection.d.ts +10 -0
  185. package/dist/widgets/base/Selection.d.ts.map +1 -0
  186. package/dist/widgets/base/Separator.d.ts +8 -0
  187. package/dist/widgets/base/Separator.d.ts.map +1 -0
  188. package/dist/widgets/base/Text.d.ts +8 -0
  189. package/dist/widgets/base/Text.d.ts.map +1 -0
  190. package/dist/widgets/base/Time.d.ts +12 -0
  191. package/dist/widgets/base/Time.d.ts.map +1 -0
  192. package/dist/widgets/base/Url.d.ts +4 -0
  193. package/dist/widgets/base/Url.d.ts.map +1 -0
  194. package/dist/widgets/base/many2one/Many2one.d.ts +16 -0
  195. package/dist/widgets/base/many2one/Many2one.d.ts.map +1 -0
  196. package/dist/widgets/base/many2one/Many2oneSuffix.d.ts +9 -0
  197. package/dist/widgets/base/many2one/Many2oneSuffix.d.ts.map +1 -0
  198. package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts +10 -0
  199. package/dist/widgets/base/many2one/Many2oneSuffixModal.d.ts.map +1 -0
  200. package/dist/widgets/base/many2one/Many2oneTree.d.ts +6 -0
  201. package/dist/widgets/base/many2one/Many2oneTree.d.ts.map +1 -0
  202. package/dist/widgets/base/one2many/One2many.d.ts +8 -0
  203. package/dist/widgets/base/one2many/One2many.d.ts.map +1 -0
  204. package/dist/widgets/base/one2many/One2manyInput.d.ts +23 -0
  205. package/dist/widgets/base/one2many/One2manyInput.d.ts.map +1 -0
  206. package/dist/widgets/base/one2many/One2manyTopBar.d.ts +23 -0
  207. package/dist/widgets/base/one2many/One2manyTopBar.d.ts.map +1 -0
  208. package/dist/widgets/containers/Container.d.ts +9 -0
  209. package/dist/widgets/containers/Container.d.ts.map +1 -0
  210. package/dist/widgets/containers/Group.d.ts +10 -0
  211. package/dist/widgets/containers/Group.d.ts.map +1 -0
  212. package/dist/widgets/containers/Notebook.d.ts +9 -0
  213. package/dist/widgets/containers/Notebook.d.ts.map +1 -0
  214. package/dist/widgets/custom/Avatar.d.ts +10 -0
  215. package/dist/widgets/custom/Avatar.d.ts.map +1 -0
  216. package/dist/widgets/custom/ButtonGroup.d.ts +8 -0
  217. package/dist/widgets/custom/ButtonGroup.d.ts.map +1 -0
  218. package/dist/widgets/custom/CodeEditor.d.ts +9 -0
  219. package/dist/widgets/custom/CodeEditor.d.ts.map +1 -0
  220. package/dist/widgets/custom/Comments.d.ts +35 -0
  221. package/dist/widgets/custom/Comments.d.ts.map +1 -0
  222. package/dist/widgets/custom/FiberGrid.d.ts +10 -0
  223. package/dist/widgets/custom/FiberGrid.d.ts.map +1 -0
  224. package/dist/widgets/custom/Indicator.d.ts +10 -0
  225. package/dist/widgets/custom/Indicator.d.ts.map +1 -0
  226. package/dist/widgets/custom/Markdown.d.ts +5 -0
  227. package/dist/widgets/custom/Markdown.d.ts.map +1 -0
  228. package/dist/widgets/custom/MultiCheckbox.d.ts +14 -0
  229. package/dist/widgets/custom/MultiCheckbox.d.ts.map +1 -0
  230. package/dist/widgets/custom/Radio.d.ts +10 -0
  231. package/dist/widgets/custom/Radio.d.ts.map +1 -0
  232. package/dist/widgets/custom/Steps.d.ts +13 -0
  233. package/dist/widgets/custom/Steps.d.ts.map +1 -0
  234. package/dist/widgets/custom/Switch.d.ts +4 -0
  235. package/dist/widgets/custom/Switch.d.ts.map +1 -0
  236. package/dist/widgets/custom/Tag.d.ts +7 -0
  237. package/dist/widgets/custom/Tag.d.ts.map +1 -0
  238. package/dist/widgets/custom/Tags.d.ts +15 -0
  239. package/dist/widgets/custom/Tags.d.ts.map +1 -0
  240. package/dist/widgets/custom/Timeline.d.ts +16 -0
  241. package/dist/widgets/custom/Timeline.d.ts.map +1 -0
  242. package/dist/widgets/modals/ExportModal.d.ts +15 -0
  243. package/dist/widgets/modals/ExportModal.d.ts.map +1 -0
  244. package/dist/widgets/modals/FormModal.d.ts +12 -0
  245. package/dist/widgets/modals/FormModal.d.ts.map +1 -0
  246. package/dist/widgets/modals/SearchModal.d.ts +13 -0
  247. package/dist/widgets/modals/SearchModal.d.ts.map +1 -0
  248. package/dist/widgets/modals/TranslationModal.d.ts +12 -0
  249. package/dist/widgets/modals/TranslationModal.d.ts.map +1 -0
  250. package/dist/widgets/views/Dashboard/Dashboard.d.ts +5 -0
  251. package/dist/widgets/views/Dashboard/Dashboard.d.ts.map +1 -0
  252. package/dist/widgets/views/Dashboard/DashboardForm.d.ts +4 -0
  253. package/dist/widgets/views/Dashboard/DashboardForm.d.ts.map +1 -0
  254. package/dist/widgets/views/Dashboard/DashboardTree.d.ts +19 -0
  255. package/dist/widgets/views/Dashboard/DashboardTree.d.ts.map +1 -0
  256. package/dist/widgets/views/Dashboard/dashboardHelper.d.ts +6 -0
  257. package/dist/widgets/views/Dashboard/dashboardHelper.d.ts.map +1 -0
  258. package/dist/widgets/views/DashboardGrid/DashboardGrid.d.ts +4 -0
  259. package/dist/widgets/views/DashboardGrid/DashboardGrid.d.ts.map +1 -0
  260. package/dist/widgets/views/DashboardGrid/DashboardGrid.types.d.ts +6 -0
  261. package/dist/widgets/views/DashboardGrid/DashboardGrid.types.d.ts.map +1 -0
  262. package/dist/widgets/views/DashboardGrid/DashboardGridItem.d.ts +4 -0
  263. package/dist/widgets/views/DashboardGrid/DashboardGridItem.d.ts.map +1 -0
  264. package/dist/widgets/views/DashboardGrid/DashboardGridItem.types.d.ts +11 -0
  265. package/dist/widgets/views/DashboardGrid/DashboardGridItem.types.d.ts.map +1 -0
  266. package/dist/widgets/views/DashboardGrid/index.d.ts +5 -0
  267. package/dist/widgets/views/DashboardGrid/index.d.ts.map +1 -0
  268. package/dist/widgets/views/Form.d.ts +29 -0
  269. package/dist/widgets/views/Form.d.ts.map +1 -0
  270. package/dist/widgets/views/Graph/Graph.d.ts +11 -0
  271. package/dist/widgets/views/Graph/Graph.d.ts.map +1 -0
  272. package/dist/widgets/views/Graph/GraphChart.d.ts +11 -0
  273. package/dist/widgets/views/Graph/GraphChart.d.ts.map +1 -0
  274. package/dist/widgets/views/Graph/GraphDefaults.d.ts +83 -0
  275. package/dist/widgets/views/Graph/GraphDefaults.d.ts.map +1 -0
  276. package/dist/widgets/views/Graph/GraphIndicator.d.ts +17 -0
  277. package/dist/widgets/views/Graph/GraphIndicator.d.ts.map +1 -0
  278. package/dist/widgets/views/Graph/useGraphData.d.ts +20 -0
  279. package/dist/widgets/views/Graph/useGraphData.d.ts.map +1 -0
  280. package/dist/widgets/views/SearchTree.d.ts +24 -0
  281. package/dist/widgets/views/SearchTree.d.ts.map +1 -0
  282. package/dist/widgets/views/Tree.d.ts +32 -0
  283. package/dist/widgets/views/Tree.d.ts.map +1 -0
  284. package/dist/widgets/views/searchFilter/DateRangePicker.d.ts +4 -0
  285. package/dist/widgets/views/searchFilter/DateRangePicker.d.ts.map +1 -0
  286. package/dist/widgets/views/searchFilter/DateTimeRangePicker.d.ts +4 -0
  287. package/dist/widgets/views/searchFilter/DateTimeRangePicker.d.ts.map +1 -0
  288. package/dist/widgets/views/searchFilter/PairFields.d.ts +4 -0
  289. package/dist/widgets/views/searchFilter/PairFields.d.ts.map +1 -0
  290. package/dist/widgets/views/searchFilter/SearchBottomBar.d.ts +10 -0
  291. package/dist/widgets/views/searchFilter/SearchBottomBar.d.ts.map +1 -0
  292. package/dist/widgets/views/searchFilter/SearchField.d.ts +8 -0
  293. package/dist/widgets/views/searchFilter/SearchField.d.ts.map +1 -0
  294. package/dist/widgets/views/searchFilter/SearchFilter.d.ts +20 -0
  295. package/dist/widgets/views/searchFilter/SearchFilter.d.ts.map +1 -0
  296. package/dist/widgets/views/searchFilter/SearchParams.d.ts +7 -0
  297. package/dist/widgets/views/searchFilter/SearchParams.d.ts.map +1 -0
  298. package/package.json +43 -74
  299. package/src/actionbar/FormActionBar.tsx +1 -1
  300. package/src/actionbar/TreeActionBar.tsx +1 -1
  301. package/src/common/DatePicker.tsx +2 -2
  302. package/src/common/SelectAllRecordsRow.tsx +5 -4
  303. package/src/context/ContentRootContext.tsx +54 -61
  304. package/src/context/TabManagerContext.tsx +4 -3
  305. package/src/helpers/dynamicColumnsHelper.ts +1 -1
  306. package/src/helpers/filesHelper.ts +7 -7
  307. package/src/helpers/formHelper.ts +24 -23
  308. package/src/helpers/one2manyHelper.ts +6 -6
  309. package/src/helpers/searchHelper.ts +5 -8
  310. package/src/helpers/treeHelper.ts +7 -7
  311. package/src/helpers/viewHelper.ts +2 -2
  312. package/src/hooks/useExport.ts +3 -2
  313. package/src/hooks/useSearch.ts +8 -8
  314. package/src/index.ts +0 -4
  315. package/src/stories/Binary.stories.tsx +3 -0
  316. package/src/stories/Boolean.stories.tsx +3 -0
  317. package/src/stories/Button.stories.tsx +14 -8
  318. package/src/stories/Char.stories.tsx +3 -0
  319. package/src/stories/FiberGrid.stories.tsx +3 -0
  320. package/src/stories/Float.stories.tsx +3 -0
  321. package/src/stories/FloatTime.stories.tsx +3 -0
  322. package/src/stories/Image.stories.tsx +3 -0
  323. package/src/stories/Integer.stories.tsx +3 -0
  324. package/src/stories/Label.stories.tsx +3 -0
  325. package/src/stories/Many2one.stories.tsx +3 -0
  326. package/src/stories/One2many.stories.tsx +11 -4
  327. package/src/stories/ProgressBar.stories.tsx +3 -0
  328. package/src/stories/Reference.stories.tsx +3 -0
  329. package/src/stories/Selection.stories.tsx +3 -0
  330. package/src/stories/Separator.stories.tsx +7 -3
  331. package/src/stories/Text.stories.tsx +3 -0
  332. package/src/stories/containers/Group.stories.tsx +5 -0
  333. package/src/stories/containers/NewLine.stories.tsx +4 -0
  334. package/src/stories/containers/Notebook.stories.tsx +5 -0
  335. package/src/stories/custom/Avatar.stories.tsx +1 -0
  336. package/src/stories/custom/ButtonGroup.stories.tsx +23 -36
  337. package/src/stories/custom/CodeEditor.stories.tsx +4 -1
  338. package/src/stories/custom/Indicator.stories.tsx +11 -3
  339. package/src/stories/custom/Markdown.stories.tsx +6 -2
  340. package/src/stories/custom/MultiCheckbox.stories.tsx +15 -20
  341. package/src/stories/custom/Radio.stories.tsx +16 -13
  342. package/src/stories/custom/Steps.stories.tsx +5 -7
  343. package/src/stories/custom/Switch.stories.tsx +3 -0
  344. package/src/stories/custom/Tag.stories.tsx +11 -17
  345. package/src/stories/custom/Tags.stories.tsx +16 -20
  346. package/src/stories/forms/PreferencesForm.stories.tsx +4 -0
  347. package/src/stories/ui/ActionBar.stories.tsx +3 -0
  348. package/src/stories/ui/FavouriteButton.stories.tsx +3 -0
  349. package/src/stories/ui/GoToResourceModal.stories.tsx +3 -0
  350. package/src/stories/views/SearchTree.stories.tsx +89 -43
  351. package/src/stories/views/Tab.stories.tsx +3 -0
  352. package/src/stories/views/TabsAndContent.stories.tsx +3 -0
  353. package/src/stories/views/Tree.stories.jsx +4 -0
  354. package/src/stories/views/searchFilter/DateRangePicker.stories.tsx +3 -0
  355. package/src/stories/views/searchFilter/DateTimeRangePicker.stories.tsx +3 -0
  356. package/src/stories/views/searchFilter/PairFields.stories.tsx +3 -0
  357. package/src/stories/views/searchFilter/SearchFilter.stories.tsx +4 -0
  358. package/src/stories/views/searchFilter/examples/PartnersSearchFilter.stories.tsx +4 -0
  359. package/src/tailwind.css +8 -0
  360. package/src/tailwind.generated.css +168533 -0
  361. package/src/types/index.ts +43 -94
  362. package/src/ui/FavouriteButton.tsx +3 -2
  363. package/src/views/ActionView.tsx +11 -12
  364. package/src/views/RootView.tsx +6 -5
  365. package/src/widgets/base/Binary.tsx +2 -2
  366. package/src/widgets/base/Boolean.tsx +2 -1
  367. package/src/widgets/base/Float.tsx +1 -1
  368. package/src/widgets/base/Integer.tsx +2 -2
  369. package/src/widgets/base/Label.tsx +9 -9
  370. package/src/widgets/base/LinkInput.tsx +1 -6
  371. package/src/widgets/base/MultiSelection.tsx +2 -1
  372. package/src/widgets/base/Selection.tsx +5 -11
  373. package/src/widgets/base/Time.tsx +12 -13
  374. package/src/widgets/base/many2one/Many2one.tsx +8 -7
  375. package/src/widgets/base/many2one/Many2oneSuffix.tsx +12 -23
  376. package/src/widgets/base/one2many/One2manyInput.tsx +15 -14
  377. package/src/widgets/containers/Notebook.tsx +2 -9
  378. package/src/widgets/custom/ButtonGroup.tsx +10 -13
  379. package/src/widgets/custom/CodeEditor.tsx +3 -7
  380. package/src/widgets/custom/Comments.tsx +70 -76
  381. package/src/widgets/custom/Indicator.tsx +2 -1
  382. package/src/widgets/custom/MultiCheckbox.tsx +2 -2
  383. package/src/widgets/custom/Tag.tsx +16 -20
  384. package/src/widgets/custom/Tags.tsx +3 -3
  385. package/src/widgets/custom/Timeline.tsx +6 -6
  386. package/src/widgets/views/Dashboard/DashboardTree.tsx +2 -2
  387. package/src/widgets/views/DashboardGrid/DashboardGrid.types.ts +1 -1
  388. package/src/widgets/views/Form.tsx +11 -10
  389. package/src/widgets/views/Graph/GraphIndicator.tsx +7 -7
  390. package/src/widgets/views/SearchTree.tsx +2 -2
  391. package/src/widgets/views/Tree.tsx +16 -15
  392. package/src/widgets/views/searchFilter/DateTimeRangePicker.tsx +3 -1
@@ -3,6 +3,9 @@ import React from "react";
3
3
  import { Separator } from "..";
4
4
  import { Separator as SeparatorOoui } from "@gisce/ooui";
5
5
 
6
+ // import "antd/dist/antd.css";
7
+
8
+
6
9
  import LocaleProvider from "../context/LocaleContext";
7
10
 
8
11
  export default {
@@ -21,7 +24,8 @@ export const Default = (): React.ReactElement => {
21
24
  };
22
25
 
23
26
  export const WithoutText = (): React.ReactElement => {
24
- const ooui = new SeparatorOoui({});
27
+ const ooui = new SeparatorOoui({
28
+ });
25
29
  return (
26
30
  <LocaleProvider lang="en_US">
27
31
  <Separator ooui={ooui} showLabel />
@@ -31,7 +35,7 @@ export const WithoutText = (): React.ReactElement => {
31
35
 
32
36
  export const OnlyIcon = (): React.ReactElement => {
33
37
  const ooui = new SeparatorOoui({
34
- icon: "home",
38
+ icon: "home"
35
39
  });
36
40
  return (
37
41
  <LocaleProvider lang="en_US">
@@ -43,7 +47,7 @@ export const OnlyIcon = (): React.ReactElement => {
43
47
  export const WithIcon = (): React.ReactElement => {
44
48
  const ooui = new SeparatorOoui({
45
49
  string: "General",
46
- icon: "home",
50
+ icon: "home"
47
51
  });
48
52
  return (
49
53
  <LocaleProvider lang="en_US">
@@ -3,6 +3,9 @@ import React from "react";
3
3
  import { Text } from "..";
4
4
  import { Text as TextOoui } from "@gisce/ooui";
5
5
 
6
+ // import "antd/dist/antd.css";
7
+
8
+
6
9
  import LocaleProvider from "../context/LocaleContext";
7
10
 
8
11
  export default {
@@ -1,5 +1,10 @@
1
1
  import React from "react";
2
2
 
3
+ // import "antd/dist/antd.css";
4
+
5
+
6
+ import "@/tailwind.generated.css";
7
+
3
8
  import { withKnobs, number, text } from "@storybook/addon-knobs";
4
9
  import LocaleProvider from "../../context/LocaleContext";
5
10
 
@@ -2,6 +2,10 @@ import React from "react";
2
2
 
3
3
  import { Form } from "../..";
4
4
 
5
+ // import "antd/dist/antd.css";
6
+
7
+
8
+ import "@/tailwind.generated.css";
5
9
  import LocaleProvider from "../../context/LocaleContext";
6
10
 
7
11
  export default {
@@ -1,5 +1,10 @@
1
1
  import React from "react";
2
2
 
3
+ // import "antd/dist/antd.css";
4
+
5
+
6
+ import "@/tailwind.generated.css";
7
+
3
8
  import { withKnobs } from "@storybook/addon-knobs";
4
9
  import LocaleProvider from "../../context/LocaleContext";
5
10
 
@@ -2,6 +2,7 @@ import React, {useState} from "react";
2
2
 
3
3
  import { Avatar as AvatarOoui } from "@gisce/ooui";
4
4
  import Avatar from "@/widgets/custom/Avatar";
5
+ import "antd/dist/antd.css";
5
6
  import LocaleProvider from "../../context/LocaleContext";
6
7
 
7
8
  export default {
@@ -1,13 +1,13 @@
1
1
  import React from "react";
2
2
 
3
- import { Dropdown, Menu } from "antd";
4
- import { DownOutlined, UserOutlined } from "@ant-design/icons";
5
- import {
6
- ButtonGroup as ButtonGroupOoui,
7
- Button as ButtonOoui,
8
- } from "@gisce/ooui";
3
+ import { Dropdown, Menu } from 'antd';
4
+ import { DownOutlined, UserOutlined } from '@ant-design/icons';
5
+ import { ButtonGroup as ButtonGroupOoui, Button as ButtonOoui } from "@gisce/ooui";
9
6
  import { ButtonGroup } from "../../widgets/custom/ButtonGroup";
10
7
 
8
+ // import "antd/dist/antd.css";
9
+
10
+
11
11
  import LocaleProvider from "../../context/LocaleContext";
12
12
 
13
13
  export default {
@@ -15,16 +15,17 @@ export default {
15
15
  };
16
16
 
17
17
  export const OnlyAntComponents = (): React.ReactElement => {
18
+
18
19
  const overlay = (
19
20
  <Menu>
20
- <Menu.Item icon={<UserOutlined />}>Button 1</Menu.Item>
21
- <Menu.Item icon={<UserOutlined />}>Button 2</Menu.Item>
21
+ <Menu.Item icon={<UserOutlined/>}>Button 1</Menu.Item>
22
+ <Menu.Item icon={<UserOutlined/>}>Button 2</Menu.Item>
22
23
  </Menu>
23
- );
24
+ )
24
25
 
25
26
  return (
26
27
  <LocaleProvider lang="en_US">
27
- <Dropdown.Button overlay={overlay} icon={<DownOutlined />}>
28
+ <Dropdown.Button overlay={overlay} icon={<DownOutlined/>}>
28
29
  Default button
29
30
  </Dropdown.Button>
30
31
  </LocaleProvider>
@@ -32,43 +33,29 @@ export const OnlyAntComponents = (): React.ReactElement => {
32
33
  };
33
34
 
34
35
  export const Default = (): React.ReactElement => {
36
+
35
37
  const btn1 = new ButtonOoui({
36
- name: "btn1",
37
- icon: "gtk-execute",
38
- string: "Button 1",
39
- buttonType: "object",
40
- });
41
- const btn2 = new ButtonOoui({
42
- name: "btn2",
43
- readonly: true,
44
- buttonType: "object",
45
- icon: "gtk-execute",
46
- string: "Button 2",
38
+ name: "btn1", icon: "gtk-execute", string: "Button 1",
39
+ buttonType: "object"
47
40
  });
41
+ const btn2 = new ButtonOoui({name: "btn2", readonly: true, buttonType: "object", icon: "gtk-execute", string: "Button 2"});
48
42
  const btn3 = new ButtonOoui({
49
- name: "btn3",
50
- buttonType: "object",
51
- icon: "gtk-about",
52
- string: "Button 3",
53
- confirm: "Are you sure?",
43
+ name: "btn3", buttonType: "object",
44
+ icon: "gtk-about", string: "Button 3",
45
+ confirm: "Are you sure?"
54
46
  });
55
47
  const btn4 = new ButtonOoui({
56
- name: "btn4",
57
- buttonType: "object",
58
- icon: "gtk-dialog-warning",
59
- string: "Button 4",
48
+ name: "btn4", buttonType: "object",
49
+ icon: "gtk-dialog-warning", string: "Button 4",
60
50
  confirm: "Are you sure?",
61
- danger: true,
62
- });
63
- const buttonGroup = new ButtonGroupOoui({
64
- name: "btnGroup",
65
- default: "btn1",
51
+ danger: true
66
52
  });
53
+ const buttonGroup = new ButtonGroupOoui({name: "btnGroup", default: "btn1"});
67
54
  buttonGroup.container.rows[0].push(...[btn1, btn2, btn3, btn4]);
68
55
 
69
56
  return (
70
57
  <LocaleProvider lang="en_US">
71
- <ButtonGroup ooui={buttonGroup} />
58
+ <ButtonGroup ooui={buttonGroup}/>
72
59
  </LocaleProvider>
73
60
  );
74
61
  };
@@ -3,6 +3,9 @@ import React from "react";
3
3
  import { CodeEditor } from "../../widgets/custom/CodeEditor";
4
4
  import { CodeEditor as CodeEditorOoui } from "@gisce/ooui";
5
5
 
6
+ // import "antd/dist/antd.css";
7
+
8
+
6
9
  import LocaleProvider from "../../context/LocaleContext";
7
10
 
8
11
  export default {
@@ -14,7 +17,7 @@ export const Default = (): React.ReactElement => {
14
17
  name: "code",
15
18
  string: "Code",
16
19
  height: 400,
17
- widget_props: "{'lang': 'xml'}",
20
+ widget_props: "{'lang': 'xml'}"
18
21
  });
19
22
 
20
23
  return (
@@ -1,8 +1,11 @@
1
- import React, { useState } from "react";
1
+ import React, {useState} from "react";
2
2
 
3
- import { Indicator } from "../../widgets/custom/Indicator";
3
+ import {Indicator} from "../../widgets/custom/Indicator";
4
4
  import { Indicator as IndicatorOoui } from "@gisce/ooui";
5
5
 
6
+ // import "antd/dist/antd.css";
7
+
8
+
6
9
  import LocaleProvider from "../../context/LocaleContext";
7
10
 
8
11
  export default {
@@ -21,6 +24,7 @@ export const Default = (): React.ReactElement => {
21
24
  );
22
25
  };
23
26
 
27
+
24
28
  export const WithIconAndSuffix = (): React.ReactElement => {
25
29
  const ooui = new IndicatorOoui({
26
30
  name: "test",
@@ -30,7 +34,11 @@ export const WithIconAndSuffix = (): React.ReactElement => {
30
34
 
31
35
  return (
32
36
  <LocaleProvider lang="en_US">
33
- <Indicator ooui={ooui} value={300} />
37
+ <Indicator ooui={ooui} value={300}/>
34
38
  </LocaleProvider>
35
39
  );
36
40
  };
41
+
42
+
43
+
44
+
@@ -1,6 +1,9 @@
1
1
  import React from "react";
2
2
  import { Markdown as MarkdownOOui } from "@gisce/ooui";
3
3
 
4
+ // import "antd/dist/antd.css";
5
+
6
+
4
7
  import LocaleProvider from "../../context/LocaleContext";
5
8
  import { MarkdownInput } from "../../widgets/custom/Markdown";
6
9
 
@@ -8,13 +11,14 @@ export default {
8
11
  title: "Components/Widgets/Custom/Markdown",
9
12
  };
10
13
 
14
+
11
15
  export const Default = (): React.ReactElement => {
12
16
  const ooui = new MarkdownOOui({
13
17
  name: "enabled",
14
18
  string: "Lorem ipsum",
15
19
  });
16
20
 
17
- const markdown = `A paragraph with *emphasis* and **strong importance**.
21
+ const markdown = `A paragraph with *emphasis* and **strong importance**.
18
22
 
19
23
  > A block quote with ~strikethrough~ and a URL: https://reactjs.org.
20
24
 
@@ -28,7 +32,7 @@ A table:
28
32
 
29
33
  | a | b |
30
34
  | - | - |
31
- `;
35
+ `
32
36
 
33
37
  return (
34
38
  <LocaleProvider lang="en_US">
@@ -4,6 +4,9 @@ import { MultiCheckboxInput } from "../../widgets/custom/MultiCheckbox";
4
4
  import { Checkbox, Space, Row, Col } from "antd";
5
5
  import { MultiCheckbox as MultiCheckboxOoui } from "@gisce/ooui";
6
6
 
7
+ // import "antd/dist/antd.css";
8
+
9
+
7
10
  import LocaleProvider from "../../context/LocaleContext";
8
11
 
9
12
  export default {
@@ -15,20 +18,16 @@ export const Default = (): React.ReactElement => {
15
18
  name: "button_field",
16
19
  string: "Lorem ipsum",
17
20
  field: "name",
18
- relation: "res.partner.category",
21
+ relation: "res.partner.category"
19
22
  });
20
23
 
21
24
  return (
22
25
  <LocaleProvider lang="en_US">
23
- <MultiCheckboxInput
24
- ooui={ooui}
25
- value={{
26
- items: [
27
- { id: 1, operation: "original" },
28
- { id: 2, operation: "original" },
29
- { id: 3, operation: "pendingRemove" },
30
- ],
31
- }}
26
+ <MultiCheckboxInput ooui={ooui} value={{items: [
27
+ {id: 1, operation: "original"},
28
+ {id: 2, operation: "original"},
29
+ {id: 3, operation: "pendingRemove"}
30
+ ]}}
32
31
  />
33
32
  </LocaleProvider>
34
33
  );
@@ -45,16 +44,12 @@ export const Readonly = (): React.ReactElement => {
45
44
 
46
45
  return (
47
46
  <LocaleProvider lang="en_US">
48
- <MultiCheckboxInput
49
- ooui={ooui}
50
- value={{
51
- items: [
52
- { id: 1, operation: "original" },
53
- { id: 2, operation: "original" },
54
- { id: 3, operation: "pendingRemove" },
55
- ],
56
- }}
47
+ <MultiCheckboxInput ooui={ooui} value={{items: [
48
+ {id: 1, operation: "original"},
49
+ {id: 2, operation: "original"},
50
+ {id: 3, operation: "pendingRemove"}
51
+ ]}}
57
52
  />
58
53
  </LocaleProvider>
59
54
  );
60
- };
55
+ };
@@ -3,6 +3,9 @@ import React from "react";
3
3
  import { Radio } from "../../widgets/custom/Radio";
4
4
  import { Radio as RadioOoui } from "@gisce/ooui";
5
5
 
6
+ // import "antd/dist/antd.css";
7
+
8
+
6
9
  import LocaleProvider from "../../context/LocaleContext";
7
10
 
8
11
  export default {
@@ -15,10 +18,10 @@ export const Default = (): React.ReactElement => {
15
18
  string: "Level",
16
19
  required: true,
17
20
  selection: [
18
- ["easy", "Easy"],
19
- ["medium", "Medium"],
20
- ["hard", "Hard"],
21
- ],
21
+ ['easy', 'Easy'],
22
+ ['medium', 'Medium'],
23
+ ['hard', 'Hard']
24
+ ]
22
25
  });
23
26
 
24
27
  return (
@@ -34,10 +37,10 @@ export const Readonly = (): React.ReactElement => {
34
37
  string: "Level",
35
38
  readonly: true,
36
39
  selection: [
37
- ["easy", "Easy"],
38
- ["medium", "Medium"],
39
- ["hard", "Hard"],
40
- ],
40
+ ['easy', 'Easy'],
41
+ ['medium', 'Medium'],
42
+ ['hard', 'Hard']
43
+ ]
41
44
  });
42
45
 
43
46
  return (
@@ -53,11 +56,11 @@ export const RadioVertical = (): React.ReactElement => {
53
56
  string: "Level",
54
57
  readonly: true,
55
58
  selection: [
56
- ["easy", "Easy"],
57
- ["medium", "Medium"],
58
- ["hard", "Hard"],
59
+ ['easy', 'Easy'],
60
+ ['medium', 'Medium'],
61
+ ['hard', 'Hard']
59
62
  ],
60
- widget_props: "{'direction': 'vertical'}",
63
+ widget_props: "{'direction': 'vertical'}"
61
64
  });
62
65
 
63
66
  return (
@@ -65,4 +68,4 @@ export const RadioVertical = (): React.ReactElement => {
65
68
  <Radio ooui={ooui} />
66
69
  </LocaleProvider>
67
70
  );
68
- };
71
+ };
@@ -3,6 +3,9 @@ import React from "react";
3
3
  import { Steps, StepsInput } from "../../widgets/custom/Steps";
4
4
  import { Steps as StepsOoui } from "@gisce/ooui";
5
5
 
6
+ // import "antd/dist/antd.css";
7
+
8
+
6
9
  import LocaleProvider from "../../context/LocaleContext";
7
10
 
8
11
  export default {
@@ -13,12 +16,7 @@ export const Default = (): React.ReactElement => {
13
16
  const ooui = new StepsOoui({
14
17
  name: "enabled",
15
18
  string: "Lorem ipsum",
16
- selection: [
17
- ["init", "Start"],
18
- ["second", "Second"],
19
- ["third", "Third"],
20
- ["end", "End"],
21
- ],
19
+ selection: [['init', 'Start'], ['second', 'Second'], ['third', 'Third'], ['end', 'End']]
22
20
  });
23
21
 
24
22
  return (
@@ -40,4 +38,4 @@ export const Many2One = (): React.ReactElement => {
40
38
  <StepsInput ooui={ooui} value="third" />
41
39
  </LocaleProvider>
42
40
  );
43
- };
41
+ };
@@ -3,6 +3,9 @@ import React from "react";
3
3
  import { Switch } from "../../widgets/custom/Switch";
4
4
  import { Switch as SwitchOoui } from "@gisce/ooui";
5
5
 
6
+ // import "antd/dist/antd.css";
7
+
8
+
6
9
  import LocaleProvider from "../../context/LocaleContext";
7
10
 
8
11
  export default {
@@ -2,6 +2,9 @@ import React from "react";
2
2
 
3
3
  import { Tag as TagOoui } from "@gisce/ooui";
4
4
 
5
+ // import "antd/dist/antd.css";
6
+
7
+
5
8
  import LocaleProvider from "../../context/LocaleContext";
6
9
  import { TagInput } from "../../widgets/custom/Tag";
7
10
 
@@ -14,16 +17,13 @@ export const Default = (): React.ReactElement => {
14
17
  name: "status",
15
18
  string: "Status",
16
19
  field: "status",
17
- selection: [
18
- ["draft", "Draft"],
19
- ["open", "Open"],
20
- ],
21
- widget_props: '{"colors": {"draft": "blue", "open": "green"}}',
20
+ selection: [['draft', 'Draft'], ['open', 'Open']],
21
+ widget_props: '{"colors": {"draft": "blue", "open": "green"}}'
22
22
  });
23
23
 
24
24
  return (
25
25
  <LocaleProvider lang="en_US">
26
- <TagInput value="draft" ooui={ooui} />
26
+ <TagInput value="draft" ooui={ooui}/>
27
27
  </LocaleProvider>
28
28
  );
29
29
  };
@@ -33,15 +33,12 @@ export const WithoutColor = (): React.ReactElement => {
33
33
  name: "status",
34
34
  string: "Status",
35
35
  field: "status",
36
- selection: [
37
- ["draft", "Draft"],
38
- ["open", "Open"],
39
- ],
36
+ selection: [['draft', 'Draft'], ['open', 'Open']],
40
37
  });
41
38
 
42
39
  return (
43
40
  <LocaleProvider lang="en_US">
44
- <TagInput value="draft" ooui={ooui} />
41
+ <TagInput value="draft" ooui={ooui}/>
45
42
  </LocaleProvider>
46
43
  );
47
44
  };
@@ -51,16 +48,13 @@ export const WithColorAuto = (): React.ReactElement => {
51
48
  name: "status",
52
49
  string: "Status",
53
50
  field: "status",
54
- selection: [
55
- ["draft", "Draft"],
56
- ["open", "Open"],
57
- ],
58
- widget_props: '{"colors": "auto"}',
51
+ selection: [['draft', 'Draft'], ['open', 'Open']],
52
+ widget_props: '{"colors": "auto"}'
59
53
  });
60
54
 
61
55
  return (
62
56
  <LocaleProvider lang="en_US">
63
- <TagInput value="draft" ooui={ooui} />
57
+ <TagInput value="draft" ooui={ooui}/>
64
58
  </LocaleProvider>
65
59
  );
66
60
  };
@@ -3,6 +3,9 @@ import React from "react";
3
3
  import { TagsInput, Tags } from "../../widgets/custom/Tags";
4
4
  import { Tags as TagsOoui } from "@gisce/ooui";
5
5
 
6
+ // import "antd/dist/antd.css";
7
+
8
+
6
9
  import LocaleProvider from "../../context/LocaleContext";
7
10
 
8
11
  export default {
@@ -14,20 +17,16 @@ export const Default = (): React.ReactElement => {
14
17
  name: "button_field",
15
18
  string: "Lorem ipsum",
16
19
  field: "name",
17
- relation: "res.partner.category",
20
+ relation: "res.partner.category"
18
21
  });
19
22
 
20
23
  return (
21
24
  <LocaleProvider lang="en_US">
22
- <TagsInput
23
- ooui={ooui}
24
- value={{
25
- items: [
26
- { id: 1, operation: "original" },
27
- { id: 2, operation: "original" },
28
- { id: 3, operation: "pendingRemove" },
29
- ],
30
- }}
25
+ <TagsInput ooui={ooui} value={{items: [
26
+ {id: 1, operation: "original"},
27
+ {id: 2, operation: "original"},
28
+ {id: 3, operation: "pendingRemove"}
29
+ ]}}
31
30
  />
32
31
  </LocaleProvider>
33
32
  );
@@ -44,20 +43,17 @@ export const Readonly = (): React.ReactElement => {
44
43
 
45
44
  return (
46
45
  <LocaleProvider lang="en_US">
47
- <TagsInput
48
- ooui={ooui}
49
- value={{
50
- items: [
51
- { id: 1, operation: "original" },
52
- { id: 2, operation: "original" },
53
- { id: 3, operation: "pendingRemove" },
54
- ],
55
- }}
46
+ <TagsInput ooui={ooui} value={{items: [
47
+ {id: 1, operation: "original"},
48
+ {id: 2, operation: "original"},
49
+ {id: 3, operation: "pendingRemove"}
50
+ ]}}
56
51
  />
57
52
  </LocaleProvider>
58
53
  );
59
54
  };
60
55
 
56
+
61
57
  export const TagsLabel = (): React.ReactElement => {
62
58
  const ooui = new TagsOoui({
63
59
  name: "button_field",
@@ -68,7 +64,7 @@ export const TagsLabel = (): React.ReactElement => {
68
64
 
69
65
  return (
70
66
  <LocaleProvider lang="en_US">
71
- <Tags ooui={ooui} showLabel />
67
+ <Tags ooui={ooui} showLabel/>
72
68
  </LocaleProvider>
73
69
  );
74
70
  };
@@ -2,6 +2,10 @@ import React from "react";
2
2
 
3
3
  import { Form } from "../..";
4
4
 
5
+ // import "antd/dist/antd.css";
6
+
7
+
8
+ import "@/tailwind.generated.css";
5
9
  import LocaleProvider from "../../context/LocaleContext";
6
10
 
7
11
  export default {
@@ -3,6 +3,9 @@ import React from "react";
3
3
  import { ActionBar } from "../..";
4
4
  import LocaleProvider from "../../context/LocaleContext";
5
5
 
6
+ // import "antd/dist/antd.css";
7
+
8
+
6
9
  export default {
7
10
  title: "Components/Widgets/UI/ActionBar",
8
11
  };
@@ -3,6 +3,9 @@ import React from "react";
3
3
  import FavouriteButton from "../../ui/FavouriteButton";
4
4
  import LocaleProvider from "../../context/LocaleContext";
5
5
 
6
+ // import "antd/dist/antd.css";
7
+
8
+
6
9
  export default {
7
10
  title: "Components/Widgets/UI/FavouriteButton",
8
11
  };
@@ -3,6 +3,9 @@ import React from "react";
3
3
  import { GoToResourceModal } from "../../ui/GoToResourceModal";
4
4
  import LocaleProvider from "../../context/LocaleContext";
5
5
 
6
+ // import "antd/dist/antd.css";
7
+
8
+
6
9
  export default {
7
10
  title: "Components/Widgets/UI/GoToResourceModal",
8
11
  };