@smg-automotive/components 25.10.0-gallery-header-v3-migrate.1 → 25.10.0-migrate-discrete-slider.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.
Files changed (57) hide show
  1. package/dist/cjs/components/discreteSlider/index.d.ts +14 -0
  2. package/dist/cjs/components/discreteSlider/index.d.ts.map +1 -0
  3. package/dist/cjs/components/index.d.ts +2 -1
  4. package/dist/cjs/components/index.d.ts.map +1 -1
  5. package/dist/cjs/components/menu/index.d.ts +21 -0
  6. package/dist/cjs/components/menu/index.d.ts.map +1 -0
  7. package/dist/cjs/index.js +180 -82
  8. package/dist/cjs/index.js.map +1 -1
  9. package/dist/cjs/themes/shared/index.d.ts +2 -1
  10. package/dist/cjs/themes/shared/index.d.ts.map +1 -1
  11. package/dist/cjs/themes/shared/slotRecipes/index.d.ts +2 -1
  12. package/dist/cjs/themes/shared/slotRecipes/index.d.ts.map +1 -1
  13. package/dist/cjs/themes/shared/slotRecipes/menu.d.ts +2 -0
  14. package/dist/cjs/themes/shared/slotRecipes/menu.d.ts.map +1 -0
  15. package/dist/cjs/themes/shared/slotRecipes/slider.d.ts +2 -0
  16. package/dist/cjs/themes/shared/slotRecipes/slider.d.ts.map +1 -0
  17. package/dist/esm/components/discreteSlider/index.d.ts +14 -0
  18. package/dist/esm/components/discreteSlider/index.d.ts.map +1 -0
  19. package/dist/esm/components/discreteSlider/index.js +46 -0
  20. package/dist/esm/components/discreteSlider/index.js.map +1 -0
  21. package/dist/esm/components/index.d.ts +2 -1
  22. package/dist/esm/components/index.d.ts.map +1 -1
  23. package/dist/esm/components/menu/index.d.ts +21 -0
  24. package/dist/esm/components/menu/index.d.ts.map +1 -0
  25. package/dist/esm/components/{galleryHeader → menu}/index.js +23 -30
  26. package/dist/esm/components/menu/index.js.map +1 -0
  27. package/dist/esm/components/themeProvider/index.js +2 -1
  28. package/dist/esm/components/themeProvider/index.js.map +1 -1
  29. package/dist/esm/index.js +4 -2
  30. package/dist/esm/index.js.map +1 -1
  31. package/dist/esm/themes/shared/index.d.ts +2 -1
  32. package/dist/esm/themes/shared/index.d.ts.map +1 -1
  33. package/dist/esm/themes/shared/slotRecipes/index.d.ts +2 -1
  34. package/dist/esm/themes/shared/slotRecipes/index.d.ts.map +1 -1
  35. package/dist/esm/themes/shared/slotRecipes/index.js +4 -2
  36. package/dist/esm/themes/shared/slotRecipes/index.js.map +1 -1
  37. package/dist/esm/themes/shared/slotRecipes/menu.d.ts +2 -0
  38. package/dist/esm/themes/shared/slotRecipes/menu.d.ts.map +1 -0
  39. package/dist/esm/themes/shared/slotRecipes/menu.js +64 -0
  40. package/dist/esm/themes/shared/slotRecipes/menu.js.map +1 -0
  41. package/dist/esm/themes/shared/slotRecipes/slider.d.ts +2 -0
  42. package/dist/esm/themes/shared/slotRecipes/slider.d.ts.map +1 -0
  43. package/dist/esm/themes/shared/slotRecipes/slider.js +54 -0
  44. package/dist/esm/themes/shared/slotRecipes/slider.js.map +1 -0
  45. package/dist/index.d.ts +41 -18
  46. package/package.json +1 -1
  47. package/dist/cjs/components/galleryHeader/index.d.ts +0 -10
  48. package/dist/cjs/components/galleryHeader/index.d.ts.map +0 -1
  49. package/dist/cjs/themes/shared/slotRecipes/galleryHeader.d.ts +0 -2
  50. package/dist/cjs/themes/shared/slotRecipes/galleryHeader.d.ts.map +0 -1
  51. package/dist/esm/components/galleryHeader/index.d.ts +0 -10
  52. package/dist/esm/components/galleryHeader/index.d.ts.map +0 -1
  53. package/dist/esm/components/galleryHeader/index.js.map +0 -1
  54. package/dist/esm/themes/shared/slotRecipes/galleryHeader.d.ts +0 -2
  55. package/dist/esm/themes/shared/slotRecipes/galleryHeader.d.ts.map +0 -1
  56. package/dist/esm/themes/shared/slotRecipes/galleryHeader.js +0 -54
  57. package/dist/esm/themes/shared/slotRecipes/galleryHeader.js.map +0 -1
