solid-ctrl-flow 1.0.13 → 1.0.14

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/dist/index.d.ts CHANGED
@@ -72,7 +72,7 @@ export declare function createExtractor(name?: string): {
72
72
  * Gets an {@link Accessor} that tells if the context in which THIS getter has been executed has been extracted (Is inside of a {@link Dest})
73
73
  * @returns Returns `null` if there is no parent {@link Joint}, the number of {@link Dest}s in which this component is being displayed otherwise (Usually 1)
74
74
  */
75
- readonly isExtracted: () => number | null;
75
+ readonly extracting: () => number | null;
76
76
  };
77
77
 
78
78
  /**
package/dist/index.mjs CHANGED
@@ -84,7 +84,7 @@ function createExtractor(name = "extractor") {
84
84
  * Gets an {@link Accessor} that tells if the context in which THIS getter has been executed has been extracted (Is inside of a {@link Dest})
85
85
  * @returns Returns `null` if there is no parent {@link Joint}, the number of {@link Dest}s in which this component is being displayed otherwise (Usually 1)
86
86
  */
87
- get isExtracted() {
87
+ get extracting() {
88
88
  const obj = useContext(ctx2);
89
89
  return () => obj?.attached ?? null;
90
90
  }
package/dist/index.umd.js CHANGED
@@ -86,7 +86,7 @@
86
86
  * Gets an {@link Accessor} that tells if the context in which THIS getter has been executed has been extracted (Is inside of a {@link Dest})
87
87
  * @returns Returns `null` if there is no parent {@link Joint}, the number of {@link Dest}s in which this component is being displayed otherwise (Usually 1)
88
88
  */
89
- get isExtracted() {
89
+ get extracting() {
90
90
  const obj = solidJs.useContext(ctx2);
91
91
  return () => obj?.attached ?? null;
92
92
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solid-ctrl-flow",
3
- "version": "1.0.13",
3
+ "version": "1.0.14",
4
4
  "description": "Control flow components for solid-js",
5
5
  "author": "AFatNiBBa",
6
6
  "license": "ISC",