@ctx-core/scroll 18.0.63 → 18.0.65
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctx-core/scroll",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.0.65",
|
|
4
4
|
"description": "ctx-core scroll",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"./package.json": "./package.json"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"ctx-core": "^
|
|
36
|
+
"ctx-core": "^6.0.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"c8": "^9.1.0",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { be_sig_triple_T } from 'ctx-core/rmemo'
|
|
2
|
-
import type {
|
|
2
|
+
import type { ctx_T } from 'ctx-core/be'
|
|
3
3
|
export declare const sticky_scroll_active$_:be_sig_triple_T<sticky_scroll_active_T>
|
|
4
4
|
export { sticky_scroll_active$_ as sticky_scroll_active__ }
|
|
5
5
|
export type sticky_scroll_active_T = Record<string, boolean>
|
|
6
|
-
export declare function add_sticky_scroll_active(ctx:
|
|
7
|
-
export declare function remove_sticky_scroll_active(ctx:
|
|
8
|
-
export declare function sticky_scroll_active_key_active_(ctx:
|
|
9
|
-
export declare function sticky_scroll_active_key_match_(ctx:
|
|
6
|
+
export declare function add_sticky_scroll_active(ctx:ctx_T, key:string):void
|
|
7
|
+
export declare function remove_sticky_scroll_active(ctx:ctx_T, key:string):void
|
|
8
|
+
export declare function sticky_scroll_active_key_active_(ctx:ctx_T, key:string):boolean
|
|
9
|
+
export declare function sticky_scroll_active_key_match_(ctx:ctx_T, key:string, active:any):boolean
|
|
@@ -12,7 +12,7 @@ export const [
|
|
|
12
12
|
{ id: 'sticky_scroll_active_' })
|
|
13
13
|
export { sticky_scroll_active$_ as sticky_scroll_active__ }
|
|
14
14
|
/**
|
|
15
|
-
* @param {
|
|
15
|
+
* @param {ctx_T}ctx
|
|
16
16
|
* @param {string}key
|
|
17
17
|
*/
|
|
18
18
|
export function add_sticky_scroll_active(ctx, key) {
|
|
@@ -22,7 +22,7 @@ export function add_sticky_scroll_active(ctx, key) {
|
|
|
22
22
|
sticky_scroll_active$.$ = sticky_scroll_active
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
* @param {
|
|
25
|
+
* @param {ctx_T}ctx
|
|
26
26
|
* @param {string}key
|
|
27
27
|
*/
|
|
28
28
|
export function remove_sticky_scroll_active(ctx, key) {
|
|
@@ -32,7 +32,7 @@ export function remove_sticky_scroll_active(ctx, key) {
|
|
|
32
32
|
sticky_scroll_active$.$ = sticky_scroll_active
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
|
-
* @param {
|
|
35
|
+
* @param {ctx_T}ctx
|
|
36
36
|
* @param {string}key
|
|
37
37
|
*/
|
|
38
38
|
export function sticky_scroll_active_key_active_(ctx, key) {
|
|
@@ -42,7 +42,7 @@ export function sticky_scroll_active_key_active_(ctx, key) {
|
|
|
42
42
|
return active
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
* @param {
|
|
45
|
+
* @param {ctx_T}ctx
|
|
46
46
|
* @param {string}key
|
|
47
47
|
* @param {boolean}active
|
|
48
48
|
*/
|