@wayke-se/components-react 4.6.0 → 4.6.1
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 +6 -6
- package/dist/index.d.ts +46 -44
- package/dist/index.js +1604 -1403
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +1601 -1400
- package/dist/index.mjs.map +4 -4
- package/package.json +2 -2
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`:
|
|
@@ -396,10 +396,10 @@ WaykePubSub.unsubscribe(event);
|
|
|
396
396
|
| id | string |
|
|
397
397
|
| branchName | string |
|
|
398
398
|
| branchId | string |
|
|
399
|
-
| view | EcomView |
|
|
400
|
-
| event | EcomView |
|
|
401
|
-
| currentStep | EcomStep \| undefined |
|
|
402
|
-
| data | any \| undefined |
|
|
399
|
+
| view | EcomView |
|
|
400
|
+
| event | EcomView |
|
|
401
|
+
| currentStep | EcomStep \| undefined |
|
|
402
|
+
| data | any \| undefined |
|
|
403
403
|
|
|
404
404
|
#### CallbackSearchClearQueryData
|
|
405
405
|
| Property | Type |
|
|
@@ -571,7 +571,7 @@ WAYKE_ECOM_URL=https://ecom.wayketech.se
|
|
|
571
571
|
GOOGLE_MAPS_API_KEY=YOUR_GOOGLE_MAPS_STATIC_API_KEY
|
|
572
572
|
```
|
|
573
573
|
|
|
574
|
-
* `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
|
|
575
575
|
`WAYKE_SEARCH_URL` will be used instead, but will fetch latest vehicles.
|
|
576
576
|
|
|
577
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
|
|
1012
|
-
inputHeight?: boolean
|
|
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
|
|
1020
|
-
inputHeight?: boolean
|
|
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
|
|
1036
|
-
as?: string
|
|
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
|
|
1054
|
-
as?: string
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
1820
|
-
center?: boolean
|
|
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
|
|
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?:
|
|
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
|
|
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 {
|
|
@@ -3654,9 +3656,9 @@ declare module '@wayke-se/components-react/src/utils/vehicle-properties/custom-p
|
|
|
3654
3656
|
import { EnhancedProperty, ItemCategory } from '@wayke-se/components-react/src/@types/vehicle-properties';
|
|
3655
3657
|
export const TEXT_TYPE = "text";
|
|
3656
3658
|
export const NUMBER_TYPE = "number";
|
|
3657
|
-
export const BASIC_CATEGORY: (t: TFunction<
|
|
3658
|
-
export const ENGINE_SUBCATEGORY: (t: TFunction<
|
|
3659
|
-
const _default: (t: TFunction<
|
|
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: {
|
|
3660
3662
|
[key: string]: EnhancedProperty;
|
|
3661
3663
|
}) => {
|
|
3662
3664
|
[key: string]: EnhancedProperty;
|