@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 +2 -2
- package/dist/index.js +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
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:
|
|
80
|
-
notification:
|
|
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
|
-
...
|
|
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
|
-
...
|
|
102
|
-
hashPriority: "high",
|
|
103
|
-
transformers: [legacyLogicalPropertiesTransformer]
|
|
104
|
-
}),
|
|
104
|
+
...props.configProviderProps || {},
|
|
105
105
|
children: /* @__PURE__ */ jsxs(AppContext.Provider, {
|
|
106
106
|
value: memoizedContextValue,
|
|
107
107
|
children: [
|