@7shifts/sous-chef 3.3.1 → 3.3.3

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.
@@ -1,5 +1,5 @@
1
1
  import { ControlProps } from 'react-select';
2
- declare type GroupOption<T> = {
2
+ export declare type GroupOption<T> = {
3
3
  label: string;
4
4
  options: SelectOption<T>[];
5
5
  };
@@ -19,4 +19,3 @@ export declare type CustomOptionProps<T> = {
19
19
  export interface SelectedOptionPrefixProps<T> extends ControlProps<T, false> {
20
20
  selectedOption: SelectOption<T>;
21
21
  }
22
- export {};
@@ -21,6 +21,6 @@ import FormFooter from './FormFooter';
21
21
  import FormFeedback from './FormFeedback';
22
22
  export { Form, FormRow, TextAreaField, TextField, CheckboxField, PillSelectField, RadioGroupField, RadioGroupOption, PasswordField, MultiSelectField, SelectField, AsyncSelectField, DateField, DateRangeField, WeekField, TimeField, CurrencyField, PercentageField, FormSection, FormFooter, FormFeedback, SIZE_25_PERCENT, SIZE_33_PERCENT, SIZE_50_PERCENT, SIZE_66_PERCENT, SIZE_75_PERCENT };
23
23
  export type { PasswordCriteria } from './PasswordField/types';
24
- export type { SelectOption, SelectOptions } from './SelectField/types';
24
+ export type { SelectOption, SelectOptions, GroupOption } from './SelectField/types';
25
25
  export type { AsyncSelectOptions } from './AsyncSelectField/types';
26
26
  export type { FormikType } from './Form/types';
package/dist/index.js CHANGED
@@ -4780,6 +4780,7 @@ var useFieldControllers = function useFieldControllers(_ref) {
4780
4780
  },
4781
4781
  onBlur: _onBlur ? function (e) {
4782
4782
  _onBlur && _onBlur(e.target.value);
4783
+ formik.setFieldTouched(name);
4783
4784
  currencyBlur();
4784
4785
  } : function () {
4785
4786
  formik.setFieldTouched(name);