@bigbinary/neeto-webhooks-frontend 1.6.2 → 1.6.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/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import DateFormat from '@bigbinary/neeto-molecules/DateFormat';
|
|
|
15
15
|
import { t as t$1 } from 'i18next';
|
|
16
16
|
import { prop, pluck, assoc } from 'ramda';
|
|
17
17
|
import { MenuHorizontal, Info } from '@bigbinary/neeto-icons';
|
|
18
|
-
import { Form,
|
|
18
|
+
import { Form, Textarea, Select, Input, Switch, ActionBlock } from '@bigbinary/neetoui/formik';
|
|
19
19
|
import { buildUrl } from '@bigbinary/neeto-commons-frontend/utils';
|
|
20
20
|
import * as yup from 'yup';
|
|
21
21
|
|
|
@@ -1174,13 +1174,14 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
|
|
|
1174
1174
|
className: "flex items-center justify-center"
|
|
1175
1175
|
}, /*#__PURE__*/React.createElement(Spinner, null)) : /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Pane.Body, null, /*#__PURE__*/React.createElement("div", {
|
|
1176
1176
|
className: "w-full space-y-4"
|
|
1177
|
-
}, /*#__PURE__*/React.createElement(
|
|
1177
|
+
}, /*#__PURE__*/React.createElement(Textarea, {
|
|
1178
1178
|
required: true,
|
|
1179
1179
|
"data-cy": "endpoint-input-field",
|
|
1180
1180
|
label: t("neetoWebhooks.webhook.endpoint"),
|
|
1181
1181
|
name: "endpoint",
|
|
1182
1182
|
placeholder: t("neetoWebhooks.webhook.endpointPlaceholder"),
|
|
1183
|
-
ref: endpointRef
|
|
1183
|
+
ref: endpointRef,
|
|
1184
|
+
rows: 1
|
|
1184
1185
|
}), !isLoading && /*#__PURE__*/React.createElement(Select, {
|
|
1185
1186
|
isMulti: true,
|
|
1186
1187
|
required: true,
|
|
@@ -1195,7 +1196,7 @@ var AddWebhookPane = function AddWebhookPane(_ref) {
|
|
|
1195
1196
|
name: "secret",
|
|
1196
1197
|
placeholder: t("neetoWebhooks.webhook.secretPlaceholder"),
|
|
1197
1198
|
label: /*#__PURE__*/React.createElement(Trans, {
|
|
1198
|
-
i18nKey: "webhook.secret",
|
|
1199
|
+
i18nKey: "neetoWebhooks.webhook.secret",
|
|
1199
1200
|
components: {
|
|
1200
1201
|
helpLink: /*#__PURE__*/React.createElement("a", {
|
|
1201
1202
|
href: WEBHOOK_HELP_URL,
|