@bigbinary/neeto-fields-frontend 1.1.14 → 1.1.15
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 +3 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -9,6 +9,7 @@ var ramda = require('ramda');
|
|
|
9
9
|
var formik = require('formik');
|
|
10
10
|
var reactUtils = require('@bigbinary/neeto-commons-frontend/react-utils');
|
|
11
11
|
var yup = require('yup');
|
|
12
|
+
var utils = require('@bigbinary/neeto-commons-frontend/utils');
|
|
12
13
|
var neetoIcons = require('@bigbinary/neeto-icons');
|
|
13
14
|
var formik$1 = require('@bigbinary/neetoui/formik');
|
|
14
15
|
var constants = require('@bigbinary/neeto-commons-frontend/constants');
|
|
@@ -16,7 +17,6 @@ var Container = require('@bigbinary/neeto-molecules/Container');
|
|
|
16
17
|
var PageLoader = require('@bigbinary/neeto-molecules/PageLoader');
|
|
17
18
|
var reactQuery = require('react-query');
|
|
18
19
|
var axios = require('axios');
|
|
19
|
-
var utils = require('@bigbinary/neeto-commons-frontend/utils');
|
|
20
20
|
var reactRouterDom = require('react-router-dom');
|
|
21
21
|
var MenuBar = require('@bigbinary/neeto-molecules/MenuBar');
|
|
22
22
|
var TableWrapper = require('@bigbinary/neeto-molecules/TableWrapper');
|
|
@@ -6194,6 +6194,7 @@ var Number$1 = function Number(props) {
|
|
|
6194
6194
|
return /*#__PURE__*/React__default["default"].createElement(neetoui.Input, _extends({}, fieldProps, {
|
|
6195
6195
|
type: "number",
|
|
6196
6196
|
suffix: showSubmitButton && /*#__PURE__*/React__default["default"].createElement(formik$1.Button, {
|
|
6197
|
+
"data-cy": utils.joinHyphenCase(fieldProps.label, "check-button"),
|
|
6197
6198
|
icon: neetoIcons.Check,
|
|
6198
6199
|
style: "text",
|
|
6199
6200
|
onClick: function onClick() {
|
|
@@ -6256,6 +6257,7 @@ var Text = function Text(props) {
|
|
|
6256
6257
|
var showSubmitButton = props.individualSubmit && dirty;
|
|
6257
6258
|
return /*#__PURE__*/React__default["default"].createElement(neetoui.Input, _extends({}, fieldProps, {
|
|
6258
6259
|
suffix: showSubmitButton && /*#__PURE__*/React__default["default"].createElement(formik$1.Button, {
|
|
6260
|
+
"data-cy": utils.joinHyphenCase(fieldProps.label, "check-button"),
|
|
6259
6261
|
icon: neetoIcons.Check,
|
|
6260
6262
|
style: "text",
|
|
6261
6263
|
onClick: function onClick() {
|