@@ -0,0 +1,54 @@
1
+ import { defineSlotRecipe } from '@chakra-ui/react';
2
+
3
+ var sliderSlotRecipe = defineSlotRecipe({
4
+ className: 'chakra-slider',
5
+ slots: ['root', 'control', 'track', 'range', 'markerGroup', 'thumb'],
6
+ base: {
7
+ root: {
8
+ display: 'flex',
9
+ flexDirection: 'column',
10
+ fontSize: 'base',
11
+ '--slider-marker-inset': '4px',
12
+ '--slider-marker-track': '5px',
13
+ '--slider-thumb-border': '1px',
14
+ '--slider-thumb-boxShadow': '0 0 0 8px #2988E14D',
15
+ },
16
+ control: {
17
+ display: 'inline-flex',
18
+ },
19
+ track: {
20
+ flex: '1',
21
+ height: 'var(--slider-marker-track)',
22
+ bg: 'gray.300',
23
+ borderRadius: 'full',
24
+ },
25
+ range: {
26
+ height: 'var(--slider-marker-inset)',
27
+ bg: 'gray.800',
28
+ borderRadius: 'full',
29
+ },
30
+ markerGroup: {
31
+ position: 'absolute!',
32
+ top: '2xl',
33
+ insetInline: 'var(--slider-marker-inset)',
34
+ },
35
+ thumb: {
36
+ width: 'sm',
37
+ height: 'sm',
38
+ borderRadius: 'full',
39
+ borderWidth: 'var(--slider-thumb-border)',
40
+ borderColor: 'gray.400',
41
+ backgroundColor: 'white',
42
+ translate: '0 -40%',
43
+ _hover: {
44
+ cursor: 'pointer',
45
+ },
46
+ _active: {
47
+ boxShadow: 'var(--slider-thumb-boxShadow)',
48
+ },
49
+ },
50
+ },
51
+ });
52
+
53
+ export { sliderSlotRecipe };
54
+ //# sourceMappingURL=slider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"slider.js","sources":["../../../../../../src/themes/shared/slotRecipes/slider.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEO,IAAM,gBAAgB,GAAG,gBAAgB,CAAC;AAC/C,IAAA,SAAS,EAAE,eAAe;AAC1B,IAAA,KAAK,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,CAAC;AACpE,IAAA,IAAI,EAAE;AACJ,QAAA,IAAI,EAAE;AACJ,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,aAAa,EAAE,QAAQ;AACvB,YAAA,QAAQ,EAAE,MAAM;AAChB,YAAA,uBAAuB,EAAE,KAAK;AAC9B,YAAA,uBAAuB,EAAE,KAAK;AAC9B,YAAA,uBAAuB,EAAE,KAAK;AAC9B,YAAA,0BAA0B,EAAE,qBAAqB;AAClD,SAAA;AACD,QAAA,OAAO,EAAE;AACP,YAAA,OAAO,EAAE,aAAa;AACvB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,IAAI,EAAE,GAAG;AACT,YAAA,MAAM,EAAE,4BAA4B;AACpC,YAAA,EAAE,EAAE,UAAU;AACd,YAAA,YAAY,EAAE,MAAM;AACrB,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,MAAM,EAAE,4BAA4B;AACpC,YAAA,EAAE,EAAE,UAAU;AACd,YAAA,YAAY,EAAE,MAAM;AACrB,SAAA;AACD,QAAA,WAAW,EAAE;AACX,YAAA,QAAQ,EAAE,WAAW;AACrB,YAAA,GAAG,EAAE,KAAK;AACV,YAAA,WAAW,EAAE,4BAA4B;AAC1C,SAAA;AACD,QAAA,KAAK,EAAE;AACL,YAAA,KAAK,EAAE,IAAI;AACX,YAAA,MAAM,EAAE,IAAI;AACZ,YAAA,YAAY,EAAE,MAAM;AACpB,YAAA,WAAW,EAAE,4BAA4B;AACzC,YAAA,WAAW,EAAE,UAAU;AACvB,YAAA,eAAe,EAAE,OAAO;AACxB,YAAA,SAAS,EAAE,QAAQ;AACnB,YAAA,MAAM,EAAE;AACN,gBAAA,MAAM,EAAE,SAAS;AAClB,aAAA;AACD,YAAA,OAAO,EAAE;AACP,gBAAA,SAAS,EAAE,+BAA+B;AAC3C,aAAA;AACF,SAAA;AACF,KAAA;AACF,CAAA;;;;"}
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
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, FlexProps as FlexProps$1, HeadingProps as HeadingProps$1, LinkProps as LinkProps$2, List as List$1, Accordion as Accordion$1, NativeSelectRootProps, NativeSelectFieldProps, SeparatorProps, SimpleGridProps, StackProps as StackProps$1, Table as Table$1, TextProps, NumberInput } 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, FlexProps as FlexProps$1, HeadingProps as HeadingProps$1, LinkProps as LinkProps$2, List as List$1, MenuTriggerProps, MenuRootProps, Accordion as Accordion$1, NativeSelectRootProps, NativeSelectFieldProps, SeparatorProps, SimpleGridProps, StackProps as StackProps$1, Table as Table$1, TextProps, NumberInput } 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
- import React__default, { FocusEventHandler, ChangeEventHandler, FC, PropsWithChildren, ReactNode, ReactElement, ElementType, ComponentProps } from 'react';
6
+ import React__default, { FocusEventHandler, ChangeEventHandler, FC, PropsWithChildren, ReactNode, ReactElement, ElementType, ComponentProps, JSX } from 'react';
7
7
  export { PropsWithChildren as FullHeightProps } from 'react';
