ditox-react 2.1.0 → 2.2.0
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/docs/README.md +8 -8
- package/package.json +3 -3
package/docs/README.md
CHANGED
|
@@ -72,7 +72,7 @@ A callback for binding dependencies to a container
|
|
|
72
72
|
|
|
73
73
|
#### Defined in
|
|
74
74
|
|
|
75
|
-
[DependencyContainer.tsx:19](https://github.com/mnasyrov/ditox/blob/
|
|
75
|
+
[DependencyContainer.tsx:19](https://github.com/mnasyrov/ditox/blob/a821171/packages/ditox-react/src/DependencyContainer.tsx#L19)
|
|
76
76
|
|
|
77
77
|
___
|
|
78
78
|
|
|
@@ -96,7 +96,7 @@ Specifies an existed container or options for a new container:
|
|
|
96
96
|
|
|
97
97
|
#### Defined in
|
|
98
98
|
|
|
99
|
-
[DependencyContainer.tsx:26](https://github.com/mnasyrov/ditox/blob/
|
|
99
|
+
[DependencyContainer.tsx:26](https://github.com/mnasyrov/ditox/blob/a821171/packages/ditox-react/src/DependencyContainer.tsx#L26)
|
|
100
100
|
|
|
101
101
|
## Component
|
|
102
102
|
|
|
@@ -137,7 +137,7 @@ function App() {
|
|
|
137
137
|
|
|
138
138
|
#### Defined in
|
|
139
139
|
|
|
140
|
-
[DependencyModule.tsx:33](https://github.com/mnasyrov/ditox/blob/
|
|
140
|
+
[DependencyModule.tsx:33](https://github.com/mnasyrov/ditox/blob/a821171/packages/ditox-react/src/DependencyModule.tsx#L33)
|
|
141
141
|
|
|
142
142
|
___
|
|
143
143
|
|
|
@@ -188,7 +188,7 @@ function App() {
|
|
|
188
188
|
|
|
189
189
|
#### Defined in
|
|
190
190
|
|
|
191
|
-
[DependencyContainer.tsx:68](https://github.com/mnasyrov/ditox/blob/
|
|
191
|
+
[DependencyContainer.tsx:68](https://github.com/mnasyrov/ditox/blob/a821171/packages/ditox-react/src/DependencyContainer.tsx#L68)
|
|
192
192
|
|
|
193
193
|
___
|
|
194
194
|
|
|
@@ -218,7 +218,7 @@ Returns a dependency by token, or `undefined` in case the dependency i
|
|
|
218
218
|
|
|
219
219
|
#### Defined in
|
|
220
220
|
|
|
221
|
-
[hooks.ts:52](https://github.com/mnasyrov/ditox/blob/
|
|
221
|
+
[hooks.ts:52](https://github.com/mnasyrov/ditox/blob/a821171/packages/ditox-react/src/hooks.ts#L52)
|
|
222
222
|
|
|
223
223
|
___
|
|
224
224
|
|
|
@@ -248,7 +248,7 @@ Returns a dependency by token, or fails with an error. Functions
|
|
|
248
248
|
|
|
249
249
|
#### Defined in
|
|
250
250
|
|
|
251
|
-
[hooks.ts:41](https://github.com/mnasyrov/ditox/blob/
|
|
251
|
+
[hooks.ts:41](https://github.com/mnasyrov/ditox/blob/a821171/packages/ditox-react/src/hooks.ts#L41)
|
|
252
252
|
|
|
253
253
|
___
|
|
254
254
|
|
|
@@ -274,7 +274,7 @@ Returns a dependency container. Throws an error in case the container is not pro
|
|
|
274
274
|
|
|
275
275
|
#### Defined in
|
|
276
276
|
|
|
277
|
-
[hooks.ts:10](https://github.com/mnasyrov/ditox/blob/
|
|
277
|
+
[hooks.ts:10](https://github.com/mnasyrov/ditox/blob/a821171/packages/ditox-react/src/hooks.ts#L10)
|
|
278
278
|
|
|
279
279
|
▸ **useDependencyContainer**(`mode?`): `Container` \| `undefined`
|
|
280
280
|
|
|
@@ -294,4 +294,4 @@ Returns a dependency container, or `undefined` in case the container is not prov
|
|
|
294
294
|
|
|
295
295
|
#### Defined in
|
|
296
296
|
|
|
297
|
-
[hooks.ts:16](https://github.com/mnasyrov/ditox/blob/
|
|
297
|
+
[hooks.ts:16](https://github.com/mnasyrov/ditox/blob/a821171/packages/ditox-react/src/hooks.ts#L16)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ditox-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Ditox.js tooling for React.js",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"build:rollup": "rollup -c"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"ditox": "2.
|
|
54
|
+
"ditox": "2.2.0"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"react": "^16.8.0 || ^17.0.0"
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"react-dom": "17.0.2",
|
|
65
65
|
"react-test-renderer": "17.0.2"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "f9d1e2d369a00fb12ad62cbb9aa6039104c4cbe3"
|
|
68
68
|
}
|