@ctx-core/scroll 15.0.1 → 15.0.7

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,45 @@
1
1
  # @ctx-core/scroll
2
2
 
3
+ ## 15.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - .js + .d.ts instead of .ts
8
+ - Updated dependencies
9
+ - @ctx-core/nanostores@0.3.1
10
+
11
+ ## 15.0.6
12
+
13
+ ### Patch Changes
14
+
15
+ - fix: package.json: compile types: + compile:source,compile:declaration
16
+
17
+ ## 15.0.5
18
+
19
+ ### Patch Changes
20
+
21
+ - update dependencies
22
+
23
+ ## 15.0.4
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies
28
+ - @ctx-core/nanostores@0.3.0
29
+
30
+ ## 15.0.3
31
+
32
+ ### Patch Changes
33
+
34
+ - update dependencies
35
+
36
+ ## 15.0.2
37
+
38
+ ### Patch Changes
39
+
40
+ - Updated dependencies
41
+ - @ctx-core/nanostores@0.2.0
42
+
3
43
  ## 15.0.1
4
44
 
5
45
  ### Patch Changes
package/lib/index.d.ts ADDED
@@ -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';
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ export declare function is_active_(el: HTMLElement): boolean;
2
+ export { is_active_ as _is_active, };
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ export declare function is_visible_(el: HTMLElement): boolean;
2
+ export { is_visible_ as _is_visible, };
File without changes
File without changes
@@ -0,0 +1 @@
1
+ export declare function out_is_active_(top: number, bottom: number): boolean;
File without changes
File without changes
@@ -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, };
File without changes
File without changes
@@ -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, };
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/scroll",
3
- "version": "15.0.1",
3
+ "version": "15.0.7",
4
4
  "description": "ctx-core scroll",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -17,21 +17,20 @@
17
17
  "license": "Apache-2.0",
18
18
  "author": "Brian Takita",
19
19
  "type": "module",
20
- "types": "./dist/index.d.ts",
20
+ "types": "./lib/index.d.ts",
21
21
  "exports": {
22
22
  ".": {
23
- "import": "./dist/index.js"
23
+ "import": "./lib/index.js"
24
24
  },
25
25
  "./package.json": "./package.json"
26
26
  },
27
27
  "dependencies": {
28
- "@ctx-core/nanostores": "^0.1.1",
28
+ "@ctx-core/nanostores": "^0.3.1",
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.124",
35
34
  "rimraf": "^3.0.2",
36
35
  "typescript": "next"
37
36
  },
@@ -39,12 +38,14 @@
39
38
  "access": "public",
40
39
  "cache": "~/.npm"
41
40
  },
42
- "svelte": "./dist/index.js",
41
+ "svelte": "./lib/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 lib && npm run clean:tsbuildinfo",
45
+ "clean:tsbuildinfo": "rimraf tsconfig.tsbuildinfo && rimraf lib/**/*.d.ts",
46
+ "compile": "npm run compile:source && npm run compile:declaration",
47
+ "compile:source": "swc src --out-dir lib --copy-files --source-maps --config-file .swcrc",
48
+ "compile:declaration": "npm run clean:tsbuildinfo && tsc --declaration --emitDeclarationOnly --declarationDir lib",
48
49
  "exec": "$@"
49
50
  }
50
51
  }
package/tsconfig.json CHANGED
@@ -22,15 +22,15 @@
22
22
  "node_modules/@types"
23
23
  ],
24
24
  "rootDir": "src",
25
- "outDir": "dist",
26
- "declarationDir": "dist",
25
+ "outDir": "lib",
26
+ "declarationDir": "lib",
27
27
  "lib": ["dom", "ESNext"],
28
28
  "importsNotUsedAsValues": "error",
29
29
  "strict": true
30
30
  },
31
31
  "exclude": [
32
32
  "node_modules",
33
- "dist"
33
+ "lib"
34
34
  ],
35
35
  "references": []
36
36
  }