@bigbinary/neeto-templates-frontend 1.1.10 → 1.1.12

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
@@ -2654,6 +2654,8 @@ var Card = function Card(_ref) {
2654
2654
  }
2655
2655
  }, /*#__PURE__*/React__default.createElement(Menu, null, /*#__PURE__*/React__default.createElement(MenuItem.Button, {
2656
2656
  "data-cy": "use-this-template-button",
2657
+ disabled: isCreating,
2658
+ loading: isCreating,
2657
2659
  onClick: function onClick(e) {
2658
2660
  return handleCreateTemplate(e, template.id);
2659
2661
  }
@@ -2746,6 +2748,8 @@ var List = function List(_ref) {
2746
2748
  lineHeight: "normal",
2747
2749
  style: "body2"
2748
2750
  }, t("neetoTemplate.templates.description"))), /*#__PURE__*/React__default.createElement(Input, {
2751
+ autoFocus: true,
2752
+ disableTrimOnBlur: true,
2749
2753
  placeholder: t("neetoTemplate.templates.search"),
2750
2754
  prefix: /*#__PURE__*/React__default.createElement(Search, null),
2751
2755
  type: "search",
@@ -2849,6 +2853,7 @@ var Preview$1 = function Preview(_ref) {
2849
2853
  weight: "semibold"
2850
2854
  }, title)), /*#__PURE__*/React__default.createElement(Button, {
2851
2855
  "data-cy": "preview-use-template-button",
2856
+ disabled: isCreating,
2852
2857
  label: t("neetoTemplate.templates.editTemplate"),
2853
2858
  loading: isCreating,
2854
2859
  onClick: handleCreateTemplate