@ctx-core/scroll 17.0.21 → 17.0.22
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/CHANGELOG.md
CHANGED
package/COMMIT_EDITMSG
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctx-core/scroll",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.22",
|
|
4
4
|
"description": "ctx-core scroll",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"./package.json": "./package.json"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@ctx-core/nanostores": "^1.
|
|
27
|
+
"@ctx-core/nanostores": "^1.2.0",
|
|
28
28
|
"@ctx-core/object": "^22.2.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { B, Ctx } from '@ctx-core/object'
|
|
2
|
-
import {
|
|
2
|
+
import { WritableAtom_ } from '@ctx-core/nanostores'
|
|
3
3
|
export declare const sticky_scroll_active$_:B<sticky_scroll_active$_T>
|
|
4
4
|
export type sticky_scroll_active_T = Record<string, boolean>
|
|
5
|
-
export type sticky_scroll_active$_T =
|
|
5
|
+
export type sticky_scroll_active$_T = WritableAtom_<sticky_scroll_active_T>
|
|
6
6
|
export declare function add_sticky_scroll_active(ctx:Ctx, key:string):void;
|
|
7
7
|
export declare function remove_sticky_scroll_active(ctx:Ctx, key:string):void;
|
|
8
8
|
export declare function sticky_scroll_active_key_active_(ctx:Ctx, key:string):boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { atom_ } from '@ctx-core/nanostores'
|
|
2
2
|
import { b_ } from '@ctx-core/object'
|
|
3
3
|
/** @type {import('./sticky_scroll_active$_.d.ts').sticky_scroll_active$_} */
|
|
4
4
|
export const sticky_scroll_active$_ = b_('sticky_scroll_active$', ()=>
|
|
5
|
-
|
|
5
|
+
atom_({}))
|
|
6
6
|
/**
|
|
7
7
|
* @param {import('@ctx-core/object').Ctx}ctx
|
|
8
8
|
* @param {string}key
|