@bigbinary/neeto-fields-frontend 2.3.1 → 2.3.2

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.
@@ -2,7 +2,7 @@ import { C as CONFIGS_URL, _ as _defineProperty } from './index-a8c08067.js';
2
2
  import { capitalize, isPresent } from '@bigbinary/neeto-cist';
3
3
  import { DEFAULT_PAGE_INDEX, DEFAULT_PAGE_SIZE, PLURAL } from '@bigbinary/neeto-commons-frontend/constants';
4
4
  import Container from '@bigbinary/neeto-molecules/Container';
5
- import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
5
+ import Spinner from '@bigbinary/neetoui/Spinner';
6
6
  import { isNil, any, isEmpty } from 'ramda';
7
7
  import { useTranslation } from 'react-i18next';
8
8
  import FieldsPane from './FieldsPane.js';
@@ -321,7 +321,10 @@ var FieldsTable = function FieldsTable(_ref) {
321
321
  pageSize = pageProps.pageSize;
322
322
  var noDataProps = {};
323
323
  if (!isFetched && isEmpty(rowData)) {
324
- return /*#__PURE__*/jsx(PageLoader, {});
324
+ return /*#__PURE__*/jsx("div", {
325
+ className: "flex h-full w-full items-center justify-center",
326
+ children: /*#__PURE__*/jsx(Spinner, {})
327
+ });
325
328
  }
326
329
  if (helpDocUrl) {
327
330
  noDataProps.helpText = renderNoDataHelpText(title, helpDocUrl);
@@ -4926,8 +4929,8 @@ var FieldsDashboard = function FieldsDashboard(_ref) {
4926
4929
  setIsReorderPaneOpen: setIsReorderPaneOpen,
4927
4930
  showSubheader: showSubheader
4928
4931
  }), isScreenLoading ? /*#__PURE__*/jsx("div", {
4929
- className: "flex h-screen w-full flex-grow items-center justify-center",
4930
- children: /*#__PURE__*/jsx(PageLoader, {})
4932
+ className: "flex h-full w-full items-center justify-center",
4933
+ children: /*#__PURE__*/jsx(Spinner, {})
4931
4934
  }) : /*#__PURE__*/jsx(FieldsTable, {
4932
4935
  columnData: columnData,
4933
4936
  helpDescription: helpDescription,