@ctx-core/scroll 15.0.13 → 16.0.0

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,38 @@
1
1
  # @ctx-core/scroll
2
2
 
3
+ ## 16.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - flatten functions: remove \_b suffix from exports
8
+
9
+ ## 15.0.17
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+ - @ctx-core/nanostores@0.5.0
15
+
16
+ ## 15.0.16
17
+
18
+ ### Patch Changes
19
+
20
+ - update dependencies
21
+
22
+ ## 15.0.15
23
+
24
+ ### Patch Changes
25
+
26
+ - update dependencies
27
+
28
+ ## 15.0.14
29
+
30
+ ### Patch Changes
31
+
32
+ - Updated dependencies
33
+ - Updated dependencies
34
+ - @ctx-core/nanostores@0.4.0
35
+
3
36
  ## 15.0.13
4
37
 
5
38
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -2,4 +2,4 @@ export * from './is_active_.js';
2
2
  export * from './is_visible_.js';
3
3
  export * from './out_is_active_.js';
4
4
  export * from './out_is_visible_.js';
5
- export * from './sticky_scroll_active$_b.js';
5
+ export * from './sticky_scroll_active$_.js';
package/lib/index.js CHANGED
@@ -2,6 +2,6 @@ export * from './is_active_.js';
2
2
  export * from './is_visible_.js';
3
3
  export * from './out_is_active_.js';
4
4
  export * from './out_is_visible_.js';
5
- export * from './sticky_scroll_active$_b.js';
5
+ export * from './sticky_scroll_active$_.js';
6
6
 
7
7
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './is_active_.js'\nexport * from './is_visible_.js'\nexport * from './out_is_active_.js'\nexport * from './out_is_visible_.js'\nexport * from './sticky_scroll_active$_b.js'\n"],"names":[],"mappings":"cAAc,CAAiB;cACjB,CAAkB;cAClB,CAAqB;cACrB,CAAsB;cACtB,CAA8B"}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export * from './is_active_.js'\nexport * from './is_visible_.js'\nexport * from './out_is_active_.js'\nexport * from './out_is_visible_.js'\nexport * from './sticky_scroll_active$_.js'\n"],"names":[],"mappings":"cAAc,CAAiB;cACjB,CAAkB;cAClB,CAAqB;cACrB,CAAsB;cACtB,CAA6B"}
@@ -1,6 +1,6 @@
1
1
  import { B } from '@ctx-core/object';
2
2
  import { WritableAtom$ } from '@ctx-core/nanostores';
3
- export declare const sticky_scroll_active$_b: B<sticky_scroll_active$_T>;
3
+ export declare const sticky_scroll_active$_: B<sticky_scroll_active$_T>;
4
4
  export interface sticky_scroll_active_T extends Record<string, boolean> {
5
5
  }
6
6
  export interface sticky_scroll_active$_T extends WritableAtom$<sticky_scroll_active_T> {
@@ -9,4 +9,3 @@ export interface sticky_scroll_active$_T extends WritableAtom$<sticky_scroll_act
9
9
  sticky_scroll_active_key_active_: (key: string) => void;
10
10
  sticky_scroll_active_key_match_: (key: string, active: any) => void;
11
11
  }
12
- export { sticky_scroll_active$_b as b__active__Sticky__Scroll, };
@@ -1,7 +1,7 @@
1
1
  import { assign, b_ } from '@ctx-core/object';
2
2
  import { atom$ } from '@ctx-core/nanostores';
3
3
  const key = 'sticky_scroll_active$';
