@ethlete/core 4.18.3 → 4.19.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.
@@ -176,7 +176,7 @@ export declare const createIsRenderedSignal: () => {
176
176
  bind: () => EffectRef;
177
177
  };
178
178
  export declare const createCanAnimateSignal: () => {
179
- state: WritableSignal<boolean>;
179
+ state: Signal<boolean>;
180
180
  };
181
181
  export type CursorDragScrollDirection = 'horizontal' | 'vertical' | 'both';
182
182
  export type MaybeSignal<T> = T | Signal<T>;
@@ -205,6 +205,11 @@ export declare const computedTillTruthy: <T>(source: Signal<T>) => Signal<T | nu
205
205
  * All subsequent changes inside the computation will be ignored.
206
206
  */
207
207
  export declare const computedTillFalsy: <T>(source: Signal<T>) => Signal<T | null>;
208
+ /**
209
+ * A writeable signal that will be set to the provided value once all inputs are set.
210
+ * During that time, the signal will be set to `null`.
211
+ */
212
+ export declare const deferredSignal: <T extends () => unknown>(valueFn: T) => WritableSignal<ReturnType<T> | null>;
208
213
  /** Inject a signal containing a boolean value indicating if the viewport is xs */
209
214
  export declare const injectIsXs: () => Signal<boolean>;
210
215
  /** Inject a signal containing a boolean value indicating if the viewport is sm */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethlete/core",
3
- "version": "4.18.3",
3
+ "version": "4.19.0",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "17.3.8",
6
6
  "@angular/common": "17.3.8",