@qite/tide-booking-component 1.4.20 → 1.4.21
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.
- package/build/build-cjs/content/header/index.d.ts +4 -0
- package/build/build-cjs/content/{components/header.d.ts → header/types.d.ts} +2 -5
- package/build/build-cjs/index.d.ts +2 -1
- package/build/build-cjs/index.js +486 -178
- package/build/build-esm/content/header/index.d.ts +4 -0
- package/build/build-esm/content/{components/header.d.ts → header/types.d.ts} +2 -5
- package/build/build-esm/index.d.ts +2 -1
- package/build/build-esm/index.js +486 -179
- package/package.json +1 -1
- package/src/content/{components/header.tsx → header/index.tsx} +2 -28
- package/src/content/header/types.ts +26 -0
- package/src/index.ts +2 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
type HeaderMedia =
|
|
1
|
+
export type HeaderMedia =
|
|
3
2
|
| {
|
|
4
3
|
type: 'video';
|
|
5
4
|
src: string;
|
|
@@ -15,7 +14,7 @@ type HeaderMedia =
|
|
|
15
14
|
mode?: 'auto' | 'manual';
|
|
16
15
|
path?: string;
|
|
17
16
|
};
|
|
18
|
-
interface HeaderProps {
|
|
17
|
+
export interface HeaderProps {
|
|
19
18
|
media: HeaderMedia;
|
|
20
19
|
small?: boolean;
|
|
21
20
|
title: string;
|
|
@@ -24,5 +23,3 @@ interface HeaderProps {
|
|
|
24
23
|
buttonText?: string;
|
|
25
24
|
onButtonClick?: () => void;
|
|
26
25
|
}
|
|
27
|
-
declare const Header: React.FC<HeaderProps>;
|
|
28
|
-
export default Header;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import BookingProduct from './booking-product';
|
|
2
2
|
import BookingWizard from './booking-wizard';
|
|
3
|
+
import Header from './content/header';
|
|
3
4
|
import Navbar from './content/navbar';
|
|
4
5
|
import QSM from './qsm';
|
|
5
6
|
import SearchResults from './search-results';
|
|
6
|
-
export { BookingProduct, BookingWizard, QSM, SearchResults, Navbar };
|
|
7
|
+
export { BookingProduct, BookingWizard, QSM, SearchResults, Navbar, Header };
|