bhd-components 0.7.37 → 0.7.38
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/README.md +1 -1
- package/dist/{8776245e.esm.es5.production.js → 1a5da86d.esm.es5.production.js} +1 -1
- package/dist/{c2a80e02.esm.es5.development.js → 78b8007b.esm.es5.development.js} +1 -1
- package/dist/index.esm.es5.development.js +20 -20
- package/dist/index.esm.es5.production.js +1 -1
- package/es2017/provider/index.js +18 -18
- package/esm/provider/index.js +18 -18
- package/package.json +1 -1
package/es2017/provider/index.js
CHANGED
|
@@ -17,19 +17,19 @@ const Provider = (Component, customConfig = {})=>{
|
|
|
17
17
|
return (_param)=>{
|
|
18
18
|
var props = _extends({}, _object_destructuring_empty(_param));
|
|
19
19
|
return /*#__PURE__*/ _jsx(ConfigProvider, _object_spread_props(_object_spread({}, AppConfig), {
|
|
20
|
-
children: /*#__PURE__*/
|
|
20
|
+
children: /*#__PURE__*/ _jsxs(StyleProvider, {
|
|
21
21
|
hashPriority: "high",
|
|
22
22
|
transformers: [
|
|
23
23
|
legacyLogicalPropertiesTransformer
|
|
24
24
|
],
|
|
25
|
-
children:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
/*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
25
|
+
children: [
|
|
26
|
+
/*#__PURE__*/ _jsx(App, {
|
|
27
|
+
message: message,
|
|
28
|
+
notification: notification,
|
|
29
|
+
children: /*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
30
|
+
}),
|
|
31
|
+
/*#__PURE__*/ _jsx(Component, _object_spread({}, props))
|
|
32
|
+
]
|
|
33
33
|
})
|
|
34
34
|
}));
|
|
35
35
|
};
|
|
@@ -40,19 +40,19 @@ Provider.Component = (props)=>{
|
|
|
40
40
|
ConfigProvider.config(AppConfig);
|
|
41
41
|
const { message ={} , notification ={} } = AppConfig;
|
|
42
42
|
return /*#__PURE__*/ _jsx(ConfigProvider, _object_spread_props(_object_spread({}, AppConfig), {
|
|
43
|
-
children: /*#__PURE__*/
|
|
43
|
+
children: /*#__PURE__*/ _jsxs(StyleProvider, {
|
|
44
44
|
hashPriority: "high",
|
|
45
45
|
transformers: [
|
|
46
46
|
legacyLogicalPropertiesTransformer
|
|
47
47
|
],
|
|
48
|
-
children:
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
/*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
48
|
+
children: [
|
|
49
|
+
/*#__PURE__*/ _jsx(App, {
|
|
50
|
+
message: message,
|
|
51
|
+
notification: notification,
|
|
52
|
+
children: /*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
53
|
+
}),
|
|
54
|
+
props.children
|
|
55
|
+
]
|
|
56
56
|
})
|
|
57
57
|
}));
|
|
58
58
|
};
|
package/esm/provider/index.js
CHANGED
|
@@ -18,19 +18,19 @@ var Provider = function(Component) {
|
|
|
18
18
|
return function(_param) {
|
|
19
19
|
var props = _extends({}, _object_destructuring_empty(_param));
|
|
20
20
|
return /*#__PURE__*/ _jsx(ConfigProvider, _object_spread_props(_object_spread({}, AppConfig), {
|
|
21
|
-
children: /*#__PURE__*/
|
|
21
|
+
children: /*#__PURE__*/ _jsxs(StyleProvider, {
|
|
22
22
|
hashPriority: "high",
|
|
23
23
|
transformers: [
|
|
24
24
|
legacyLogicalPropertiesTransformer
|
|
25
25
|
],
|
|
26
|
-
children:
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
/*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
26
|
+
children: [
|
|
27
|
+
/*#__PURE__*/ _jsx(App, {
|
|
28
|
+
message: message,
|
|
29
|
+
notification: notification,
|
|
30
|
+
children: /*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
31
|
+
}),
|
|
32
|
+
/*#__PURE__*/ _jsx(Component, _object_spread({}, props))
|
|
33
|
+
]
|
|
34
34
|
})
|
|
35
35
|
}));
|
|
36
36
|
};
|
|
@@ -41,19 +41,19 @@ Provider.Component = function(props) {
|
|
|
41
41
|
ConfigProvider.config(AppConfig);
|
|
42
42
|
var _AppConfig_message = AppConfig.message, message = _AppConfig_message === void 0 ? {} : _AppConfig_message, _AppConfig_notification = AppConfig.notification, notification = _AppConfig_notification === void 0 ? {} : _AppConfig_notification;
|
|
43
43
|
return /*#__PURE__*/ _jsx(ConfigProvider, _object_spread_props(_object_spread({}, AppConfig), {
|
|
44
|
-
children: /*#__PURE__*/
|
|
44
|
+
children: /*#__PURE__*/ _jsxs(StyleProvider, {
|
|
45
45
|
hashPriority: "high",
|
|
46
46
|
transformers: [
|
|
47
47
|
legacyLogicalPropertiesTransformer
|
|
48
48
|
],
|
|
49
|
-
children:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
/*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
49
|
+
children: [
|
|
50
|
+
/*#__PURE__*/ _jsx(App, {
|
|
51
|
+
message: message,
|
|
52
|
+
notification: notification,
|
|
53
|
+
children: /*#__PURE__*/ _jsx(BhdTipModal, {})
|
|
54
|
+
}),
|
|
55
|
+
props.children
|
|
56
|
+
]
|
|
57
57
|
})
|
|
58
58
|
}));
|
|
59
59
|
};
|