@ethlete/cdk 4.35.0 → 4.36.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.
@@ -36,7 +36,7 @@ export type OverlayHandlerWithQueryParamLifecycle<Q = string> = {
36
36
  /** Close the overlay and remove the query param */
37
37
  close: () => void;
38
38
  };
39
- export type CreateOverlayHandlerWithQueryParamLifecycleConfig<T> = Omit<OverlayConfig<unknown>, 'positions' | 'data'> & {
39
+ export type CreateOverlayHandlerWithQueryParamLifecycleConfig<T> = Omit<OverlayConfig<unknown>, 'positions' | 'data' | 'closeOnNavigation'> & {
40
40
  /** The overlay component */
41
41
  component: ComponentType<T>;
42
42
  /** The overlay positions using the position builder provided via argument */
@@ -47,7 +47,7 @@ export type CreateOverlayHandlerWithQueryParamLifecycleConfig<T> = Omit<OverlayC
47
47
  export declare const OVERLAY_QUERY_PARAM_INPUT_NAME = "overlayQueryParam";
48
48
  /**
49
49
  * This handler will automatically open the overlay when the query param is present.
50
- * The overlay can contain a required input with the name `overlayQueryParam` to receive the query param value.
50
+ * The overlay can contain a input or model with the name `overlayQueryParam` to receive the query param value.
51
51
  *
52
52
  * If you need to transfer more information (eg. a second query param), you need to combine them into a single query param string.
53
53
  * You can then split the string inside the overlay component using computed signals.
@@ -57,4 +57,5 @@ export declare const OVERLAY_QUERY_PARAM_INPUT_NAME = "overlayQueryParam";
57
57
  export declare const createOverlayHandlerWithQueryParamLifecycle: <TComponent, TQueryParam extends string = string, TResult = unknown>(config: CreateOverlayHandlerWithQueryParamLifecycleConfig<TComponent>) => {
58
58
  (innerConfig?: CreateOverlayHandlerInnerConfig<TResult>): OverlayHandlerWithQueryParamLifecycle<TQueryParam>;
59
59
  injectOverlayRef(): OverlayRef<TComponent, TResult>;
60
+ updateQueryParam(value: TQueryParam): void;
60
61
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ethlete/cdk",
3
- "version": "4.35.0",
3
+ "version": "4.36.0",
4
4
  "exports": {
5
5
  ".": {
6
6
  "css": "./src/lib/styles/index.css",