@codecademy/brand 0.13.52-alpha.41c433a0f1.0 → 0.13.52-alpha.63aab805fc.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.
@@ -13,7 +13,6 @@ interface ToggleSearch {
13
13
  }
14
14
  export interface AppHeaderSearch extends OnSearch, onTrackingClick {
15
15
  onEnable: () => void;
16
- newCertPathsEnabled?: boolean;
17
16
  }
18
17
  export interface SearchButtonProps extends ToggleSearch {
19
18
  isSearchVisible: boolean;
@@ -1,5 +1,5 @@
1
1
  import { AppHeaderSearch } from './types';
2
- export declare const useHeaderSearch: ({ onEnable, onSearch, onTrackingClick, onSearchAsYouType, newCertPathsEnabled, }: AppHeaderSearch) => readonly [{
2
+ export declare const useHeaderSearch: ({ onEnable, onSearch, onTrackingClick, onSearchAsYouType, }: AppHeaderSearch) => readonly [{
3
3
  readonly id: "search";
4
4
  readonly type: "render-element";
5
5
  readonly renderElement: () => import("react/jsx-runtime").JSX.Element;
@@ -8,8 +8,7 @@ export const useHeaderSearch = _ref => {
8
8
  onEnable,
9
9
  onSearch,
10
10
  onTrackingClick,
11
- onSearchAsYouType,
12
- newCertPathsEnabled
11
+ onSearchAsYouType
13
12
  } = _ref;
14
13
  const [isSearchVisible, setIsSearchVisible] = useState(false);
15
14
  const searchButtonRef = useRef(null);
@@ -35,8 +34,7 @@ export const useHeaderSearch = _ref => {
35
34
  onTrackingClick: onTrackingClick,
36
35
  toggleSearch: toggleSearch,
37
36
  searchButtonRef: searchButtonRef,
38
- onSearchAsYouType: onSearchAsYouType,
39
- newCertPathsEnabled: newCertPathsEnabled
37
+ onSearchAsYouType: onSearchAsYouType
40
38
  })
41
39
  }, "search-content")];
42
40
  };