@bigbinary/neeto-integrations-frontend 2.12.2 → 2.12.4
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.
- package/README.md +4 -0
- package/app/javascript/src/translations/en.json +1 -1
- package/dist/Daily.cjs.js +70 -70
- package/dist/Daily.cjs.js.map +1 -1
- package/dist/Daily.js +68 -68
- package/dist/Daily.js.map +1 -1
- package/dist/GoogleCalender.cjs.js +36 -37
- package/dist/GoogleCalender.cjs.js.map +1 -1
- package/dist/GoogleCalender.js +35 -36
- package/dist/GoogleCalender.js.map +1 -1
- package/dist/ZapierForm.cjs.js +3 -4
- package/dist/ZapierForm.cjs.js.map +1 -1
- package/dist/ZapierForm.js +3 -4
- package/dist/ZapierForm.js.map +1 -1
- package/dist/Zoom.cjs.js +24 -24
- package/dist/Zoom.cjs.js.map +1 -1
- package/dist/Zoom.js +24 -24
- package/dist/Zoom.js.map +1 -1
- package/dist/index.cjs.js +50 -55
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +49 -55
- package/dist/index.js.map +1 -1
- package/package.json +13 -12
package/dist/Zoom.js
CHANGED
|
@@ -5,20 +5,20 @@ import { Daily as Daily$1, Zoom as Zoom$1 } from '@bigbinary/neeto-icons/misc';
|
|
|
5
5
|
import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
|
|
6
6
|
import { useTranslation, Trans } from 'react-i18next';
|
|
7
7
|
import classnames from 'classnames';
|
|
8
|
+
import { useMutationWithInvalidation, withTitle, useQueryParams, withT } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
9
|
+
import { Check } from '@bigbinary/neeto-icons';
|
|
10
|
+
import { Button, Typography, Tooltip } from '@bigbinary/neetoui';
|
|
8
11
|
import '@bigbinary/neeto-molecules/IntegrationCard';
|
|
9
12
|
import DisconnectAlert from '@bigbinary/neeto-molecules/IntegrationDisconnectAlert';
|
|
10
13
|
import WalkthroughModal from '@bigbinary/neeto-molecules/IntegrationWalkthroughModal';
|
|
11
14
|
import i18next, { t as t$1 } from 'i18next';
|
|
12
|
-
import { useMutationWithInvalidation, withTitle, useQueryParams, withT } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
13
15
|
import { DEFAULT_STALE_TIME } from '@bigbinary/neeto-commons-frontend/constants';
|
|
14
16
|
import { useQuery } from 'react-query';
|
|
15
17
|
import axios from 'axios';
|
|
16
|
-
import { buildUrl } from '@bigbinary/neeto-commons-frontend/utils';
|
|
17
|
-
import { Button, Typography, Tooltip } from '@bigbinary/neetoui';
|
|
18
18
|
import { Form as Form$2, Input } from '@bigbinary/neetoui/formik';
|
|
19
|
+
import { buildUrl } from '@bigbinary/neeto-commons-frontend/utils';
|
|
19
20
|
import 'ramda';
|
|
20
21
|
import * as yup from 'yup';
|
|
21
|
-
import { Check } from '@bigbinary/neeto-icons';
|
|
22
22
|
|
|
23
23
|
function _arrayWithHoles(arr) {
|
|
24
24
|
if (Array.isArray(arr)) return arr;
|
|
@@ -517,23 +517,23 @@ var Connect = withT(function (_ref) {
|
|
|
517
517
|
children = _ref.children,
|
|
518
518
|
secondaryButtonProps = _ref.secondaryButtonProps;
|
|
519
519
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
520
|
-
className: "mx-auto w-full max-w-
|
|
520
|
+
className: "mx-auto w-full max-w-3xl"
|
|
521
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
522
|
+
className: "mb-6 flex flex-col gap-y-2"
|
|
521
523
|
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
522
524
|
size: 48
|
|
523
|
-
}), /*#__PURE__*/React__default.createElement(
|
|
524
|
-
className: "
|
|
525
|
-
|
|
526
|
-
|
|
525
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
526
|
+
className: "flex flex-col gap-y-1"
|
|
527
|
+
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
528
|
+
style: "h2"
|
|
527
529
|
}, title), /*#__PURE__*/React__default.createElement(Typography, {
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
}, description), children, /*#__PURE__*/React__default.createElement("div", {
|
|
532
|
-
className: "flex w-full items-start space-x-4"
|
|
530
|
+
style: "body2"
|
|
531
|
+
}, description))), children, /*#__PURE__*/React__default.createElement("div", {
|
|
532
|
+
className: "flex w-full items-center gap-x-3"
|
|
533
533
|
}, /*#__PURE__*/React__default.createElement(Button, _extends$1({
|
|
534
534
|
label: t("neetoIntegrations.common.connect"),
|
|
535
535
|
onClick: onConnect
|
|
536
|
-
}, buttonProps)),
|
|
536
|
+
}, buttonProps)), secondaryButtonProps && /*#__PURE__*/React__default.createElement(Button, _extends$1({
|
|
537
537
|
style: "secondary"
|
|
538
538
|
}, secondaryButtonProps))));
|
|
539
539
|
});
|
|
@@ -541,23 +541,23 @@ Connect.prototypes = {
|
|
|
541
541
|
/**
|
|
542
542
|
* To specify the Icon to be shown
|
|
543
543
|
*/
|
|
544
|
-
Icon:
|
|
544
|
+
Icon: PropTypes.node,
|
|
545
545
|
/**
|
|
546
546
|
* To specify the title of the connect component
|
|
547
547
|
*/
|
|
548
|
-
title:
|
|
548
|
+
title: PropTypes.string,
|
|
549
549
|
/**
|
|
550
550
|
* To specify the description for connect component
|
|
551
551
|
*/
|
|
552
|
-
description:
|
|
552
|
+
description: PropTypes.string,
|
|
553
553
|
/**
|
|
554
554
|
* To specify the props for the connect button
|
|
555
555
|
*/
|
|
556
|
-
buttonProps:
|
|
556
|
+
buttonProps: PropTypes.object,
|
|
557
557
|
/**
|
|
558
558
|
* Handler function that is triggered when the connect button is clicked.
|
|
559
559
|
*/
|
|
560
|
-
onConnect:
|
|
560
|
+
onConnect: PropTypes.func
|
|
561
561
|
};
|
|
562
562
|
|
|
563
563
|
({
|
|
@@ -621,13 +621,13 @@ var Finish = withT(function (_ref) {
|
|
|
621
621
|
secondaryButtonProps = _ref$secondaryButtonP === void 0 ? {} : _ref$secondaryButtonP,
|
|
622
622
|
children = _ref.children;
|
|
623
623
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
624
|
-
className: "
|
|
624
|
+
className: "mx-auto w-full max-w-3xl"
|
|
625
625
|
}, /*#__PURE__*/React__default.createElement(SvgSuccess, null), /*#__PURE__*/React__default.createElement(Typography, {
|
|
626
|
-
className: "
|
|
626
|
+
className: "mb-6 mt-4",
|
|
627
627
|
style: "h2",
|
|
628
628
|
weight: "semibold"
|
|
629
629
|
}, title), children, /*#__PURE__*/React__default.createElement("div", {
|
|
630
|
-
className: "flex w-full items-
|
|
630
|
+
className: "flex w-full items-center gap-x-2"
|
|
631
631
|
}, /*#__PURE__*/React__default.createElement(Button, _extends$1({
|
|
632
632
|
onClick: onClick,
|
|
633
633
|
label: t("neetoIntegrations.common.continue")
|
|
@@ -729,7 +729,7 @@ var Manage = withT(function (_ref) {
|
|
|
729
729
|
className: "neeto-ui-border-gray-300 neeto-ui-rounded-xl mt-10 w-full space-y-4 border p-6"
|
|
730
730
|
}, Icon && /*#__PURE__*/React__default.createElement(Icon, {
|
|
731
731
|
className: "neeto-ui-text-gray-600",
|
|
732
|
-
size:
|
|
732
|
+
size: 48
|
|
733
733
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
734
734
|
className: "space-y-2"
|
|
735
735
|
}, /*#__PURE__*/React__default.createElement("div", {
|