@bigbinary/neeto-integrations-frontend 1.1.1 → 1.2.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.
- package/README.md +43 -0
- package/dist/index.cjs.js +39 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +39 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/types.d.ts +9 -2
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
@bigbinary/neeto-integrations-frontend
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+
|
|
3
6
|
UI for integrations for all neeto products.
|
|
4
7
|
|
|
5
8
|
## Installation
|
|
@@ -12,6 +15,12 @@ yarn add @bigbinary/neeto-integrations-frontend
|
|
|
12
15
|
|
|
13
16
|
Available components:
|
|
14
17
|
|
|
18
|
+
Available components:
|
|
19
|
+
|
|
20
|
+
- [Connect](./docs/connect/README.md)
|
|
21
|
+
- [Finish](./docs/finish/README.md)
|
|
22
|
+
- [Demo](./docs/demo/README.md)
|
|
23
|
+
|
|
15
24
|
View the [example app](./example/src/App.jsx) to see usage.
|
|
16
25
|
|
|
17
26
|
## Development
|
|
@@ -44,3 +53,37 @@ will run the example app using webpack.
|
|
|
44
53
|
are in watch mode and the changes are bundled automatically). Restart
|
|
45
54
|
webpack-dev-server in host if changes are not applied.
|
|
46
55
|
8. Video explanation on how to use yalc: https://vimeo.com/722958162/9e931b640c
|
|
56
|
+
|
|
57
|
+
# Building and releasing.
|
|
58
|
+
|
|
59
|
+
The `@bigbinary/neeto-integrations-frontend` package gets published to NPM when
|
|
60
|
+
we merge a PR with `patch`, `minor` or `major` label to the `main` branch. The
|
|
61
|
+
`patch` label is used for bug fixes, `minor` label is used for new features and
|
|
62
|
+
`major` label is used for breaking changes. You can checkout the
|
|
63
|
+
`Create and publish releases` workflow in GitHub Actions to get a live update.
|
|
64
|
+
|
|
65
|
+
In case if you missed to add the label, you can manually publish the package.
|
|
66
|
+
For that first you need to create a PR to update the version number in the
|
|
67
|
+
`package.json` file and merge it to the `main` branch. After merging the PR, you
|
|
68
|
+
need to create a
|
|
69
|
+
[new github release](https://github.com/bigbinary/neeto-integrations-frontend/releases/new)
|
|
70
|
+
from main branch. Whenever a new release is created with a new version number,
|
|
71
|
+
the github actions will automatically publish the built package to npm. You can
|
|
72
|
+
checkout the `Publish to npm` workflow in GitHub Actions to get a live update.
|
|
73
|
+
|
|
74
|
+
Please note that before publishing the package, you need to verify the
|
|
75
|
+
functionality in some of the neeto web-apps locally using `yalc` package
|
|
76
|
+
manager. The usage of yalc is explained in this video:
|
|
77
|
+
https://youtu.be/QBiYGP0Rhe0
|
|
78
|
+
|
|
79
|
+
# Product integrations
|
|
80
|
+
|
|
81
|
+
| Projects | IntegrationsFrontend |
|
|
82
|
+
| ------------ | :------------------: |
|
|
83
|
+
| neetoChat | :white_check_mark: |
|
|
84
|
+
| neetoDesk | :white_check_mark: |
|
|
85
|
+
| neetoForm | :white_check_mark: |
|
|
86
|
+
| neetoInvoice | :white_check_mark: |
|
|
87
|
+
| neetoBugtrap | :white_check_mark: |
|
|
88
|
+
| neetoMonitor | :white_check_mark: |
|
|
89
|
+
| neetoCal | :white_check_mark: |
|
package/dist/index.cjs.js
CHANGED
|
@@ -3647,6 +3647,10 @@ var demo = {
|
|
|
3647
3647
|
subtitle: "Watch the following video to understand how you can utilize this integration:",
|
|
3648
3648
|
iFrameTitle: "Watch this video to utilize the integration"
|
|
3649
3649
|
};
|
|
3650
|
+
var walkthroughModal = {
|
|
3651
|
+
header: "Check how it behaves",
|
|
3652
|
+
"continue": "Continue"
|
|
3653
|
+
};
|
|
3650
3654
|
var zapier = {
|
|
3651
3655
|
apiKeys: "API Keys",
|
|
3652
3656
|
copyApiKey: "Copy API Key to Clipboard",
|
|
@@ -3668,6 +3672,7 @@ var zapier = {
|
|
|
3668
3672
|
var en = {
|
|
3669
3673
|
common: common,
|
|
3670
3674
|
demo: demo,
|
|
3675
|
+
walkthroughModal: walkthroughModal,
|
|
3671
3676
|
zapier: zapier
|
|
3672
3677
|
};
|
|
3673
3678
|
|
|
@@ -4090,6 +4095,39 @@ Finish.prototypes = {
|
|
|
4090
4095
|
secondaryButtonProps: propTypes.exports.object
|
|
4091
4096
|
};
|
|
4092
4097
|
|
|
4098
|
+
var WalkthroughModal = function WalkthroughModal(_ref) {
|
|
4099
|
+
var _ref$isOpen = _ref.isOpen,
|
|
4100
|
+
isOpen = _ref$isOpen === void 0 ? pure.noop : _ref$isOpen,
|
|
4101
|
+
_ref$onClose = _ref.onClose,
|
|
4102
|
+
onClose = _ref$onClose === void 0 ? pure.noop : _ref$onClose,
|
|
4103
|
+
_ref$videoUrl = _ref.videoUrl,
|
|
4104
|
+
videoUrl = _ref$videoUrl === void 0 ? "" : _ref$videoUrl,
|
|
4105
|
+
children = _ref.children;
|
|
4106
|
+
var _useTranslation = useTranslation(),
|
|
4107
|
+
t = _useTranslation.t;
|
|
4108
|
+
return /*#__PURE__*/React__default["default"].createElement(neetoui.Modal, {
|
|
4109
|
+
isOpen: isOpen,
|
|
4110
|
+
size: "large",
|
|
4111
|
+
onClose: onClose
|
|
4112
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Modal.Header, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
4113
|
+
style: "h2",
|
|
4114
|
+
weight: "semibold"
|
|
4115
|
+
}, t("walkthroughModal.header"))), /*#__PURE__*/React__default["default"].createElement(neetoui.Modal.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
4116
|
+
className: "w-full py-10"
|
|
4117
|
+
}, /*#__PURE__*/React__default["default"].createElement("video", {
|
|
4118
|
+
autoPlay: true,
|
|
4119
|
+
controls: true,
|
|
4120
|
+
muted: true,
|
|
4121
|
+
className: "cursor-pointer",
|
|
4122
|
+
id: "walkthrough-video"
|
|
4123
|
+
}, /*#__PURE__*/React__default["default"].createElement("source", {
|
|
4124
|
+
src: videoUrl
|
|
4125
|
+
})), children)), /*#__PURE__*/React__default["default"].createElement(neetoui.Modal.Footer, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
4126
|
+
label: t("walkthroughModal.continue"),
|
|
4127
|
+
onClick: onClose
|
|
4128
|
+
})));
|
|
4129
|
+
};
|
|
4130
|
+
|
|
4093
4131
|
function _arrayWithHoles(arr) {
|
|
4094
4132
|
if (Array.isArray(arr)) return arr;
|
|
4095
4133
|
}
|
|
@@ -4440,5 +4478,6 @@ exports.Connect = Connect;
|
|
|
4440
4478
|
exports.Demo = Demo;
|
|
4441
4479
|
exports.Finish = Finish;
|
|
4442
4480
|
exports.Modal = Modal;
|
|
4481
|
+
exports.WalkthroughModal = WalkthroughModal;
|
|
4443
4482
|
exports.ZapierForm = ZapierForm;
|
|
4444
4483
|
//# sourceMappingURL=index.cjs.js.map
|