@bigbinary/neeto-fields-frontend 1.3.10 → 1.3.11

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,6 +3,7 @@ import { useFuncDebounce, useOnClickOutside, withT, useMutationWithInvalidation,
3
3
  import { Checkbox as Checkbox$1, TimePicker, DatePicker, Select, Input, Textarea, Typography, Pane, Label, Button as Button$1, Dropdown, 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, any, head } from 'ramda';
6
+ import classnames from 'classnames';
6
7
  import { useFormikContext, useField, FieldArray } from 'formik';
7
8
  import { t } from 'i18next';
8
9
  import * as yup from 'yup';
@@ -22,7 +23,6 @@ import TableWrapper from '@bigbinary/neeto-molecules/TableWrapper';
22
23
  import NeetoUIHeader from '@bigbinary/neeto-molecules/Header';
23
24
  import { unstable_batchedUpdates, createPortal } from 'react-dom';
24
25
  import NeetoUISubHeader from '@bigbinary/neeto-molecules/SubHeader';
25
- import classnames from 'classnames';
26
26
 
27
27
  function _extends() {
28
28
  _extends = Object.assign ? Object.assign.bind() : function (target) {
@@ -894,6 +894,9 @@ var useFormikFields = function useFormikFields(_ref) {
894
894
  dirty: dirty,
895
895
  handleSubmit: handleSubmit,
896
896
  fieldProps: _objectSpread$g(_objectSpread$g({}, formikFieldProps), {}, {
897
+ className: classnames({
898
+ "items-center": isInline
899
+ }),
897
900
  error: individualSubmit ? meta.error : meta.touched && meta.error,
898
901
  value: getValueForField(formikFieldProps.value),
899
902
  label: !isInline && capitalize(name),