@hhgtech/hhg-components 1.18.23 → 1.18.24

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.
@@ -50,7 +50,8 @@ export declare enum ActionTypes {
50
50
  OpenMobileModal = "open mobile modal",
51
51
  CloseMobileModal = "close mobile modal",
52
52
  UpdateInitialSearchValue = "update initial search value",
53
- SelectSearchResult = "select search result"
53
+ SelectSearchResult = "select search result",
54
+ SetInputSearchPlaceholder = "set input search placeholder"
54
55
  }
55
56
  export declare type Action = {
56
57
  type: ActionTypes.NavigateTo;
@@ -118,5 +119,8 @@ export declare type Action = {
118
119
  name: string;
119
120
  url: string;
120
121
  };
122
+ } | {
123
+ type: ActionTypes.SetInputSearchPlaceholder;
124
+ payload: string;
121
125
  };
122
126
  export declare function reducer(state: ReducerState, action: Action): ReducerState;
@@ -50,7 +50,8 @@ export declare enum ActionTypes {
50
50
  OpenMobileModal = "open mobile modal",
51
51
  CloseMobileModal = "close mobile modal",
52
52
  UpdateInitialSearchValue = "update initial search value",
53
- SelectSearchResult = "select search result"
53
+ SelectSearchResult = "select search result",
54
+ SetInputSearchPlaceholder = "set input search placeholder"
54
55
  }
55
56
  export declare type Action = {
56
57
  type: ActionTypes.NavigateTo;
@@ -118,5 +119,8 @@ export declare type Action = {
118
119
  name: string;
119
120
  url: string;
120
121
  };
122
+ } | {
123
+ type: ActionTypes.SetInputSearchPlaceholder;
124
+ payload: string;
121
125
  };
122
126
  export declare function reducer(state: ReducerState, action: Action): ReducerState;