@griddo/ax 12.5.1 → 12.6.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 (350) hide show
  1. package/README.md +1 -2
  2. package/config/__tests__/webpack5-migration.test.js +2 -2
  3. package/package.json +21 -19
  4. package/src/GlobalStore.tsx +3 -3
  5. package/src/__mocks__/reducers/structuredData.tsx +1 -1
  6. package/src/__tests__/components/ActionMenu/ActionMenu.test.tsx +1 -1
  7. package/src/__tests__/components/Breadcrumb/Breadcrumb.test.tsx +1 -1
  8. package/src/__tests__/components/Browser/Browser.test.tsx +4 -0
  9. package/src/__tests__/components/CategoryCell/CategoryCell.test.tsx +1 -1
  10. package/src/__tests__/components/ConfigPanel/Form/Form.test.tsx +5 -5
  11. package/src/__tests__/components/ConfigPanel/Header/Header.test.tsx +2 -2
  12. package/src/__tests__/components/ConfigPanel/NavigationForm/Field/Field.test.tsx +5 -1
  13. package/src/__tests__/components/ConfigPanel/NavigationForm/NavigationForm.test.tsx +1 -1
  14. package/src/__tests__/components/ConfigPanel/PreviewForm/PreviewForm.test.tsx +1 -1
  15. package/src/__tests__/components/DragAndDrop/DragAndDrop.test.tsx +1 -1
  16. package/src/__tests__/components/ElementsTooltip/ElementsTooltip.test.tsx +1 -1
  17. package/src/__tests__/components/EmptyState/EmptyState.test.tsx +1 -1
  18. package/src/__tests__/components/ErrorCenter/ErrorCenter.test.tsx +2 -2
  19. package/src/__tests__/components/ErrorToast/ErrorToast.test.tsx +1 -1
  20. package/src/__tests__/components/FieldContainer/FieldContainer.test.tsx +1 -1
  21. package/src/__tests__/components/Fields/AsyncSelect/AsyncSelect.test.tsx +2 -2
  22. package/src/__tests__/components/Fields/ColorPicker/ColorPicker.test.tsx +1 -1
  23. package/src/__tests__/components/Fields/ComponentArray/ComponentArray.test.tsx +3 -3
  24. package/src/__tests__/components/Fields/ComponentArray/MixableComponentArray/MixableComponentArray.test.tsx +2 -2
  25. package/src/__tests__/components/Fields/ComponentArray/MixableComponentArray/PasteModuleButton/PasteModuleButton.test.tsx +2 -2
  26. package/src/__tests__/components/Fields/ComponentArray/SameComponentArray/SameComponentArray.test.tsx +4 -2
  27. package/src/__tests__/components/Fields/ComponentContainer/ComponentContainer.test.tsx +1 -1
  28. package/src/__tests__/components/Fields/DateField/DateField.test.tsx +1 -1
  29. package/src/__tests__/components/Fields/FileField/FileField.test.tsx +1 -1
  30. package/src/__tests__/components/Fields/HiddenField/HiddenField.test.tsx +1 -1
  31. package/src/__tests__/components/Fields/ImageField/ImageField.test.tsx +1 -1
  32. package/src/__tests__/components/Fields/IntegrationsField/IntegrationsField.test.tsx +1 -1
  33. package/src/__tests__/components/Fields/MultiCheckSelect/MultiCheckSelect.test.tsx +1 -1
  34. package/src/__tests__/components/Fields/MultiCheckSelectGroup/MultiCheckSelectGroup.test.tsx +1 -1
  35. package/src/__tests__/components/Fields/NoteField/NoteField.test.tsx +1 -1
  36. package/src/__tests__/components/Fields/NumberField/NumberField.test.tsx +1 -1
  37. package/src/__tests__/components/Fields/RadioField/RadioField.test.tsx +1 -1
  38. package/src/__tests__/components/Fields/ReferenceField/ReferenceField.test.tsx +1 -1
  39. package/src/__tests__/components/Fields/RichText/RichText.test.tsx +1 -1
  40. package/src/__tests__/components/Fields/Select/Select.test.tsx +1 -1
  41. package/src/__tests__/components/Fields/SliderField/SliderField.test.tsx +1 -1
  42. package/src/__tests__/components/Fields/SummaryButton/SummaryButton.test.tsx +1 -1
  43. package/src/__tests__/components/Fields/ToggleField/ToggleField.test.tsx +1 -1
  44. package/src/__tests__/components/Fields/Tooltip/Tooltip.test.tsx +1 -1
  45. package/src/__tests__/components/Fields/TranslateButton/TranslateButton.test.tsx +1 -1
  46. package/src/__tests__/components/Fields/UrlField/UrlField.test.tsx +1 -1
  47. package/src/__tests__/components/Fields/VisualUniqueSelection/ImageSelection/ImageSelection.test.tsx +1 -1
  48. package/src/__tests__/components/Fields/VisualUniqueSelection/ScrollableSelection/ScrollableSelection.test.tsx +1 -1
  49. package/src/__tests__/components/Fields/VisualUniqueSelection/VisualUniqueSelection.test.tsx +2 -2
  50. package/src/__tests__/components/Fields/Wysiwyg/Wysiwyg.atoms.test.tsx +1 -5
  51. package/src/__tests__/components/Fields/Wysiwyg/Wysiwyg.test.tsx +7 -31
  52. package/src/__tests__/components/Flag/Flag.test.tsx +1 -1
  53. package/src/__tests__/components/FloatingPanel/FloatingPanel.test.tsx +1 -1
  54. package/src/__tests__/components/GuardModal/GuardModal.test.tsx +1 -1
  55. package/src/__tests__/components/HeadingsPreviewModal/HeadingsPreviewModal.test.tsx +1 -1
  56. package/src/__tests__/components/HeadingsPreviewModal/HeadingsPreviewModal.utils.test.tsx +5 -1
  57. package/src/__tests__/components/Icon/Icon.test.tsx +1 -1
  58. package/src/__tests__/components/IconAction/IconAction.test.tsx +1 -1
  59. package/src/__tests__/components/InformativeMenu/InformativeMenu.test.tsx +1 -1
  60. package/src/__tests__/components/KeywordsPreviewModal/KeywordsPreviewModal.test.tsx +1 -1
  61. package/src/__tests__/components/KeywordsPreviewModal/atoms.test.tsx +1 -1
  62. package/src/__tests__/components/Lists/Lists.test.tsx +1 -1
  63. package/src/__tests__/components/Loader/Loader.test.tsx +1 -1
  64. package/src/__tests__/components/Login/Login.test.tsx +1 -1
  65. package/src/__tests__/components/Login/RecoveryModal/RecoveryModal.test.tsx +1 -1
  66. package/src/__tests__/components/MainWrapper/AppBar/AppBar.test.tsx +1 -1
  67. package/src/__tests__/components/MainWrapper/MainWrapper.test.tsx +1 -1
  68. package/src/__tests__/components/MenuItem/MenuItem.test.tsx +1 -1
  69. package/src/__tests__/components/Modal/Modal.test.tsx +1 -1
  70. package/src/__tests__/components/Nav/Nav.test.tsx +1 -1
  71. package/src/__tests__/components/Notification/Notification.test.tsx +1 -1
  72. package/src/__tests__/components/Notification/SubNotification/Subnotification.test.tsx +1 -1
  73. package/src/__tests__/components/Pagination/Pagination.test.tsx +0 -1
  74. package/src/__tests__/components/ProgressBar/ProgressBar.test.tsx +1 -1
  75. package/src/__tests__/components/ReorderArrows/ReorderArrows.test.tsx +1 -1
  76. package/src/__tests__/components/ResizePanel/ResizePanel.test.tsx +1 -0
  77. package/src/__tests__/components/RestrictionsModal/UsersList/UsersList.test.tsx +96 -9
  78. package/src/__tests__/components/SearchField/SearchField.test.tsx +1 -1
  79. package/src/__tests__/components/SubNav/SubNav.test.tsx +1 -1
  80. package/src/__tests__/components/TableCounter/TableCounter.test.tsx +1 -1
  81. package/src/__tests__/components/TableFilters/CategoryFilter/CategoryFilter.test.tsx +3 -3
  82. package/src/__tests__/components/TableFilters/CustomizeFilters/CustomizeFilters.test.tsx +2 -2
  83. package/src/__tests__/components/TableFilters/DateFilter/DateFilter.test.tsx +3 -3
  84. package/src/__tests__/components/TableFilters/LiveFilter/LiveFilter.test.tsx +3 -3
  85. package/src/__tests__/components/TableFilters/NameFilter/NameFilter.test.tsx +3 -3
  86. package/src/__tests__/components/TableFilters/RoleFilter/RoleFilter.test.tsx +3 -3
  87. package/src/__tests__/components/TableFilters/SiteFilter/SiteFilter.test.tsx +3 -3
  88. package/src/__tests__/components/TableFilters/StatusFilter/StatusFilter.test.tsx +3 -3
  89. package/src/__tests__/components/TableFilters/TranslationsFilter/TranslationsFilter.test.tsx +3 -3
  90. package/src/__tests__/components/TableFilters/TypeFilter/TypeFilter.test.tsx +3 -3
  91. package/src/__tests__/components/TableFilters/UsersFilter/UsersFilter.test.tsx +3 -3
  92. package/src/__tests__/components/TableList/TableList.test.tsx +1 -1
  93. package/src/__tests__/components/Tabs/Tabs.test.tsx +1 -1
  94. package/src/__tests__/components/Tag/Tag.test.tsx +1 -1
  95. package/src/__tests__/components/Toast/Toast.test.tsx +1 -1
  96. package/src/__tests__/hooks/users.test.tsx +12 -4
  97. package/src/__tests__/modules/Settings/Integrations/Integrations.test.tsx +1 -1
  98. package/src/__tests__/modules/Sites/SitesList/WelcomeModal/FinalStep/FinalStep.test.tsx +9 -1
  99. package/src/__tests__/modules/Sites/SitesList/WelcomeModal/ImageStep/ImageStep.test.tsx +2 -0
  100. package/src/__tests__/modules/Sites/SitesList/WelcomeModal/ImageStep/UploadView/UploadView.test.tsx +1 -0
  101. package/src/__tests__/modules/Users/Roles/BulkHeader/BulkHeader.test.tsx +2 -2
  102. package/src/__tests__/modules/Users/Roles/Roles.test.tsx +3 -3
  103. package/src/__tests__/modules/Users/UserCreate/SiteItem/RolesModal/RoleItem/RoleItem.test.tsx +3 -1
  104. package/src/__tests__/modules/Users/UserCreate/SiteItem/RolesModal/RolesModal.test.tsx +1 -1
  105. package/src/__tests__/modules/Users/UserCreate/SiteItem/SiteItem.test.tsx +1 -1
  106. package/src/__tests__/modules/Users/UserCreate/UserCreate.test.tsx +2 -2
  107. package/src/api/analytics.tsx +3 -3
  108. package/src/api/dataPack.tsx +1 -1
  109. package/src/api/domains.tsx +2 -2
  110. package/src/api/files.tsx +2 -2
  111. package/src/api/folders.tsx +1 -1
  112. package/src/api/forms.tsx +2 -2
  113. package/src/api/global.tsx +2 -2
  114. package/src/api/images.tsx +2 -2
  115. package/src/api/integrations.tsx +3 -3
  116. package/src/api/languages.tsx +1 -1
  117. package/src/api/logs.tsx +3 -3
  118. package/src/api/menus.tsx +1 -1
  119. package/src/api/navigation.tsx +1 -1
  120. package/src/api/redirects.tsx +1 -1
  121. package/src/api/roles.tsx +3 -3
  122. package/src/api/social.tsx +1 -1
  123. package/src/api/users.tsx +1 -1
  124. package/src/api/utils.tsx +1 -1
  125. package/src/components/Avatar/index.tsx +1 -1
  126. package/src/components/Breadcrumb/index.tsx +1 -1
  127. package/src/components/Button/index.tsx +1 -1
  128. package/src/components/ConfigPanel/Form/ConnectedField/PageConnectedField/TemplateManager/index.tsx +1 -1
  129. package/src/components/ConfigPanel/NavigationForm/Field/index.tsx +1 -1
  130. package/src/components/ConfigPanel/NavigationForm/index.tsx +1 -1
  131. package/src/components/ConfigPanel/PreviewForm/index.tsx +1 -1
  132. package/src/components/DragAndDrop/index.tsx +2 -1
  133. package/src/components/EmptyState/index.tsx +1 -1
  134. package/src/components/ErrorCenter/index.tsx +1 -1
  135. package/src/components/FieldContainer/index.tsx +1 -1
  136. package/src/components/Fields/AIReferenceField/AIConfigPanel/index.tsx +1 -1
  137. package/src/components/Fields/AIReferenceField/index.tsx +1 -1
  138. package/src/components/Fields/ArrayFieldGroup/helpers.ts +1 -7
  139. package/src/components/Fields/CheckGroup/index.tsx +2 -2
  140. package/src/components/Fields/ColorPicker/Picker/index.tsx +2 -1
  141. package/src/components/Fields/ColorPicker/index.tsx +2 -1
  142. package/src/components/Fields/ComponentContainer/style.tsx +1 -1
  143. package/src/components/Fields/ConditionalField/index.tsx +1 -3
  144. package/src/components/Fields/FormCategorySelect/index.tsx +2 -2
  145. package/src/components/Fields/FormContainer/FormModal/index.tsx +2 -2
  146. package/src/components/Fields/FormContainer/index.tsx +1 -1
  147. package/src/components/Fields/FormFieldArray/index.tsx +1 -1
  148. package/src/components/Fields/IntegrationsField/IntegrationItem/CustomPanel/index.tsx +1 -1
  149. package/src/components/Fields/IntegrationsField/IntegrationItem/VariablesPanel/helpers.ts +1 -1
  150. package/src/components/Fields/IntegrationsField/IntegrationItem/VariablesPanel/index.tsx +1 -1
  151. package/src/components/Fields/IntegrationsField/SideModal/SideModalOption/index.tsx +1 -1
  152. package/src/components/Fields/LinkField/index.tsx +1 -1
  153. package/src/components/Fields/RadioGroup/index.tsx +2 -2
  154. package/src/components/Fields/SliderField/index.tsx +2 -1
  155. package/src/components/Fields/TimeField/HourInput/index.tsx +2 -1
  156. package/src/components/Fields/UrlField/utils.tsx +1 -1
  157. package/src/components/Fields/VisualOption/index.tsx +1 -1
  158. package/src/components/Fields/Wysiwyg/atoms.tsx +13 -2
  159. package/src/components/Fields/Wysiwyg/helpers.tsx +10 -2
  160. package/src/components/FileGallery/FolderItem/index.tsx +1 -1
  161. package/src/components/FileGallery/GridItem/index.tsx +1 -1
  162. package/src/components/FloatingButton/index.tsx +1 -1
  163. package/src/components/Gallery/FolderItem/index.tsx +1 -1
  164. package/src/components/HeadingsPreviewModal/index.tsx +11 -2
  165. package/src/components/HeadingsPreviewModal/utils.tsx +8 -1
  166. package/src/components/Icon/components/Party.jsx +6 -12
  167. package/src/components/Icon/components/Republish.jsx +12 -18
  168. package/src/components/Icon/components/Sync.jsx +6 -12
  169. package/src/components/KeywordsPreviewModal/index.tsx +7 -1
  170. package/src/components/Lists/index.tsx +1 -1
  171. package/src/components/Nav/index.tsx +1 -1
  172. package/src/components/TableFilters/CustomizeFilters/index.tsx +1 -1
  173. package/src/components/TableFilters/DateFilter/index.tsx +1 -1
  174. package/src/components/TableFilters/LastAccessFilter/index.tsx +1 -1
  175. package/src/components/TableFilters/NameFilter/index.tsx +1 -1
  176. package/src/components/TableFilters/PermissionsFilter/index.tsx +1 -1
  177. package/src/components/TableFilters/StateFilter/index.tsx +1 -1
  178. package/src/components/TableFilters/StatusFilter/index.tsx +1 -1
  179. package/src/components/TableFilters/TypeFilter/index.tsx +1 -1
  180. package/src/components/TableFilters/UsersFilter/index.tsx +1 -1
  181. package/src/components/Tag/index.tsx +15 -2
  182. package/src/containers/ActivityLog/actions.tsx +4 -5
  183. package/src/containers/ActivityLog/interfaces.tsx +2 -2
  184. package/src/containers/ActivityLog/reducer.tsx +1 -2
  185. package/src/containers/Analytics/actions.tsx +3 -3
  186. package/src/containers/Analytics/interfaces.tsx +2 -2
  187. package/src/containers/Analytics/reducer.tsx +2 -2
  188. package/src/containers/Domains/actions.tsx +2 -2
  189. package/src/containers/Domains/interfaces.tsx +2 -2
  190. package/src/containers/Domains/reducer.tsx +2 -2
  191. package/src/containers/FileDrive/actions.tsx +3 -3
  192. package/src/containers/FileDrive/interfaces.tsx +2 -2
  193. package/src/containers/FileDrive/reducer.tsx +1 -1
  194. package/src/containers/Gallery/interfaces.tsx +3 -3
  195. package/src/containers/Gallery/reducer.tsx +2 -2
  196. package/src/containers/Integrations/actions.tsx +3 -3
  197. package/src/containers/Integrations/interfaces.tsx +2 -2
  198. package/src/containers/Integrations/reducer.tsx +2 -2
  199. package/src/containers/Navigation/Defaults/actions.tsx +3 -3
  200. package/src/containers/Navigation/Defaults/interfaces.tsx +2 -2
  201. package/src/containers/Navigation/Menu/actions.tsx +3 -3
  202. package/src/containers/Navigation/Menu/interfaces.tsx +3 -3
  203. package/src/containers/Navigation/Menu/reducer.tsx +2 -2
  204. package/src/containers/PageEditor/utils.tsx +2 -2
  205. package/src/containers/Redirects/actions.tsx +1 -1
  206. package/src/containers/Redirects/interfaces.tsx +1 -1
  207. package/src/containers/Redirects/reducer.tsx +2 -2
  208. package/src/containers/Settings/DataPacks/interfaces.tsx +1 -1
  209. package/src/containers/Settings/DataPacks/reducer.tsx +1 -1
  210. package/src/containers/Settings/Languages/actions.tsx +2 -2
  211. package/src/containers/Settings/Social/actions.tsx +2 -2
  212. package/src/containers/Settings/Social/interfaces.tsx +2 -2
  213. package/src/containers/Settings/Social/reducer.tsx +2 -2
  214. package/src/containers/Sites/interfaces.tsx +2 -2
  215. package/src/containers/Users/interfaces.tsx +2 -2
  216. package/src/forms/validators.tsx +1 -1
  217. package/src/guards/error/index.tsx +1 -1
  218. package/src/helpers/customColumns.tsx +1 -1
  219. package/src/helpers/dates.tsx +3 -3
  220. package/src/helpers/files.tsx +1 -1
  221. package/src/helpers/parseTheme.js +2 -2
  222. package/src/helpers/strings.tsx +1 -1
  223. package/src/hooks/content.tsx +1 -1
  224. package/src/hooks/index.tsx +7 -1
  225. package/src/hooks/users.tsx +1 -3
  226. package/src/modules/ActivityLog/DetailModal/index.tsx +3 -3
  227. package/src/modules/ActivityLog/DownloadModal/index.tsx +3 -3
  228. package/src/modules/ActivityLog/ItemLog/index.tsx +1 -1
  229. package/src/modules/ActivityLog/LogFilters/ContentFilter/index.tsx +1 -1
  230. package/src/modules/ActivityLog/LogFilters/EventFilter/index.tsx +1 -1
  231. package/src/modules/ActivityLog/TableHeader/index.tsx +1 -1
  232. package/src/modules/ActivityLog/hooks.tsx +1 -1
  233. package/src/modules/ActivityLog/index.tsx +2 -2
  234. package/src/modules/ActivityLog/utils.tsx +1 -1
  235. package/src/modules/Analytics/DimensionPanel/index.tsx +1 -1
  236. package/src/modules/Analytics/index.tsx +1 -1
  237. package/src/modules/App/Routing/NavMenu/NavItem/NavSubItem/index.tsx +1 -1
  238. package/src/modules/App/Routing/PrivateRoute/index.tsx +1 -1
  239. package/src/modules/App/index.tsx +1 -1
  240. package/src/modules/Categories/CategoriesList/CategoryNav/NavItem/index.tsx +1 -1
  241. package/src/modules/Categories/CategoriesList/CategoryNav/index.tsx +1 -1
  242. package/src/modules/Categories/CategoriesList/CategoryPanel/Form/index.tsx +1 -1
  243. package/src/modules/Categories/CategoriesList/atoms.tsx +1 -8
  244. package/src/modules/Categories/CategoriesList/helpers.tsx +1 -1
  245. package/src/modules/Categories/CategoriesList/hooks.tsx +1 -1
  246. package/src/modules/Content/BulkHeader/TableHeader/index.tsx +1 -1
  247. package/src/modules/Content/ContentFilters/utils.tsx +1 -1
  248. package/src/modules/Content/hooks.tsx +1 -1
  249. package/src/modules/FileDrive/Breadcrumb/index.tsx +1 -1
  250. package/src/modules/FileDrive/FileFilters/SortBy/index.tsx +1 -1
  251. package/src/modules/FileDrive/FileFilters/Type/index.tsx +1 -1
  252. package/src/modules/FileDrive/FileModal/DetailPanel/UsageContent/ItemGroup/index.tsx +3 -2
  253. package/src/modules/FileDrive/FileModal/DetailPanel/UsageContent/index.tsx +2 -2
  254. package/src/modules/FileDrive/FolderTree/MenuItem/index.tsx +3 -2
  255. package/src/modules/FileDrive/FolderTree/MenuList/index.tsx +1 -1
  256. package/src/modules/FileDrive/FolderTree/index.tsx +1 -1
  257. package/src/modules/FileDrive/hooks.tsx +1 -1
  258. package/src/modules/Forms/FormCategoriesList/CategoryItem/style.tsx +1 -1
  259. package/src/modules/Forms/FormCategoriesList/CategoryPanel/Form/index.tsx +1 -1
  260. package/src/modules/Forms/FormCategoriesList/CategoryPanel/index.tsx +1 -1
  261. package/src/modules/Forms/FormCategoriesList/hooks.tsx +1 -1
  262. package/src/modules/Forms/FormEditor/Editor/FormConfigPanel/Form/ConnectedField/Field/index.tsx +1 -1
  263. package/src/modules/Forms/FormEditor/Editor/FormConfigPanel/Form/ConnectedField/TemplateManager/index.tsx +1 -1
  264. package/src/modules/Forms/FormEditor/Editor/FormConfigPanel/Header/index.tsx +3 -2
  265. package/src/modules/Forms/FormEditor/Editor/FormConfigPanel/index.tsx +1 -1
  266. package/src/modules/Forms/FormEditor/Editor/index.tsx +3 -2
  267. package/src/modules/Forms/FormList/BulkHeader/TableHeader/index.tsx +1 -1
  268. package/src/modules/Forms/FormList/FormItem/index.tsx +7 -1
  269. package/src/modules/Forms/FormList/Summary/index.tsx +1 -1
  270. package/src/modules/Forms/FormList/TemplateModal/index.tsx +3 -2
  271. package/src/modules/Forms/FormList/hooks.tsx +1 -1
  272. package/src/modules/Forms/FormUseModal/utils.tsx +1 -1
  273. package/src/modules/Forms/FormsMenu/index.tsx +1 -1
  274. package/src/modules/Forms/atoms.tsx +5 -1
  275. package/src/modules/Forms/utils.tsx +1 -1
  276. package/src/modules/FramePreview/HeadingsOverlay/index.tsx +3 -4
  277. package/src/modules/GlobalSettings/Robots/Item/index.tsx +1 -1
  278. package/src/modules/MediaGallery/Breadcrumb/index.tsx +1 -1
  279. package/src/modules/MediaGallery/FolderTree/MenuItem/index.tsx +3 -2
  280. package/src/modules/MediaGallery/FolderTree/MenuList/index.tsx +1 -1
  281. package/src/modules/MediaGallery/FolderTree/index.tsx +1 -1
  282. package/src/modules/MediaGallery/GridItem/index.tsx +6 -1
  283. package/src/modules/MediaGallery/ImageFilters/Orientation/index.tsx +1 -1
  284. package/src/modules/MediaGallery/ImageFilters/SortBy/index.tsx +1 -1
  285. package/src/modules/MediaGallery/ImageFilters/Type/index.tsx +1 -1
  286. package/src/modules/MediaGallery/ImageFilters/Usage/index.tsx +1 -1
  287. package/src/modules/MediaGallery/ImageModal/DetailPanel/UsageContent/ItemGroup/index.tsx +3 -2
  288. package/src/modules/MediaGallery/ImageModal/DetailPanel/UsageContent/index.tsx +2 -2
  289. package/src/modules/MediaGallery/hooks.tsx +1 -1
  290. package/src/modules/Navigation/Defaults/DefaultsEditor/Editor/DefaultsBrowser/index.tsx +2 -2
  291. package/src/modules/Navigation/Defaults/DefaultsEditor/Editor/index.tsx +2 -2
  292. package/src/modules/Navigation/Defaults/ReplaceNavModal/index.tsx +1 -1
  293. package/src/modules/Navigation/Menus/List/Nav/index.tsx +1 -1
  294. package/src/modules/Navigation/Menus/List/Table/Header/index.tsx +1 -1
  295. package/src/modules/Navigation/Menus/List/Table/Item/index.tsx +6 -1
  296. package/src/modules/Navigation/Menus/List/Table/Item/style.tsx +1 -1
  297. package/src/modules/Navigation/Menus/List/Table/helpers.tsx +1 -1
  298. package/src/modules/PublicPreview/index.tsx +5 -13
  299. package/src/modules/Redirects/BulkHeader/TableHeader/index.tsx +1 -1
  300. package/src/modules/Redirects/BulkHeader/index.tsx +1 -1
  301. package/src/modules/Redirects/RedirectPanel/index.tsx +1 -1
  302. package/src/modules/Redirects/hooks.tsx +1 -1
  303. package/src/modules/Settings/ContentTypes/DataPacks/AddModal/Filter/index.tsx +1 -1
  304. package/src/modules/Settings/ContentTypes/DataPacks/AddModal/SidePanel/DetailPanel/index.tsx +1 -1
  305. package/src/modules/Settings/ContentTypes/DataPacks/AddModal/SidePanel/index.tsx +1 -1
  306. package/src/modules/Settings/ContentTypes/DataPacks/AddModal/index.tsx +1 -1
  307. package/src/modules/Settings/ContentTypes/DataPacks/Config/Form/TemplateConfig/TemplateEditor/Editor/ConfigPanel/IntegrationsField/index.tsx +1 -1
  308. package/src/modules/Settings/ContentTypes/DataPacks/Config/Form/TemplateConfig/TemplateEditor/Editor/ConfigPanel/index.tsx +1 -1
  309. package/src/modules/Settings/ContentTypes/DataPacks/Config/Form/TemplateConfig/TemplateEditor/Editor/TemplateBrowser/index.tsx +1 -1
  310. package/src/modules/Settings/ContentTypes/DataPacks/Config/Form/TemplateConfig/TemplateEditor/index.tsx +1 -1
  311. package/src/modules/Settings/ContentTypes/DataPacks/Config/Form/TemplateConfig/index.tsx +2 -2
  312. package/src/modules/Settings/ContentTypes/DataPacks/Item/index.tsx +3 -2
  313. package/src/modules/Settings/ContentTypes/DataPacks/List/index.tsx +2 -2
  314. package/src/modules/Settings/ContentTypes/DataPacks/Nav/index.tsx +1 -1
  315. package/src/modules/Settings/Globals/NavigationModules/SideModal/index.tsx +1 -1
  316. package/src/modules/Settings/Globals/NavigationModules/index.tsx +1 -1
  317. package/src/modules/Settings/Globals/constants.tsx +1 -1
  318. package/src/modules/Settings/Integrations/BulkHeader/TableHeader/index.tsx +1 -1
  319. package/src/modules/Settings/Integrations/IntegrationForm/VariableItem/index.tsx +1 -1
  320. package/src/modules/Settings/Integrations/IntegrationForm/VariablePanel/index.tsx +1 -1
  321. package/src/modules/Settings/Integrations/IntegrationForm/index.tsx +2 -2
  322. package/src/modules/Settings/Integrations/IntegrationItem/style.tsx +1 -1
  323. package/src/modules/Settings/Integrations/hooks.tsx +1 -1
  324. package/src/modules/Settings/Integrations/index.tsx +0 -1
  325. package/src/modules/Settings/Integrations/utils.tsx +1 -1
  326. package/src/modules/Settings/Languages/LanguagePanel/Form/ConnectedField/index.tsx +1 -1
  327. package/src/modules/Settings/Languages/LanguagePanel/Form/index.tsx +1 -1
  328. package/src/modules/Settings/Languages/LanguagePanel/index.tsx +1 -1
  329. package/src/modules/Settings/Languages/Table/Header/index.tsx +1 -1
  330. package/src/modules/Settings/Languages/Table/Item/index.tsx +1 -1
  331. package/src/modules/Settings/Languages/Table/index.tsx +1 -1
  332. package/src/modules/Settings/Languages/index.tsx +1 -1
  333. package/src/modules/Settings/SeoAnalyticsSettings/Analytics/atoms.tsx +2 -2
  334. package/src/modules/Settings/index.tsx +1 -1
  335. package/src/modules/Sites/SitesList/ListView/ListSiteItem/index.tsx +7 -1
  336. package/src/modules/StructuredData/StructuredDataList/ContentFilters/utils.tsx +1 -1
  337. package/src/modules/StructuredData/StructuredDataList/GlobalPageItem/index.tsx +6 -1
  338. package/src/modules/StructuredData/StructuredDataList/GlobalPageItem/utils.tsx +1 -1
  339. package/src/modules/StructuredData/StructuredDataList/StructuredDataItem/index.tsx +16 -2
  340. package/src/modules/StructuredData/StructuredDataList/hooks.tsx +1 -1
  341. package/src/modules/Users/Roles/BulkHeader/TableHeader/index.tsx +1 -1
  342. package/src/modules/Users/Roles/SideModal/index.tsx +1 -1
  343. package/src/modules/Users/Roles/hooks.tsx +1 -1
  344. package/src/modules/Users/UserCreate/OptionItem/index.tsx +1 -1
  345. package/src/modules/Users/UserCreate/SiteItem/RolesModal/index.tsx +1 -1
  346. package/src/modules/Users/UserCreate/SiteItem/style.tsx +13 -1
  347. package/src/modules/Users/UserList/UserItem/index.tsx +10 -1
  348. package/src/modules/Users/UserList/hooks.tsx +1 -1
  349. package/tsconfig.json +11 -4
  350. package/tsconfig.paths.json +19 -20
