@bigbinary/neeto-templates-frontend 1.1.19 → 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 +4 -0
- package/dist/index.cjs.js +4 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +12 -11
package/dist/index.js
CHANGED
|
@@ -2763,11 +2763,11 @@ var List = function List(_ref) {
|
|
|
2763
2763
|
}, t("neetoTemplate.templates.description"))), /*#__PURE__*/React__default.createElement(Search, {
|
|
2764
2764
|
autoFocus: true,
|
|
2765
2765
|
disableTrimOnBlur: true,
|
|
2766
|
+
"data-cy": "template-search-input",
|
|
2766
2767
|
placeholder: t("neetoTemplate.templates.search"),
|
|
2767
2768
|
onSearch: function onSearch(value) {
|
|
2768
2769
|
return setSearchTerm(value);
|
|
2769
|
-
}
|
|
2770
|
-
"data-cy": "template-search-input"
|
|
2770
|
+
}
|
|
2771
2771
|
})), /*#__PURE__*/React__default.createElement("div", {
|
|
2772
2772
|
className: "space-y-3"
|
|
2773
2773
|
}, /*#__PURE__*/React__default.createElement(Typography, {
|
|
@@ -2807,10 +2807,10 @@ var List = function List(_ref) {
|
|
|
2807
2807
|
onClick: onCreate
|
|
2808
2808
|
}), templates.map(function (template, index) {
|
|
2809
2809
|
return /*#__PURE__*/React__default.createElement(Card, {
|
|
2810
|
-
key: index,
|
|
2811
|
-
template: template,
|
|
2812
2810
|
afterCreate: afterCreate,
|
|
2813
2811
|
refetchResource: refetchResource,
|
|
2812
|
+
template: template,
|
|
2813
|
+
key: index,
|
|
2814
2814
|
onClick: function onClick() {
|
|
2815
2815
|
return handleCardClick(template);
|
|
2816
2816
|
}
|