@bigbinary/neetoui 4.1.0 → 4.1.2

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/CHANGELOG.md CHANGED
@@ -23,6 +23,17 @@ Prefix the change with one of these keywords:
23
23
  - *Fixed*: for any bug fixes.
24
24
  - *Security*: in case of vulnerabilities.
25
25
 
26
+ ## 4.1.2 - 2022-11-09
27
+
28
+ - Added `Form` component to `neetoui/formik`.
29
+ - Added relevant tests for `Form` component.
30
+ - Removed the usage of `Formik` and `Form` from `formik` in stories and used `Form`.
31
+ - Fixed flaky tests.
32
+
33
+ ## 4.1.1 - 2022-11-03
34
+
35
+ - Added: Eyedropper to *ColorPicker*
36
+
26
37
  ## 4.1.0 - 2022-11-03
27
38
 
28
39
  - Changed: **BREAKING** Name of the *EmailInput* component to *MultiEmailInput* in both components and Formik components.
package/formik.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import React from "react";
2
+ import { FormikProps } from "formik";
2
3
  import {
3
4
  Input as PlainInput,
4
5
  Radio as PlainRadio,
@@ -20,6 +21,12 @@ export interface BlockNavigationProps {
20
21
  isDirty?: boolean;
21
22
  }
22
23
 
24
+ export interface Form {
25
+ children: React.ReactNode | ((props: FormikProps<any>) => React.ReactNode);
26
+ formikProps: {[key: string]: any};
27
+ formProps: {[key: string]: any};
28
+ }
29
+
23
30
  export const ActionBlock: React.FC<ActionBlockProps>;
24
31
  export const BlockNavigation: React.FC<BlockNavigationProps>;
25
32
 
@@ -31,3 +38,4 @@ export const Checkbox: typeof PlainCheckbox;
31
38
  export const Select: typeof PlainSelect;
32
39
  export const MultiEmailInput: typeof PlainMultiEmailInput;
33
40
  export const Button: typeof PlainButton;
41
+ export const Form: React.FC<Form>;