4
- export const sticky_scroll_active$_b = b_(key, ()=>{
4
+ export const sticky_scroll_active$_ = b_(key, ()=>{
5
5
  const sticky_scroll_active$ = atom$({});
6
6
  return assign(sticky_scroll_active$, {
7
7
  add_sticky_scroll_active,
@@ -28,6 +28,5 @@ export const sticky_scroll_active$_b = b_(key, ()=>{
28
28
  return !!active == !!sticky_scroll_active_key_active_(key4);
29
29
  }
30
30
  });
31
- export { sticky_scroll_active$_b as b__active__Sticky__Scroll, };
32
31
 
33
- //# sourceMappingURL=sticky_scroll_active$_b.js.map
32
+ //# sourceMappingURL=sticky_scroll_active$_.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/sticky_scroll_active$_.ts"],"sourcesContent":["import { assign, b_, B } from '@ctx-core/object'\nimport { atom$, WritableAtom$ } from '@ctx-core/nanostores'\nconst key = 'sticky_scroll_active$'\nexport const sticky_scroll_active$_:B<sticky_scroll_active$_T> = b_(key, ()=>{\n\tconst sticky_scroll_active$ = atom$<sticky_scroll_active_T>({})\n\treturn assign(sticky_scroll_active$, {\n\t\tadd_sticky_scroll_active,\n\t\tremove_sticky_scroll_active,\n\t\tsticky_scroll_active_key_active_,\n\t\tsticky_scroll_active_key_match_,\n\t}) as sticky_scroll_active$_T\n\tfunction add_sticky_scroll_active(key:string) {\n\t\tconst sticky_scroll_active = sticky_scroll_active$.$\n\t\tsticky_scroll_active[key] = true\n\t\tsticky_scroll_active$.$ = sticky_scroll_active\n\t}\n\tfunction remove_sticky_scroll_active(key:string) {\n\t\tconst sticky_scroll_active = sticky_scroll_active$.$\n\t\tsticky_scroll_active[key] = false\n\t\tsticky_scroll_active$.$ = sticky_scroll_active\n\t}\n\tfunction sticky_scroll_active_key_active_(key:string) {\n\t\tconst sticky_scroll_active = sticky_scroll_active$.$\n\t\tconst active =\n\t\t\tsticky_scroll_active\n\t\t\t? sticky_scroll_active[key]\n\t\t\t: false\n\t\treturn active\n\t}\n\tfunction sticky_scroll_active_key_match_(key:string, active:boolean) {\n\t\treturn !!(active) == !!(sticky_scroll_active_key_active_(key))\n\t}\n})\nexport interface sticky_scroll_active_T extends Record<string, boolean> {}\nexport interface sticky_scroll_active$_T extends WritableAtom$<sticky_scroll_active_T> {\n\tadd_sticky_scroll_active:(key:string)=>void\n\tremove_sticky_scroll_active:(key:string)=>void\n\tsticky_scroll_active_key_active_:(key:string)=>void\n\tsticky_scroll_active_key_match_:(key:string, active:any)=>void\n}\n"],"names":["assign","b_","atom$","key","sticky_scroll_active$_","sticky_scroll_active$","add_sticky_scroll_active","remove_sticky_scroll_active","sticky_scroll_active_key_active_","sticky_scroll_active_key_match_","sticky_scroll_active","$","active"],"mappings":"AAAA,MAAM,GAAGA,MAAM,EAAEC,EAAE,QAAW,CAAkB;AAChD,MAAM,GAAGC,KAAK,QAAuB,CAAsB;AAC3D,KAAK,CAACC,GAAG,GAAG,CAAuB;AACnC,MAAM,CAAC,KAAK,CAACC,sBAAsB,GAA8BH,EAAE,CAACE,GAAG,MAAM,CAAC;IAC7E,KAAK,CAACE,qBAAqB,GAAGH,KAAK,CAAyB,CAAC,CAAC;IAC9D,MAAM,CAACF,MAAM,CAACK,qBAAqB,EAAE,CAAC;QACrCC,wBAAwB;QACxBC,2BAA2B;QAC3BC,gCAAgC;QAChCC,+BAA+B;IAChC,CAAC;aACQH,wBAAwB,CAACH,IAAU,EAAE,CAAC;QAC9C,KAAK,CAACO,oBAAoB,GAAGL,qBAAqB,CAACM,CAAC;QACpDD,oBAAoB,CAACP,IAAG,IAAI,IAAI;QAChCE,qBAAqB,CAACM,CAAC,GAAGD,oBAAoB;IAC/C,CAAC;aACQH,2BAA2B,CAACJ,IAAU,EAAE,CAAC;QACjD,KAAK,CAACO,oBAAoB,GAAGL,qBAAqB,CAACM,CAAC;QACpDD,oBAAoB,CAACP,IAAG,IAAI,KAAK;QACjCE,qBAAqB,CAACM,CAAC,GAAGD,oBAAoB;IAC/C,CAAC;aACQF,gCAAgC,CAACL,IAAU,EAAE,CAAC;QACtD,KAAK,CAACO,oBAAoB,GAAGL,qBAAqB,CAACM,CAAC;QACpD,KAAK,CAACC,MAAM,GACXF,oBAAoB,GAClBA,oBAAoB,CAACP,IAAG,IACxB,KAAK;QACR,MAAM,CAACS,MAAM;IACd,CAAC;aACQH,+BAA+B,CAACN,IAAU,EAAES,MAAc,EAAE,CAAC;QACrE,MAAM,GAAIA,MAAM,MAAQJ,gCAAgC,CAACL,IAAG;IAC7D,CAAC;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/scroll",
3
- "version": "15.0.13",
3
+ "version": "16.0.0",
4
4
  "description": "ctx-core scroll",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -25,12 +25,12 @@
25
25
  "./package.json": "./package.json"
26
26
  },
27
27
  "dependencies": {
28
- "@ctx-core/nanostores": "^0.3.7",
29
- "@ctx-core/object": "^22.0.12"
28
+ "@ctx-core/nanostores": "^0.5.1",
29
+ "@ctx-core/object": "^22.0.13"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@swc/cli": "^0.1.55",
33
- "@swc/core": "^1.2.128",
33
+ "@swc/core": "^1.2.135",
34
34
  "rimraf": "^3.0.2",
35
35
  "typescript": "next"
36
36
  },
package/src/index.ts CHANGED
@@ -2,4 +2,4 @@ export * from './is_active_.js'
2
2
  export * from './is_visible_.js'
3
3
  export * from './out_is_active_.js'
4
4
  export * from './out_is_visible_.js'
5
- export * from './sticky_scroll_active$_b.js'
5
+ export * from './sticky_scroll_active$_.js'
@@ -1,7 +1,7 @@
1
1
  import { assign, b_, B } from '@ctx-core/object'
2
2
  import { atom$, WritableAtom$ } from '@ctx-core/nanostores'
3
3
  const key = 'sticky_scroll_active$'
4
- export const sticky_scroll_active$_b:B<sticky_scroll_active$_T> = b_(key, ()=>{
4
+ export const sticky_scroll_active$_:B<sticky_scroll_active$_T> = b_(key, ()=>{
5
5
  const sticky_scroll_active$ = atom$<sticky_scroll_active_T>({})
6
6
  return assign(sticky_scroll_active$, {
7
7
  add_sticky_scroll_active,
@@ -38,6 +38,3 @@ export interface sticky_scroll_active$_T extends WritableAtom$<sticky_scroll_act
38
38
  sticky_scroll_active_key_active_:(key:string)=>void
39
39
  sticky_scroll_active_key_match_:(key:string, active:any)=>void
40
40
  }
41
- export {
42
- sticky_scroll_active$_b as b__active__Sticky__Scroll,
43
- }
package/COMMIT_EDITMSG DELETED
@@ -1,2 +0,0 @@
1
-
2
-
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/sticky_scroll_active$_b.ts"],"sourcesContent":["import { assign, b_, B } from '@ctx-core/object'\nimport { atom$, WritableAtom$ } from '@ctx-core/nanostores'\nconst key = 'sticky_scroll_active$'\nexport const sticky_scroll_active$_b:B<sticky_scroll_active$_T> = b_(key, ()=>{\n\tconst sticky_scroll_active$ = atom$<sticky_scroll_active_T>({})\n\treturn assign(sticky_scroll_active$, {\n\t\tadd_sticky_scroll_active,\n\t\tremove_sticky_scroll_active,\n\t\tsticky_scroll_active_key_active_,\n\t\tsticky_scroll_active_key_match_,\n\t}) as sticky_scroll_active$_T\n\tfunction add_sticky_scroll_active(key:string) {\n\t\tconst sticky_scroll_active = sticky_scroll_active$.$\n\t\tsticky_scroll_active[key] = true\n\t\tsticky_scroll_active$.$ = sticky_scroll_active\n\t}\n\tfunction remove_sticky_scroll_active(key:string) {\n\t\tconst sticky_scroll_active = sticky_scroll_active$.$\n\t\tsticky_scroll_active[key] = false\n\t\tsticky_scroll_active$.$ = sticky_scroll_active\n\t}\n\tfunction sticky_scroll_active_key_active_(key:string) {\n\t\tconst sticky_scroll_active = sticky_scroll_active$.$\n\t\tconst active =\n\t\t\tsticky_scroll_active\n\t\t\t? sticky_scroll_active[key]\n\t\t\t: false\n\t\treturn active\n\t}\n\tfunction sticky_scroll_active_key_match_(key:string, active:boolean) {\n\t\treturn !!(active) == !!(sticky_scroll_active_key_active_(key))\n\t}\n})\nexport interface sticky_scroll_active_T extends Record<string, boolean> {}\nexport interface sticky_scroll_active$_T extends WritableAtom$<sticky_scroll_active_T> {\n\tadd_sticky_scroll_active:(key:string)=>void\n\tremove_sticky_scroll_active:(key:string)=>void\n\tsticky_scroll_active_key_active_:(key:string)=>void\n\tsticky_scroll_active_key_match_:(key:string, active:any)=>void\n}\nexport {\n\tsticky_scroll_active$_b as b__active__Sticky__Scroll,\n}\n"],"names":["assign","b_","atom$","key","sticky_scroll_active$_b","sticky_scroll_active$","add_sticky_scroll_active","remove_sticky_scroll_active","sticky_scroll_active_key_active_","sticky_scroll_active_key_match_","sticky_scroll_active","$","active","b__active__Sticky__Scroll"],"mappings":"AAAA,MAAM,GAAGA,MAAM,EAAEC,EAAE,QAAW,CAAkB;AAChD,MAAM,GAAGC,KAAK,QAAuB,CAAsB;AAC3D,KAAK,CAACC,GAAG,GAAG,CAAuB;AACnC,MAAM,CAAC,KAAK,CAACC,uBAAuB,GAA8BH,EAAE,CAACE,GAAG,MAAM,CAAC;IAC9E,KAAK,CAACE,qBAAqB,GAAGH,KAAK,CAAyB,CAAC,CAAC;IAC9D,MAAM,CAACF,MAAM,CAACK,qBAAqB,EAAE,CAAC;QACrCC,wBAAwB;QACxBC,2BAA2B;QAC3BC,gCAAgC;QAChCC,+BAA+B;IAChC,CAAC;aACQH,wBAAwB,CAACH,IAAU,EAAE,CAAC;QAC9C,KAAK,CAACO,oBAAoB,GAAGL,qBAAqB,CAACM,CAAC;QACpDD,oBAAoB,CAACP,IAAG,IAAI,IAAI;QAChCE,qBAAqB,CAACM,CAAC,GAAGD,oBAAoB;IAC/C,CAAC;aACQH,2BAA2B,CAACJ,IAAU,EAAE,CAAC;QACjD,KAAK,CAACO,oBAAoB,GAAGL,qBAAqB,CAACM,CAAC;QACpDD,oBAAoB,CAACP,IAAG,IAAI,KAAK;QACjCE,qBAAqB,CAACM,CAAC,GAAGD,oBAAoB;IAC/C,CAAC;aACQF,gCAAgC,CAACL,IAAU,EAAE,CAAC;QACtD,KAAK,CAACO,oBAAoB,GAAGL,qBAAqB,CAACM,CAAC;QACpD,KAAK,CAACC,MAAM,GACXF,oBAAoB,GAClBA,oBAAoB,CAACP,IAAG,IACxB,KAAK;QACR,MAAM,CAACS,MAAM;IACd,CAAC;aACQH,+BAA+B,CAACN,IAAU,EAAES,MAAc,EAAE,CAAC;QACrE,MAAM,GAAIA,MAAM,MAAQJ,gCAAgC,CAACL,IAAG;IAC7D,CAAC;AACF,CAAC;AAQD,MAAM,GACLC,uBAAuB,IAAIS,yBAAyB"}