@engagebay/engagebay-form-module 1.0.0-beta.3-1 → 1.0.0-beta.3-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@engagebay/engagebay-form-module",
3
- "version": "1.0.0-beta.3-1",
3
+ "version": "1.0.0-beta.3-2",
4
4
  "description": "Provide base form components to reacho",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -7,7 +7,7 @@ import { Field } from "@headlessui/react";
7
7
  import RenderFormField from "../util/RenderFormField";
8
8
  import { handleChange, registerFormField } from "../util";
9
9
 
10
- const ColorPickerField: React.FC<FormFieldComponentPropSchema> = (
10
+ export const ColorPickerField: React.FC<FormFieldComponentPropSchema> = (
11
11
  props: FormFieldComponentPropSchema
12
12
  ) => {
13
13
  const formContext = useContext(FormContext);
@@ -57,5 +57,3 @@ const ColorPickerField: React.FC<FormFieldComponentPropSchema> = (
57
57
  <RenderFormField fieldConfig={props.fieldConfig} getInput={getInput} />
58
58
  );
59
59
  };
60
-
61
- export default ColorPickerField;
@@ -7,7 +7,7 @@ import { Input } from "@headlessui/react";
7
7
  import RenderFormField from "../util/RenderFormField";
8
8
  import { handleChange, registerFormField } from "../util";
9
9
 
10
- const RangeField: React.FC<FormFieldComponentPropSchema> = (
10
+ export const RangeField: React.FC<FormFieldComponentPropSchema> = (
11
11
  props: FormFieldComponentPropSchema
12
12
  ) => {
13
13
  const formContext = useContext(FormContext);
@@ -51,5 +51,3 @@ const RangeField: React.FC<FormFieldComponentPropSchema> = (
51
51
  <RenderFormField fieldConfig={props.fieldConfig} getInput={getInput} />
52
52
  );
53
53
  };
54
-
55
- export default RangeField;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
 
3
- export default function LoaderWithText() {
3
+ export function LoaderWithText() {
4
4
  return (
5
5
  <div
6
6
  id="loader-with-text"