@@ -1,6 +1,6 @@
1
1
  import React, { useEffect, useState } from "react";
2
2
 
3
- import { IDimension } from "@ax/types";
3
+ import type { IDimension } from "@ax/types";
4
4
  import { FloatingPanel, Button, FieldsBehavior, NoteField } from "@ax/components";
5
5
  import { splitAndJoin } from "@ax/helpers";
6
6
 
@@ -1,7 +1,7 @@
1
1
  import React, { useEffect, useState } from "react";
2
2
  import { connect } from "react-redux";
3
3
 
4
- import { IAnalytics, IDimension, IDimensionsGroup, IRootState } from "@ax/types";
4
+ import type { IAnalytics, IDimension, IDimensionsGroup, IRootState } from "@ax/types";
5
5
  import { appActions } from "@ax/containers/App";
6
6
  import { analyticsActions } from "@ax/containers/Analytics";
7
7
  import { MainWrapper, ErrorToast, Loading, FieldsBehavior } from "@ax/components";
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import type React from "react";
2
2
 
3
3
  import * as S from "./style";
4
4
 
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { Route, Redirect } from "react-router-dom";
3
3
 
4
4
  import { usePermission } from "@ax/hooks";
5
- import { IUser } from "@ax/types";
5
+ import type { IUser } from "@ax/types";
6
6
  import { ErrorPage } from "@ax/components";
