@engagebay/engagebay-form-module 1.0.0-beta.3-0 → 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
|
@@ -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;
|
package/src/index.ts
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
// Main exports for EngageBay Form Module
|
|
2
|
-
|
|
3
|
-
// Core components
|
|
4
|
-
export { default as Form } from './form/Form';
|
|
5
|
-
export { default as FormField } from './form/FormField';
|
|
6
|
-
|
|
7
|
-
// Axios configuration
|
|
8
|
-
export { AxiosConfigProvider, useAxiosConfig, useAxiosConfigOptional } from './api/AxiosConfigProvider';
|
|
9
|
-
|
|
10
|
-
// Form context
|
|
11
|
-
export { FormContext } from './form/context/FormContext';
|
|
12
|
-
|
|
13
|
-
// Schema and types
|
|
14
|
-
export * from './form/schema/FormFieldSchema';
|
|
15
|
-
|
|
16
|
-
// Utilities
|
|
17
|
-
export * from './form/util';
|
|
18
|
-
|
|
19
|
-
// Form field components
|
|
20
|
-
export { default as ArrayField } from './form/formfields/ArrayField';
|
|
21
|
-
export { BusinessHoursField } from './form/formfields/BusinessHoursField';
|
|
22
|
-
export { default as CheckboxButtonsField } from './form/formfields/CheckboxButtonsField';
|
|
23
|
-
export { default as CheckboxField } from './form/formfields/CheckboxField';
|
|
24
|
-
export { default as ColorPickerField } from './form/formfields/ColorPickerField';
|
|
25
|
-
export { default as ComboMultiSelect } from './form/formfields/ComboMultiSelect';
|
|
26
|
-
export { default as ComboSelect } from './form/formfields/ComboSelect';
|
|
27
|
-
export { default as DatePickerField } from './form/formfields/DatePickerField';
|
|
28
|
-
export { default as DateRangePickerField } from './form/formfields/DateRangePickerField';
|
|
29
|
-
export { default as DynamicMultiSelect } from './form/formfields/DynamicMultiSelect';
|
|
30
|
-
export { default as DynamicSelect } from './form/formfields/DynamicSelect';
|
|
31
|
-
export { default as Error } from './form/formfields/Error';
|
|
32
|
-
export { default as ErrorContextHandler } from './form/formfields/ErrorContextHandler';
|
|
33
|
-
export { default as FileUploadField } from './form/formfields/FileUploadField';
|
|
34
|
-
export { default as IframeField } from './form/formfields/IframeField';
|
|
35
|
-
export { default as InputField } from './form/formfields/InputField';
|
|
36
|
-
export { default as InputGroupField } from './form/formfields/InputGroupField';
|
|
37
|
-
export { default as MultipleSelectField } from './form/formfields/MultipleSelectField';
|
|
38
|
-
export { default as NumberField } from './form/formfields/NumberField';
|
|
39
|
-
export { default as PasswordField } from './form/formfields/PasswordField';
|
|
40
|
-
export { default as PhoneNumberField } from './form/formfields/PhoneNumberField';
|
|
41
|
-
export { default as RadioField } from './form/formfields/RadioField';
|
|
42
|
-
export { default as RadioGroupComponent } from './form/formfields/RadioGroupComponent';
|
|
43
|
-
export { default as RangeField } from './form/formfields/RangeField';
|
|
44
|
-
export { default as SelectField } from './form/formfields/SelectField';
|
|
45
|
-
export { default as SwitchField } from './form/formfields/SwitchField';
|
|
46
|
-
export { default as TextAreaField } from './form/formfields/TextAreaField';
|
|
47
|
-
export { default as TimeField } from './form/formfields/TimeField';
|
|
48
|
-
export { default as Typeahead } from './form/formfields/Typeahead';
|
|
49
|
-
export { default as TypeaheadMultiSelect } from './form/formfields/TypeaheadMultiSelect';
|
|
50
|
-
export { default as UrlField } from './form/formfields/UrlField';
|
|
51
|
-
|
|
52
|
-
// Hooks
|
|
53
|
-
export { default as useDynamicReducer } from './form/hooks/useDynamicReducer';
|
|
54
|
-
|
|
55
|
-
// Utilities
|
|
56
|
-
export { default as LoaderWithText } from './util/LoaderWithText';
|
|
57
|
-
export { default as SVGIcon } from './util/svg/SVGIcon';
|
|
58
|
-
export * from './util/svg/HELPER_ICONS';
|