@ctx-core/scroll 17.3.71 → 18.0.1

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export * from './is_active_/index.js'
2
- export * from './is_visible_/index.js'
3
- export * from './out_is_active_/index.js'
4
- export * from './out_is_visible_/index.js'
1
+ export * from './is_active/index.js'
2
+ export * from './is_visible/index.js'
3
+ export * from './out_is_active/index.js'
4
+ export * from './out_is_visible/index.js'
5
5
  export * from './sticky_scroll_active/index.js'
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export * from './is_active_/index.js'
2
- export * from './is_visible_/index.js'
3
- export * from './out_is_active_/index.js'
4
- export * from './out_is_visible_/index.js'
1
+ export * from './is_active/index.js'
2
+ export * from './is_visible/index.js'
3
+ export * from './out_is_active/index.js'
4
+ export * from './out_is_visible/index.js'
5
5
  export * from './sticky_scroll_active/index.js'
@@ -1,4 +1,4 @@
1
- import { out_is_active_ } from '../out_is_active_/index.js'
1
+ import { out_is_active_ } from '../out_is_active/index.js'
2
2
  /**
3
3
  * @param {HTMLElement}el
4
4
  * @return {boolean}
@@ -1,4 +1,4 @@
1
- import { out_is_visible_ } from '../out_is_visible_/index.js'
1
+ import { out_is_visible_ } from '../out_is_visible/index.js'
2
2
  /**
3
3
  * @param {HTMLElement}el
4
4
  * @return {boolean}
@@ -1,4 +1,4 @@
1
- import { out_is_active_ } from '../out_is_active_/index.js'
1
+ import { out_is_active_ } from '../out_is_active/index.js'
2
2
  /**
3
3
  * @param {number}top
4
4
  * @param {number}bottom
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/scroll",
3
- "version": "17.3.71",
3
+ "version": "18.0.1",
4
4
  "description": "ctx-core scroll",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -21,10 +21,10 @@
21
21
  "*.d.ts",
22
22
  "*.js",
23
23
  "*.json",
24
- "./is_active_",
25
- "./is_visible_",
26
- "./out_is_active_",
27
- "./out_is_visible_",
24
+ "is_active",
25
+ "is_visible",
26
+ "out_is_active",
27
+ "out_is_visible",
28
28
  "sticky_scroll_active"
29
29
  ],
30
30
  "types": "./index.d.ts",
@@ -33,8 +33,7 @@
33
33
  "./package.json": "./package.json"
34
34
  },
35
35
  "dependencies": {
36
- "@ctx-core/nanostores": "^10.0.14",
37
- "ctx-core": "^5.5.0"
36
+ "ctx-core": "^5.6.1"
38
37
  },
39
38
  "devDependencies": {
40
39
  "c8": "^8.0.1",
@@ -53,8 +52,9 @@
53
52
  "build": ":",
54
53
  "clean": ":",
55
54
  "exec": "$@",
56
- "test": "pnpm test-unit && check-dts",
57
- "test-unit": "tsx node_modules/uvu/bin.js . '\\.test\\.(ts|js)$'",
58
- "test-unit-coverage": "c8 pnpm test-unit"
55
+ "test": "pnpm test:unit && pnpm test:types",
56
+ "test:types": "check-dts",
57
+ "test:unit": "tsx node_modules/uvu/bin.js . '\\.test\\.(ts|js)$'",
58
+ "test:unit:coverage": "c8 pnpm test:unit"
59
59
  }
60
60
  }
@@ -1,6 +1,6 @@
1
- import type { be_atom_triple_T } from '@ctx-core/nanostores'
1
+ import type { be_sig_triple_T } from 'ctx-core/rmemo'
2
2
  import type { Ctx } from 'ctx-core/be'
3
- export declare const sticky_scroll_active$_:be_atom_triple_T<sticky_scroll_active_T>
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
6
  export declare function add_sticky_scroll_active(ctx:Ctx, key:string):void
@@ -1,13 +1,15 @@
1
1
  /// <reference types="ctx-core" />
2
- import { be_atom_triple_ } from '@ctx-core/nanostores'
3
- /** @type {typeof import('./index.d.ts').sticky_scroll_active$_} */
2
+ /// <reference types="./index.d.ts" />
3
+ import { be_sig_triple_ } from 'ctx-core/rmemo'
4
+ /** @type {typeof sticky_scroll_active$_} */
4
5
  export const [
5
6
  sticky_scroll_active$_,
6
7
  sticky_scroll_active_,
7
8
  sticky_scroll_active__set,
8
- ] = /** @type {be_atom_triple_T<sticky_scroll_active_T>} */ be_atom_triple_(()=>(
9
- {}),
10
- { id: 'sticky_scroll_active_' })
9
+ ] = /** @type {be_sig_triple_T<sticky_scroll_active_T>} */
10
+ be_sig_triple_(()=>(
11
+ {}),
12
+ { id: 'sticky_scroll_active_' })
11
13
  export { sticky_scroll_active$_ as sticky_scroll_active__ }
12
14
  /**
13
15
  * @param {Ctx}ctx
File without changes
File without changes
File without changes
File without changes
File without changes