@smg-automotive/components 25.11.0-chakra-v3.7 → 25.11.0-chakra-v3.9
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/dist/cjs/components/carousel/DotsPagination.d.ts +8 -0
- package/dist/cjs/components/carousel/DotsPagination.d.ts.map +1 -0
- package/dist/cjs/components/carousel/DotsPaginationIndicator.d.ts +7 -0
- package/dist/cjs/components/carousel/DotsPaginationIndicator.d.ts.map +1 -0
- package/dist/cjs/components/carousel/NavigationButton.d.ts +11 -0
- package/dist/cjs/components/carousel/NavigationButton.d.ts.map +1 -0
- package/dist/cjs/components/carousel/NumbersPagination.d.ts +10 -0
- package/dist/cjs/components/carousel/NumbersPagination.d.ts.map +1 -0
- package/dist/cjs/components/carousel/NumbersPaginationButton.d.ts +10 -0
- package/dist/cjs/components/carousel/NumbersPaginationButton.d.ts.map +1 -0
- package/dist/cjs/components/carousel/Slide.d.ts +13 -0
- package/dist/cjs/components/carousel/Slide.d.ts.map +1 -0
- package/dist/cjs/components/carousel/Thumbnail.d.ts +10 -0
- package/dist/cjs/components/carousel/Thumbnail.d.ts.map +1 -0
- package/dist/cjs/components/carousel/ThumbnailNavigationButton.d.ts +9 -0
- package/dist/cjs/components/carousel/ThumbnailNavigationButton.d.ts.map +1 -0
- package/dist/cjs/components/carousel/ThumbnailPagination.d.ts +12 -0
- package/dist/cjs/components/carousel/ThumbnailPagination.d.ts.map +1 -0
- package/dist/cjs/components/carousel/index.d.ts +36 -0
- package/dist/cjs/components/carousel/index.d.ts.map +1 -0
- package/dist/cjs/components/errorPage/content/index.d.ts +10 -0
- package/dist/cjs/components/errorPage/content/index.d.ts.map +1 -0
- package/dist/cjs/components/errorPage/index.d.ts +2 -9
- package/dist/cjs/components/errorPage/index.d.ts.map +1 -1
- package/dist/cjs/components/filterPatterns/ActionButton.d.ts.map +1 -1
- package/dist/cjs/components/filterPatterns/Heading.d.ts +2 -9
- package/dist/cjs/components/filterPatterns/Heading.d.ts.map +1 -1
- package/dist/cjs/components/filterPatterns/HeadingContent.d.ts +10 -0
- package/dist/cjs/components/filterPatterns/HeadingContent.d.ts.map +1 -0
- package/dist/cjs/components/filterPatterns/dialog/Content.d.ts +4 -0
- package/dist/cjs/components/filterPatterns/dialog/Content.d.ts.map +1 -0
- package/dist/cjs/components/filterPatterns/dialog/index.d.ts +1 -2
- package/dist/cjs/components/filterPatterns/dialog/index.d.ts.map +1 -1
- package/dist/cjs/components/filterPatterns/popover/Content.d.ts +4 -0
- package/dist/cjs/components/filterPatterns/popover/Content.d.ts.map +1 -0
- package/dist/cjs/components/filterPatterns/popover/index.d.ts +1 -2
- package/dist/cjs/components/filterPatterns/popover/index.d.ts.map +1 -1
- package/dist/cjs/components/galleryHeader/Content.d.ts +10 -0
- package/dist/cjs/components/galleryHeader/Content.d.ts.map +1 -0
- package/dist/cjs/components/galleryHeader/index.d.ts +3 -9
- package/dist/cjs/components/galleryHeader/index.d.ts.map +1 -1
- package/dist/cjs/components/index.d.ts +9 -6
- package/dist/cjs/components/index.d.ts.map +1 -1
- package/dist/cjs/components/link/index.d.ts +3 -2
- package/dist/cjs/components/link/index.d.ts.map +1 -1
- package/dist/cjs/components/list/SearchableList.d.ts.map +1 -1
- package/dist/cjs/components/list/SearchableListItem.d.ts +2 -1
- package/dist/cjs/components/list/SearchableListItem.d.ts.map +1 -1
- package/dist/cjs/components/list/SearchableListItemLabel.d.ts.map +1 -1
- package/dist/cjs/components/navigation/header/NavigationAvatar.d.ts.map +1 -1
- package/dist/cjs/components/navigation/header/drawer/DrawerLoginToggle.d.ts.map +1 -1
- package/dist/cjs/components/navigation/header/links/NavigationLink.d.ts.map +1 -1
- package/dist/cjs/components/navigation/header/navigationTenantMenu/index.d.ts.map +1 -1
- package/dist/cjs/components/skeleton/index.d.ts +1 -1
- package/dist/cjs/components/skeleton/index.d.ts.map +1 -1
- package/dist/cjs/components/tab/index.d.ts +4 -4
- package/dist/cjs/components/tab/index.d.ts.map +1 -1
- package/dist/cjs/components/tenantSelection/Container.d.ts +6 -0
- package/dist/cjs/components/tenantSelection/Container.d.ts.map +1 -0
- package/dist/cjs/components/tenantSelection/Loading.d.ts +3 -0
- package/dist/cjs/components/tenantSelection/Loading.d.ts.map +1 -0
- package/dist/cjs/components/tenantSelection/ModalLayout.d.ts +3 -0
- package/dist/cjs/components/tenantSelection/ModalLayout.d.ts.map +1 -0
- package/dist/cjs/components/tenantSelection/Overview.d.ts +12 -0
- package/dist/cjs/components/tenantSelection/Overview.d.ts.map +1 -0
- package/dist/cjs/components/tenantSelection/__tests__/createTenantLabel.test.d.ts +2 -0
- package/dist/cjs/components/tenantSelection/__tests__/createTenantLabel.test.d.ts.map +1 -0
- package/dist/cjs/components/tenantSelection/index.d.ts +16 -0
- package/dist/cjs/components/tenantSelection/index.d.ts.map +1 -0
- package/dist/cjs/components/tenantSelection/select/index.d.ts +11 -0
- package/dist/cjs/components/tenantSelection/select/index.d.ts.map +1 -0
- package/dist/cjs/components/text/index.d.ts +1 -1
- package/dist/cjs/components/text/index.d.ts.map +1 -1
- package/dist/cjs/components/translationProvider/index.d.ts.map +1 -1
- package/dist/cjs/components/translationProvider/withTranslationProvider.d.ts +8 -0
- package/dist/cjs/components/translationProvider/withTranslationProvider.d.ts.map +1 -0
- package/dist/cjs/index.js +1068 -483
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/themes/shared/index.d.ts +15 -0
- package/dist/cjs/themes/shared/index.d.ts.map +1 -1
- package/dist/cjs/themes/shared/slotRecipes/carousel.d.ts +16 -0
- package/dist/cjs/themes/shared/slotRecipes/carousel.d.ts.map +1 -0
- package/dist/cjs/themes/shared/slotRecipes/index.d.ts +15 -0
- package/dist/cjs/themes/shared/slotRecipes/index.d.ts.map +1 -1
- package/dist/cjs/utilities/i18nInit.d.ts +18 -0
- package/dist/cjs/utilities/i18nInit.d.ts.map +1 -0
- package/dist/esm/components/carousel/DotsPagination.d.ts +8 -0
- package/dist/esm/components/carousel/DotsPagination.d.ts.map +1 -0
- package/dist/esm/components/carousel/DotsPagination.js +16 -0
- package/dist/esm/components/carousel/DotsPagination.js.map +1 -0
- package/dist/esm/components/carousel/DotsPaginationIndicator.d.ts +7 -0
- package/dist/esm/components/carousel/DotsPaginationIndicator.d.ts.map +1 -0
- package/dist/esm/components/carousel/DotsPaginationIndicator.js +12 -0
- package/dist/esm/components/carousel/DotsPaginationIndicator.js.map +1 -0
- package/dist/esm/components/carousel/NavigationButton.d.ts +11 -0
- package/dist/esm/components/carousel/NavigationButton.d.ts.map +1 -0
- package/dist/esm/components/carousel/NavigationButton.js +186 -0
- package/dist/esm/components/carousel/NavigationButton.js.map +1 -0
- package/dist/esm/components/carousel/NumbersPagination.d.ts +10 -0
- package/dist/esm/components/carousel/NumbersPagination.d.ts.map +1 -0
- package/dist/esm/components/carousel/NumbersPagination.js +19 -0
- package/dist/esm/components/carousel/NumbersPagination.js.map +1 -0
- package/dist/esm/components/carousel/NumbersPaginationButton.d.ts +10 -0
- package/dist/esm/components/carousel/NumbersPaginationButton.d.ts.map +1 -0
- package/dist/esm/components/carousel/NumbersPaginationButton.js +12 -0
- package/dist/esm/components/carousel/NumbersPaginationButton.js.map +1 -0
- package/dist/esm/components/carousel/Slide.d.ts +13 -0
- package/dist/esm/components/carousel/Slide.d.ts.map +1 -0
- package/dist/esm/components/carousel/Slide.js +29 -0
- package/dist/esm/components/carousel/Slide.js.map +1 -0
- package/dist/esm/components/carousel/Thumbnail.d.ts +10 -0
- package/dist/esm/components/carousel/Thumbnail.d.ts.map +1 -0
- package/dist/esm/components/carousel/Thumbnail.js +10 -0
- package/dist/esm/components/carousel/Thumbnail.js.map +1 -0
- package/dist/esm/components/carousel/ThumbnailNavigationButton.d.ts +9 -0
- package/dist/esm/components/carousel/ThumbnailNavigationButton.d.ts.map +1 -0
- package/dist/esm/components/carousel/ThumbnailNavigationButton.js +186 -0
- package/dist/esm/components/carousel/ThumbnailNavigationButton.js.map +1 -0
- package/dist/esm/components/carousel/ThumbnailPagination.d.ts +12 -0
- package/dist/esm/components/carousel/ThumbnailPagination.d.ts.map +1 -0
- package/dist/esm/components/carousel/ThumbnailPagination.js +46 -0
- package/dist/esm/components/carousel/ThumbnailPagination.js.map +1 -0
- package/dist/esm/components/carousel/index.d.ts +36 -0
- package/dist/esm/components/carousel/index.d.ts.map +1 -0
- package/dist/esm/components/carousel/index.js +211 -0
- package/dist/esm/components/carousel/index.js.map +1 -0
- package/dist/esm/components/errorPage/content/EmailChangeVerification.js +1 -1
- package/dist/esm/components/errorPage/content/index.d.ts +10 -0
- package/dist/esm/components/errorPage/content/index.d.ts.map +1 -0
- package/dist/esm/components/errorPage/content/index.js +283 -0
- package/dist/esm/components/errorPage/content/index.js.map +1 -0
- package/dist/esm/components/errorPage/index.d.ts +2 -9
- package/dist/esm/components/errorPage/index.d.ts.map +1 -1
- package/dist/esm/components/errorPage/index.js +5 -283
- package/dist/esm/components/errorPage/index.js.map +1 -1
- package/dist/esm/components/filterPatterns/ActionButton.d.ts.map +1 -1
- package/dist/esm/components/filterPatterns/Heading.d.ts +2 -9
- package/dist/esm/components/filterPatterns/Heading.d.ts.map +1 -1
- package/dist/esm/components/filterPatterns/HeadingContent.d.ts +10 -0
- package/dist/esm/components/filterPatterns/HeadingContent.d.ts.map +1 -0
- package/dist/esm/components/filterPatterns/dialog/Content.d.ts +4 -0
- package/dist/esm/components/filterPatterns/dialog/Content.d.ts.map +1 -0
- package/dist/esm/components/filterPatterns/dialog/index.d.ts +1 -2
- package/dist/esm/components/filterPatterns/dialog/index.d.ts.map +1 -1
- package/dist/esm/components/filterPatterns/popover/Content.d.ts +4 -0
- package/dist/esm/components/filterPatterns/popover/Content.d.ts.map +1 -0
- package/dist/esm/components/filterPatterns/popover/index.d.ts +1 -2
- package/dist/esm/components/filterPatterns/popover/index.d.ts.map +1 -1
- package/dist/esm/components/galleryHeader/Content.d.ts +10 -0
- package/dist/esm/components/galleryHeader/Content.d.ts.map +1 -0
- package/dist/esm/components/galleryHeader/Content.js +196 -0
- package/dist/esm/components/galleryHeader/Content.js.map +1 -0
- package/dist/esm/components/galleryHeader/index.d.ts +3 -9
- package/dist/esm/components/galleryHeader/index.d.ts.map +1 -1
- package/dist/esm/components/galleryHeader/index.js +3 -196
- package/dist/esm/components/galleryHeader/index.js.map +1 -1
- package/dist/esm/components/index.d.ts +9 -6
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/link/index.d.ts +3 -2
- package/dist/esm/components/link/index.d.ts.map +1 -1
- package/dist/esm/components/link/index.js.map +1 -1
- package/dist/esm/components/list/SearchableList.d.ts.map +1 -1
- package/dist/esm/components/list/SearchableList.js +9 -4
- package/dist/esm/components/list/SearchableList.js.map +1 -1
- package/dist/esm/components/list/SearchableListItem.d.ts +2 -1
- package/dist/esm/components/list/SearchableListItem.d.ts.map +1 -1
- package/dist/esm/components/list/SearchableListItem.js +2 -5
- package/dist/esm/components/list/SearchableListItem.js.map +1 -1
- package/dist/esm/components/list/SearchableListItemLabel.d.ts.map +1 -1
- package/dist/esm/components/list/SearchableListItemLabel.js +2 -2
- package/dist/esm/components/list/SearchableListItemLabel.js.map +1 -1
- package/dist/esm/components/navigation/footer/Apps.js +1 -1
- package/dist/esm/components/navigation/footer/Copyright.js +1 -1
- package/dist/esm/components/navigation/footer/Link.js +1 -1
- package/dist/esm/components/navigation/footer/Sections.js +1 -1
- package/dist/esm/components/navigation/header/ComparisonItem.js +1 -1
- package/dist/esm/components/navigation/header/FavoritesItem.js +1 -1
- package/dist/esm/components/navigation/header/NavigationAvatar.d.ts.map +1 -1
- package/dist/esm/components/navigation/header/NavigationAvatar.js +1 -1
- package/dist/esm/components/navigation/header/NavigationItem.js +1 -1
- package/dist/esm/components/navigation/header/drawer/DrawerLoginToggle.d.ts.map +1 -1
- package/dist/esm/components/navigation/header/drawer/DrawerLoginToggle.js +1 -1
- package/dist/esm/components/navigation/header/drawer/DrawerSections.js +1 -1
- package/dist/esm/components/navigation/header/drawer/index.js +1 -1
- package/dist/esm/components/navigation/header/drawer/index.js.map +1 -1
- package/dist/esm/components/navigation/header/links/NavigationLink.d.ts.map +1 -1
- package/dist/esm/components/navigation/header/links/NavigationLink.js +1 -1
- package/dist/esm/components/navigation/header/links/NavigationLink.js.map +1 -1
- package/dist/esm/components/navigation/header/navigationTenantMenu/index.d.ts.map +1 -1
- package/dist/esm/components/navigation/header/navigationTenantMenu/index.js +1 -1
- package/dist/esm/components/skeleton/index.d.ts +1 -1
- package/dist/esm/components/skeleton/index.d.ts.map +1 -1
- package/dist/esm/components/tab/index.d.ts +4 -4
- package/dist/esm/components/tab/index.d.ts.map +1 -1
- package/dist/esm/components/tenantSelection/Container.d.ts +6 -0
- package/dist/esm/components/tenantSelection/Container.d.ts.map +1 -0
- package/dist/esm/components/tenantSelection/Container.js +12 -0
- package/dist/esm/components/tenantSelection/Container.js.map +1 -0
- package/dist/esm/components/tenantSelection/Loading.d.ts +3 -0
- package/dist/esm/components/tenantSelection/Loading.d.ts.map +1 -0
- package/dist/esm/components/tenantSelection/Loading.js +13 -0
- package/dist/esm/components/tenantSelection/Loading.js.map +1 -0
- package/dist/esm/components/tenantSelection/ModalLayout.d.ts +3 -0
- package/dist/esm/components/tenantSelection/ModalLayout.d.ts.map +1 -0
- package/dist/esm/components/tenantSelection/ModalLayout.js +12 -0
- package/dist/esm/components/tenantSelection/ModalLayout.js.map +1 -0
- package/dist/esm/components/tenantSelection/Overview.d.ts +12 -0
- package/dist/esm/components/tenantSelection/Overview.d.ts.map +1 -0
- package/dist/esm/components/tenantSelection/Overview.js +40 -0
- package/dist/esm/components/tenantSelection/Overview.js.map +1 -0
- package/dist/esm/components/tenantSelection/__tests__/createTenantLabel.test.d.ts +2 -0
- package/dist/esm/components/tenantSelection/__tests__/createTenantLabel.test.d.ts.map +1 -0
- package/dist/esm/components/tenantSelection/index.d.ts +16 -0
- package/dist/esm/components/tenantSelection/index.d.ts.map +1 -0
- package/dist/esm/components/tenantSelection/index.js +29 -0
- package/dist/esm/components/tenantSelection/index.js.map +1 -0
- package/dist/esm/components/tenantSelection/select/index.d.ts +11 -0
- package/dist/esm/components/tenantSelection/select/index.d.ts.map +1 -0
- package/dist/esm/components/tenantSelection/select/index.js +20 -0
- package/dist/esm/components/tenantSelection/select/index.js.map +1 -0
- package/dist/esm/components/tenantSelection/tenantSelectionIllustration.png.js +4 -0
- package/dist/esm/components/tenantSelection/tenantSelectionIllustration.png.js.map +1 -0
- package/dist/esm/components/text/index.d.ts +1 -1
- package/dist/esm/components/text/index.d.ts.map +1 -1
- package/dist/esm/components/themeProvider/index.js +1 -0
- package/dist/esm/components/themeProvider/index.js.map +1 -1
- package/dist/esm/components/translationProvider/index.d.ts.map +1 -1
- package/dist/esm/components/translationProvider/index.js +2 -1
- package/dist/esm/components/translationProvider/index.js.map +1 -1
- package/dist/esm/components/translationProvider/withTranslationProvider.d.ts +8 -0
- package/dist/esm/components/translationProvider/withTranslationProvider.d.ts.map +1 -0
- package/dist/esm/components/translationProvider/withTranslationProvider.js +16 -0
- package/dist/esm/components/translationProvider/withTranslationProvider.js.map +1 -0
- package/dist/esm/index.js +10 -6
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/themes/shared/index.d.ts +15 -0
- package/dist/esm/themes/shared/index.d.ts.map +1 -1
- package/dist/esm/themes/shared/slotRecipes/carousel.d.ts +16 -0
- package/dist/esm/themes/shared/slotRecipes/carousel.d.ts.map +1 -0
- package/dist/esm/themes/shared/slotRecipes/carousel.js +233 -0
- package/dist/esm/themes/shared/slotRecipes/carousel.js.map +1 -0
- package/dist/esm/themes/shared/slotRecipes/index.d.ts +15 -0
- package/dist/esm/themes/shared/slotRecipes/index.d.ts.map +1 -1
- package/dist/esm/themes/shared/slotRecipes/index.js +2 -0
- package/dist/esm/themes/shared/slotRecipes/index.js.map +1 -1
- package/dist/esm/utilities/i18nInit.d.ts +18 -0
- package/dist/esm/utilities/i18nInit.d.ts.map +1 -0
- package/dist/esm/utilities/i18nInit.js +7 -0
- package/dist/esm/utilities/i18nInit.js.map +1 -0
- package/dist/index.d.ts +245 -94
- package/package.json +12 -12
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../../src/themes/shared/slotRecipes/index.ts"],"sourcesContent":[null],"names":["articleTeaser","accordion","breadcrumbs","card","energyLabel","galleryHeader","list","markedText","dialog","simpleHeader","table","tabs","vehicleReference","tooltip","field","section","checkbox","input","select","dialogFilter","drawer","alert","popoverFilter","numberInput","radio","slider","pagination","menu"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../src/themes/shared/slotRecipes/index.ts"],"sourcesContent":[null],"names":["articleTeaser","accordion","carousel","breadcrumbs","card","energyLabel","galleryHeader","list","markedText","dialog","simpleHeader","table","tabs","vehicleReference","tooltip","field","section","checkbox","input","select","dialogFilter","drawer","alert","popoverFilter","numberInput","radio","slider","pagination","menu"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BO,IAAM,WAAW,GAAG;AACzB,IAAA,aAAa,EAAAA,mBAAA;AACb,IAAA,SAAS,EAAAC,eAAA;AACT,IAAA,QAAQ,EAAAC,cAAA;AACR,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,IAAI,EAAAC,UAAA;AACJ,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,aAAa,EAAAC,mBAAA;AACb,IAAA,IAAI,EAAAC,UAAA;AACJ,IAAA,UAAU,EAAAC,gBAAA;AACV,IAAA,MAAM,EAAAC,YAAA;AACN,IAAA,YAAY,EAAAC,kBAAA;AACZ,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,IAAI,EAAAC,UAAA;AACJ,IAAA,gBAAgB,EAAAC,sBAAA;AAChB,IAAA,OAAO,EAAAC,iBAAA;AACP,IAAA,KAAK,EAAAC,eAAA;AACL,IAAA,OAAO,EAAAC,aAAA;AACP,IAAA,QAAQ,EAAAC,cAAA;AACR,IAAA,MAAM,EAAE,YAAY;AACpB,IAAA,KAAK,EAAAC,eAAA;AACL,IAAA,MAAM,EAAAC,gBAAA;AACN,IAAA,YAAY,EAAAC,kBAAA;AACZ,IAAA,MAAM,EAAAC,YAAA;AACN,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,aAAa,EAAAC,mBAAA;AACb,IAAA,WAAW,EAAAC,iBAAA;AACX,IAAA,KAAK,EAAAC,WAAA;AACL,IAAA,MAAM,EAAAC,gBAAA;AACN,IAAA,UAAU,EAAAC,gBAAA;AACV,IAAA,IAAI,EAAAC,UAAA;;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare const useI18n: () => {
|
|
2
|
+
t: <T = string>(key: string, params?: {
|
|
3
|
+
[key: string]: unknown;
|
|
4
|
+
count?: number | string;
|
|
5
|
+
ignoreMissingTranslation?: boolean;
|
|
6
|
+
}) => T;
|
|
7
|
+
language: import("@smg-automotive/i18n-pkg").Language;
|
|
8
|
+
displayTranslationKeys: boolean;
|
|
9
|
+
setDisplayTranslationKeys: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
10
|
+
}, I18nProvider: ({ children, language, lngDict, onMissingTranslation, }: React.PropsWithChildren<{
|
|
11
|
+
language: import("@smg-automotive/i18n-pkg").Language;
|
|
12
|
+
lngDict: import("@smg-automotive/i18n-pkg").Dictionary;
|
|
13
|
+
onMissingTranslation: import("@smg-automotive/i18n-pkg").OnMissing;
|
|
14
|
+
}>) => import("react/jsx-runtime").JSX.Element, Trans: ({ i18nKey, values, children, }: React.PropsWithChildren<{
|
|
15
|
+
i18nKey: string;
|
|
16
|
+
values?: Record<string, unknown>;
|
|
17
|
+
}>) => any;
|
|
18
|
+
//# sourceMappingURL=i18nInit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18nInit.d.ts","sourceRoot":"","sources":["../../../src/utilities/i18nInit.ts"],"names":[],"mappings":"AAEA,eAAO,MAAQ,OAAO;;;;;;;;;GAAE,YAAY;;;;gDAAE,KAAK;;;UAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18nInit.js","sources":["../../../../src/utilities/i18nInit.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAEe,IAAA,OAAO,IAAT,KAAmC,eAAe,EAAE,EAAA,EAAA,CAAA,OAAA,CAA3C,CAAA,CAAE,YAAY,GAAA,EAAA,CAAA,YAAA,CAAA,CAAE,KAAK;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { keyframes } from '@emotion/react';
|
|
2
2
|
import * as _chakra_ui_react from '@chakra-ui/react';
|
|
3
|
-
import { UseMediaQueryOptions, AccordionRootProps, RecipeVariantProps, BoxProps, BadgeProps as BadgeProps$1, BreadcrumbRootProps, ButtonProps, Card as Card$1, CenterProps as CenterProps$1, CheckboxCheckedChangeDetails, InputProps as InputProps$1, Switch as Switch$1, UseDialogProps, DrawerContentProps, DrawerBodyProps, DrawerRootProps, FlexProps as FlexProps$1, HeadingProps as HeadingProps$1, LinkProps as LinkProps$2, List as List$1, MenuTriggerProps, MenuContentProps, MenuRootProps, Accordion as Accordion$1, NativeSelectRootProps, NativeSelectFieldProps, SeparatorProps, SimpleGridProps, StackProps as StackProps$1, TabsTriggerProps, TabsListProps, TabsContentProps, TabsRootProps, Table as Table$1, TextProps
|
|
3
|
+
import { UseMediaQueryOptions, AccordionRootProps, RecipeVariantProps, BoxProps, BadgeProps as BadgeProps$1, BreadcrumbRootProps, ButtonProps, Card as Card$1, CenterProps as CenterProps$1, CheckboxCheckedChangeDetails, InputProps as InputProps$1, Switch as Switch$1, UseDialogProps, DrawerContentProps, DrawerBodyProps, DrawerRootProps, FlexProps as FlexProps$1, HeadingProps as HeadingProps$1, LinkProps as LinkProps$2, List as List$1, ConditionalValue, MenuTriggerProps, MenuContentProps, MenuRootProps, Accordion as Accordion$1, NumberInput, Slider, NativeSelectRootProps, NativeSelectFieldProps, SeparatorProps, SimpleGridProps, StackProps as StackProps$1, TabsTriggerProps, TabsListProps, TabsContentProps, TabsRootProps, Table as Table$1, TextProps } from '@chakra-ui/react';
|
|
4
4
|
export { AspectRatioProps, Box, BoxProps, CardBodyProps, CardFooterProps, CardHeaderProps, GridItemProps, GridProps, ListItemProps, ListRootProps, SeparatorProps, StackSeparator, TableBodyProps, TableCaptionProps, TableCellProps, TableColumnGroupProps, TableColumnHeaderProps, TableColumnProps, TableFooterProps, TableHeaderProps, TableRootProps, TableRowProps, TableScrollAreaProps, TextProps, useBreakpointValue, useChakraContext, useDisclosure } from '@chakra-ui/react';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { FocusEventHandler, ChangeEventHandler, FC, PropsWithChildren, ReactNode, ReactElement, ElementType, ComponentProps, JSX } from 'react';
|
|
@@ -9,6 +9,7 @@ import * as node_modules__chakra_ui_react_dist_types_styled_system_generated_sys
|
|
|
9
9
|
import * as node_modules__chakra_ui_react_dist_types_styled_system_generated_prop_types_gen from 'node_modules/@chakra-ui/react/dist/types/styled-system/generated/prop-types.gen';
|
|
10
10
|
import * as node_modules__chakra_ui_react_dist_types_styled_system_css_types from 'node_modules/@chakra-ui/react/dist/types/styled-system/css.types';
|
|
11
11
|
import { Language as Language$1 } from '@smg-automotive/i18n-pkg';
|
|
12
|
+
import { RangeTuple } from 'fuse.js';
|
|
12
13
|
import { EnrichedSessionUser } from '@smg-automotive/auth';
|
|
13
14
|
|
|
14
15
|
declare const motoScout24Config: _chakra_ui_react.SystemConfig;
|
|
@@ -288,6 +289,42 @@ declare const Card: {
|
|
|
288
289
|
Footer: React.ForwardRefExoticComponent<Card$1.FooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
289
290
|
};
|
|
290
291
|
|
|
292
|
+
type BreakpointKeys = keyof typeof breakpoints;
|
|
293
|
+
type ResponsiveValue<T> = Partial<Record<BreakpointKeys, T>>;
|
|
294
|
+
|
|
295
|
+
type SharedProps$2 = {
|
|
296
|
+
startIndex?: number;
|
|
297
|
+
onSlideClick?: (index: number) => void;
|
|
298
|
+
onSlideSelect?: (index: number) => void;
|
|
299
|
+
slidesPerView?: ResponsiveValue<number> | 1;
|
|
300
|
+
loop?: boolean;
|
|
301
|
+
slidesToScroll?: 'auto' | number;
|
|
302
|
+
};
|
|
303
|
+
type DefaultProps = {
|
|
304
|
+
fullScreen?: never;
|
|
305
|
+
children: ReactNode[];
|
|
306
|
+
paginationType?: Exclude<PaginationType, PaginationType.Thumbnail>;
|
|
307
|
+
} & SharedProps$2;
|
|
308
|
+
type FullScreenSlide = {
|
|
309
|
+
slide: ReactNode;
|
|
310
|
+
thumbnail: ReactNode;
|
|
311
|
+
onSlideEnter?: () => void;
|
|
312
|
+
onSlideLeave?: () => void;
|
|
313
|
+
};
|
|
314
|
+
type FullScreenProps = {
|
|
315
|
+
fullScreen: true;
|
|
316
|
+
paginationType?: never;
|
|
317
|
+
children: FullScreenSlide[];
|
|
318
|
+
} & SharedProps$2;
|
|
319
|
+
type CarouselProps = DefaultProps | FullScreenProps;
|
|
320
|
+
declare enum PaginationType {
|
|
321
|
+
Thumbnail = "thumbnail",
|
|
322
|
+
Number = "number",
|
|
323
|
+
None = "none",
|
|
324
|
+
Dot = "dot"
|
|
325
|
+
}
|
|
326
|
+
declare const Carousel: FC<CarouselProps>;
|
|
327
|
+
|
|
291
328
|
type CenterProps = Pick<CenterProps$1, 'children' | 'padding'>;
|
|
292
329
|
declare const Center: FC<CenterProps>;
|
|
293
330
|
|
|
@@ -361,6 +398,39 @@ interface CheckboxGroupProps extends CheckboxProps {
|
|
|
361
398
|
}
|
|
362
399
|
declare const CheckboxGroup: FC<CheckboxGroupProps>;
|
|
363
400
|
|
|
401
|
+
declare const chipRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
402
|
+
selected: {
|
|
403
|
+
false: {
|
|
404
|
+
_hover: {
|
|
405
|
+
bg: "white";
|
|
406
|
+
borderColor: "black";
|
|
407
|
+
_active: {
|
|
408
|
+
bg: "gray.100";
|
|
409
|
+
borderColor: "gray.200";
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
true: {
|
|
414
|
+
bg: "blue.100";
|
|
415
|
+
px: "md";
|
|
416
|
+
borderColor: "transparent";
|
|
417
|
+
_hover: {
|
|
418
|
+
bg: "blue.50";
|
|
419
|
+
_active: {
|
|
420
|
+
bg: "blue.200";
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
};
|
|
425
|
+
}>;
|
|
426
|
+
|
|
427
|
+
type ChipProps = {
|
|
428
|
+
onClick?: () => void;
|
|
429
|
+
href?: string;
|
|
430
|
+
'aria-label'?: string;
|
|
431
|
+
} & RecipeVariantProps<typeof chipRecipe>;
|
|
432
|
+
declare const Chip: FC<PropsWithChildren<ChipProps>>;
|
|
433
|
+
|
|
364
434
|
declare const countRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
365
435
|
variant: {
|
|
366
436
|
primary: {
|
|
@@ -431,7 +501,7 @@ type DatePickerProps = Pick<InputProps$1, 'onFocus' | 'onBlur' | 'onChange'> & I
|
|
|
431
501
|
value?: string;
|
|
432
502
|
invalid?: boolean;
|
|
433
503
|
};
|
|
434
|
-
declare const DatePicker: React__default.ForwardRefExoticComponent<Pick<InputProps$1, "
|
|
504
|
+
declare const DatePicker: React__default.ForwardRefExoticComponent<Pick<InputProps$1, "onChange" | "onBlur" | "onFocus"> & {
|
|
435
505
|
variant?: _chakra_ui_react.ConditionalValue<"outline" | undefined>;
|
|
436
506
|
size?: _chakra_ui_react.ConditionalValue<"md" | "lg" | undefined>;
|
|
437
507
|
} & {
|
|
@@ -1739,12 +1809,25 @@ type DialogProps = DialogRootProps & {
|
|
|
1739
1809
|
};
|
|
1740
1810
|
declare const Dialog: FC<PropsWithChildren<DialogProps>>;
|
|
1741
1811
|
|
|
1812
|
+
type DiscreteSliderMark<T> = {
|
|
1813
|
+
stepValue?: number;
|
|
1814
|
+
label: ReactNode;
|
|
1815
|
+
value: T;
|
|
1816
|
+
};
|
|
1817
|
+
type DiscreteSliderProps<T> = {
|
|
1818
|
+
applyIndentation?: boolean;
|
|
1819
|
+
marks: DiscreteSliderMark<T>[];
|
|
1820
|
+
value: T;
|
|
1821
|
+
onValueChanged: (arg: T) => void;
|
|
1822
|
+
};
|
|
1823
|
+
declare const DiscreteSlider: <T>({ marks, applyIndentation, onValueChanged, value, }: DiscreteSliderProps<T>) => React__default.JSX.Element;
|
|
1824
|
+
|
|
1742
1825
|
declare const DrawerOverlay: FC<PropsWithChildren>;
|
|
1743
1826
|
|
|
1744
|
-
interface Props$
|
|
1827
|
+
interface Props$6 extends DrawerContentProps {
|
|
1745
1828
|
withCloseButton?: boolean;
|
|
1746
1829
|
}
|
|
1747
|
-
declare const DrawerContent: FC<PropsWithChildren<Props$
|
|
1830
|
+
declare const DrawerContent: FC<PropsWithChildren<Props$6>>;
|
|
1748
1831
|
|
|
1749
1832
|
declare const DrawerBody: FC<PropsWithChildren<DrawerBodyProps>>;
|
|
1750
1833
|
|
|
@@ -1800,16 +1883,26 @@ declare const EnergyLabel: FC<EnergyLabelProps>;
|
|
|
1800
1883
|
|
|
1801
1884
|
type ErrorStatusCode = 404 | 500 | 'clientSide' | 'UNVERIFIED_EMAIL' | 'INITIAL_UNVERIFIED_EMAIL' | 'USER_BLOCKED' | 'UNKNOWN_AUTH_ERROR' | 'EMAIL_CHANGE_VERIFICATION_ERROR';
|
|
1802
1885
|
|
|
1803
|
-
interface
|
|
1886
|
+
interface ErrorPageContentProps {
|
|
1804
1887
|
statusCode: ErrorStatusCode;
|
|
1805
1888
|
language: Language$1;
|
|
1806
1889
|
onButtonClick?: () => void;
|
|
1807
1890
|
}
|
|
1808
|
-
|
|
1891
|
+
|
|
1892
|
+
declare const ErrorPage: React.FC<ErrorPageContentProps>;
|
|
1809
1893
|
|
|
1810
1894
|
type FlexProps = Omit<FlexProps$1, 'gap' | 'columnGap' | 'rowGap'>;
|
|
1811
1895
|
declare const Flex: FC<FlexProps>;
|
|
1812
1896
|
|
|
1897
|
+
type BaseProps = {
|
|
1898
|
+
id: string;
|
|
1899
|
+
errorMessage?: string;
|
|
1900
|
+
label?: string;
|
|
1901
|
+
hint?: string;
|
|
1902
|
+
tooltip?: string;
|
|
1903
|
+
};
|
|
1904
|
+
declare const FormControlSection: FC<PropsWithChildren<BaseProps>>;
|
|
1905
|
+
|
|
1813
1906
|
declare const FullHeight: FC<PropsWithChildren>;
|
|
1814
1907
|
|
|
1815
1908
|
type Language = 'de' | 'fr' | 'it' | 'en';
|
|
@@ -1820,7 +1913,8 @@ interface GalleryHeaderProps {
|
|
|
1820
1913
|
onClose: () => void;
|
|
1821
1914
|
language: Language;
|
|
1822
1915
|
}
|
|
1823
|
-
|
|
1916
|
+
|
|
1917
|
+
declare const GalleryHeader: React.FC<PropsWithChildren<GalleryHeaderProps>>;
|
|
1824
1918
|
|
|
1825
1919
|
declare const Grid: React.ForwardRefExoticComponent<_chakra_ui_react.GridProps & React.RefAttributes<HTMLDivElement>>;
|
|
1826
1920
|
declare const GridItem: React.ForwardRefExoticComponent<_chakra_ui_react.GridItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -2203,14 +2297,14 @@ declare const Input: React__default.ForwardRefExoticComponent<InputProps & React
|
|
|
2203
2297
|
|
|
2204
2298
|
declare const repeatArea: (count: number, area: string) => string;
|
|
2205
2299
|
|
|
2206
|
-
interface Props$
|
|
2300
|
+
interface Props$5 {
|
|
2207
2301
|
header?: ReactNode;
|
|
2208
2302
|
maxContentWidth: keyof typeof sizes.container;
|
|
2209
2303
|
skyScraperAd?: ReactNode;
|
|
2210
2304
|
heroAd?: ReactNode;
|
|
2211
2305
|
footer?: ReactNode;
|
|
2212
2306
|
}
|
|
2213
|
-
declare const PageLayout: FC<PropsWithChildren<Props$
|
|
2307
|
+
declare const PageLayout: FC<PropsWithChildren<Props$5>>;
|
|
2214
2308
|
|
|
2215
2309
|
type SingleColumnCenteredLayoutProps = PropsWithChildren<{
|
|
2216
2310
|
maxContentWidth?: keyof (typeof sizes)['container'];
|
|
@@ -2251,16 +2345,69 @@ type VehicleReferenceProps = VehicleReferenceVariantProps & {
|
|
|
2251
2345
|
};
|
|
2252
2346
|
declare const VehicleReference: FC<VehicleReferenceProps>;
|
|
2253
2347
|
|
|
2254
|
-
interface Props$
|
|
2348
|
+
interface Props$4 extends Omit<TwoColumnsLayoutProps, 'left' | 'right'> {
|
|
2255
2349
|
vehicle: VehicleReferenceProps;
|
|
2256
2350
|
leftColumnSize?: ColumnSize;
|
|
2257
2351
|
rightColumnSize?: ColumnSize;
|
|
2258
2352
|
}
|
|
2259
|
-
declare const LayoutWithVehicleReference: FC<PropsWithChildren<Props$
|
|
2353
|
+
declare const LayoutWithVehicleReference: FC<PropsWithChildren<Props$4>>;
|
|
2354
|
+
|
|
2355
|
+
declare const linkRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
2356
|
+
variant: {
|
|
2357
|
+
baseLink: {
|
|
2358
|
+
_hover: {
|
|
2359
|
+
cursor: "pointer";
|
|
2360
|
+
textDecoration: "underline";
|
|
2361
|
+
};
|
|
2362
|
+
};
|
|
2363
|
+
navigationLink: {
|
|
2364
|
+
color: "gray.900";
|
|
2365
|
+
cursor: "pointer";
|
|
2366
|
+
fontSize: "base";
|
|
2367
|
+
_hover: {
|
|
2368
|
+
textDecoration: "none";
|
|
2369
|
+
color: "blue.700";
|
|
2370
|
+
};
|
|
2371
|
+
};
|
|
2372
|
+
subNavigationLink: {
|
|
2373
|
+
color: "gray.900";
|
|
2374
|
+
cursor: "pointer";
|
|
2375
|
+
fontSize: "base";
|
|
2376
|
+
_hover: {
|
|
2377
|
+
textDecoration: "underline";
|
|
2378
|
+
};
|
|
2379
|
+
_focusVisible: {
|
|
2380
|
+
outline: "none";
|
|
2381
|
+
};
|
|
2382
|
+
};
|
|
2383
|
+
footerLink: {
|
|
2384
|
+
color: "white";
|
|
2385
|
+
_hover: {
|
|
2386
|
+
textDecoration: "underline";
|
|
2387
|
+
};
|
|
2388
|
+
_active: {
|
|
2389
|
+
color: "gray.50";
|
|
2390
|
+
};
|
|
2391
|
+
_visited: {
|
|
2392
|
+
color: "white";
|
|
2393
|
+
};
|
|
2394
|
+
};
|
|
2395
|
+
};
|
|
2396
|
+
disabled: {
|
|
2397
|
+
true: {
|
|
2398
|
+
textDecoration: "none";
|
|
2399
|
+
pointerEvents: "none";
|
|
2400
|
+
color: "gray.500";
|
|
2401
|
+
_hover: {
|
|
2402
|
+
textDecoration: "none";
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
};
|
|
2406
|
+
}>;
|
|
2260
2407
|
|
|
2261
2408
|
type LinkProps = LinkProps$2 & {
|
|
2262
2409
|
isExternal?: boolean;
|
|
2263
|
-
}
|
|
2410
|
+
} & RecipeVariantProps<typeof linkRecipe>;
|
|
2264
2411
|
declare const Link: FC<LinkProps>;
|
|
2265
2412
|
|
|
2266
2413
|
declare const Root$1: React.ForwardRefExoticComponent<List$1.RootProps & React.RefAttributes<HTMLUListElement>>;
|
|
@@ -2270,38 +2417,51 @@ declare const List: {
|
|
|
2270
2417
|
Item: React.ForwardRefExoticComponent<List$1.ItemProps & React.RefAttributes<HTMLLIElement>>;
|
|
2271
2418
|
};
|
|
2272
2419
|
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
bg: "gray.100";
|
|
2281
|
-
borderColor: "gray.200";
|
|
2282
|
-
};
|
|
2283
|
-
};
|
|
2284
|
-
};
|
|
2285
|
-
true: {
|
|
2286
|
-
bg: "blue.100";
|
|
2287
|
-
px: "md";
|
|
2288
|
-
borderColor: "transparent";
|
|
2289
|
-
_hover: {
|
|
2290
|
-
bg: "blue.50";
|
|
2291
|
-
_active: {
|
|
2292
|
-
bg: "blue.200";
|
|
2293
|
-
};
|
|
2294
|
-
};
|
|
2295
|
-
};
|
|
2296
|
-
};
|
|
2297
|
-
}>;
|
|
2420
|
+
type SearchFieldOptions = {
|
|
2421
|
+
placeholder?: string;
|
|
2422
|
+
onFocus?: () => void;
|
|
2423
|
+
onBlur?: () => void;
|
|
2424
|
+
autofocusOnDesktop?: boolean;
|
|
2425
|
+
autoComplete?: 'on' | 'off';
|
|
2426
|
+
};
|
|
2298
2427
|
|
|
2299
|
-
type
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2428
|
+
type CommonListItem = {
|
|
2429
|
+
label: string;
|
|
2430
|
+
value: string;
|
|
2431
|
+
facet?: string;
|
|
2432
|
+
isSelected: boolean;
|
|
2433
|
+
showChevron?: boolean;
|
|
2434
|
+
highlightIndices?: readonly RangeTuple[];
|
|
2435
|
+
isCheckbox?: boolean;
|
|
2436
|
+
paddingLeft?: ConditionalValue<'md' | '2xl'>;
|
|
2437
|
+
};
|
|
2438
|
+
type CheckboxListItem = {
|
|
2439
|
+
onClick: (details: CheckboxCheckedChangeDetails) => void;
|
|
2440
|
+
isCheckbox: true;
|
|
2441
|
+
isIndeterminate?: boolean;
|
|
2442
|
+
} & CommonListItem;
|
|
2443
|
+
type RadioButtonListItem = {
|
|
2444
|
+
onClick: React__default.MouseEventHandler<HTMLButtonElement>;
|
|
2445
|
+
isCheckbox?: false;
|
|
2446
|
+
} & CommonListItem;
|
|
2447
|
+
type ListItemType = CheckboxListItem | RadioButtonListItem;
|
|
2448
|
+
|
|
2449
|
+
type ListItemWithChildren = ListItemType & {
|
|
2450
|
+
children?: ListItemType[];
|
|
2451
|
+
};
|
|
2452
|
+
type Props$3 = {
|
|
2453
|
+
listItems: ListItemWithChildren[];
|
|
2454
|
+
NoResults?: FC;
|
|
2455
|
+
EmptyQueryPlaceholder?: FC;
|
|
2456
|
+
listAriaLabel?: string;
|
|
2457
|
+
searchFieldOptions?: SearchFieldOptions;
|
|
2458
|
+
listOptions?: {
|
|
2459
|
+
columns?: number;
|
|
2460
|
+
childrenSpacing?: 'md' | '2xl';
|
|
2461
|
+
};
|
|
2462
|
+
listRef?: React__default.RefObject<HTMLUListElement | null>;
|
|
2463
|
+
};
|
|
2464
|
+
declare const SearchableList: FC<Props$3>;
|
|
2305
2465
|
|
|
2306
2466
|
interface MenuItem {
|
|
2307
2467
|
text: JSX.Element | string;
|
|
@@ -2381,6 +2541,33 @@ type PaginationProps = {
|
|
|
2381
2541
|
} & Pick<BoxProps, 'marginTop' | 'marginBottom'>;
|
|
2382
2542
|
declare const Pagination: FC<PaginationProps>;
|
|
2383
2543
|
|
|
2544
|
+
type RangeFilterInputField<Name> = {
|
|
2545
|
+
name: Name;
|
|
2546
|
+
value?: number | null;
|
|
2547
|
+
placeholder?: string;
|
|
2548
|
+
ariaLabel?: string;
|
|
2549
|
+
};
|
|
2550
|
+
type ChangeCallback<Name> = {
|
|
2551
|
+
value?: number | null;
|
|
2552
|
+
name: Name;
|
|
2553
|
+
};
|
|
2554
|
+
type PickedNumberInputProps = Pick<React__default.ComponentProps<typeof NumberInput.Root>, 'min' | 'max' | 'disabled' | 'onFocus'>;
|
|
2555
|
+
type RangeFilterInputProps<NameFrom extends string, NameTo extends string> = {
|
|
2556
|
+
from: RangeFilterInputField<NameFrom>;
|
|
2557
|
+
handleChange: (event: ChangeCallback<NameFrom | NameTo>) => void;
|
|
2558
|
+
onBlur?: (event: ChangeCallback<NameFrom | NameTo>) => void;
|
|
2559
|
+
to: RangeFilterInputField<NameTo>;
|
|
2560
|
+
unit?: string;
|
|
2561
|
+
} & PickedNumberInputProps;
|
|
2562
|
+
declare const RangeFilterInput: <NameFrom extends string, NameTo extends string>({ from, to, handleChange, unit, onBlur, ...rest }: RangeFilterInputProps<NameFrom, NameTo>) => React__default.JSX.Element;
|
|
2563
|
+
|
|
2564
|
+
type SliderRootProps = Omit<React__default.ComponentProps<typeof Slider.Root>, 'onChange'>;
|
|
2565
|
+
type RangeSliderProps = SliderRootProps & {
|
|
2566
|
+
onChange?: (values: number[]) => void;
|
|
2567
|
+
onChangeEnd?: (values: number[]) => void;
|
|
2568
|
+
};
|
|
2569
|
+
declare const RangeSlider: React__default.FC<RangeSliderProps>;
|
|
2570
|
+
|
|
2384
2571
|
declare const ratingRecipe: _chakra_ui_react.RecipeDefinition<{
|
|
2385
2572
|
size: {
|
|
2386
2573
|
sm: {
|
|
@@ -2581,6 +2768,19 @@ declare const Table: {
|
|
|
2581
2768
|
ScrollArea: _chakra_ui_react.ChakraComponent<"div", {}>;
|
|
2582
2769
|
};
|
|
2583
2770
|
|
|
2771
|
+
type TenantSelectionState = {
|
|
2772
|
+
showSelection: boolean;
|
|
2773
|
+
persistSelection: boolean;
|
|
2774
|
+
selectedTenant: null | number;
|
|
2775
|
+
};
|
|
2776
|
+
type TenantSelectionProps = {
|
|
2777
|
+
user: EnrichedSessionUser | null;
|
|
2778
|
+
isLoading?: boolean;
|
|
2779
|
+
selectTenant: (sellerId: number | string) => void;
|
|
2780
|
+
language: Language$1;
|
|
2781
|
+
};
|
|
2782
|
+
declare const TenantSelection: FC<TenantSelectionProps>;
|
|
2783
|
+
|
|
2584
2784
|
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
2585
2785
|
|
|
2586
2786
|
type HighlightedTextProps = {
|
|
@@ -2643,61 +2843,12 @@ type Props$1 = {
|
|
|
2643
2843
|
};
|
|
2644
2844
|
declare const TopListingBadge: FC<PropsWithChildren<Props$1>>;
|
|
2645
2845
|
|
|
2646
|
-
type RangeFilterInputField<Name> = {
|
|
2647
|
-
name: Name;
|
|
2648
|
-
value?: number | null;
|
|
2649
|
-
placeholder?: string;
|
|
2650
|
-
ariaLabel?: string;
|
|
2651
|
-
};
|
|
2652
|
-
type ChangeCallback<Name> = {
|
|
2653
|
-
value?: number | null;
|
|
2654
|
-
name: Name;
|
|
2655
|
-
};
|
|
2656
|
-
type PickedNumberInputProps = Pick<React__default.ComponentProps<typeof NumberInput.Root>, 'min' | 'max' | 'disabled' | 'onFocus'>;
|
|
2657
|
-
type RangeFilterInputProps<NameFrom extends string, NameTo extends string> = {
|
|
2658
|
-
from: RangeFilterInputField<NameFrom>;
|
|
2659
|
-
handleChange: (event: ChangeCallback<NameFrom | NameTo>) => void;
|
|
2660
|
-
onBlur?: (event: ChangeCallback<NameFrom | NameTo>) => void;
|
|
2661
|
-
to: RangeFilterInputField<NameTo>;
|
|
2662
|
-
unit?: string;
|
|
2663
|
-
} & PickedNumberInputProps;
|
|
2664
|
-
declare const RangeFilterInput: <NameFrom extends string, NameTo extends string>({ from, to, handleChange, unit, onBlur, ...rest }: RangeFilterInputProps<NameFrom, NameTo>) => React__default.JSX.Element;
|
|
2665
|
-
|
|
2666
2846
|
type Props = {
|
|
2667
2847
|
aspectRatio?: number;
|
|
2668
2848
|
brand: Brand;
|
|
2669
2849
|
};
|
|
2670
2850
|
declare const TopVehicleSharedBadge: FC<PropsWithChildren<Props>>;
|
|
2671
2851
|
|
|
2672
|
-
type DiscreteSliderMark<T> = {
|
|
2673
|
-
stepValue?: number;
|
|
2674
|
-
label: ReactNode;
|
|
2675
|
-
value: T;
|
|
2676
|
-
};
|
|
2677
|
-
type DiscreteSliderProps<T> = {
|
|
2678
|
-
applyIndentation?: boolean;
|
|
2679
|
-
marks: DiscreteSliderMark<T>[];
|
|
2680
|
-
value: T;
|
|
2681
|
-
onValueChanged: (arg: T) => void;
|
|
2682
|
-
};
|
|
2683
|
-
declare const DiscreteSlider: <T>({ marks, applyIndentation, onValueChanged, value, }: DiscreteSliderProps<T>) => React__default.JSX.Element;
|
|
2684
|
-
|
|
2685
|
-
type BaseProps = {
|
|
2686
|
-
id: string;
|
|
2687
|
-
errorMessage?: string;
|
|
2688
|
-
label?: string;
|
|
2689
|
-
hint?: string;
|
|
2690
|
-
tooltip?: string;
|
|
2691
|
-
};
|
|
2692
|
-
declare const FormControlSection: FC<PropsWithChildren<BaseProps>>;
|
|
2693
|
-
|
|
2694
|
-
type SliderRootProps = Omit<React__default.ComponentProps<typeof Slider.Root>, 'onChange'>;
|
|
2695
|
-
type RangeSliderProps = SliderRootProps & {
|
|
2696
|
-
onChange?: (values: number[]) => void;
|
|
2697
|
-
onChangeEnd?: (values: number[]) => void;
|
|
2698
|
-
};
|
|
2699
|
-
declare const RangeSlider: React__default.FC<RangeSliderProps>;
|
|
2700
|
-
|
|
2701
2852
|
declare const convertRemEmToPx: (value: string) => number;
|
|
2702
2853
|
|
|
2703
2854
|
declare class Logger {
|
|
@@ -2705,5 +2856,5 @@ declare class Logger {
|
|
|
2705
2856
|
}
|
|
2706
2857
|
declare const logger: Logger;
|
|
2707
2858
|
|
|
2708
|
-
export { Accordion, AddPhotoIcon, AdvancedSearchIcon, AndroidIcon, AppleIcon, ArrowCircleIcon, ArrowDiagonalIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArticleTeaser, AspectRatio, AutoScout24AppLogo, AutoScout24Icon, Avatar, AvatarIcon, AvatarWithNotificationIcon, Badge, BankNotesIcon, BatteryIcon, BookmarkIcon, Breadcrumbs, BulbIcon, Button, CabrioletIcon, CalculatorIcon, CalendarIcon, CallIcon, CamperIcon, CarConditionIcon, CarIcon, Card, Body$1 as CardBody, Footer$2 as CardFooter, Header$1 as CardHeader, Root$2 as CardRoot, CartIcon, CategoryAIcon, CategoryAMinusIcon, CategoryAOneIcon, Center, ChartIcon, ChatBubbleIcon, CheckShieldIcon, Checkbox, CheckboxGroup, CheckmarkCircleColorIcon, CheckmarkCircleIcon, CheckmarkIcon, ChevronDownLargeIcon, ChevronDownSmallIcon, ChevronLeftLargeIcon, ChevronLeftSmallIcon, ChevronRightLargeIcon, ChevronRightSmallIcon, ChevronRightTinyIcon, ChevronUpLargeIcon, ChevronUpSmallIcon, ChfCurrencyIcon, Chip, CloseIcon, CollapseIcon, CompareIcon, ConsumptionIcon, CopyIcon, Count, CoupeIcon, CreditCardIcon, CreditIcon, DatePicker, DaylightIcon, DeleteIcon, DevOverlay, Dialog, DigitalContractIcon, DiscreteSlider, DocumentCheckIcon, DocumentIcon, DoubleChevronDownIcon, DoubleChevronUpIcon, DoubleLineIcon, DownloadIcon, DragIcon, Drawer, DrawerBody, DrawerContent, DrawerOverlay, DriveSystemIcon, DriveSystemLargeIcon, DriveTypeIcon, EnergyLabel, EquipmentIcon, ErrorIcon, ErrorPage, ExchangeIcon, ExpandIcon, EyeCrossedIcon, EyeIcon, FacebookIcon, FlagIcon, FlameIcon, FlashIcon, Flex, Footer$1 as Footer, FormControlSection, ForwardIcon, FullHeight, GalleryHeader, GarageIcon, GasStationIcon, GlobeIcon, GoogleIcon, Grid, GridItem, H1, H2, H3, H4, H5, H6, HamburgerMenuIcon, HeartIcon, HighlightedText, HistoryClockIcon, HouseIcon, ImageIcon, InfinityCircleIcon, InfoIcon, InformationBubbleIcon, InformationIcon, Input, InstagramIcon, InteriorIcon, LabelIcon, LayoutWithVehicleReference, Link, LinkedinIcon, List, ListIcon, Item as ListItem, Root$1 as ListRoot, LocationPinIcon, LockIcon, LogoutIcon, MagnifierIcon, MagnifierLargeIcon, MarkedText, Menu, MessageIcon, MiniVanIcon, MinusIcon, MissingImage, MissingImageIcon, MobileOnlyAccordion, MotoScout24AppLogo, MotoScout24Icon, MotorcycleIcon, Navigation, NoPhotoIcon, NotAvailableIcon, NotAvailableSquareIcon, OptimizerIcon, OverflowVerticalIcon, PageLayout, Pagination, PartialClockIcon, PenIcon, PickUpIcon, PlusCircleIcon, PlusIcon, PrintIcon, QualitySealIcon, RangeFilterInput, RangeIcon, RangeSlider, Rating, RoadIcon, RocketIcon, RotateIcon, SafeNumberIcon, SaveSearchIcon, ScreenIcon, Section, SedanIcon, Select, Separator, ShareIcon, SimpleGrid, SimpleHeader, SingleColumnCenteredLayout, SmallCarIcon, SortIcon, SpeakerIcon, Stack, StarCircleIcon, StarIcon, SteeringWheelIcon, SuvIcon, SwissFlagIcon, Switch, Tab, TabList, TabPanel, TabPanels, Table, Body as TableBody, Caption as TableCaption, Cell as TableCell, Column as TableColumn, ColumnGroup as TableColumnGroup, ColumnHeader as TableColumnHeader, Footer as TableFooter, Header as TableHeader, Root as TableRoot, Row as TableRow, ScrollArea as TableScrollArea, Tabs, Text, ThemeProvider, ThreeSixtyIcon, ThumbsDownIcon, ThumbsUpIcon, TiltedRectangleIcon, TimeIcon, TooltipIcon, TopListingBadge, TopListingIcon, TopVehicleSharedBadge, TrailerIcon, TransmissionIcon, TrashIcon, TriangleIcon, TruckIcon, TwitterIcon, TwoColumnsLayout, UtilityVehicleIcon, VanIcon, VehiclePowerIcon, VehicleReference, VehicleTypesMotorcycleIcon, VehicleTypesMotorcycleStarIcon, VideoCameraIcon, VideoIcon, ViewCarIcon, ViewMotorcycleIcon, WagonIcon, WarningIcon, WarrantyIcon, WhatsAppIcon, WindowsIcon, YoutubeIcon, autoScout24Config, _default as autoScout24System, breakpoints, convertRemEmToPx, logger, motoScout24Config, _default$1 as motoScout24System, repeatArea, useDebouncedOnChange, useMediaQuery, useToken };
|
|
2709
|
-
export type { AccordionProps, ArticleTeaserProps, AvatarProps, BadgeProps, BaseButtonProps, BaseProps, BreadcrumbsPropsExtended, ButtonSharedProps, CenterProps, ChangeCallback, CheckboxGroupProps, CheckboxProps, ChipProps, CountProps, DatePickerProps, DevOverlayProps, DevOverlayVariables, DialogProps, DiscreteSliderMark, DiscreteSliderProps, DrawerProps, EnergyLabelProps,
|
|
2859
|
+
export { Accordion, AddPhotoIcon, AdvancedSearchIcon, AndroidIcon, AppleIcon, ArrowCircleIcon, ArrowDiagonalIcon, ArrowDownCircleIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpCircleIcon, ArrowUpIcon, ArticleTeaser, AspectRatio, AutoScout24AppLogo, AutoScout24Icon, Avatar, AvatarIcon, AvatarWithNotificationIcon, Badge, BankNotesIcon, BatteryIcon, BookmarkIcon, Breadcrumbs, BulbIcon, Button, CabrioletIcon, CalculatorIcon, CalendarIcon, CallIcon, CamperIcon, CarConditionIcon, CarIcon, Card, Body$1 as CardBody, Footer$2 as CardFooter, Header$1 as CardHeader, Root$2 as CardRoot, Carousel, CartIcon, CategoryAIcon, CategoryAMinusIcon, CategoryAOneIcon, Center, ChartIcon, ChatBubbleIcon, CheckShieldIcon, Checkbox, CheckboxGroup, CheckmarkCircleColorIcon, CheckmarkCircleIcon, CheckmarkIcon, ChevronDownLargeIcon, ChevronDownSmallIcon, ChevronLeftLargeIcon, ChevronLeftSmallIcon, ChevronRightLargeIcon, ChevronRightSmallIcon, ChevronRightTinyIcon, ChevronUpLargeIcon, ChevronUpSmallIcon, ChfCurrencyIcon, Chip, CloseIcon, CollapseIcon, CompareIcon, ConsumptionIcon, CopyIcon, Count, CoupeIcon, CreditCardIcon, CreditIcon, DatePicker, DaylightIcon, DeleteIcon, DevOverlay, Dialog, DigitalContractIcon, DiscreteSlider, DocumentCheckIcon, DocumentIcon, DoubleChevronDownIcon, DoubleChevronUpIcon, DoubleLineIcon, DownloadIcon, DragIcon, Drawer, DrawerBody, DrawerContent, DrawerOverlay, DriveSystemIcon, DriveSystemLargeIcon, DriveTypeIcon, EnergyLabel, EquipmentIcon, ErrorIcon, ErrorPage, ExchangeIcon, ExpandIcon, EyeCrossedIcon, EyeIcon, FacebookIcon, FlagIcon, FlameIcon, FlashIcon, Flex, Footer$1 as Footer, FormControlSection, ForwardIcon, FullHeight, GalleryHeader, GarageIcon, GasStationIcon, GlobeIcon, GoogleIcon, Grid, GridItem, H1, H2, H3, H4, H5, H6, HamburgerMenuIcon, HeartIcon, HighlightedText, HistoryClockIcon, HouseIcon, ImageIcon, InfinityCircleIcon, InfoIcon, InformationBubbleIcon, InformationIcon, Input, InstagramIcon, InteriorIcon, LabelIcon, LayoutWithVehicleReference, Link, LinkedinIcon, List, ListIcon, Item as ListItem, Root$1 as ListRoot, LocationPinIcon, LockIcon, LogoutIcon, MagnifierIcon, MagnifierLargeIcon, MarkedText, Menu, MessageIcon, MiniVanIcon, MinusIcon, MissingImage, MissingImageIcon, MobileOnlyAccordion, MotoScout24AppLogo, MotoScout24Icon, MotorcycleIcon, Navigation, NoPhotoIcon, NotAvailableIcon, NotAvailableSquareIcon, OptimizerIcon, OverflowVerticalIcon, PageLayout, Pagination, PaginationType, PartialClockIcon, PenIcon, PickUpIcon, PlusCircleIcon, PlusIcon, PrintIcon, QualitySealIcon, RangeFilterInput, RangeIcon, RangeSlider, Rating, RoadIcon, RocketIcon, RotateIcon, SafeNumberIcon, SaveSearchIcon, ScreenIcon, SearchableList, Section, SedanIcon, Select, Separator, ShareIcon, SimpleGrid, SimpleHeader, SingleColumnCenteredLayout, SmallCarIcon, SortIcon, SpeakerIcon, Stack, StarCircleIcon, StarIcon, SteeringWheelIcon, SuvIcon, SwissFlagIcon, Switch, Tab, TabList, TabPanel, TabPanels, Table, Body as TableBody, Caption as TableCaption, Cell as TableCell, Column as TableColumn, ColumnGroup as TableColumnGroup, ColumnHeader as TableColumnHeader, Footer as TableFooter, Header as TableHeader, Root as TableRoot, Row as TableRow, ScrollArea as TableScrollArea, Tabs, TenantSelection, Text, ThemeProvider, ThreeSixtyIcon, ThumbsDownIcon, ThumbsUpIcon, TiltedRectangleIcon, TimeIcon, TooltipIcon, TopListingBadge, TopListingIcon, TopVehicleSharedBadge, TrailerIcon, TransmissionIcon, TrashIcon, TriangleIcon, TruckIcon, TwitterIcon, TwoColumnsLayout, UtilityVehicleIcon, VanIcon, VehiclePowerIcon, VehicleReference, VehicleTypesMotorcycleIcon, VehicleTypesMotorcycleStarIcon, VideoCameraIcon, VideoIcon, ViewCarIcon, ViewMotorcycleIcon, WagonIcon, WarningIcon, WarrantyIcon, WhatsAppIcon, WindowsIcon, YoutubeIcon, autoScout24Config, _default as autoScout24System, breakpoints, convertRemEmToPx, logger, motoScout24Config, _default$1 as motoScout24System, repeatArea, useDebouncedOnChange, useMediaQuery, useToken };
|
|
2860
|
+
export type { AccordionProps, ArticleTeaserProps, AvatarProps, BadgeProps, BaseButtonProps, BaseProps, BreadcrumbsPropsExtended, ButtonSharedProps, CarouselProps, CenterProps, ChangeCallback, CheckboxGroupProps, CheckboxProps, ChipProps, CountProps, DatePickerProps, DevOverlayProps, DevOverlayVariables, DialogProps, DiscreteSliderMark, DiscreteSliderProps, DrawerProps, EnergyLabelProps, FlexProps, BaseProps as FormControlSectionProps, HeadingProps, HighlightedTextProps, InputProps, LinkProps, ListItemWithChildren, MarkedTextProps, MenuProps, MissingImageProps, MobileOnlyAccordionProps, NavigationProps, Option, PaginationProps, PickedNumberInputProps, Props$2 as Props, RangeFilterInputField, RangeSliderProps, RatingProps, SectionProps, SelectProps, SimpleHeaderProps, StackProps, SwitchProps, TabListProps, TabPanelProps, TabPanelsProps, TabProps, TabsProps, TenantSelectionProps, TenantSelectionState, ThemeProviderProps, UnifiedButtonProps, VehicleReferenceProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@smg-automotive/components",
|
|
3
|
-
"version": "25.11.0-chakra-v3.
|
|
3
|
+
"version": "25.11.0-chakra-v3.9",
|
|
4
4
|
"description": "SMG Automotive components library",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
},
|
|
58
58
|
"homepage": "https://github.com/smg-automotive/components-pkg#readme",
|
|
59
59
|
"peerDependencies": {
|
|
60
|
-
"@smg-automotive/auth": "^8.
|
|
60
|
+
"@smg-automotive/auth": "^8.5.0",
|
|
61
61
|
"react": "^19.0.0",
|
|
62
62
|
"react-dom": "^19.0.0"
|
|
63
63
|
},
|
|
@@ -73,19 +73,19 @@
|
|
|
73
73
|
"@smg-automotive/auth": "8.2.7",
|
|
74
74
|
"@smg-automotive/eslint-config": "5.2.5",
|
|
75
75
|
"@storybook/addon-actions": "8.6.14",
|
|
76
|
-
"@storybook/addon-docs": "8.6.
|
|
77
|
-
"@storybook/addon-essentials": "8.6.
|
|
78
|
-
"@storybook/addon-interactions": "8.6.
|
|
76
|
+
"@storybook/addon-docs": "8.6.15",
|
|
77
|
+
"@storybook/addon-essentials": "8.6.15",
|
|
78
|
+
"@storybook/addon-interactions": "8.6.15",
|
|
79
79
|
"@storybook/addon-links": "8.6.14",
|
|
80
80
|
"@storybook/addon-webpack5-compiler-babel": "3.0.6",
|
|
81
81
|
"@storybook/blocks": "8.6.14",
|
|
82
82
|
"@storybook/components": "8.6.14",
|
|
83
|
-
"@storybook/core": "8.6.
|
|
83
|
+
"@storybook/core": "8.6.15",
|
|
84
84
|
"@storybook/manager-api": "8.6.14",
|
|
85
85
|
"@storybook/preview-api": "8.6.14",
|
|
86
|
-
"@storybook/react": "8.6.
|
|
87
|
-
"@storybook/react-webpack5": "8.6.
|
|
88
|
-
"@storybook/test": "8.6.
|
|
86
|
+
"@storybook/react": "8.6.15",
|
|
87
|
+
"@storybook/react-webpack5": "8.6.15",
|
|
88
|
+
"@storybook/test": "8.6.15",
|
|
89
89
|
"@storybook/theming": "8.6.14",
|
|
90
90
|
"@testing-library/jest-dom": "6.9.1",
|
|
91
91
|
"@testing-library/react": "16.3.0",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
120
120
|
"semantic-release": "25.0.2",
|
|
121
121
|
"space-separated-tokens": "2.0.2",
|
|
122
|
-
"storybook": "8.6.
|
|
122
|
+
"storybook": "8.6.15",
|
|
123
123
|
"stream-http": "3.2.0",
|
|
124
124
|
"ts-jest": "29.4.5",
|
|
125
125
|
"ts-node": "10.9.2",
|
|
@@ -131,12 +131,12 @@
|
|
|
131
131
|
"@chakra-ui/cli": "3.27.1",
|
|
132
132
|
"@chakra-ui/react": "3.27.1",
|
|
133
133
|
"@emotion/react": "11.14.0",
|
|
134
|
-
"@smg-automotive/i18n-pkg": "
|
|
134
|
+
"@smg-automotive/i18n-pkg": "3.0.0",
|
|
135
135
|
"@smg-automotive/phrase-pkg": "1.0.2",
|
|
136
136
|
"@types/fs-extra": "11.0.4",
|
|
137
137
|
"embla-carousel-react": "8.6.0",
|
|
138
138
|
"framer-motion": "12.23.24",
|
|
139
|
-
"fs-extra": "11.3.
|
|
139
|
+
"fs-extra": "11.3.3",
|
|
140
140
|
"fuse.js": "7.1.0",
|
|
141
141
|
"globals": "16.5.0",
|
|
142
142
|
"merge-json-file": "1.0.1",
|