@interopio/widget 2.0.4 → 3.0.0
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/changelog.md +2 -0
- package/dist/io-browser-widget-react.es.js +105 -117
- package/dist/io-browser-widget-react.es.js.map +1 -1
- package/dist/io-browser-widget-react.umd.js +104 -116
- package/dist/io-browser-widget-react.umd.js.map +1 -1
- package/dist/io-browser-widget.es.js +327 -339
- package/dist/io-browser-widget.es.js.map +1 -1
- package/dist/io-browser-widget.umd.js +327 -339
- package/dist/io-browser-widget.umd.js.map +1 -1
- package/dist/styles.css +4 -3
- package/package.json +7 -6
- package/widget.d.ts +4 -0
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@interopio/widget",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"types": "./widget.d.ts",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"start": "react-scripts start",
|
|
7
6
|
"build": "rollup -c",
|
|
8
7
|
"test": "echo no tests found",
|
|
9
|
-
"
|
|
8
|
+
"postversion": "npm run build"
|
|
10
9
|
},
|
|
11
10
|
"eslintConfig": {
|
|
12
11
|
"extends": [
|
|
@@ -35,14 +34,16 @@
|
|
|
35
34
|
"types": "./widget.d.ts",
|
|
36
35
|
"default": "./dist/io-browser-widget-react.umd.js"
|
|
37
36
|
},
|
|
38
|
-
"./styles": "./dist/styles.css"
|
|
37
|
+
"./styles": "./dist/styles.css",
|
|
38
|
+
"./fonts": "./dist/fonts.css"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
|
41
41
|
"@interopio:registry": "https://registry.npmjs.org",
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@interopio/components-react": "^0.
|
|
45
|
+
"@interopio/components-react": "^0.7.0",
|
|
46
|
+
"@interopio/theme": "^3.0.0"
|
|
46
47
|
},
|
|
47
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "e0dbc07a7ba20967ef13768e508e301602cf73a1"
|
|
48
49
|
}
|
package/widget.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { IOConnectBrowser } from "@interopio/browser";
|
|
2
|
+
|
|
1
3
|
/**
|
|
2
4
|
* Factory function that appends a widget component to the html body of your IOConnectBrowser-enabled app
|
|
3
5
|
* The widget config typings are defined in @interopio/browser
|
|
@@ -5,3 +7,5 @@
|
|
|
5
7
|
export type IOBrowserWidgetFactoryFunction = (io: any, config: any) => Promise<void>;
|
|
6
8
|
|
|
7
9
|
declare const IOBrowserWidgetFactory: IOBrowserWidgetFactoryFunction;
|
|
10
|
+
|
|
11
|
+
export type IOBrowserWidgetConfig = IOConnectBrowser.WidgetConfig & { rootElement: HTMLDivElement };
|