@wayke-se/components-react 4.6.1-beta.1 → 4.6.2

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/README.md CHANGED
@@ -69,7 +69,7 @@ const ProviderSettings: WaykeProviderSettings = {
69
69
 
70
70
  ### WaykeComposite uses hash-route, i want to use path-route
71
71
 
72
- In this case you need to make sure that you are in control of the routing, if the user reloads the page, where same html file is
72
+ In this case you need to make sure that you are in control of the routing, if the user reloads the page, where same html file is
73
73
  served for `/your/path/to/this/component` and `/your/path/to/this/component/00000000-0000-0000-0000-000000000000`.
74
74
 
75
75
  Examples given the application is located in `/search/vehicles`:
@@ -355,7 +355,6 @@ WaykePubSub.unsubscribe(event);
355
355
  ### EventBase
356
356
  | eventName | callback | Data |
357
357
  |-----------------------|---------------------------|---------------------------------------------------------------------------------------------------------------------------------|
358
- | View | (data) => void | CallbackViewData |
359
358
  | HashRouteChange | (data) => void | CallbackHashRouteChangeData |
360
359
  | ItemClicked | (data) => void | CallbackItemData |
361
360
  | Ecom | (data) => void | CallbackEcomData |
@@ -376,23 +375,9 @@ WaykePubSub.unsubscribe(event);
376
375
  | SearchCompleted | (data) => void | CallbackSearchCompletedData |
377
376
  | Search | (data) => void | CallbackSearchData |
378
377
  | FilterApply | (data) => void | CallbackFilterApplyData |
379
- | All | (eventName, data) => void | CallbackViewData \| CallbackHashRouteChangeData \| CallbackEcomOnUserEventData \| CallbackItemData \| CallbackSearchClearQueryData \| CallbackSearchClearAllFiltersQueryData \| CallbackSearchInitiatedData \| CallbackSearchCompletedData \| CallbackSearchData \| CallbackFilterApplyData |
378
+ | All | (eventName, data) => void | CallbackHashRouteChangeData \| CallbackEcomOnUserEventData \| CallbackItemData \| CallbackSearchClearQueryData \| CallbackSearchClearAllFiltersQueryData \| CallbackSearchInitiatedData \| CallbackSearchCompletedData \| CallbackSearchData \| CallbackFilterApplyData |
380
379
  * `All` - Subscribes to all events.
381
380
 
382
- #### CallbackViewData
383
- Can be either `CallbackViewSearchData` or `CallbackViewItemData`
384
- ##### CallbackViewSearchData
385
- | Property | Type |
386
- |-----------|-----------|
387
- | type | "search" |
388
-
389
- ##### CallbackViewItemData
390
- | Property | Type |
391
- |-----------|-----------|
392
- | type | "item" |
393
- | id | string |
394
-
395
-
396
381
  #### CallbackHashRouteChangeData
397
382
  | Property | Type |
398
383
  |-----------|-----------|
@@ -411,10 +396,10 @@ Can be either `CallbackViewSearchData` or `CallbackViewItemData`
411
396
  | id | string |
412
397
  | branchName | string |
413
398
  | branchId | string |
414
- | view | EcomView |
415
- | event | EcomView |
416
- | currentStep | EcomStep \| undefined |
417
- | data | any \| undefined |
399
+ | view | EcomView |
400
+ | event | EcomView |
401
+ | currentStep | EcomStep \| undefined |
402
+ | data | any \| undefined |
418
403
 
419
404
  #### CallbackSearchClearQueryData
420
405
  | Property | Type |
@@ -586,7 +571,7 @@ WAYKE_ECOM_URL=https://ecom.wayketech.se
586
571
  GOOGLE_MAPS_API_KEY=YOUR_GOOGLE_MAPS_STATIC_API_KEY
587
572
  ```
588
573
 
589
- * `WAYKE_SEARCH_MLT_URL` - An *optional* flag. Will fetch related vehicles to current vehicle. If not provided
574
+ * `WAYKE_SEARCH_MLT_URL` - An *optional* flag. Will fetch related vehicles to current vehicle. If not provided
590
575
  `WAYKE_SEARCH_URL` will be used instead, but will fetch latest vehicles.
591
576
 
592
577
  Then run the following:
package/dist/index.d.ts CHANGED
@@ -664,7 +664,6 @@ declare module '@wayke-se/components-react/src/@types/vehicle-properties' {
664
664
 
665
665
  }
666
666
  declare module '@wayke-se/components-react/src/State/CentralStorage/CentralStorageContext' {
667
- /// <reference types="react" />
668
667
  export interface CentralStorageContextProps {
669
668
  centralStorageId?: string | null;
670
669
  setCentralStorageId: (id?: string) => void;
@@ -691,7 +690,6 @@ declare module '@wayke-se/components-react/src/State/CentralStorage/useCentralSt
691
690
 
692
691
  }
693
692
  declare module '@wayke-se/components-react/src/State/Path/PathContext' {
694
- /// <reference types="react" />
695
693
  export interface PathContextProps {
696
694
  path: string;
697
695
  previousPath?: string;
@@ -735,7 +733,6 @@ declare module '@wayke-se/components-react/src/State/Path/usePath' {
735
733
 
736
734
  }
737
735
  declare module '@wayke-se/components-react/src/State/RelatedSearch/RelatedSearchContext' {
738
- /// <reference types="react" />
739
736
  import { Search } from '@wayke-se/components-react/src/@types/search';
740
737
  export interface RelatedSearchContextProps {
741
738
  moreLikeThisUrl: boolean;
@@ -765,7 +762,6 @@ declare module '@wayke-se/components-react/src/State/RelatedSearch/useRelatedSea
765
762
 
766
763
  }
767
764
  declare module '@wayke-se/components-react/src/State/Search/SearchContext' {
768
- /// <reference types="react" />
769
765
  import { Facet, Document, Search } from '@wayke-se/components-react/src/@types/search';
770
766
  import { QueryFilter } from '@wayke-se/components-react/src/@types/queryFilter';
771
767
  export interface SearchContextProps {
@@ -801,7 +797,6 @@ declare module '@wayke-se/components-react/src/State/Search/useSearch' {
801
797
 
802
798
  }
803
799
  declare module '@wayke-se/components-react/src/State/Settings/SettingsContext' {
804
- /// <reference types="react" />
805
800
  export interface SettingsContextProps {
806
801
  googleMapsApiKey?: string;
807
802
  googleMapsMarker?: string;
@@ -891,7 +886,6 @@ declare module '@wayke-se/components-react/src/components/Accordion/index' {
891
886
 
892
887
  }
893
888
  declare module '@wayke-se/components-react/src/components/Accordion/wrapper' {
894
- /// <reference types="react" />
895
889
  export const List: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
896
890
  export const Header: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
897
891
  type: "button";
@@ -1008,16 +1002,16 @@ declare module '@wayke-se/components-react/src/components/Button/index' {
1008
1002
  export const ButtonPrimary: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
1009
1003
  type: "button";
1010
1004
  } & React.ClassAttributes<HTMLButtonElement> & React.HTMLAttributes<HTMLButtonElement> & {
1011
- fullWidth?: boolean | undefined;
1012
- inputHeight?: boolean | undefined;
1005
+ fullWidth?: boolean;
1006
+ inputHeight?: boolean;
1013
1007
  } & {
1014
1008
  className: "wayke__theme wayke__color--primary-bg wayke__font--bold";
1015
1009
  }, "className" | "type">;
1016
1010
  export const ButtonSecondary: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
1017
1011
  type: "button";
1018
1012
  } & React.ClassAttributes<HTMLButtonElement> & React.HTMLAttributes<HTMLButtonElement> & {
1019
- fullWidth?: boolean | undefined;
1020
- inputHeight?: boolean | undefined;
1013
+ fullWidth?: boolean;
1014
+ inputHeight?: boolean;
1021
1015
  } & {
1022
1016
  className: "wayke__theme wayke__color--secondary-bg wayke__font--bold";
1023
1017
  }, "className" | "type">;
@@ -1032,8 +1026,8 @@ declare module '@wayke-se/components-react/src/components/Button/index' {
1032
1026
  } & {
1033
1027
  className: "wayke__theme wayke__color--primary-text wayke__font--regular";
1034
1028
  } & React.ClassAttributes<HTMLButtonElement> & React.HTMLAttributes<HTMLButtonElement> & {
1035
- inline?: boolean | undefined;
1036
- as?: string | undefined;
1029
+ inline?: boolean;
1030
+ as?: string;
1037
1031
  }, "className" | "type">;
1038
1032
  export const ButtonInlineBold: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
1039
1033
  type: "button";
@@ -1050,8 +1044,8 @@ declare module '@wayke-se/components-react/src/components/Button/index' {
1050
1044
  } & {
1051
1045
  className: "wayke__theme wayke__color--primary-text wayke__font--regular";
1052
1046
  } & React.ClassAttributes<HTMLButtonElement> & React.HTMLAttributes<HTMLButtonElement> & {
1053
- inline?: boolean | undefined;
1054
- as?: string | undefined;
1047
+ inline?: boolean;
1048
+ as?: string;
1055
1049
  }, "className" | "type">;
1056
1050
 
1057
1051
  }
@@ -1122,7 +1116,6 @@ declare module '@wayke-se/components-react/src/components/ColorSelect/index' {
1122
1116
 
1123
1117
  }
1124
1118
  declare module '@wayke-se/components-react/src/components/ColorSelect/wrapper' {
1125
- /// <reference types="react" />
1126
1119
  export const List: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {}, never>;
1127
1120
  export const Item: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {}, never>;
1128
1121
  export const Action: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
@@ -1184,7 +1177,6 @@ declare module '@wayke-se/components-react/src/components/Content/index' {
1184
1177
 
1185
1178
  }
1186
1179
  declare module '@wayke-se/components-react/src/components/Content/wrapper' {
1187
- /// <reference types="react" />
1188
1180
  type WrapperProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
1189
1181
  small?: boolean;
1190
1182
  };
@@ -1197,6 +1189,20 @@ declare module '@wayke-se/components-react/src/components/ContentLogo/index' {
1197
1189
  export const ContentLogoText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1198
1190
  export const ContentLogoMedia: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1199
1191
 
1192
+ }
1193
+ declare module '@wayke-se/components-react/src/components/CreditorDisclaimer/index' {
1194
+ import React from 'react';
1195
+ export const CreditorDisclaimer: () => React.JSX.Element;
1196
+
1197
+ }
1198
+ declare module '@wayke-se/components-react/src/components/CreditorDisclaimer/wrapper' {
1199
+ export const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1200
+ export const Icon: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1201
+ export const Body: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1202
+ export const Heading: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
1203
+ className: "wayke__theme wayke__font--bold";
1204
+ }, "className">;
1205
+
1200
1206
  }
1201
1207
  declare module '@wayke-se/components-react/src/components/DataList/index' {
1202
1208
  import React from 'react';
@@ -1232,13 +1238,12 @@ declare module '@wayke-se/components-react/src/components/DetailBox/index' {
1232
1238
 
1233
1239
  }
1234
1240
  declare module '@wayke-se/components-react/src/components/DetailBox/wrapper' {
1235
- /// <reference types="react" />
1236
1241
  export const Wrapper: import("styled-components").StyledComponent<"article", import("styled-components").DefaultTheme, {}, never>;
1237
1242
  export const Main: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1238
1243
  export const Heading: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
1239
1244
  className: "wayke__theme wayke__font--bold";
1240
1245
  } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
1241
- noMargin?: boolean | undefined;
1246
+ noMargin?: boolean;
1242
1247
  } & {
1243
1248
  as: string;
1244
1249
  }, "className" | "as">;
@@ -1287,7 +1292,6 @@ declare module '@wayke-se/components-react/src/components/ExtendContent/index' {
1287
1292
 
1288
1293
  }
1289
1294
  declare module '@wayke-se/components-react/src/components/ExtendContent/wrapper' {
1290
- /// <reference types="react" />
1291
1295
  export const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1292
1296
  type ExtendProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
1293
1297
  extended?: boolean;
@@ -1411,25 +1415,29 @@ declare module '@wayke-se/components-react/src/components/FilterPanel/rangeFacet
1411
1415
  declare module '@wayke-se/components-react/src/components/FinancialOptions/LoanModal' {
1412
1416
  import React from 'react';
1413
1417
  import { Branch, FinancialOption, Maybe } from '@wayke-se/components-react/src/@types/codegen/types';
1418
+ import { MarketCode } from '@wayke-se/components-react/src/@types/market';
1414
1419
  interface LoanModalProps {
1415
1420
  id: string;
1416
1421
  branch?: Maybe<Branch>;
1417
1422
  financialOption: FinancialOption;
1423
+ marketCode?: MarketCode;
1418
1424
  onClose: () => void;
1419
1425
  }
1420
- const LoanModal: ({ id, branch, financialOption, onClose }: LoanModalProps) => React.JSX.Element;
1426
+ const LoanModal: ({ id, branch, financialOption, marketCode, onClose }: LoanModalProps) => React.JSX.Element;
1421
1427
  export default LoanModal;
1422
1428
 
1423
1429
  }
1424
1430
  declare module '@wayke-se/components-react/src/components/FinancialOptions/index' {
1425
1431
  import React from 'react';
1426
1432
  import { Branch, FinancialOption, Maybe } from '@wayke-se/components-react/src/@types/codegen/types';
1433
+ import { MarketCode } from '@wayke-se/components-react/src/@types/market';
1427
1434
  interface FinancialOptionsProps {
1428
1435
  id: string;
1429
1436
  branch?: Maybe<Branch>;
1430
1437
  financialOptions: FinancialOption[];
1438
+ marketCode?: MarketCode;
1431
1439
  }
1432
- const FinancialOptions: ({ id, branch, financialOptions }: FinancialOptionsProps) => React.JSX.Element;
1440
+ const FinancialOptions: ({ id, branch, financialOptions, marketCode }: FinancialOptionsProps) => React.JSX.Element;
1433
1441
  export default FinancialOptions;
1434
1442
 
1435
1443
  }
@@ -1446,12 +1454,14 @@ declare module '@wayke-se/components-react/src/components/FinancialOptions/leasi
1446
1454
  declare module '@wayke-se/components-react/src/components/FinancialOptions/loan' {
1447
1455
  import React from 'react';
1448
1456
  import { Branch, FinancialOption, Maybe } from '@wayke-se/components-react/src/@types/codegen/types';
1457
+ import { MarketCode } from '@wayke-se/components-react/src/@types/market';
1449
1458
  interface LoanProps {
1450
1459
  id: string;
1451
1460
  branch?: Maybe<Branch>;
1452
1461
  financialOption: FinancialOption;
1462
+ marketCode?: MarketCode;
1453
1463
  }
1454
- const Loan: ({ id, branch, financialOption }: LoanProps) => React.JSX.Element;
1464
+ const Loan: ({ id, branch, financialOption, marketCode }: LoanProps) => React.JSX.Element;
1455
1465
  export default Loan;
1456
1466
 
1457
1467
  }
@@ -1479,7 +1489,6 @@ declare module '@wayke-se/components-react/src/components/Gallery/index' {
1479
1489
 
1480
1490
  }
1481
1491
  declare module '@wayke-se/components-react/src/components/Gallery/wrapper' {
1482
- /// <reference types="react" />
1483
1492
  export const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1484
1493
  export const Main: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1485
1494
  export const Alt: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -1493,7 +1502,7 @@ declare module '@wayke-se/components-react/src/components/Gallery/wrapper' {
1493
1502
  export const QuickNavItem: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, {
1494
1503
  className: "wayke__theme wayke__color--primary-text";
1495
1504
  } & import("react").ClassAttributes<HTMLLIElement> & import("react").HTMLAttributes<HTMLLIElement> & {
1496
- active?: boolean | undefined;
1505
+ active?: boolean;
1497
1506
  }, "className">;
1498
1507
  export const QuickNavBtn: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
1499
1508
  type: "button";
@@ -1530,27 +1539,27 @@ declare module '@wayke-se/components-react/src/components/Heading/index' {
1530
1539
  export const H1: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
1531
1540
  className: "wayke__theme wayke__font--bold";
1532
1541
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
1533
- noMargin?: boolean | undefined;
1542
+ noMargin?: boolean;
1534
1543
  }, "className">;
1535
1544
  export const H2: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
1536
1545
  className: "wayke__theme wayke__font--bold";
1537
1546
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
1538
- noMargin?: boolean | undefined;
1547
+ noMargin?: boolean;
1539
1548
  }, "className">;
1540
1549
  export const H3: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
1541
1550
  className: "wayke__theme wayke__font--bold";
1542
1551
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
1543
- noMargin?: boolean | undefined;
1552
+ noMargin?: boolean;
1544
1553
  }, "className">;
1545
1554
  export const H4: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
1546
1555
  className: "wayke__theme wayke__font--bold";
1547
1556
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
1548
- noMargin?: boolean | undefined;
1557
+ noMargin?: boolean;
1549
1558
  }, "className">;
1550
1559
  export const H5: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
1551
1560
  className: "wayke__theme wayke__font--bold";
1552
1561
  } & React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement> & {
1553
- noMargin?: boolean | undefined;
1562
+ noMargin?: boolean;
1554
1563
  }, "className">;
1555
1564
  export const VisualHeading: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
1556
1565
  className: "wayke__theme wayke__font--bold";
@@ -1810,14 +1819,13 @@ declare module '@wayke-se/components-react/src/components/Loader/index' {
1810
1819
 
1811
1820
  }
1812
1821
  declare module '@wayke-se/components-react/src/components/Loader/wrapper' {
1813
- /// <reference types="react" />
1814
1822
  export const Spinner: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1815
1823
  export const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
1816
1824
  className: "wayke__theme wayke__color--primary-text";
1817
1825
  role: "status";
1818
1826
  } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
1819
- inline?: boolean | undefined;
1820
- center?: boolean | undefined;
1827
+ inline?: boolean;
1828
+ center?: boolean;
1821
1829
  }, "className" | "role">;
1822
1830
 
1823
1831
  }
@@ -1834,7 +1842,6 @@ declare module '@wayke-se/components-react/src/components/LogoBox/index' {
1834
1842
 
1835
1843
  }
1836
1844
  declare module '@wayke-se/components-react/src/components/LogoBox/wrapper' {
1837
- /// <reference types="react" />
1838
1845
  type LogoProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
1839
1846
  wide?: boolean;
1840
1847
  };
@@ -1984,7 +1991,6 @@ declare module '@wayke-se/components-react/src/components/OverflowGrid/wrapper'
1984
1991
 
1985
1992
  }
1986
1993
  declare module '@wayke-se/components-react/src/components/Page/index' {
1987
- /// <reference types="react" />
1988
1994
  export const Page: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
1989
1995
  type PageSectionProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
1990
1996
  accent?: boolean;
@@ -2179,7 +2185,6 @@ declare module '@wayke-se/components-react/src/components/ProductCard/wrapper' {
2179
2185
 
2180
2186
  }
2181
2187
  declare module '@wayke-se/components-react/src/components/ProductPage/index' {
2182
- /// <reference types="react" />
2183
2188
  export const ProductPage: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2184
2189
  export const ProductPageAside: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2185
2190
  export const ProductPageMain: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -2309,7 +2314,6 @@ declare module '@wayke-se/components-react/src/components/RangeSliderLabel/index
2309
2314
 
2310
2315
  }
2311
2316
  declare module '@wayke-se/components-react/src/components/RangeSliderLabel/wrapper' {
2312
- /// <reference types="react" />
2313
2317
  export const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2314
2318
  export const Label: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2315
2319
  className: "wayke__theme wayke__font--bold";
@@ -2317,7 +2321,7 @@ declare module '@wayke-se/components-react/src/components/RangeSliderLabel/wrapp
2317
2321
  export const Value: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
2318
2322
  className: "wayke__theme wayke__font--bold wayke__color--primary-text";
2319
2323
  } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
2320
- isHighlighted?: boolean | undefined;
2324
+ isHighlighted?: boolean;
2321
2325
  }, "className">;
2322
2326
 
2323
2327
  }
@@ -2584,7 +2588,7 @@ declare module '@wayke-se/components-react/src/components/Tabs/wrapper' {
2584
2588
  role: "tab";
2585
2589
  className: "wayke__theme wayke__font--bold";
2586
2590
  } & React.ClassAttributes<HTMLButtonElement> & React.HTMLAttributes<HTMLButtonElement> & {
2587
- active?: string | boolean | undefined;
2591
+ active?: boolean | string;
2588
2592
  }, "className" | "type" | "role">;
2589
2593
 
2590
2594
  }
@@ -2642,7 +2646,7 @@ declare module '@wayke-se/components-react/src/components/UspList/wrapper' {
2642
2646
  className: "wayke__theme wayke__color--primary-text";
2643
2647
  }, "className" | "type">;
2644
2648
  export const List: import("styled-components").StyledComponent<"ul", import("styled-components").DefaultTheme, {
2645
- isSmall?: boolean | undefined;
2649
+ isSmall?: boolean;
2646
2650
  }, never>;
2647
2651
 
2648
2652
  }
@@ -2759,7 +2763,6 @@ declare module '@wayke-se/components-react/src/components/Video/utils' {
2759
2763
 
2760
2764
  }
2761
2765
  declare module '@wayke-se/components-react/src/components/Video/wrapper' {
2762
- /// <reference types="react" />
2763
2766
  type WrapperProps = React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement> & {
2764
2767
  ratio?: string;
2765
2768
  isPreview?: boolean;
@@ -3179,7 +3182,6 @@ declare module '@wayke-se/components-react/src/layouts/searchItem/index' {
3179
3182
 
3180
3183
  }
3181
3184
  declare module '@wayke-se/components-react/src/layouts/searchItem/useEcom' {
3182
- /// <reference types="react" />
3183
3185
  import { SettingsContextProps } from '@wayke-se/components-react/src/State/Settings/SettingsContext';
3184
3186
  import { Branch, Maybe } from '@wayke-se/components-react/src/@types/codegen/types';
3185
3187
  interface EcomWeb {
@@ -3413,16 +3415,6 @@ declare module '@wayke-se/components-react/src/utils/pubsub/Events' {
3413
3415
  id: string;
3414
3416
  }
3415
3417
  export type CallbackHashRouteChange = (data: CallbackHashRouteChangeData) => void;
3416
- interface CallbackViewDataBase<T> {
3417
- type: T;
3418
- }
3419
- interface CallbackViewSearchData extends CallbackViewDataBase<'search'> {
3420
- }
3421
- interface CallbackViewItemData extends CallbackViewDataBase<'item'> {
3422
- id: string;
3423
- }
3424
- type CallbackViewData = CallbackViewSearchData | CallbackViewItemData;
3425
- export type CallbackView = (data: CallbackViewData) => void;
3426
3418
  interface CallbackItemData {
3427
3419
  id: string;
3428
3420
  branchId: string;
@@ -3467,9 +3459,6 @@ declare module '@wayke-se/components-react/src/utils/pubsub/Events' {
3467
3459
  }
3468
3460
  export type CallbackFilterApply = (data: CallbackFilterApplyData) => void;
3469
3461
  export type CallbackEcom = (data: CallbackEcomData) => void;
3470
- export interface EventView extends EventBase<CallbackView> {
3471
- eventName: 'View';
3472
- }
3473
3462
  export interface EventHashRouteChange extends EventBase<CallbackHashRouteChange> {
3474
3463
  eventName: 'HashRouteChange';
3475
3464
  }
@@ -3534,14 +3523,14 @@ declare module '@wayke-se/components-react/src/utils/pubsub/Events' {
3534
3523
  export interface EventAll extends EventBase<CallbackAll> {
3535
3524
  eventName: 'All';
3536
3525
  }
3537
- export type EventType = EventView | EventHashRouteChange | EventItemClicked | EventEcom | EventImagesClick | EventOptionsClick | EventPhonenumberVisible | EventPhonenumberCall | EventMailVisible | EventInsuranceOpen | EventInsuranceClose | EventInsuranceInterest | EventFinanceOpen | EventFinanceClose | EventFinanceInterest | EventSearch | EventSearchClearQuery | EventSearchClearAllFiltersQuery | EventSearchInitiated | EventSearchCompleted | EventFilterApply | EventAll;
3526
+ export type EventType = EventHashRouteChange | EventItemClicked | EventEcom | EventImagesClick | EventOptionsClick | EventPhonenumberVisible | EventPhonenumberCall | EventMailVisible | EventInsuranceOpen | EventInsuranceClose | EventInsuranceInterest | EventFinanceOpen | EventFinanceClose | EventFinanceInterest | EventSearch | EventSearchClearQuery | EventSearchClearAllFiltersQuery | EventSearchInitiated | EventSearchCompleted | EventFilterApply | EventAll;
3538
3527
  export type EventNames = Pick<EventType, 'eventName'>['eventName'];
3539
3528
  export {};
3540
3529
 
3541
3530
  }
3542
3531
  declare module '@wayke-se/components-react/src/utils/pubsub/pubsub' {
3543
3532
  import { ActionAll, ActionNames, ActionOnFilterUpdate, ActionTypes } from '@wayke-se/components-react/src/utils/pubsub/Actions';
3544
- import { EventView, EventHashRouteChange, EventItemClicked, EventEcom, EventImagesClick, EventOptionsClick, EventPhonenumberVisible, EventPhonenumberCall, EventMailVisible, EventInsuranceInterest, EventFinanceInterest, EventAll, EventType, EventNames, EventSearch, EventFinanceOpen, EventFinanceClose, EventInsuranceClose, EventInsuranceOpen, EventFilterApply, EventSearchCompleted, EventSearchInitiated, EventSearchClearQuery, EventSearchClearAllFiltersQuery } from '@wayke-se/components-react/src/utils/pubsub/Events';
3533
+ import { EventHashRouteChange, EventItemClicked, EventEcom, EventImagesClick, EventOptionsClick, EventPhonenumberVisible, EventPhonenumberCall, EventMailVisible, EventInsuranceInterest, EventFinanceInterest, EventAll, EventType, EventNames, EventSearch, EventFinanceOpen, EventFinanceClose, EventInsuranceClose, EventInsuranceOpen, EventFilterApply, EventSearchCompleted, EventSearchInitiated, EventSearchClearQuery, EventSearchClearAllFiltersQuery } from '@wayke-se/components-react/src/utils/pubsub/Events';
3545
3534
  export type EventSubscriptions = {
3546
3535
  HashRouteChange: EventHashRouteChange[];
3547
3536
  ItemClicked: EventItemClicked[];
@@ -3563,7 +3552,6 @@ declare module '@wayke-se/components-react/src/utils/pubsub/pubsub' {
3563
3552
  SearchInitiated: EventSearchInitiated[];
3564
3553
  SearchCompleted: EventSearchCompleted[];
3565
3554
  FilterApply: EventFilterApply[];
3566
- View: EventView[];
3567
3555
  All: EventAll[];
3568
3556
  };
3569
3557
  export type ActionSubscriptions = {
@@ -3668,9 +3656,9 @@ declare module '@wayke-se/components-react/src/utils/vehicle-properties/custom-p
3668
3656
  import { EnhancedProperty, ItemCategory } from '@wayke-se/components-react/src/@types/vehicle-properties';
3669
3657
  export const TEXT_TYPE = "text";
3670
3658
  export const NUMBER_TYPE = "number";
3671
- export const BASIC_CATEGORY: (t: TFunction<'translation', undefined>) => ItemCategory;
3672
- export const ENGINE_SUBCATEGORY: (t: TFunction<'translation', undefined>) => ItemCategory;
3673
- const _default: (t: TFunction<'translation', undefined>, item: VehicleData, properties: {
3659
+ export const BASIC_CATEGORY: (t: TFunction<"translation", undefined>) => ItemCategory;
3660
+ export const ENGINE_SUBCATEGORY: (t: TFunction<"translation", undefined>) => ItemCategory;
3661
+ const _default: (t: TFunction<"translation", undefined>, item: VehicleData, properties: {
3674
3662
  [key: string]: EnhancedProperty;
3675
3663
  }) => {
3676
3664
  [key: string]: EnhancedProperty;