@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.js CHANGED
@@ -5,6 +5,7 @@ import { values, map, isNotNil, isNil, isEmpty, prop, pluck, clone as clone$1, p
5
5
  import { useFormikContext, useField, FieldArray } from 'formik';
6
6
  import { useFuncDebounce, useDebounce, handleMetaClick } from '@bigbinary/neeto-commons-frontend/react-utils';
7
7
  import * as yup from 'yup';
8
+ import { joinHyphenCase, buildUrl, getQueryParams } from '@bigbinary/neeto-commons-frontend/utils';
8
9
  import { Check, Delete, MenuHorizontal, Info, Reorder } from '@bigbinary/neeto-icons';
9
10
  import { Button, ActionBlock as ActionBlock$1, Input as Input$1, Select as Select$1, Switch, Form } from '@bigbinary/neetoui/formik';
10
11
  import { DEFAULT_PAGE_INDEX, PLURAL } from '@bigbinary/neeto-commons-frontend/constants';
@@ -12,7 +13,6 @@ import Container from '@bigbinary/neeto-molecules/Container';
12
13
  import PageLoader from '@bigbinary/neeto-molecules/PageLoader';
13
14
  import { useQuery, useQueryClient, useMutation } from 'react-query';
14
15
  import axios from 'axios';
15
- import { buildUrl, getQueryParams } from '@bigbinary/neeto-commons-frontend/utils';
16
16
  import { Link, useHistory } from 'react-router-dom';
17
17
  import MenuBar from '@bigbinary/neeto-molecules/MenuBar';
18
18
  import TableWrapper from '@bigbinary/neeto-molecules/TableWrapper';
@@ -6159,6 +6159,7 @@ var Number$1 = function Number(props) {
6159
6159
  return /*#__PURE__*/React.createElement(Input, _extends({}, fieldProps, {
6160
6160
  type: "number",
6161
6161
  suffix: showSubmitButton && /*#__PURE__*/React.createElement(Button, {
6162
+ "data-cy": joinHyphenCase(fieldProps.label, "check-button"),
6162
6163
  icon: Check,
6163
6164
  style: "text",
6164
6165
  onClick: function onClick() {
@@ -6221,6 +6222,7 @@ var Text = function Text(props) {
6221
6222
  var showSubmitButton = props.individualSubmit && dirty;
6222
6223
  return /*#__PURE__*/React.createElement(Input, _extends({}, fieldProps, {
6223
6224
  suffix: showSubmitButton && /*#__PURE__*/React.createElement(Button, {
6225
+ "data-cy": joinHyphenCase(fieldProps.label, "check-button"),
6224
6226
  icon: Check,
6225
6227
  style: "text",
6226
6228
  onClick: function onClick() {