@myinterview/widget-react 1.0.43 → 1.0.44-beta-40c618f
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/cjs/index.js +61 -46
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Widget.d.ts +0 -1
- package/dist/cjs/types/interfaces/configInterface.d.ts +3 -0
- package/dist/esm/index.js +61 -46
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Widget.d.ts +0 -1
- package/dist/esm/types/interfaces/configInterface.d.ts +3 -0
- package/dist/index.d.ts +5 -2
- package/package.json +1 -1
|
@@ -42,6 +42,9 @@ export interface IWidgetConfig {
|
|
|
42
42
|
disabled?: boolean;
|
|
43
43
|
buttonText?: string;
|
|
44
44
|
buttonStyle?: CSSProperties;
|
|
45
|
+
children?: React.ReactNode;
|
|
46
|
+
styleUrls?: string | string[];
|
|
47
|
+
fontsUrls?: string | string[];
|
|
45
48
|
}
|
|
46
49
|
export declare type IClientWidgetConfig = Omit<IWidgetConfig, 'job' | 'config'> & {
|
|
47
50
|
job: IClientJob;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { CSSProperties } from 'react';
|
|
1
|
+
import React$1, { CSSProperties } from 'react';
|
|
2
2
|
|
|
3
3
|
interface ICandidate {
|
|
4
4
|
candidate_id?: string;
|
|
@@ -143,6 +143,9 @@ interface IWidgetConfig {
|
|
|
143
143
|
disabled?: boolean;
|
|
144
144
|
buttonText?: string;
|
|
145
145
|
buttonStyle?: CSSProperties;
|
|
146
|
+
children?: React.ReactNode;
|
|
147
|
+
styleUrls?: string | string[];
|
|
148
|
+
fontsUrls?: string | string[];
|
|
146
149
|
}
|
|
147
150
|
declare type IClientWidgetConfig = Omit<IWidgetConfig, 'job' | 'config'> & {
|
|
148
151
|
job: IClientJob;
|
|
@@ -156,6 +159,6 @@ interface IGetToken {
|
|
|
156
159
|
}
|
|
157
160
|
declare const getToken: ({ type, value, secretKey }: IGetToken) => string;
|
|
158
161
|
|
|
159
|
-
declare const Widget: React.FC<IClientWidgetConfig>;
|
|
162
|
+
declare const Widget: React$1.FC<IClientWidgetConfig>;
|
|
160
163
|
|
|
161
164
|
export { IClientWidgetConfig, IWidgetConfig, Widget, getToken };
|