@web-site-utilities/feedback 0.0.1 → 0.0.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.
@@ -126,4 +126,5 @@ export type FormConfig = {
126
126
  useSystemTheme: true;
127
127
  };
128
128
  };
129
+ export type FormConfigTheme = typeof theme;
129
130
  export {};
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { FormConfigTheme, InlineForm } from '@web-site-utilities/common/types/FormConfig';
3
3
  import { Nullable } from '@web-site-utilities/common/types/Nullable';
4
- type InPlaceFormProps = {
4
+ export type InPlaceFormProps = {
5
5
  formId: string;
6
6
  domainId: string;
7
7
  formTheme: FormConfigTheme;
@@ -28,4 +28,3 @@ export declare const InPlaceForm: (props: InPlaceFormProps) => React.DOMElement<
28
28
  }, Element>)[];
29
29
  }, Element>)[];
30
30
  }, Element>;
31
- export {};
@@ -1,10 +1,9 @@
1
1
  import React from 'react';
2
2
  import { FormConfigTheme, PopupForm as PopupFormType } from '@web-site-utilities/common/types/FormConfig';
3
- type PopupFormProps = {
3
+ export type PopupFormProps = {
4
4
  formId: string;
5
5
  domainId: string;
6
6
  formTheme: FormConfigTheme;
7
7
  popupForm: PopupFormType;
8
8
  };
9
9
  export declare const PopupForm: (props: PopupFormProps) => React.FunctionComponentElement<React.FragmentProps>;
10
- export {};
@@ -0,0 +1 @@
1
+ export declare const useIsClient: () => boolean;
@@ -1,5 +1,7 @@
1
1
  import React from 'react';
2
2
  import { InitiateFeedbackModuleOptions, InitiateFeedbackModuleOptionsCmp } from './types/InitiateFeedbackModuleOptions';
3
+ import { InPlaceFormProps } from "./features/InPlaceForm/InPlaceForm";
4
+ import { PopupFormProps } from "./features/PopupForm/PopupForm";
3
5
  export declare const initiateFeedbackModule: (options: InitiateFeedbackModuleOptions) => void;
4
6
  export declare const renderFeedbackModule: (options: InitiateFeedbackModuleOptionsCmp) => React.FunctionComponentElement<{
5
7
  formId: string;
@@ -8,3 +10,5 @@ export declare const renderFeedbackModule: (options: InitiateFeedbackModuleOptio
8
10
  export declare const FeedbackModule: (options: InitiateFeedbackModuleOptionsCmp) => React.FunctionComponentElement<{
9
11
  formId: string;
10
12
  }> | null;
13
+ export declare const PreviewInPlaceForm: (props: InPlaceFormProps) => React.FunctionComponentElement<InPlaceFormProps>;
14
+ export declare const PreviewPopupForm: (props: PopupFormProps) => React.FunctionComponentElement<PopupFormProps>;