@bigbinary/neeto-tags-frontend 1.6.12 → 1.6.14
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.cjs.js +27 -35
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +28 -36
- package/dist/index.js.map +1 -1
- package/package.json +12 -12
package/dist/index.cjs.js
CHANGED
|
@@ -767,9 +767,9 @@ var ManageTags = function ManageTags(_ref) {
|
|
|
767
767
|
handleSubmit = _useTagsForm.handleSubmit,
|
|
768
768
|
isSubmitting = _useTagsForm.isSubmitting;
|
|
769
769
|
return /*#__PURE__*/React__default["default"].createElement(neetoui.Pane, {
|
|
770
|
+
onClose: onClose,
|
|
770
771
|
initialFocusRef: inputReference,
|
|
771
|
-
isOpen: !!type
|
|
772
|
-
onClose: onClose
|
|
772
|
+
isOpen: !!type
|
|
773
773
|
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Header, null, /*#__PURE__*/React__default["default"].createElement(neetoui.Typography, {
|
|
774
774
|
style: "h2",
|
|
775
775
|
weight: "semibold"
|
|
@@ -778,41 +778,33 @@ var ManageTags = function ManageTags(_ref) {
|
|
|
778
778
|
initialValues: initialValues,
|
|
779
779
|
onSubmit: handleSubmit
|
|
780
780
|
})
|
|
781
|
-
},
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
className: "neeto-ui-gap-2"
|
|
802
|
-
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
803
|
-
"data-cy": "neeto-tags-manage-tag-submit-button",
|
|
804
|
-
disabled: !dirty || isSubmitting,
|
|
805
|
-
label: t("neetoTags.button.saveChanges"),
|
|
806
|
-
loading: isSubmitting,
|
|
807
|
-
style: "primary",
|
|
808
|
-
type: "submit"
|
|
809
|
-
}), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
781
|
+
}, /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Body, null, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
782
|
+
className: "neeto-ui-flex neeto-ui-w-full neeto-ui-flex-col neeto-ui-gap-4"
|
|
783
|
+
}, /*#__PURE__*/React__default["default"].createElement(formik.Input, {
|
|
784
|
+
required: true,
|
|
785
|
+
unlimitedChars: true,
|
|
786
|
+
"data-cy": "tag-name-text-field",
|
|
787
|
+
label: t("neetoTags.common.name"),
|
|
788
|
+
maxLength: TAG_NAME_MAX_LENGTH,
|
|
789
|
+
name: "name",
|
|
790
|
+
ref: inputReference
|
|
791
|
+
}), /*#__PURE__*/React__default["default"].createElement(formik.Textarea, {
|
|
792
|
+
unlimitedChars: true,
|
|
793
|
+
"data-cy": "tag-description-text-area",
|
|
794
|
+
label: t("neetoTags.common.description"),
|
|
795
|
+
maxLength: TAG_DESCRIPTION_MAX_LENGTH,
|
|
796
|
+
name: "description",
|
|
797
|
+
rows: TAG_DESCRIPTION_ROW_LENGTH
|
|
798
|
+
}))), /*#__PURE__*/React__default["default"].createElement(neetoui.Pane.Footer, null, /*#__PURE__*/React__default["default"].createElement(formik.ActionBlock, {
|
|
799
|
+
isSubmitting: isSubmitting,
|
|
800
|
+
cancelButtonProps: {
|
|
810
801
|
"data-cy": "neeto-tags-manage-tag-cancel-button",
|
|
811
|
-
label: t("neetoTags.button.cancel"),
|
|
812
|
-
style: "text",
|
|
813
802
|
onClick: onClose
|
|
814
|
-
}
|
|
815
|
-
|
|
803
|
+
},
|
|
804
|
+
submitButtonProps: {
|
|
805
|
+
"data-cy": "neeto-tags-manage-tag-submit-button"
|
|
806
|
+
}
|
|
807
|
+
}))));
|
|
816
808
|
};
|
|
817
809
|
|
|
818
810
|
var Menu = neetoui.Dropdown.Menu,
|