@alicloud/alfa-react 1.4.2 → 1.4.4
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/index.js +7 -6
- package/es/createAlfaWidget.js +2 -2
- package/es/version.js +1 -1
- package/lib/createAlfaWidget.js +2 -2
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/types/components/Loading/Title.d.ts +1 -0
- package/types/createAlfaWidget.d.ts +2 -2
- package/types/createApplication.d.ts +1 -0
- package/types/version.d.ts +1 -1
- package/types/widget.d.ts +1 -0
package/es/createAlfaWidget.js
CHANGED
|
@@ -41,7 +41,7 @@ loader.beforeLoad.use( /*#__PURE__*/function () {
|
|
|
41
41
|
}());
|
|
42
42
|
var Application = createApplication(loader);
|
|
43
43
|
|
|
44
|
-
function
|
|
44
|
+
function createAlfaWidget(option) {
|
|
45
45
|
var _ref2 = option || {},
|
|
46
46
|
name = _ref2.name,
|
|
47
47
|
dependencies = _ref2.dependencies;
|
|
@@ -70,4 +70,4 @@ function createAlfaApp(option) {
|
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
export default
|
|
73
|
+
export default createAlfaWidget;
|
package/es/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export var version = '1.4.
|
|
1
|
+
export var version = '1.4.4';
|
package/lib/createAlfaWidget.js
CHANGED
|
@@ -61,7 +61,7 @@ loader.beforeLoad.use( /*#__PURE__*/function () {
|
|
|
61
61
|
}());
|
|
62
62
|
var Application = (0, _createApplication.default)(loader);
|
|
63
63
|
|
|
64
|
-
function
|
|
64
|
+
function createAlfaWidget(option) {
|
|
65
65
|
var _ref2 = option || {},
|
|
66
66
|
name = _ref2.name,
|
|
67
67
|
dependencies = _ref2.dependencies;
|
|
@@ -90,5 +90,5 @@ function createAlfaApp(option) {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
var _default =
|
|
93
|
+
var _default = createAlfaWidget;
|
|
94
94
|
exports.default = _default;
|
package/lib/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/alfa-react",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.4",
|
|
4
4
|
"description": "Alfa Framework (React Version)",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"typescript": "^3.0.3"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@alicloud/alfa-core": "^1.4.
|
|
44
|
+
"@alicloud/alfa-core": "^1.4.4",
|
|
45
45
|
"@alicloud/console-os-loader": "^1.2.3",
|
|
46
46
|
"@alicloud/widget-utils-console": "^0.1.6",
|
|
47
47
|
"classnames": "^2.2.6",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": "^16 | ^17"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "42d459a08505a0fb07853d8ab95fc192384e55e6"
|
|
54
54
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { AlfaFactoryOption } from './types';
|
|
3
|
-
declare function
|
|
4
|
-
export default
|
|
3
|
+
declare function createAlfaWidget<P = any>(option: AlfaFactoryOption): ((props: P) => JSX.Element) | (() => null) | React.MemoExoticComponent<(props: P) => JSX.Element>;
|
|
4
|
+
export default createAlfaWidget;
|
package/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.4.
|
|
1
|
+
export declare const version = "1.4.4";
|
package/types/widget.d.ts
CHANGED