@bigbinary/neeto-webhooks-frontend 2.2.0 → 2.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.
@@ -5,9 +5,9 @@ import { useQueryParams, useMutationWithInvalidation, withT } from '@bigbinary/n
5
5
  import Container from '@bigbinary/neeto-molecules/Container';
6
6
  import Header$2 from '@bigbinary/neeto-molecules/Header';
7
7
  import HelpPopover from '@bigbinary/neeto-molecules/HelpPopover';
8
- import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
9
8
  import TableWrapper from '@bigbinary/neeto-molecules/TableWrapper';
10
9
  import NoData from '@bigbinary/neetoui/NoData';
10
+ import Spinner from '@bigbinary/neetoui/Spinner';
11
11
  import Table from '@bigbinary/neetoui/Table';
12
12
  import { useTranslation } from 'react-i18next';
13
13
  import { QueryClient, QueryCache, QueryClientProvider, useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
@@ -28,7 +28,6 @@ import { prop, pluck, assoc } from 'ramda';
28
28
  import Alert from '@bigbinary/neetoui/Alert';
29
29
  import Plus from '@bigbinary/neeto-icons/Plus';
30
30
  import MoreDropdown from '@bigbinary/neeto-molecules/MoreDropdown';
31
- import Spinner from '@bigbinary/neetoui/Spinner';
32
31
  import Input from '@bigbinary/neetoui/formik/Input';
33
32
  import Form from '@bigbinary/neetoui/formik/Form';
34
33
  import ActionBlock from '@bigbinary/neetoui/formik/ActionBlock';
@@ -798,7 +797,10 @@ var Details = function Details(_ref) {
798
797
  isOpen: isPresent(deliveryId),
799
798
  size: "large",
800
799
  children: /*#__PURE__*/jsx(Fragment, {
801
- children: isLoading ? /*#__PURE__*/jsx(PageLoader, {}) : /*#__PURE__*/jsxs(Fragment, {
800
+ children: isLoading ? /*#__PURE__*/jsx("div", {
801
+ className: "flex h-full w-full items-center justify-center",
802
+ children: /*#__PURE__*/jsx(Spinner, {})
803
+ }) : /*#__PURE__*/jsxs(Fragment, {
802
804
  children: [/*#__PURE__*/jsx(Pane.Header, {
803
805
  children: /*#__PURE__*/jsxs(Fragment, {
804
806
  children: [/*#__PURE__*/jsx(DateFormat.Date, {
@@ -949,7 +951,12 @@ var Deliveries = function Deliveries(_ref) {
949
951
  link: window.location.pathname,
950
952
  text: endpoint
951
953
  }]);
952
- if (isLoading) return /*#__PURE__*/jsx(PageLoader, {});
954
+ if (isLoading) {
955
+ return /*#__PURE__*/jsx("div", {
956
+ className: "flex h-full w-full items-center justify-center",
957
+ children: /*#__PURE__*/jsx(Spinner, {})
958
+ });
959
+ }
953
960
  return /*#__PURE__*/jsxs(Container, {
954
961
  className: "w-full",
955
962
  children: [/*#__PURE__*/jsx(Header$2, {
@@ -1564,7 +1571,10 @@ var Webhooks = function Webhooks(_ref) {
1564
1571
  setIsDeleteAlertOpen(true);
1565
1572
  }, []);
1566
1573
  if (isLoading) {
1567
- return /*#__PURE__*/jsx(PageLoader, {});
1574
+ return /*#__PURE__*/jsx("div", {
1575
+ className: "flex h-full w-full items-center justify-center",
1576
+ children: /*#__PURE__*/jsx(Spinner, {})
1577
+ });
1568
1578
  }
1569
1579
  return /*#__PURE__*/jsxs(Container, {
1570
1580
  className: containerClassName,