@arquimedes.co/eureka-forms 2.0.79 → 2.0.80

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/App/App.d.ts CHANGED
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import { Classifier, Form } from '../@Types/Form';
3
3
  import './App.css';
4
4
  import { CustomStep } from '../FormSteps/CustomStep';
5
+ import { EditorState } from 'draft-js';
5
6
  export interface AppProps {
6
7
  /** If the app is currently a widget */
7
8
  isWidget?: boolean;
@@ -35,7 +36,7 @@ export interface AppProps {
35
36
  customConfirmation?: (confirmation: {
36
37
  url: string;
37
38
  caseNumber: string;
38
- }, renderIcon: () => JSX.Element, renderConfirmation: () => JSX.Element | void, renderLink: () => JSX.Element | void) => JSX.Element;
39
+ }, renderIcon: () => JSX.Element, renderConfirmation: (state?: EditorState) => JSX.Element | void, renderLink: () => JSX.Element | void) => JSX.Element;
39
40
  /** Custom function to call on send */
40
41
  customSubmit?: (values: Record<string, unknown>, reload: () => void) => Promise<void>;
41
42
  /** Custom submit function, when passed it is called */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arquimedes.co/eureka-forms",
3
3
  "repository": "git://github.com/Arquimede5/Eureka-Forms.git",
4
- "version": "2.0.79",
4
+ "version": "2.0.80",
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
7
7
  "build": "react-scripts build",