@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.
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import '../assets/styles/font.scss';
3
2
  import { IClientWidgetConfig } from '../interfaces/configInterface';
4
3
  import { getToken } from '../utils/authToken.utils';
5
4
  export declare const Widget: React.FC<IClientWidgetConfig>;
@@ -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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myinterview/widget-react",
3
- "version": "1.0.43",
3
+ "version": "1.0.44-beta-40c618f",
4
4
  "description": "myInterview widget v3",
5
5
  "module": "dist/esm/index.js",
6
6
  "main": "dist/cjs/index.js",