@bigbinary/neeto-integrations-frontend 1.1.1 → 1.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.
- package/README.md +43 -0
- package/dist/index.cjs.js +42 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +42 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -2
- package/types.d.ts +9 -2
package/dist/index.js
CHANGED
|
@@ -3619,6 +3619,10 @@ var demo = {
|
|
|
3619
3619
|
subtitle: "Watch the following video to understand how you can utilize this integration:",
|
|
3620
3620
|
iFrameTitle: "Watch this video to utilize the integration"
|
|
3621
3621
|
};
|
|
3622
|
+
var walkthroughModal = {
|
|
3623
|
+
header: "Check how it behaves",
|
|
3624
|
+
"continue": "Continue"
|
|
3625
|
+
};
|
|
3622
3626
|
var zapier = {
|
|
3623
3627
|
apiKeys: "API Keys",
|
|
3624
3628
|
copyApiKey: "Copy API Key to Clipboard",
|
|
@@ -3640,6 +3644,7 @@ var zapier = {
|
|
|
3640
3644
|
var en = {
|
|
3641
3645
|
common: common,
|
|
3642
3646
|
demo: demo,
|
|
3647
|
+
walkthroughModal: walkthroughModal,
|
|
3643
3648
|
zapier: zapier
|
|
3644
3649
|
};
|
|
3645
3650
|
|
|
@@ -3772,8 +3777,9 @@ var Modal = function Modal(_ref) {
|
|
|
3772
3777
|
steps = _ref$steps === void 0 ? {} : _ref$steps,
|
|
3773
3778
|
children = _ref.children;
|
|
3774
3779
|
return /*#__PURE__*/React__default.createElement(Modal$1, {
|
|
3775
|
-
className: "
|
|
3780
|
+
className: "neeto-ui-flex neeto-ui-flex-col neeto-ui-transform-none w-screen overflow-y-auto",
|
|
3776
3781
|
isOpen: isOpen,
|
|
3782
|
+
size: "fullScreen",
|
|
3777
3783
|
onClose: onClose
|
|
3778
3784
|
}, /*#__PURE__*/React__default.createElement(Modal$1.Header, null, /*#__PURE__*/React__default.createElement(Stepper, {
|
|
3779
3785
|
steps: steps
|
|
@@ -4062,6 +4068,39 @@ Finish.prototypes = {
|
|
|
4062
4068
|
secondaryButtonProps: propTypes.exports.object
|
|
4063
4069
|
};
|
|
4064
4070
|
|
|
4071
|
+
var WalkthroughModal = function WalkthroughModal(_ref) {
|
|
4072
|
+
var _ref$isOpen = _ref.isOpen,
|
|
4073
|
+
isOpen = _ref$isOpen === void 0 ? noop$1 : _ref$isOpen,
|
|
4074
|
+
_ref$onClose = _ref.onClose,
|
|
4075
|
+
onClose = _ref$onClose === void 0 ? noop$1 : _ref$onClose,
|
|
4076
|
+
_ref$videoUrl = _ref.videoUrl,
|
|
4077
|
+
videoUrl = _ref$videoUrl === void 0 ? "" : _ref$videoUrl,
|
|
4078
|
+
children = _ref.children;
|
|
4079
|
+
var _useTranslation = useTranslation(),
|
|
4080
|
+
t = _useTranslation.t;
|
|
4081
|
+
return /*#__PURE__*/React__default.createElement(Modal$1, {
|
|
4082
|
+
isOpen: isOpen,
|
|
4083
|
+
size: "large",
|
|
4084
|
+
onClose: onClose
|
|
4085
|
+
}, /*#__PURE__*/React__default.createElement(Modal$1.Header, null, /*#__PURE__*/React__default.createElement(Typography, {
|
|
4086
|
+
style: "h2",
|
|
4087
|
+
weight: "semibold"
|
|
4088
|
+
}, t("walkthroughModal.header"))), /*#__PURE__*/React__default.createElement(Modal$1.Body, null, /*#__PURE__*/React__default.createElement("div", {
|
|
4089
|
+
className: "w-full py-10"
|
|
4090
|
+
}, /*#__PURE__*/React__default.createElement("video", {
|
|
4091
|
+
autoPlay: true,
|
|
4092
|
+
controls: true,
|
|
4093
|
+
muted: true,
|
|
4094
|
+
className: "cursor-pointer",
|
|
4095
|
+
id: "walkthrough-video"
|
|
4096
|
+
}, /*#__PURE__*/React__default.createElement("source", {
|
|
4097
|
+
src: videoUrl
|
|
4098
|
+
})), children)), /*#__PURE__*/React__default.createElement(Modal$1.Footer, null, /*#__PURE__*/React__default.createElement(Button, {
|
|
4099
|
+
label: t("walkthroughModal.continue"),
|
|
4100
|
+
onClick: onClose
|
|
4101
|
+
})));
|
|
4102
|
+
};
|
|
4103
|
+
|
|
4065
4104
|
function _arrayWithHoles(arr) {
|
|
4066
4105
|
if (Array.isArray(arr)) return arr;
|
|
4067
4106
|
}
|
|
@@ -4404,8 +4443,8 @@ function n(n, r) {
|
|
|
4404
4443
|
}
|
|
4405
4444
|
}
|
|
4406
4445
|
|
|
4407
|
-
var css = ".
|
|
4446
|
+
var css = ".intrinsic-container{height:0;overflow:hidden;position:relative}.intrinsic-container-16x9{padding-bottom:56.25%}.intrinsic-container-4x3{padding-bottom:75%}.intrinsic-container iframe{height:100%;left:0;position:absolute;top:0;width:100%}";
|
|
4408
4447
|
n(css,{});
|
|
4409
4448
|
|
|
4410
|
-
export { Card, Connect, Demo, Finish, Modal, ZapierForm };
|
|
4449
|
+
export { Card, Connect, Demo, Finish, Modal, WalkthroughModal, ZapierForm };
|
|
4411
4450
|
//# sourceMappingURL=index.js.map
|