@ctx-core/scroll 17.3.55 → 17.3.61
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": "17.3.
|
|
3
|
+
"version": "17.3.61",
|
|
4
4
|
"description": "ctx-core scroll",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ctx-core",
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"./package.json": "./package.json"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@ctx-core/nanostores": "^
|
|
37
|
-
"
|
|
36
|
+
"@ctx-core/nanostores": "^10.0.4",
|
|
37
|
+
"ctx-core": "^5.1.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"c8": "^8.0.1",
|
|
41
41
|
"check-dts": "^0.7.2",
|
|
42
42
|
"tslib": "^2.6.2",
|
|
43
|
-
"tsx": "^4.
|
|
43
|
+
"tsx": "^4.7.0",
|
|
44
44
|
"typescript": "next",
|
|
45
45
|
"uvu": "^0.5.6"
|
|
46
46
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { be_atom_triple_T } from '@ctx-core/nanostores'
|
|
2
|
-
import type { Ctx } from '
|
|
2
|
+
import type { Ctx } from 'ctx-core/be'
|
|
3
3
|
export declare const sticky_scroll_active$_:be_atom_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>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="ctx-core" />
|
|
1
2
|
import { be_atom_triple_ } from '@ctx-core/nanostores'
|
|
2
3
|
/** @type {typeof import('./index.d.ts').sticky_scroll_active$_} */
|
|
3
4
|
export const [
|
|
@@ -9,7 +10,7 @@ export const [
|
|
|
9
10
|
{ id: 'sticky_scroll_active_' })
|
|
10
11
|
export { sticky_scroll_active$_ as sticky_scroll_active__ }
|
|
11
12
|
/**
|
|
12
|
-
* @param {
|
|
13
|
+
* @param {Ctx}ctx
|
|
13
14
|
* @param {string}key
|
|
14
15
|
*/
|
|
15
16
|
export function add_sticky_scroll_active(ctx, key) {
|
|
@@ -19,7 +20,7 @@ export function add_sticky_scroll_active(ctx, key) {
|
|
|
19
20
|
sticky_scroll_active$.$ = sticky_scroll_active
|
|
20
21
|
}
|
|
21
22
|
/**
|
|
22
|
-
* @param {
|
|
23
|
+
* @param {Ctx}ctx
|
|
23
24
|
* @param {string}key
|
|
24
25
|
*/
|
|
25
26
|
export function remove_sticky_scroll_active(ctx, key) {
|
|
@@ -29,7 +30,7 @@ export function remove_sticky_scroll_active(ctx, key) {
|
|
|
29
30
|
sticky_scroll_active$.$ = sticky_scroll_active
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
|
-
* @param {
|
|
33
|
+
* @param {Ctx}ctx
|
|
33
34
|
* @param {string}key
|
|
34
35
|
*/
|
|
35
36
|
export function sticky_scroll_active_key_active_(ctx, key) {
|
|
@@ -39,7 +40,7 @@ export function sticky_scroll_active_key_active_(ctx, key) {
|
|
|
39
40
|
return active
|
|
40
41
|
}
|
|
41
42
|
/**
|
|
42
|
-
* @param {
|
|
43
|
+
* @param {Ctx}ctx
|
|
43
44
|
* @param {string}key
|
|
44
45
|
* @param {boolean}active
|
|
45
46
|
*/
|