7
7
 
8
8
  const PrivateRoute = (props: IProps): JSX.Element => {
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { connect } from "react-redux";
3
3
  import { ErrorBoundary } from "react-error-boundary";
4
4
 
5
- import { IRootState } from "@ax/types";
5
+ import type { IRootState } from "@ax/types";
6
6
  import { ErrorPage, Loading } from "@ax/components";
7
7
 
8
8
  import Routing from "./Routing";
@@ -1,7 +1,7 @@
1
1
  import React, { useState } from "react";
2
2
  import { NavLink } from "react-router-dom";
3
3
 
4
- import { IDataPack, IStructuredData } from "@ax/types";
4
+ import type { IDataPack, IStructuredData } from "@ax/types";
5
5
  import { Icon, MenuItem } from "@ax/components";
6
6
 
7
7
  import * as S from "./style";
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
 
3
- import { IDataPack, IStructuredData } from "@ax/types";
3
+ import type { IDataPack, IStructuredData } from "@ax/types";
4
4
  import { SubNav } from "@ax/components";
5
5
  import NavItem from "./NavItem";
6
6
 
@@ -2,7 +2,7 @@ import React from "react";
2
2
 
3
3
  import { FieldsBehavior } from "@ax/components";
4
4
  import { slugify } from "@ax/helpers";
5
- import { IFormState } from "..";
5
+ import type { IFormState } from "..";
6
6
 
7
7
  const Form = (props: IFormProps): JSX.Element => {
8
8
  const { edit, form, isTranslation, setForm } = props;
@@ -53,14 +53,7 @@ interface IDeleteGroupModal extends IDeleteModal {
53
53
  }
54
54
 
55
55
  const DeleteGroupModal = (props: IDeleteGroupModal): JSX.Element => {
56
- const {
57
- isOpen,
58
- toggleModal,
59
- onDelete,
60
- isLoading = false,
61
- deleteGroupCategories,
62
- setDeleteGroupCategories,
63
- } = props;
56
+ const { isOpen, toggleModal, onDelete, isLoading = false, deleteGroupCategories, setDeleteGroupCategories } = props;
64
57
 
65
58
  const mainModalAction = {
66
59
  title: isLoading ? "deleting" : "delete",
@@ -1,4 +1,4 @@
1
- import { ICategoryGroup, IStructuredDataCategory } from "@ax/types";
1
+ import type { ICategoryGroup, IStructuredDataCategory } from "@ax/types";
2
2
  import type { UniqueIdentifier } from "@dnd-kit/core";
3
3
  import { arrayMove } from "@dnd-kit/sortable";
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { useState } from "react";
2
- import { IQueryValue } from "@ax/types";
2
+ import type { IQueryValue } from "@ax/types";
3
3
 
4
4
  const useFilterQuery = () => {
5
5
  const initialQueryValues: Record<string, IQueryValue[]> = {
@@ -11,7 +11,7 @@ import {
11
11
  TranslationsFilter,
12
12
  Tooltip,
13
13
  } from "@ax/components";
14
- import { IColumn, IQueryValue, ISchemaField } from "@ax/types";
14
+ import type { IColumn, IQueryValue, ISchemaField } from "@ax/types";
15
15
 
16
16
  import * as S from "./style";
17
17
 
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { IContentFilter, IDynamicFilter, IStructuredData } from "@ax/types";
2
+ import type { IContentFilter, IDynamicFilter, IStructuredData } from "@ax/types";
3
3
 
4
4
  const getDynamicFilters = (values: IStructuredData[]): IDynamicFilter[] =>
5
5
  values &&
@@ -1,5 +1,5 @@
1
1
  import { useState } from "react";
2
- import { IQueryValue } from "@ax/types";
2
+ import type { IQueryValue } from "@ax/types";
3
3
 
4
4
  const useSortedListStatus = () => {
5
5
  const sortedInitialState: {
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { IFolderTree } from "@ax/types";
2
+ import type { IFolderTree } from "@ax/types";
3
3
 
4
4
  import * as S from "./style";
5
5
 
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
 
3
3
  import { Icon, FloatingMenu, ListTitle, ListItem } from "@ax/components";
4
- import { IQueryValue } from "@ax/types";
4
+ import type { IQueryValue } from "@ax/types";
5
5
 
6
6
  import * as S from "./style";
7
7
 
@@ -1,7 +1,7 @@
1
1
  import React, { useEffect, useState } from "react";
2
2
  import { FloatingMenu, Icon, ListTitle, CheckGroup } from "@ax/components";
3
3
  import { areEquals } from "@ax/helpers";
4
- import { IFilterValue, IQueryValue } from "@ax/types";
4
+ import type { IFilterValue, IQueryValue } from "@ax/types";
5
5
 
6
6
  import * as S from "./style";
7
7
 
@@ -1,5 +1,6 @@
1
- import React, { useState } from "react";
2
- import { IFileUseItem } from "@ax/types";
1
+ import type React from "react";
2
+ import { useState } from "react";
3
+ import type { IFileUseItem } from "@ax/types";
3
4
  import Item from "../Item";
4
5
 
5
6
  import * as S from "./style";
@@ -4,8 +4,8 @@ import { appActions } from "@ax/containers/App";
4
4
  import { pageEditorActions } from "@ax/containers/PageEditor";
5
5
  import { sitesActions } from "@ax/containers/Sites";
6
6
  import { structuredDataActions } from "@ax/containers/StructuredData";
7
- import { ISetCurrentPageIDAction } from "@ax/containers/PageEditor/interfaces";
8
- import { IFile, IFileUseItem, IFileUsePages, IRootState } from "@ax/types";
7
+ import type { ISetCurrentPageIDAction } from "@ax/containers/PageEditor/interfaces";
8
+ import type { IFile, IFileUseItem, IFileUsePages, IRootState } from "@ax/types";
9
9
  import Item from "./Item";
10
10
  import ItemGroup from "./ItemGroup";
11
11
 
@@ -1,6 +1,7 @@
1
- import React, { useState } from "react";
1
+ import type React from "react";
2
+ import { useState } from "react";
2
3
  import MenuList from "../MenuList";
3
- import { IFolderTree } from "@ax/types";
4
+ import type { IFolderTree } from "@ax/types";
4
5
  import { Icon } from "@ax/components";
5
6
  import { trimText } from "@ax/helpers";
6
7
 
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { IFolderTree } from "@ax/types";
2
+ import type { IFolderTree } from "@ax/types";
3
3
  import MenuItem from "../MenuItem";
4
4
 
5
5
  const MenuList = (props: IMenuListProps) => {
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { connect } from "react-redux";
3
3
 
4
- import { IFolderTree, IRootState } from "@ax/types";
4
+ import type { IFolderTree, IRootState } from "@ax/types";
5
5
  import { Icon } from "@ax/components";
6
6
 
7
7
  import MenuList from "./MenuList";
@@ -1,5 +1,5 @@
1
1
  import { useState } from "react";
2
- import { IQueryValue } from "@ax/types";
2
+ import type { IQueryValue } from "@ax/types";
3
3
 
4
4
  const useSortedListStatus = () => {
5
5
  const sortedInitialState: {
@@ -1,5 +1,5 @@
1
1
  import styled from "styled-components";
2
- import { CSS, Transform } from "@dnd-kit/utilities";
2
+ import { CSS, type Transform } from "@dnd-kit/utilities";
3
3
 
4
4
  import { Cell, Row } from "@ax/components/TableList/TableItem/style";
5
5
  import { ActionMenu } from "@ax/components";
@@ -2,7 +2,7 @@ import React from "react";
2
2
 
3
3
  import { FieldsBehavior } from "@ax/components";
4
4
  import { slugify } from "@ax/helpers";
5
- import { IFormState } from "..";
5
+ import type { IFormState } from "..";
6
6
 
7
7
  const Form = (props: IFormProps): JSX.Element => {
8
8
  const { edit, form, setForm } = props;
@@ -2,7 +2,7 @@ import React, { useState } from "react";
2
2
  import { connect } from "react-redux";
3
3
 
4
4
  import { formsActions } from "@ax/containers/Forms";
5
- import { FormCategory } from "@ax/types";
5
+ import type { FormCategory } from "@ax/types";
6
6
  import { Button, FloatingPanel } from "@ax/components";
7
7
  import Form from "./Form";
8
8
 
@@ -1,5 +1,5 @@
1
1
  import { useState } from "react";
2
- import { IQueryValue } from "@ax/types";
2
+ import type { IQueryValue } from "@ax/types";
3
3
 
4
4
  const useFilterQuery = () => {
5
5
  const initialQueryValues: Record<string, IQueryValue[]> = {
@@ -2,7 +2,7 @@ import React from "react";
2
2
 
3
3
  import { getInnerFields } from "@ax/forms";
4
4
  import { FieldContainer, FieldGroup } from "@ax/components";
5
- import { IErrorItem, IPage, ISite, ILanguage } from "@ax/types";
5
+ import type { IErrorItem, IPage, ISite, ILanguage } from "@ax/types";
6
6
 
7
7
  const Field = (props: IFieldProps): JSX.Element => {
8
8
  const {
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
 
3
- import { IErrorItem, ISchema, ISchemaField, ISite } from "@ax/types";
3
+ import type { IErrorItem, ISchema, ISchemaField, ISite } from "@ax/types";
4
4
  import Field from "../Field";
5
5
 
6
6
  import * as S from "./style";
@@ -1,6 +1,7 @@
1
- import React, { memo, useCallback, useEffect, useState } from "react";
1
+ import type React from "react";
2
+ import { memo, useCallback, useEffect, useState } from "react";
2
3
 
3
- import { IBreadcrumbItem, ISchema } from "@ax/types";
4
+ import type { IBreadcrumbItem, ISchema } from "@ax/types";
4
5
  import { Breadcrumb, Toast } from "@ax/components";
5
6
  import { useToast } from "@ax/hooks";
6
7
 
@@ -2,7 +2,7 @@ import React, { useEffect, useRef, useState } from "react";
2
2
 
3
3
  import { isEmptyObj } from "@ax/helpers";
4
4
  import { Loading } from "@ax/components";
5
- import { IBreadcrumbItem, IErrorItem, ISchema } from "@ax/types";
5
+ import type { IBreadcrumbItem, IErrorItem, ISchema } from "@ax/types";
6
6
 
7
7
  import Form from "./Form";
8
8
  import Header from "./Header";
@@ -1,7 +1,8 @@
1
- import React, { useEffect, useState } from "react";
1
+ import type React from "react";
2
+ import { useEffect, useState } from "react";
2
3
  import { connect } from "react-redux";
3
4
  import { ResizePanel } from "@ax/components";
4
- import { IBreadcrumbItem, IErrorItem, IModule, INotification, IRootState, ISchema, ISchemaField } from "@ax/types";
5
+ import type { IBreadcrumbItem, IErrorItem, IModule, INotification, IRootState, ISchema, ISchemaField } from "@ax/types";
5
6
  import { formsActions } from "@ax/containers/Forms";
6
7
  import { getFormTemplate } from "@ax/helpers";
7
8
  import PageBrowser from "../PageBrowser";
@@ -9,7 +9,7 @@ import {
9
9
  TableCounter,
10
10
  Tooltip,
11
11
  } from "@ax/components";
12
- import { IFilterValue, IQueryValue } from "@ax/types";
12
+ import type { IFilterValue, IQueryValue } from "@ax/types";
13
13
 
14
14
  import * as S from "./style";
15
15
 
@@ -262,7 +262,13 @@ const FormItem = (props: IFormItemProps): JSX.Element => {
262
262
 
263
263
  return (
264
264
  <>
265
- <S.FormRow role="rowgroup" selected={isSelected} onClick={handleClick} onContextMenu={handleContextMenu} clickable={isAllowedTo.editForms}>
265
+ <S.FormRow
266
+ role="rowgroup"
267
+ selected={isSelected}
268
+ onClick={handleClick}
269
+ onContextMenu={handleContextMenu}
270
+ clickable={isAllowedTo.editForms}
271
+ >
266
272
  <S.CheckCell role="cell" onClick={handleCheckClick}>
267
273
  <CheckField name={`form-${id}`} value={id} checked={isSelected || hoverCheck} onChange={handleOnChange} />
268
274
  </S.CheckCell>
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { Icon } from "@ax/components";
3
- import { IQueryValue } from "@ax/types";
3
+ import type { IQueryValue } from "@ax/types";
4
4
 
5
5
  import * as S from "./style";
6
6
 
@@ -1,6 +1,7 @@
1
- import React, { useState } from "react";
1
+ import type React from "react";
2
+ import { useState } from "react";
2
3
 
3
- import { IModal, ISchema } from "@ax/types";
4
+ import type { IModal, ISchema } from "@ax/types";
4
5
  import { EmptyState, Modal, SearchField, Select } from "@ax/components";
5
6
  import { getFormTemplateCategories, getFormTemplateThumbnailProps } from "@ax/helpers";
6
7
 
@@ -1,5 +1,5 @@
1
1
  import { useState } from "react";
2
- import { IQueryValue } from "@ax/types";
2
+ import type { IQueryValue } from "@ax/types";
3
3
 
4
4
  const useSortedListStatus = () => {
5
5
  const sortedInitialState: {
@@ -1,6 +1,6 @@
1
1
  import { navigation, pages, sites } from "@ax/api";
2
2
  import { getStructuredDataTitle, isReqOk } from "@ax/helpers";
3
- import { IFilterValue, IGetPagesParams, INavigation, IPage, ISite } from "@ax/types";
3
+ import type { IFilterValue, IGetPagesParams, INavigation, IPage, ISite } from "@ax/types";
4
4
 
5
5
  const getSite = async (siteID: number) => {
6
6
  try {
@@ -9,7 +9,7 @@ import { getSchemaFormCategories } from "@ax/helpers";
9
9
  import MenuGroup from "./MenuGroup";
10
10
 
11
11
  import * as S from "./style";
12
- import { IRootState, ISite } from "@ax/types";
12
+ import type { IRootState, ISite } from "@ax/types";
13
13
 
14
14
  const FormsMenu = (props: IProps): JSX.Element => {
15
15
  const { selected, currentSiteInfo, setHistoryPush } = props;
@@ -71,7 +71,11 @@ const UnPublishModal = (props: IUnpublishModal): JSX.Element => {
71
71
 
72
72
  const formTitle = title ? <strong>{title}</strong> : "this form";
73
73
 
74
- const mainAction = { title: isUnpublishing ? "Unpublishing" : "Unpublish form", onClick: onUnpublish, disabled: isUnpublishing };
74
+ const mainAction = {
75
+ title: isUnpublishing ? "Unpublishing" : "Unpublish form",
76
+ onClick: onUnpublish,
77
+ disabled: isUnpublishing,
78
+ };
75
79
  const secondaryAction = { title: "Cancel", onClick: toggleModal };
76
80
 
77
81
  return (
@@ -1,4 +1,4 @@
1
- import { FormContent } from "@ax/types";
1
+ import type { FormContent } from "@ax/types";
2
2
 
3
3
  const getAllLangFormsIds = (forms: FormContent[], selectedItems: number[], getAllVersions: boolean): number[] => {
4
4
  let langsFormsIds: number[] = [];
@@ -86,10 +86,9 @@ const HeadingsOverlay = ({ headingFilter }: IHeadingsOverlayProps) => {
86
86
  return createPortal(
87
87
  <div data-testid="headings-overlay">
88
88
  {boxes.map(({ id, tag }) => {
89
- const el = document.querySelector<HTMLElement>(`[data-griddoid="${id}"]`) ||
90
- document.querySelector(tag);
91
- if (!el) return null;
92
- const rect = el.getBoundingClientRect();
89
+ const el = document.querySelector<HTMLElement>(`[data-griddoid="${id}"]`) || document.querySelector(tag);
90
+ if (!el) return null;
91
+ const rect = el.getBoundingClientRect();
93
92
  const color = headColors[tag];
94
93
  if (!color) return null;
95
94
  const labelAbove = rect.left < 30;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
 
3
- import { IDomainRobot } from "@ax/types";
3
+ import type { IDomainRobot } from "@ax/types";
4
4
  import { useModal } from "@ax/hooks";
5
5
  import RobotsPanel from "./RobotsPanel";
6
6
 
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { IFolderTree } from "@ax/types";
2
+ import type { IFolderTree } from "@ax/types";
3
3
 
4
4
  import * as S from "./style";
5
5
 
@@ -1,6 +1,7 @@
1
- import React, { useState } from "react";
1
+ import type React from "react";
2
+ import { useState } from "react";
2
3
  import MenuList from "../MenuList";
3
- import { IFolderTree } from "@ax/types";
4
+ import type { IFolderTree } from "@ax/types";
4
5
  import { Icon } from "@ax/components";
5
6
  import { trimText } from "@ax/helpers";
6
7
 
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { IFolderTree } from "@ax/types";
2
+ import type { IFolderTree } from "@ax/types";
3
3
  import MenuItem from "../MenuItem";
4
4
 
5
5
  const MenuList = (props: IMenuListProps) => {
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
  import { connect } from "react-redux";
3
3
 
4
- import { IFolderTree, IRootState } from "@ax/types";
4
+ import type { IFolderTree, IRootState } from "@ax/types";
5
5
  import { Icon } from "@ax/components";
6
6
 
7
7
  import MenuList from "./MenuList";
@@ -91,7 +91,12 @@ const GridItem = (props: IProps) => {
91
91
 
92
92
  return (
93
93
  <>
94
- <S.ImageWrapper data-testid="image-item" onClick={handleClick} onContextMenu={handleContextMenu} selected={isSelected}>
94
+ <S.ImageWrapper
95
+ data-testid="image-item"
96
+ onClick={handleClick}
97
+ onContextMenu={handleContextMenu}
98
+ selected={isSelected}
99
+ >
95
100
  <img src={thumb} alt={alt} />
96
101
  <S.IconWrapper onClick={handleCheckClick(!isSelected)}>
97
102
  <Icon name={isSelected ? "successSolid" : "emptyCheck"} size="24" />
@@ -2,7 +2,7 @@ import React, { useState } from "react";
2
2
 
3
3
  import { FloatingMenu, Icon, ListTitle, ListItem } from "@ax/components";
4
4
  import { areEquals } from "@ax/helpers";
5
- import { IQueryValue } from "@ax/types";
5
+ import type { IQueryValue } from "@ax/types";
6
6
 
7
7
  import * as S from "./style";
8
8
 
@@ -1,7 +1,7 @@
1
1
  import React from "react";
2
2
 
3
3
  import { Icon, FloatingMenu, ListTitle, ListItem } from "@ax/components";
4
- import { IQueryValue } from "@ax/types";
4
+ import type { IQueryValue } from "@ax/types";
5
5
 
6
6
  import * as S from "./style";
7
7
 
@@ -2,7 +2,7 @@ import React, { useState } from "react";
2
2
 
3
3
  import { FloatingMenu, Icon, ListTitle, ListItem } from "@ax/components";
4
4
  import { areEquals } from "@ax/helpers";
5
- import { IQueryValue } from "@ax/types";
5
+ import type { IQueryValue } from "@ax/types";
6
6
 
7
7
  import * as S from "./style";
8
8
 
@@ -1,7 +1,7 @@
1
1
  import React, { useEffect, useState } from "react";
2
2
 
3
3
  import { Icon, FloatingMenu, ListTitle, ListItem } from "@ax/components";
4
- import { IQueryValue } from "@ax/types";
4
+ import type { IQueryValue } from "@ax/types";
5
5
 
6
6
  import * as S from "./style";
7
7
 
@@ -1,6 +1,7 @@
1
- import React, { useState } from "react";
1
+ import type React from "react";
2
+ import { useState } from "react";
2
3
  import Item from "../Item";
3
- import { IImageUseItem } from "..";
4
+ import type { IImageUseItem } from "..";
4
5
 
5
6
  import * as S from "./style";
6
7
 
@@ -5,8 +5,8 @@ import { pageEditorActions } from "@ax/containers/PageEditor";
5
5
  import { sitesActions } from "@ax/containers/Sites";
6
6
  import { structuredDataActions } from "@ax/containers/StructuredData";
7
7
  import { usersActions } from "@ax/containers/Users";
8
- import { ISetCurrentPageIDAction } from "@ax/containers/PageEditor/interfaces";
9
- import { IImage, IRootState, ISite, IUser } from "@ax/types";
8
+ import type { ISetCurrentPageIDAction } from "@ax/containers/PageEditor/interfaces";
9
+ import type { IImage, IRootState, ISite, IUser } from "@ax/types";
10
10
  import { images } from "@ax/api";
11
11
  import { isReqOk } from "@ax/helpers";
12
12
  import { EmptyState, Loading } from "@ax/components";
@@ -1,5 +1,5 @@
1
1
  import { useState } from "react";
2
- import { IQueryValue } from "@ax/types";
2
+ import type { IQueryValue } from "@ax/types";
3
3
 
4
4
  const useSortedListStatus = () => {
5
5
  const sortedInitialState: {
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import type React from "react";
2
2
  import { connect } from "react-redux";
3
3
  import { navigationActions } from "@ax/containers/Navigation/Defaults";
4
4
 
5
5
  import { Browser } from "@ax/components";
6
- import { ILanguage, IRootState, ISite, ISocialState } from "@ax/types";
6
+ import type { ILanguage, IRootState, ISite, ISocialState } from "@ax/types";
7
7
 
8
8
  const DefaultsBrowser = (props: IProps) => {
9
9
  const { socials, cloudinaryName, content, currentSiteInfo, siteLangs, browserRef, actions, isDisabled } = props;
@@ -1,9 +1,9 @@
1
- import React from "react";
1
+ import type React from "react";
2
2
  import { connect } from "react-redux";
3
3
  import { navigationActions } from "@ax/containers/Navigation/Defaults";
4
4
 
5
5
  import { ResizePanel, ConfigPanel } from "@ax/components";
6
- import { IBreadcrumbItem, IModule, INotification, IRootState, ISchema, ISite } from "@ax/types";
6
+ import type { IBreadcrumbItem, IModule, INotification, IRootState, ISchema, ISite } from "@ax/types";
7
7
  import DefaultsBrowser from "./DefaultsBrowser";
8
8
 
9
9
  const Editor = (props: IProps) => {
@@ -3,7 +3,7 @@ import { connect } from "react-redux";
3
3
 
4
4
  import { navigationActions } from "@ax/containers/Navigation";
5
5
  import { CheckField, Loader, Modal, Select } from "@ax/components";
6
- import { ICheck, IModal, INavPages, IRootState, IUpdateNavigationParam } from "@ax/types";
6
+ import type { ICheck, IModal, INavPages, IRootState, IUpdateNavigationParam } from "@ax/types";
7
7
  import { useBulkSelection } from "@ax/hooks";
8
8
 
9
9
  import * as S from "./style";
@@ -3,7 +3,7 @@ import { connect } from "react-redux";
3
3
  import { NavLink } from "react-router-dom";
4
4
 
5
5
  import { SubNav, MenuItem, GuardModal } from "@ax/components";
6
- import { IRootState } from "@ax/types";
6
+ import type { IRootState } from "@ax/types";
7
7
  import { useModal } from "@ax/hooks";
8
8
  import { menuActions } from "@ax/containers/Navigation";
9
9
 
@@ -2,7 +2,7 @@ import React, { useState } from "react";
2
2
  import { connect } from "react-redux";
3
3
 
4
4
  import { menuActions } from "@ax/containers/Navigation";
5
- import { IRootState } from "@ax/types";
5
+ import type { IRootState } from "@ax/types";
6
6
  import { IconAction } from "@ax/components";
7
7
  import { Restricted } from "@ax/guards";
8
8
  import { useModal } from "@ax/hooks";