@dartcom/ui-kit 3.9.2 → 3.9.3
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 -11
- package/dist/index.cjs +6 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/providers/mobx/mobx.d.ts.map +1 -1
- package/dist/services/api/api.d.ts +5 -5
- package/dist/services/api/api.d.ts.map +1 -1
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -31,14 +31,4 @@ npm run build
|
|
|
31
31
|
// Проверьте содержимое пакета
|
|
32
32
|
npm pack
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
npm version patch // 1.0.0 -> 1.0.1
|
|
36
|
-
npm version minor // 1.0.0 -> 1.1.0
|
|
37
|
-
npm version major // 1.0.0 -> 2.0.0
|
|
38
|
-
|
|
39
|
-
git push origin v3.8.16
|
|
40
|
-
|
|
41
|
-
// Опубликуйте новую версию библиотеки
|
|
42
|
-
npm publish --access public
|
|
43
|
-
|
|
44
|
-
```
|
|
34
|
+
git push origin v3.8.16
|
package/dist/index.cjs
CHANGED
|
@@ -16404,8 +16404,12 @@ class RootStore {
|
|
|
16404
16404
|
}
|
|
16405
16405
|
const rootStore = new RootStore();
|
|
16406
16406
|
|
|
16407
|
-
const StoreContext = React__namespace.createContext(
|
|
16408
|
-
|
|
16407
|
+
const StoreContext = React__namespace.createContext({
|
|
16408
|
+
...rootStore,
|
|
16409
|
+
});
|
|
16410
|
+
const DartcomMobxProvider = ({ children, }) => (jsxRuntime.jsx(StoreContext.Provider, { value: {
|
|
16411
|
+
...rootStore,
|
|
16412
|
+
}, children: children }));
|
|
16409
16413
|
const useRootStore = () => {
|
|
16410
16414
|
const rootStore = React__namespace.useContext(StoreContext);
|
|
16411
16415
|
if (rootStore === null) {
|