@ctx-core/scroll 15.0.0 → 15.0.6

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
@@ -1,5 +1,43 @@
1
1
  # @ctx-core/scroll
2
2
 
3
+ ## 15.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: package.json: compile types: + compile:source,compile:declaration
8
+
9
+ ## 15.0.5
10
+
11
+ ### Patch Changes
12
+
13
+ - update dependencies
14
+
15
+ ## 15.0.4
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+ - @ctx-core/nanostores@0.3.0
21
+
22
+ ## 15.0.3
23
+
24
+ ### Patch Changes
25
+
26
+ - update dependencies
27
+
28
+ ## 15.0.2
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies
33
+ - @ctx-core/nanostores@0.2.0
34
+
35
+ ## 15.0.1
36
+
37
+ ### Patch Changes
38
+
39
+ - update dependencies
40
+
3
41
  ## 15.0.0
4
42
 
5
43
  ### Major Changes
@@ -0,0 +1,5 @@
1
+ export * from './is_active_.js';
2
+ export * from './is_visible_.js';
3
+ export * from './out_is_active_.js';
4
+ export * from './out_is_visible_.js';
5
+ export * from './sticky_scroll_active$_b.js';
@@ -0,0 +1,2 @@
1
+ export declare function is_active_(el: HTMLElement): boolean;
2
+ export { is_active_ as _is_active, };
@@ -0,0 +1,2 @@
1
+ export declare function is_visible_(el: HTMLElement): boolean;
2
+ export { is_visible_ as _is_visible, };
@@ -0,0 +1 @@
1
+ export declare function out_is_active_(top: number, bottom: number): boolean;
@@ -0,0 +1,2 @@
1
+ export declare function out_is_visible_(top: number, bottom: number, innerHeight: number): boolean;
2
+ export { out_is_visible_ as _out_is_visible, };
@@ -0,0 +1,12 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { WritableAtom$ } from '@ctx-core/nanostores';
3
+ export declare const sticky_scroll_active$_b: B<sticky_scroll_active$_T>;
4
+ export interface sticky_scroll_active_T extends Record<string, boolean> {
5
+ }
6
+ export interface sticky_scroll_active$_T extends WritableAtom$<sticky_scroll_active_T> {
7
+ add_sticky_scroll_active: (key: string) => void;
8
+ remove_sticky_scroll_active: (key: string) => void;
9
+ sticky_scroll_active_key_active_: (key: string) => void;
10
+ sticky_scroll_active_key_match_: (key: string, active: any) => void;
11
+ }
12
+ export { sticky_scroll_active$_b as b__active__Sticky__Scroll, };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/scroll",
3
- "version": "15.0.0",
3
+ "version": "15.0.6",
4
4
  "description": "ctx-core scroll",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -25,13 +25,12 @@
25
25
  "./package.json": "./package.json"
26
26
  },
27
27
  "dependencies": {
28
- "@ctx-core/nanostores": "^0.1.0",
28
+ "@ctx-core/nanostores": "^0.3.0",
29
29
  "@ctx-core/object": "^22.0.8"
30
30
  },
31
31
  "devDependencies": {
32
- "@ctx-core/ctx-core-package-tools": "^8.0.96",
33
32
  "@swc/cli": "^0.1.55",
34
- "@swc/core": "^1.2.121",
33
+ "@swc/core": "^1.2.123",
35
34
  "rimraf": "^3.0.2",
36
35
  "typescript": "next"
37
36
  },
@@ -42,9 +41,11 @@
42
41
  "svelte": "./dist/index.js",
43
42
  "scripts": {
44
43
  "build": "npm run compile",
45
- "clean": "rimraf dist && npm run clean_tsbuildinfo",
46
- "clean_tsbuildinfo": "rm -f tsconfig.tsbuildinfo && rm -f dist/**/*.d.ts",
47
- "compile": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
44
+ "clean": "rimraf dist && npm run clean:tsbuildinfo",
45
+ "clean:tsbuildinfo": "rm -f tsconfig.tsbuildinfo && rm -f dist/**/*.d.ts",
46
+ "compile": "npm run compile:source && npm run compile:declaration",
47
+ "compile:source": "swc src --out-dir dist --copy-files --source-maps --config-file .swcrc",
48
+ "compile:declaration": "npm run clean:tsbuildinfo && tsc --declaration --emitDeclarationOnly --declarationDir dist",
48
49
  "exec": "$@"
49
50
  }
50
51
  }
package/COMMIT_EDITMSG DELETED
@@ -1 +0,0 @@
1
-