@ethlete/core 4.16.0 → 4.17.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.
@@ -194,4 +194,14 @@ export declare const useCursorDragScroll: (el: SignalElementBindingType, options
194
194
  y: number;
195
195
  }>;
196
196
  };
197
+ /**
198
+ * A computed that will only be reactive until the source signal contains a truthy value.
199
+ * All subsequent changes inside the computation will be ignored.
200
+ */
201
+ export declare const computedTillTruthy: <T>(source: Signal<T>) => Signal<T | null>;
202
+ /**
203
+ * A computed that will only be reactive until the source signal contains a falsy value.
204
+ * All subsequent changes inside the computation will be ignored.
205
+ */
206
+ export declare const computedTillFalsy: <T>(source: Signal<T>) => Signal<T | null>;
197
207
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethlete/core",
3
- "version": "4.16.0",
3
+ "version": "4.17.0",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "17.3.6",
6
6
  "@angular/common": "17.3.7",