@faasjs/ant-design 0.0.3-beta.53 → 0.0.3-beta.55

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.d.ts CHANGED
@@ -76,8 +76,8 @@ interface AppProps {
76
76
  configProviderProps?: ConfigProviderProps$1;
77
77
  }
78
78
  interface useAppProps {
79
- message: Partial<MessageInstance>;
80
- notification: Partial<NotificationInstance>;
79
+ message: MessageInstance;
80
+ notification: NotificationInstance;
81
81
  setModalProps: (changes: Partial<ModalProps>) => void;
82
82
  setDrawerProps: (changes: Partial<DrawerProps>) => void;
83
83
  }
package/dist/index.js CHANGED
@@ -142,12 +142,12 @@ function App(props) {
142
142
  ]
143
143
  );
144
144
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_cssinjs.StyleProvider, {
145
- ...props.styleProviderProps || {},
145
+ ...Object.assign(props.styleProviderProps || {}, {
146
+ hashPriority: "high",
147
+ transformers: [import_cssinjs.legacyLogicalPropertiesTransformer]
148
+ }),
146
149
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_antd3.ConfigProvider, {
147
- ...Object.assign(props.configProviderProps || {}, {
148
- hashPriority: "high",
149
- transformers: [import_cssinjs.legacyLogicalPropertiesTransformer]
150
- }),
150
+ ...props.configProviderProps || {},
151
151
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(AppContext.Provider, {
152
152
  value: memoizedContextValue,
153
153
  children: [
package/dist/index.mjs CHANGED
@@ -96,12 +96,12 @@ function App(props) {
96
96
  ]
97
97
  );
98
98
  return /* @__PURE__ */ jsx3(StyleProvider, {
99
- ...props.styleProviderProps || {},
99
+ ...Object.assign(props.styleProviderProps || {}, {
100
+ hashPriority: "high",
101
+ transformers: [legacyLogicalPropertiesTransformer]
102
+ }),
100
103
  children: /* @__PURE__ */ jsx3(ConfigProvider, {
101
- ...Object.assign(props.configProviderProps || {}, {
102
- hashPriority: "high",
103
- transformers: [legacyLogicalPropertiesTransformer]
104
- }),
104
+ ...props.configProviderProps || {},
105
105
  children: /* @__PURE__ */ jsxs(AppContext.Provider, {
106
106
  value: memoizedContextValue,
107
107
  children: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faasjs/ant-design",
3
- "version": "0.0.3-beta.53",
3
+ "version": "0.0.3-beta.55",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",