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.
@@ -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__*/ _jsx(StyleProvider, {
20
+ children: /*#__PURE__*/ _jsxs(StyleProvider, {
21
21
  hashPriority: "high",
22
22
  transformers: [
23
23
  legacyLogicalPropertiesTransformer
24
24
  ],
25
- children: /*#__PURE__*/ _jsxs(App, {
26
- message: message,
27
- notification: notification,
28
- children: [
29
- /*#__PURE__*/ _jsx(BhdTipModal, {}),
30
- /*#__PURE__*/ _jsx(Component, _object_spread({}, props))
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__*/ _jsx(StyleProvider, {
43
+ children: /*#__PURE__*/ _jsxs(StyleProvider, {
44
44
  hashPriority: "high",
45
45
  transformers: [
46
46
  legacyLogicalPropertiesTransformer
47
47
  ],
48
- children: /*#__PURE__*/ _jsxs(App, {
49
- message: message,
50
- notification: notification,
51
- children: [
52
- /*#__PURE__*/ _jsx(BhdTipModal, {}),
53
- props.children
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
  };
@@ -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__*/ _jsx(StyleProvider, {
21
+ children: /*#__PURE__*/ _jsxs(StyleProvider, {
22
22
  hashPriority: "high",
23
23
  transformers: [
24
24
  legacyLogicalPropertiesTransformer
25
25
  ],
26
- children: /*#__PURE__*/ _jsxs(App, {
27
- message: message,
28
- notification: notification,
29
- children: [
30
- /*#__PURE__*/ _jsx(BhdTipModal, {}),
31
- /*#__PURE__*/ _jsx(Component, _object_spread({}, props))
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__*/ _jsx(StyleProvider, {
44
+ children: /*#__PURE__*/ _jsxs(StyleProvider, {
45
45
  hashPriority: "high",
46
46
  transformers: [
47
47
  legacyLogicalPropertiesTransformer
48
48
  ],
49
- children: /*#__PURE__*/ _jsxs(App, {
50
- message: message,
51
- notification: notification,
52
- children: [
53
- /*#__PURE__*/ _jsx(BhdTipModal, {}),
54
- props.children
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bhd-components",
3
- "version": "0.7.37",
3
+ "version": "0.7.38",
4
4
  "description": "组件功能描述",
5
5
  "files": [
6
6
  "esm",