8
8
  import * as node_modules__chakra_ui_react_dist_types_styled_system_generated_system_gen from 'node_modules/@chakra-ui/react/dist/types/styled-system/generated/system.gen';
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';
@@ -53,7 +53,7 @@ declare const useDebouncedOnChange: ({ onChange, onBlur, debounce, }: {
53
53
 
54
54
  declare const useToken: (scale: string, token: string[], fallback?: string[]) => string[];
55
55
 
56
- declare const accordionRecipe: _chakra_ui_react.SlotRecipeDefinition<"item" | "button" | "indicator" | "content" | "body", {
56
+ declare const accordionRecipe: _chakra_ui_react.SlotRecipeDefinition<"content" | "body" | "button" | "item" | "indicator", {
57
57
  variant: {
58
58
  light: {
59
59
  item: {
@@ -430,7 +430,7 @@ type DatePickerProps = Pick<InputProps$1, 'onFocus' | 'onBlur' | 'onChange'> & I
430
430
  value?: string;
431
431
  invalid?: boolean;
432
432
  };
433
- declare const DatePicker: React__default.ForwardRefExoticComponent<Pick<InputProps$1, "onFocus" | "onBlur" | "onChange"> & {
433
+ declare const DatePicker: React__default.ForwardRefExoticComponent<Pick<InputProps$1, "onChange" | "onBlur" | "onFocus"> & {
434
434
  variant?: _chakra_ui_react.ConditionalValue<"outline" | undefined>;
435
435
  size?: _chakra_ui_react.ConditionalValue<"md" | "lg" | undefined>;
436
436
  } & {
@@ -544,7 +544,7 @@ declare const sizes: {
544
544
  };
545
545
  };
546
546
 
547
- declare const dialogRecipe: _chakra_ui_react.SlotRecipeDefinition<"content" | "body" | "footer" | "header" | "backdrop" | "positioner" | "closeTrigger", {
547
+ declare const dialogRecipe: _chakra_ui_react.SlotRecipeDefinition<"content" | "body" | "header" | "footer" | "backdrop" | "positioner" | "closeTrigger", {
548
548
  overlayColor: {
549
549
  gray: {
550
550
  backdrop: {
@@ -1793,16 +1793,6 @@ declare const Flex: FC<FlexProps>;
1793
1793
 
1794
1794
  declare const FullHeight: FC<PropsWithChildren>;
1795
1795
 
1796
- type Language = 'de' | 'fr' | 'it' | 'en';
1797
-
1798
- interface GalleryHeaderProps {
1799
- currentSlide: number;
1800
- slidesCount: number;
1801
- onClose: () => void;
1802
- language: Language;
1803
- }
1804
- declare const GalleryHeader: FC<PropsWithChildren<GalleryHeaderProps>>;
1805
-
1806
1796
  declare const Grid: React.ForwardRefExoticComponent<_chakra_ui_react.GridProps & React.RefAttributes<HTMLDivElement>>;
1807
1797
  declare const GridItem: React.ForwardRefExoticComponent<_chakra_ui_react.GridItemProps & React.RefAttributes<HTMLDivElement>>;
1808
1798
 
@@ -2284,6 +2274,24 @@ type ChipProps = {
2284
2274
  } & RecipeVariantProps<typeof chipRecipe>;
2285
2275
  declare const Chip: FC<PropsWithChildren<ChipProps>>;
2286
2276
 
2277
+ interface MenuItem {
2278
+ text: JSX.Element | string;
2279
+ value: string;
2280
+ onClick: () => void;
2281
+ }
2282
+ interface MenuProps {
2283
+ title: string | ReactElement;
2284
+ items: MenuItem[];
2285
+ fontWeightTitle?: MenuTriggerProps['fontWeight'];
2286
+ offset?: [number, number];
2287
+ menuColor?: MenuTriggerProps['color'];
2288
+ showChevron?: boolean;
2289
+ icon?: ReactElement;
2290
+ iconSpacing?: MenuTriggerProps['gap'];
2291
+ placement?: Exclude<MenuRootProps['positioning'], undefined>['placement'];
2292
+ }
2293
+ declare const Menu: FC<MenuProps>;
2294
+
2287
2295
  type MissingImageProps = Pick<BoxProps, 'width' | 'height' | 'aspectRatio'>;
2288
2296
  declare const MissingImage: FC<MissingImageProps>;
2289
2297
 
@@ -2292,6 +2300,8 @@ declare const MobileOnlyAccordion: FC<PropsWithChildren<MobileOnlyAccordionProps
2292
2300
 
2293
2301
  type Project = 'listings-web' | 'seller-web';
2294
2302
 
2303
+ type Language = 'de' | 'fr' | 'it' | 'en';
2304
+
2295
2305
  type Environment = 'production' | 'preprod';
2296
2306
 
2297
2307
  interface FooterProps {
@@ -2363,7 +2373,7 @@ type SectionProps = SectionVariantProps & {
2363
2373
  };
2364
2374
  declare const Section: FC<SectionProps>;
2365
2375
 
2366
- declare const selectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"indicator" | "field" | "root", {
2376
+ declare const selectSlotRecipe: _chakra_ui_react.SlotRecipeDefinition<"indicator" | "root" | "field", {
2367
2377
  variant: {
2368
2378
  outline: {
2369
2379
  field: _chakra_ui_react.SystemStyleObject;
@@ -2515,6 +2525,19 @@ type Props = {
2515
2525
  };
2516
2526
  declare const TopVehicleSharedBadge: FC<PropsWithChildren<Props>>;
2517
2527
 
2528
+ type DiscreteSliderMark<T> = {
2529
+ stepValue?: number;
2530
+ label: ReactNode;
2531
+ value: T;
2532
+ };
2533
+ type DiscreteSliderProps<T> = {
2534
+ applyIndentation?: boolean;
2535
+ marks: DiscreteSliderMark<T>[];
2536
+ value: T;
2537
+ onValueChanged: (arg: T) => void;
2538
+ };
2539
+ declare const DiscreteSlider: <T>({ marks, applyIndentation, onValueChanged, value, }: DiscreteSliderProps<T>) => React__default.JSX.Element;
2540
+
2518
2541
  type BaseProps = {
2519
2542
  id: string;
2520
2543
  errorMessage?: string;
@@ -2531,5 +2554,5 @@ declare class Logger {
2531
2554
  }
2532
2555
  declare const logger: Logger;
2533
2556
 
2534
- 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, DocumentCheckIcon, DocumentIcon, DoubleChevronDownIcon, DoubleChevronUpIcon, DoubleLineIcon, DownloadIcon, DragIcon, 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, MessageIcon, MiniVanIcon, MinusIcon, MissingImage, MissingImageIcon, MobileOnlyAccordion, MotoScout24AppLogo, MotoScout24Icon, MotorcycleIcon, NoPhotoIcon, NotAvailableIcon, NotAvailableSquareIcon, OptimizerIcon, OverflowVerticalIcon, PageLayout, Pagination, PartialClockIcon, PenIcon, PickUpIcon, PlusCircleIcon, PlusIcon, PrintIcon, QualitySealIcon, RangeFilterInput, RangeIcon, 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, 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, Text, ThemeProvider, ThreeSixtyIcon, ThumbsDownIcon, ThumbsUpIcon, TiltedRectangleIcon, TimeIcon, TooltipIcon, 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 };
2535
- export type { AccordionProps, ArticleTeaserProps, AvatarProps, BadgeProps, BaseButtonProps, BaseProps, BreadcrumbsPropsExtended, ButtonSharedProps, CenterProps, ChangeCallback, CheckboxGroupProps, CheckboxProps, ChipProps, CountProps, DatePickerProps, DevOverlayProps, DevOverlayVariables, DialogProps, EnergyLabelProps, ErrorPageProps, FlexProps, BaseProps as FormControlSectionProps, GalleryHeaderProps, HeadingProps, HighlightedTextProps, InputProps, LinkProps, MarkedTextProps, MissingImageProps, MobileOnlyAccordionProps, Option, PaginationProps, PickedNumberInputProps, Props$1 as Props, RangeFilterInputField, RatingProps, SectionProps, SelectProps, SimpleHeaderProps, StackProps, SwitchProps, ThemeProviderProps, UnifiedButtonProps, VehicleReferenceProps };
2557
+ 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, DriveSystemIcon, DriveSystemLargeIcon, DriveTypeIcon, EnergyLabel, EquipmentIcon, ErrorIcon, ErrorPage, ExchangeIcon, ExpandIcon, EyeCrossedIcon, EyeIcon, FacebookIcon, FlagIcon, FlameIcon, FlashIcon, Flex, Footer$1 as Footer, FormControlSection, ForwardIcon, FullHeight, 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, NoPhotoIcon, NotAvailableIcon, NotAvailableSquareIcon, OptimizerIcon, OverflowVerticalIcon, PageLayout, Pagination, PartialClockIcon, PenIcon, PickUpIcon, PlusCircleIcon, PlusIcon, PrintIcon, QualitySealIcon, RangeFilterInput, RangeIcon, 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, 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, Text, ThemeProvider, ThreeSixtyIcon, ThumbsDownIcon, ThumbsUpIcon, TiltedRectangleIcon, TimeIcon, TooltipIcon, 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 };
2558
+ export type { AccordionProps, ArticleTeaserProps, AvatarProps, BadgeProps, BaseButtonProps, BaseProps, BreadcrumbsPropsExtended, ButtonSharedProps, CenterProps, ChangeCallback, CheckboxGroupProps, CheckboxProps, ChipProps, CountProps, DatePickerProps, DevOverlayProps, DevOverlayVariables, DialogProps, DiscreteSliderMark, DiscreteSliderProps, EnergyLabelProps, ErrorPageProps, FlexProps, BaseProps as FormControlSectionProps, HeadingProps, HighlightedTextProps, InputProps, LinkProps, MarkedTextProps, MenuProps, MissingImageProps, MobileOnlyAccordionProps, Option, PaginationProps, PickedNumberInputProps, Props$1 as Props, RangeFilterInputField, RatingProps, SectionProps, SelectProps, SimpleHeaderProps, StackProps, SwitchProps, ThemeProviderProps, UnifiedButtonProps, VehicleReferenceProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smg-automotive/components",
3
- "version": "25.10.0-gallery-header-v3-migrate.1",
3
+ "version": "25.10.0-migrate-discrete-slider.1",
4
4
  "description": "SMG Automotive components library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -1,10 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- import { Language } from 'src/types/language';
3
- export interface GalleryHeaderProps {
4
- currentSlide: number;
5
- slidesCount: number;
6
- onClose: () => void;
7
- language: Language;
8
- }
9
- export declare const GalleryHeader: FC<PropsWithChildren<GalleryHeaderProps>>;
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/galleryHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAQ9C,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,CA8CnE,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const galleryHeaderRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"container" | "grid" | "childrenContainer" | "countContainer" | "closeContainer", import("@chakra-ui/react").SlotRecipeVariantRecord<"container" | "grid" | "childrenContainer" | "countContainer" | "closeContainer">>;
2
- //# sourceMappingURL=galleryHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"galleryHeader.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/galleryHeader.ts"],"names":[],"mappings":"AA8CA,eAAO,MAAM,mBAAmB,yQAU9B,CAAC"}
@@ -1,10 +0,0 @@
1
- import { FC, PropsWithChildren } from 'react';
2
- import { Language } from 'src/types/language';
3
- export interface GalleryHeaderProps {
4
- currentSlide: number;
5
- slidesCount: number;
6
- onClose: () => void;
7
- language: Language;
8
- }
9
- export declare const GalleryHeader: FC<PropsWithChildren<GalleryHeaderProps>>;
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/galleryHeader/index.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAE,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAIrD,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAQ9C,MAAM,WAAW,kBAAkB;IACjC,YAA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CAAC,GAAG,EAAA,EAAC,GAAG,EAAE,MAAM,CAAC,IAAI,EAAA;oBACnB,KAAA,CAAA,aAAA,CAAC,UAAU,EAAA,EACT,OAAO,EAAE;AACP,4BAAA,IAAI,EAAE,CAAC;AACP,4BAAA,EAAE,EAAE,CAAC;yBACN,EACD,UAAU,EAAC,QAAQ,EAAA;AAEnB,wBAAA,KAAA,CAAA,aAAA,CAAC,GAAG,EAAA,EAAC,SAAS,EAAC,IAAI,EAAC,GAAG,EAAE,MAAM,CAAC,iBAAiB,EAAA,EAC9C,QAAQ,CACL;AACN,wBAAA,KAAA,CAAA,aAAA,CAAC,GAAG,EAAA,EAAC,GAAG,EAAE,MAAM,CAAC,cAAc,EAAA;AAC7B,4BAAA,KAAA,CAAA,aAAA,CAAC,GAAG,EAAA,IAAA,EACD,CAAC,CAAC,0BAA0B,EAAE;AAC7B,gCAAA,CAAC,EAAE,YAAY;AACf,gCAAA,EAAE,EAAE,WAAW;AAChB,6BAAA,CAAC,CACE,CACF;AACN,wBAAA,KAAA,CAAA,aAAA,CAAC,GAAG,EAAA,EAAC,GAAG,EAAE,MAAM,CAAC,cAAc,EAAA;4BAC7B,KAAA,CAAA,aAAA,CAAC,IAAI,EAAA,EAAA,YAAA,EAAY,eAAe,EAAC,OAAO,EAAE,YAAA,EAAM,OAAA,OAAO,EAAE,CAAA,CAAT,CAAS,EAAA;gCACvD,KAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EAAC,KAAK,EAAC,OAAO,EAAA,CAAG,CACtB,CACH,CACK,CACT,CACF;QA5BI,CA6BX,CACoB,CACH;AAE1B;;;;"}
@@ -1,2 +0,0 @@
1
- export declare const galleryHeaderRecipe: import("@chakra-ui/react").SlotRecipeDefinition<"container" | "grid" | "childrenContainer" | "countContainer" | "closeContainer", import("@chakra-ui/react").SlotRecipeVariantRecord<"container" | "grid" | "childrenContainer" | "countContainer" | "closeContainer">>;
2
- //# sourceMappingURL=galleryHeader.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"galleryHeader.d.ts","sourceRoot":"","sources":["../../../../../src/themes/shared/slotRecipes/galleryHeader.ts"],"names":[],"mappings":"AA8CA,eAAO,MAAM,mBAAmB,yQAU9B,CAAC"}
@@ -1,54 +0,0 @@
1
- import { defineStyle, defineSlotRecipe } from '@chakra-ui/react';
2
-
3
- var baseStyleContainer = defineStyle({
4
- color: 'white',
5
- px: '2xl',
6
- py: 'lg',
7
- position: {
8
- base: 'fixed',
9
- md: 'static',
10
- },
11
- top: '0',
12
- left: '0',
13
- right: '0',
14
- zIndex: 'docked',
15
- });
16
- var baseStyleGrid = defineStyle({
17
- alignItems: 'center',
18
- });
19
- var baseStyleChildrenContainer = defineStyle({
20
- // This will be shown only above md breakpoint
21
- });
22
- var baseStyleCountContainer = defineStyle({
23
- textAlign: {
24
- base: 'left',
25
- md: 'center',
26
- },
27
- });
28
- var baseStyleCloseContainer = defineStyle({
29
- textAlign: 'right',
30
- display: 'flex',
31
- alignItems: 'center',
32
- justifyContent: 'flex-end',
33
- });
34
- var slots = [
35
- 'container',
36
- 'grid',
37
- 'childrenContainer',
38
- 'countContainer',
39
- 'closeContainer',
40
- ];
41
- var galleryHeaderRecipe = defineSlotRecipe({
42
- slots: slots,
43
- className: 'chakra-gallery-header',
44
- base: {
45
- container: baseStyleContainer,
46
- grid: baseStyleGrid,
47
- childrenContainer: baseStyleChildrenContainer,
48
- countContainer: baseStyleCountContainer,
49
- closeContainer: baseStyleCloseContainer,
50
- },
51
- });
52
-
53
- export { galleryHeaderRecipe };
54
- //# sourceMappingURL=galleryHeader.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"galleryHeader.js","sources":["../../../../../../src/themes/shared/slotRecipes/galleryHeader.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA,IAAM,kBAAkB,GAAG,WAAW,CAAC;AACrC,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,EAAE,EAAE,KAAK;AACT,IAAA,EAAE,EAAE,IAAI;AACR,IAA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