@octanejs/stick-to-bottom 0.0.8 → 0.0.10
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/package.json +4 -4
- package/src/StickToBottom.tsrx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octanejs/stick-to-bottom",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "Octane binding for use-stick-to-bottom 1.1.6.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"./package.json": "./package.json"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"octane": "^0.
|
|
43
|
+
"octane": "^0.4.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"vitest": "^4.1.10",
|
|
47
|
-
"@octanejs/testing-library": "0.1.
|
|
48
|
-
"octane": "0.
|
|
47
|
+
"@octanejs/testing-library": "0.1.53",
|
|
48
|
+
"octane": "0.4.0"
|
|
49
49
|
},
|
|
50
50
|
"scripts": {
|
|
51
51
|
"test": "vitest run --root ../.. --config vitest.config.js --project stick-to-bottom",
|
package/src/StickToBottom.tsrx
CHANGED
|
@@ -127,11 +127,11 @@ export function StickToBottom({
|
|
|
127
127
|
}
|
|
128
128
|
}, []);
|
|
129
129
|
|
|
130
|
-
return <StickToBottomContext
|
|
130
|
+
return <StickToBottomContext value={context}>
|
|
131
131
|
<div {...props}>
|
|
132
132
|
{typeof children === 'function' && !isChildrenBlock(children) ? children(context) : children}
|
|
133
133
|
</div>
|
|
134
|
-
</StickToBottomContext
|
|
134
|
+
</StickToBottomContext>;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
137
|
export interface StickToBottomContentProps extends Omit<DivProps, 'children'> {
|