@bigbinary/neeto-fields-frontend 1.3.17 → 1.3.19

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
@@ -3,7 +3,6 @@ import { useFuncDebounce, useOnClickOutside, withT, useMutationWithInvalidation,
3
3
  import { Checkbox as Checkbox$1, TimePicker, DatePicker, Select, Input, Textarea, Typography, Pane, Label, Button as Button$1, Tab, Alert, NoData, Table, Spinner } from '@bigbinary/neetoui';
4
4
  import { isNotEmpty, renameKeys, capitalize, findBy, noop as noop$1, filterBy, toLabelAndValue, slugify, humanize, countBy } from '@bigbinary/neeto-cist';
5
5
  import { values, isNotNil, isNil, isEmpty, prop, pluck, clone, pipe, mergeAll, omit, map, pick, assoc, not, any, head } from 'ramda';
6
- import classnames from 'classnames';
7
6
  import { useFormikContext, useField, FieldArray } from 'formik';
8
7
  import { t } from 'i18next';
9
8
  import * as yup from 'yup';
@@ -24,6 +23,7 @@ import TableWrapper from '@bigbinary/neeto-molecules/TableWrapper';
24
23
  import NeetoUIHeader from '@bigbinary/neeto-molecules/Header';
25
24
  import { unstable_batchedUpdates, createPortal } from 'react-dom';
26
25
  import NeetoUISubHeader from '@bigbinary/neeto-molecules/SubHeader';
26
+ import classnames from 'classnames';
27
27
 
28
28
  function _extends() {
29
29
  _extends = Object.assign ? Object.assign.bind() : function (target) {
@@ -898,9 +898,6 @@ var useFormikFields = function useFormikFields(_ref) {
898
898
  dirty: dirty,
899
899
  handleSubmit: handleSubmit,
900
900
  fieldProps: _objectSpread$g(_objectSpread$g({}, formikFieldProps), {}, {
901
- className: classnames({
902
- "items-center": isInline
903
- }),
904
901
  error: individualSubmit ? meta.error : meta.touched && meta.error,
905
902
  value: getValueForField(formikFieldProps.value),
906
903
  label: !isInline && capitalize(name),
@@ -7902,7 +7899,7 @@ var InlineFieldValueInput = function InlineFieldValueInput(_ref) {
7902
7899
  return setEditMode(false);
7903
7900
  }
7904
7901
  })))) : /*#__PURE__*/React.createElement("div", {
7905
- className: classnames("text-center", {
7902
+ className: classnames({
7906
7903
  "cursor-pointer": !field.isSystem
7907
7904
  }),
7908
7905
  onClick: function onClick() {