@sima-land/moleculas 16.0.0-alpha.49 → 16.0.0-alpha.50

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 (67) hide show
  1. package/dist/common/components/badge/badge.d.ts +1 -1
  2. package/dist/common/components/badge-list/badge-list.d.ts +2 -2
  3. package/dist/common/components/breadcrumbs/breadcrumbs.d.ts +5 -5
  4. package/dist/common/components/hover-slider/hover-slider-nav.d.ts +1 -1
  5. package/dist/common/components/hover-slider/hover-slider.d.ts +2 -2
  6. package/dist/common/components/img-stub/img-stub.d.ts +1 -1
  7. package/dist/common/components/interactive-image/interactive-image.d.ts +1 -1
  8. package/dist/common/components/media-gallery/media-gallery.d.ts +2 -2
  9. package/dist/common/components/media-modal/layout.d.ts +5 -5
  10. package/dist/common/components/media-modal/parts/all-round-view.d.ts +1 -1
  11. package/dist/common/components/media-modal/parts/index.d.ts +3 -3
  12. package/dist/common/components/media-modal/parts/media-area.d.ts +3 -3
  13. package/dist/common/components/media-modal/parts/media-view.d.ts +1 -1
  14. package/dist/common/components/media-modal/parts/product-brief.d.ts +1 -1
  15. package/dist/common/components/media-modal/parts/review.d.ts +1 -1
  16. package/dist/common/components/media-modal/parts/scroll-section.d.ts +1 -1
  17. package/dist/common/components/media-modal/parts/thumbnail.d.ts +1 -1
  18. package/dist/common/components/media-modal/parts/thumbnails.d.ts +1 -1
  19. package/dist/common/components/modifier/modifier.d.ts +2 -2
  20. package/dist/common/components/pagination-controls/pagination-controls.d.ts +4 -4
  21. package/dist/common/components/product-image/product-image.d.ts +1 -1
  22. package/dist/common/components/product-info/parts/adult-confirm-button.d.ts +1 -1
  23. package/dist/common/components/product-info/parts/badges.d.ts +1 -1
  24. package/dist/common/components/product-info/parts/cart-control.d.ts +1 -1
  25. package/dist/common/components/product-info/parts/footer.d.ts +1 -1
  26. package/dist/common/components/product-info/parts/image-button.d.ts +1 -1
  27. package/dist/common/components/product-info/parts/image.d.ts +1 -1
  28. package/dist/common/components/product-info/parts/media.d.ts +1 -1
  29. package/dist/common/components/product-info/parts/prices.d.ts +1 -1
  30. package/dist/common/components/product-info/parts/rating-couter.d.ts +1 -1
  31. package/dist/common/components/product-info/parts/secondary-info.d.ts +1 -1
  32. package/dist/common/components/product-info/parts/title.d.ts +1 -1
  33. package/dist/common/components/product-info/parts/trademark-link.d.ts +1 -1
  34. package/dist/common/components/product-info/parts/wait-list-add-link.d.ts +1 -1
  35. package/dist/common/components/product-info/parts/wait-list-added-link.d.ts +1 -1
  36. package/dist/common/components/product-info/product-info.d.ts +1 -1
  37. package/dist/common/components/rating-counter/rating-counter.d.ts +1 -1
  38. package/dist/common/components/sale-progress-widget/sale-progress-widget.d.ts +1 -1
  39. package/dist/desktop/components/breadcrumbs/breadcrumbs.d.ts +1 -1
  40. package/dist/desktop/components/gallery-modal/components/all-round-view.d.ts +1 -1
  41. package/dist/desktop/components/gallery-modal/components/gallery-modal.d.ts +1 -1
  42. package/dist/desktop/components/gallery-modal/components/image-overlay.d.ts +1 -1
  43. package/dist/desktop/components/gallery-modal/components/review-info.d.ts +1 -1
  44. package/dist/desktop/components/gallery-modal/components/review-info.js +2 -3
  45. package/dist/desktop/components/gallery-modal/components/review-info.js.map +1 -1
  46. package/dist/desktop/components/gallery-modal/components/review-info.module.scss +5 -1
  47. package/dist/desktop/components/gallery-modal/components/thumbnail.d.ts +1 -1
  48. package/dist/desktop/components/person-info/person-info.d.ts +1 -1
  49. package/dist/desktop/components/product-carousel/product-carousel.d.ts +1 -1
  50. package/dist/desktop/components/promotion-card/banner-title.d.ts +2 -2
  51. package/dist/desktop/components/promotion-card/estimate.d.ts +1 -1
  52. package/dist/desktop/components/promotion-card/placeholder.d.ts +1 -1
  53. package/dist/desktop/components/promotion-card/promotion-card.d.ts +2 -2
  54. package/dist/mobile/components/action-circles/action-circles.d.ts +2 -2
  55. package/dist/mobile/components/action-list/action-list.d.ts +2 -2
  56. package/dist/mobile/components/breadcrumbs/breadcrumbs.d.ts +1 -1
  57. package/dist/mobile/components/person-info/person-info.d.ts +2 -2
  58. package/dist/mobile/components/product-row/product-row.d.ts +1 -1
  59. package/dist/mobile/components/product-slider/product-slider.d.ts +1 -1
  60. package/dist/mobile/components/search-bar/search-bar.d.ts +6 -1
  61. package/dist/mobile/components/search-bar/search-bar.js +6 -8
  62. package/dist/mobile/components/search-bar/search-bar.js.map +1 -1
  63. package/dist/mobile/components/select-screen/select-screen.d.ts +2 -2
  64. package/package.json +20 -20
  65. package/dist/desktop/components/gallery-modal/__mocks__/index.d.ts +0 -4
  66. package/dist/desktop/components/gallery-modal/__mocks__/index.js +0 -148
  67. package/dist/desktop/components/gallery-modal/__mocks__/index.js.map +0 -1
@@ -4,4 +4,4 @@ import type { BadgeProps } from './types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function Badge({ rootRef, className, color, coloring, fields, style, shape, withHoverEffect, 'data-testid': testId, children, ...restProps }: BadgeProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function Badge({ rootRef, className, color, coloring, fields, style, shape, withHoverEffect, 'data-testid': testId, children, ...restProps }: BadgeProps): import("react").JSX.Element;
@@ -15,7 +15,7 @@ export interface BadgeListProps {
15
15
  * @return Элемент.
16
16
  */
17
17
  export declare const BadgeList: {
18
- ({ children, className, lineLimit, style }: BadgeListProps): import("react/jsx-runtime").JSX.Element;
18
+ ({ children, className, lineLimit, style }: BadgeListProps): import("react").JSX.Element;
19
19
  Slot: typeof BadgeListSlot;
20
20
  };
21
21
  /**
@@ -25,5 +25,5 @@ export declare const BadgeList: {
25
25
  */
26
26
  declare function BadgeListSlot({ children }: {
27
27
  children?: ReactNode;
28
- }): import("react/jsx-runtime").JSX.Element;
28
+ }): import("react").JSX.Element;
29
29
  export {};
@@ -6,13 +6,13 @@ import { type LinkProps } from '@sima-land/ui-nucleons/link';
6
6
  * @param props Свойства.
7
7
  * @return Элемент.
8
8
  */
9
- export declare function Breadcrumbs({ children, className, 'data-testid': testId, ...restProps }: BreadcrumbProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function Breadcrumbs({ children, className, 'data-testid': testId, ...restProps }: BreadcrumbProps): import("react").JSX.Element;
10
10
  /**
11
11
  * Элемент списка "хлебных крошек".
12
12
  * @param props Свойства.
13
13
  * @return Элемент.
14
14
  */
15
- export declare function BreadcrumbsItem({ active, children, 'data-testid': testId, ...restProps }: BreadcrumbItemProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function BreadcrumbsItem({ active, children, 'data-testid': testId, ...restProps }: BreadcrumbItemProps): import("react").JSX.Element;
16
16
  export declare namespace BreadcrumbsItem {
17
17
  var Body: typeof BreadcrumbsItemBody;
18
18
  var Dropdown: typeof BreadcrumbsItemDropdown;
@@ -25,7 +25,7 @@ export declare namespace BreadcrumbsItem {
25
25
  */
26
26
  export declare function BreadcrumbsItemBody({ children }: {
27
27
  children?: ReactNode;
28
- }): import("react/jsx-runtime").JSX.Element;
28
+ }): import("react").JSX.Element;
29
29
  /**
30
30
  * Содержимое выпадающего списка "хлебной крошки".
31
31
  * @param props Свойства.
@@ -35,7 +35,7 @@ export declare function BreadcrumbsItemDropdown({ loading, children, onOpen, }:
35
35
  children?: ReactNode;
36
36
  loading?: boolean;
37
37
  onOpen?: VoidFunction;
38
- }): import("react/jsx-runtime").JSX.Element;
38
+ }): import("react").JSX.Element;
39
39
  /**
40
40
  * Соседняя "хлебная крошка", выводится в выпадающем списке.
41
41
  * @param props Свойства.
@@ -43,4 +43,4 @@ export declare function BreadcrumbsItemDropdown({ loading, children, onOpen, }:
43
43
  */
44
44
  export declare function BreadcrumbsItemSibling({ children, className, active, 'data-testid': testId, ...restProps }: LinkProps & {
45
45
  active?: boolean;
46
- }): import("react/jsx-runtime").JSX.Element;
46
+ }): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import type { HoverSliderNavProps } from './types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function HoverSliderNav({ current, total, className, ...restProps }: HoverSliderNavProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function HoverSliderNav({ current, total, className, ...restProps }: HoverSliderNavProps): import("react").JSX.Element;
@@ -4,6 +4,6 @@ import { HoverSliderProps, HoverSliderItemProps } from './types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function HoverSlider({ rootRef: rootRefProp, withNav, navProps, children, beforeList, afterList, className, 'data-testid': testId, ...restProps }: HoverSliderProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function HoverSlider({ rootRef: rootRefProp, withNav, navProps, children, beforeList, afterList, className, 'data-testid': testId, ...restProps }: HoverSliderProps): import("react").JSX.Element;
8
8
  /** @inheritdoc */
9
- export declare function HoverSliderItem({ children, className, ...restProps }: HoverSliderItemProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function HoverSliderItem({ children, className, ...restProps }: HoverSliderItemProps): import("react").JSX.Element;
@@ -11,4 +11,4 @@ export interface ImgStubProps extends Omit<HTMLAttributes<HTMLDivElement>, 'styl
11
11
  * @param props Свойства.
12
12
  * @return Элемент.
13
13
  */
14
- export declare function ImgStub({ className, ...rest }: ImgStubProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function ImgStub({ className, ...rest }: ImgStubProps): import("react").JSX.Element;
@@ -6,7 +6,7 @@ export declare const InteractiveImage: import("react").ForwardRefExoticComponent
6
6
  * @param props Свойства.
7
7
  * @return Элемент.
8
8
  */
9
- declare function ImageAnchor({ children, className, ...rest }: AnchorHTMLAttributes<HTMLAnchorElement>): import("react/jsx-runtime").JSX.Element;
9
+ declare function ImageAnchor({ children, className, ...rest }: AnchorHTMLAttributes<HTMLAnchorElement>): import("react").JSX.Element;
10
10
  export declare const Parts: {
11
11
  readonly ImageAnchor: typeof ImageAnchor;
12
12
  readonly Image: import("react").ForwardRefExoticComponent<InteractiveImageImageProps & import("react").RefAttributes<HTMLImageElement>>;
@@ -5,7 +5,7 @@ import { MediaGalleryProps } from './types';
5
5
  * @param props Свойства.
6
6
  * @return Элемент.
7
7
  */
8
- export declare function MediaGallery({ className, style, children, targetIndex, onChangeTargetIndex, }: MediaGalleryProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function MediaGallery({ className, style, children, targetIndex, onChangeTargetIndex, }: MediaGalleryProps): import("react").JSX.Element;
9
9
  /**
10
10
  * Слот слайда галереи.
11
11
  * @param props Свойства.
@@ -13,4 +13,4 @@ export declare function MediaGallery({ className, style, children, targetIndex,
13
13
  */
14
14
  export declare function MediaSlide({ children }: {
15
15
  children?: ReactNode;
16
- }): import("react/jsx-runtime").JSX.Element;
16
+ }): import("react").JSX.Element;
@@ -8,29 +8,29 @@ interface ContainerProps {
8
8
  * @param props Свойства.
9
9
  * @return Элемент.
10
10
  */
11
- export declare function MediaLayout({ children }: ContainerProps): import("react/jsx-runtime").JSX.Element;
11
+ export declare function MediaLayout({ children }: ContainerProps): import("react").JSX.Element;
12
12
  /**
13
13
  * Слот шапки MediaLayout.
14
14
  * @param props Свойства.
15
15
  * @return Элемент.
16
16
  */
17
- export declare function MediaHeader({ children }: ContainerProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function MediaHeader({ children }: ContainerProps): import("react").JSX.Element;
18
18
  /**
19
19
  * Слот основного контента MediaLayout.
20
20
  * @param props Свойства.
21
21
  * @return Элемент.
22
22
  */
23
- export declare function MediaMain({ children }: ContainerProps): import("react/jsx-runtime").JSX.Element;
23
+ export declare function MediaMain({ children }: ContainerProps): import("react").JSX.Element;
24
24
  /**
25
25
  * Слот дополнительного контента MediaLayout.
26
26
  * @param props Свойства.
27
27
  * @return Элемент.
28
28
  */
29
- export declare function MediaAside({ children }: ContainerProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare function MediaAside({ children }: ContainerProps): import("react").JSX.Element;
30
30
  /**
31
31
  * Слот футера MediaLayout.
32
32
  * @param props Свойства.
33
33
  * @return Элемент.
34
34
  */
35
- export declare function MediaFooter({ children }: ContainerProps): import("react/jsx-runtime").JSX.Element;
35
+ export declare function MediaFooter({ children }: ContainerProps): import("react").JSX.Element;
36
36
  export {};
@@ -4,4 +4,4 @@ import { AllRoundViewProps } from '../../../../desktop/components/gallery-modal/
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function AllRoundView(props: AllRoundViewProps): import("react/jsx-runtime").JSX.Element | null;
7
+ export declare function AllRoundView(props: AllRoundViewProps): import("react").JSX.Element | null;
@@ -12,7 +12,7 @@ export declare const Preset: {
12
12
  */
13
13
  export declare function HeaderLayout({ children }: {
14
14
  children?: ReactNode;
15
- }): import("react/jsx-runtime").JSX.Element;
15
+ }): import("react").JSX.Element;
16
16
  export declare namespace HeaderLayout {
17
17
  var Tabs: typeof HeaderLayoutTabs;
18
18
  var Button: typeof HeaderLayoutButton;
@@ -24,7 +24,7 @@ export declare namespace HeaderLayout {
24
24
  */
25
25
  declare function HeaderLayoutTabs({ children }: {
26
26
  children?: ReactNode;
27
- }): import("react/jsx-runtime").JSX.Element;
27
+ }): import("react").JSX.Element;
28
28
  /**
29
29
  * Слот кнопки для layout'а шапки модального окна медиа.
30
30
  * @param props Свойства.
@@ -32,5 +32,5 @@ declare function HeaderLayoutTabs({ children }: {
32
32
  */
33
33
  declare function HeaderLayoutButton({ children }: {
34
34
  children?: ReactNode;
35
- }): import("react/jsx-runtime").JSX.Element;
35
+ }): import("react").JSX.Element;
36
36
  export {};
@@ -6,7 +6,7 @@ import { ReactNode } from 'react';
6
6
  */
7
7
  export declare function MediaArea({ children }: {
8
8
  children?: ReactNode;
9
- }): import("react/jsx-runtime").JSX.Element;
9
+ }): import("react").JSX.Element;
10
10
  /**
11
11
  * Центральная часть зоны для медиа.
12
12
  * @param props Свойства.
@@ -14,7 +14,7 @@ export declare function MediaArea({ children }: {
14
14
  */
15
15
  export declare function MediaAreaMain({ children }: {
16
16
  children?: ReactNode;
17
- }): import("react/jsx-runtime").JSX.Element;
17
+ }): import("react").JSX.Element;
18
18
  /**
19
19
  * Боковая часть зоны для медиа.
20
20
  * @param props Свойства.
@@ -22,4 +22,4 @@ export declare function MediaAreaMain({ children }: {
22
22
  */
23
23
  export declare function MediaAreaAside({ children }: {
24
24
  children?: ReactNode;
25
- }): import("react/jsx-runtime").JSX.Element;
25
+ }): import("react").JSX.Element;
@@ -17,4 +17,4 @@ export interface MediaViewProps {
17
17
  * @param props Свойства.
18
18
  * @return Элемент.
19
19
  */
20
- export declare function MediaView({ media, loading, videoProps, style, className, rootRef, }: MediaViewProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function MediaView({ media, loading, videoProps, style, className, rootRef, }: MediaViewProps): import("react").JSX.Element;
@@ -17,4 +17,4 @@ export interface ProductBriefProps extends HTMLAttributes<HTMLDivElement> {
17
17
  * @param props Свойства.
18
18
  * @return Элемент.
19
19
  */
20
- export declare function ProductBrief({ size: sizeProp, imageSrc, imageProps, title, price, priceReplacer, currency, footer, className, href, onLinkClick, loading, ...restProps }: ProductBriefProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function ProductBrief({ size: sizeProp, imageSrc, imageProps, title, price, priceReplacer, currency, footer, className, href, onLinkClick, loading, ...restProps }: ProductBriefProps): import("react").JSX.Element;
@@ -12,4 +12,4 @@ export interface ReviewProps {
12
12
  * @param props Свойства.
13
13
  * @return Элемент.
14
14
  */
15
- export declare function Review({ rating, ratingPlaceholder, author, children, loading, button, }: ReviewProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function Review({ rating, ratingPlaceholder, author, children, loading, button, }: ReviewProps): import("react").JSX.Element;
@@ -8,4 +8,4 @@ export declare function ScrollSection({ children, scrollRef, contentRef, }: {
8
8
  children?: ReactNode;
9
9
  scrollRef?: Ref<HTMLDivElement>;
10
10
  contentRef?: Ref<HTMLDivElement>;
11
- }): import("react/jsx-runtime").JSX.Element;
11
+ }): import("react").JSX.Element;
@@ -19,4 +19,4 @@ export declare const ThumbnailContext: import("react").Context<Pick<ThumbnailPro
19
19
  * @param props Свойства.
20
20
  * @return Элемент.
21
21
  */
22
- export declare function Thumbnail({ size: sizeFromProps, type, src, alt, checked, onClick, className, loading, title, price, currency, }: ThumbnailProps): import("react/jsx-runtime").JSX.Element;
22
+ export declare function Thumbnail({ size: sizeFromProps, type, src, alt, checked, onClick, className, loading, title, price, currency, }: ThumbnailProps): import("react").JSX.Element;
@@ -10,4 +10,4 @@ export interface ThumbnailsProps {
10
10
  * @param props Свойства.
11
11
  * @return Элемент.
12
12
  */
13
- export declare function Thumbnails({ children, targetIndex, ...rest }: ThumbnailsProps): import("react/jsx-runtime").JSX.Element | null;
13
+ export declare function Thumbnails({ children, targetIndex, ...rest }: ThumbnailsProps): import("react").JSX.Element | null;
@@ -4,10 +4,10 @@ import { ModifierProps, MoreButtonProps } from './types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function Modifier({ size, active, crossedOut, disabled, nonExistent, content, count, className, markdown, 'data-testid': testId, ...props }: ModifierProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function Modifier({ size, active, crossedOut, disabled, nonExistent, content, count, className, markdown, 'data-testid': testId, ...props }: ModifierProps): import("react").JSX.Element;
8
8
  /**
9
9
  * Кнопка "+N" для показа полного списка модификаторов.
10
10
  * @param props Свойства.
11
11
  * @return Элемент.
12
12
  */
13
- export declare function MoreButton({ count, className, 'data-testid': testId, ...rest }: MoreButtonProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function MoreButton({ count, className, 'data-testid': testId, ...rest }: MoreButtonProps): import("react").JSX.Element;
@@ -5,7 +5,7 @@ import { InputProps } from '@sima-land/ui-nucleons/input';
5
5
  * @param props Свойства.
6
6
  * @return Элемент.
7
7
  */
8
- export declare function PaginationControls({ current: currentProp, total: totalProp, onPageChange, flow, Buttons, Form, withForm: withFormProp, className, ...restProps }: PaginationControlsProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function PaginationControls({ current: currentProp, total: totalProp, onPageChange, flow, Buttons, Form, withForm: withFormProp, className, ...restProps }: PaginationControlsProps): import("react").JSX.Element;
9
9
  /**
10
10
  * Кнопки страниц.
11
11
  * @param props Свойства.
@@ -15,16 +15,16 @@ export declare function PageButtons({ total, current, onPageChange, }: {
15
15
  total: number;
16
16
  current: number;
17
17
  onPageChange: (page: number) => void;
18
- }): import("react/jsx-runtime").JSX.Element;
18
+ }): import("react").JSX.Element;
19
19
  /**
20
20
  * Форма выбора страницы.
21
21
  * @param props Свойства.
22
22
  * @return Элемент.
23
23
  */
24
- export declare function PageForm({ total, onPageChange }: any): import("react/jsx-runtime").JSX.Element;
24
+ export declare function PageForm({ total, onPageChange }: any): import("react").JSX.Element;
25
25
  /**
26
26
  * Поле ввода номера страницы. Только стилизует Input.
27
27
  * @param props Свойства.
28
28
  * @return Элемент.
29
29
  */
30
- export declare function PageFormInput({ className, ...restProps }: InputProps): import("react/jsx-runtime").JSX.Element;
30
+ export declare function PageFormInput({ className, ...restProps }: InputProps): import("react").JSX.Element;
@@ -7,4 +7,4 @@ import { type ProductImageProps } from './types';
7
7
  * @param props Свойства.
8
8
  * @return Элемент.
9
9
  */
10
- export declare function ProductImage({ src, alt, style, className, rootRef, imageRef, imageProps, adult: adultFromProps, adultContent, stubContent, 'data-testid': testId, ...restProps }: ProductImageProps): import("react/jsx-runtime").JSX.Element;
10
+ export declare function ProductImage({ src, alt, style, className, rootRef, imageRef, imageProps, adult: adultFromProps, adultContent, stubContent, 'data-testid': testId, ...restProps }: ProductImageProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { type LinkProps } from '@sima-land/ui-nucleons/link';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function AdultConfirmButton({ children, pseudo, color, className, 'data-testid': testId, ...restProps }: LinkProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function AdultConfirmButton({ children, pseudo, color, className, 'data-testid': testId, ...restProps }: LinkProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { type BadgeListProps } from '../../badge-list';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function ProductInfoBadges({ children, className, ...restProps }: BadgeListProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ProductInfoBadges({ children, className, ...restProps }: BadgeListProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { ProductInfoCartControlProps } from '../types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function ProductInfoCartControl({ children, stepText, markupText, loading, }: ProductInfoCartControlProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ProductInfoCartControl({ children, stepText, markupText, loading, }: ProductInfoCartControlProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import type { ProductInfoFooterProps } from '../types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function ProductInfoFooter({ children, className, ...restProps }: ProductInfoFooterProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ProductInfoFooter({ children, className, ...restProps }: ProductInfoFooterProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { type ImageButtonProps } from '../types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function ImageButton({ icon, hint, hintDirection, position, 'data-testid': testId, className, ...restProps }: ImageButtonProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ImageButton({ icon, hint, hintDirection, position, 'data-testid': testId, className, ...restProps }: ImageButtonProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { ProductInfoImageProps } from '../types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function ProductInfoImage({ images, href, children, anchorProps, sliderProps, anchorRef, ...restProps }: ProductInfoImageProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ProductInfoImage({ images, href, children, anchorProps, sliderProps, anchorRef, ...restProps }: ProductInfoImageProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { ProductInfoMediaProps } from '../types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function ProductInfoMedia({ aspectRatio, children, className, ...restProps }: ProductInfoMediaProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ProductInfoMedia({ aspectRatio, children, className, ...restProps }: ProductInfoMediaProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { ProductInfoPricesProps } from '../types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function ProductInfoPrices({ price, oldPrice, currencyGrapheme, unavailableReason, }: ProductInfoPricesProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ProductInfoPrices({ price, oldPrice, currencyGrapheme, unavailableReason, }: ProductInfoPricesProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { type RatingCounterProps } from '../../rating-counter';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function ProductInfoRatingCounter({ size, hoverDisabled, className, ...restProps }: RatingCounterProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ProductInfoRatingCounter({ size, hoverDisabled, className, ...restProps }: RatingCounterProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { type HTMLAttributes } from 'react';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function ProductInfoSecondaryInfo({ children, className, ...restProps }: HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ProductInfoSecondaryInfo({ children, className, ...restProps }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { type ProductInfoTitleProps } from '../types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function ProductInfoTitle({ children, href, className, color, adultPlaceholder, 'data-testid': testId, ...restProps }: ProductInfoTitleProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ProductInfoTitle({ children, href, className, color, adultPlaceholder, 'data-testid': testId, ...restProps }: ProductInfoTitleProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { type LinkProps } from '@sima-land/ui-nucleons/link';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function ProductInfoTrademarkLink({ href, color, children, className, 'data-testid': testId, ...restProps }: LinkProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ProductInfoTrademarkLink({ href, color, children, className, 'data-testid': testId, ...restProps }: LinkProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import { type LinkProps } from '@sima-land/ui-nucleons/link';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function WaitListAddLink({ color, children, pseudo, className, 'data-testid': testId, ...restProps }: LinkProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function WaitListAddLink({ color, children, pseudo, className, 'data-testid': testId, ...restProps }: LinkProps): import("react").JSX.Element;
@@ -4,4 +4,4 @@ import type { ProductInfoWaitListAddedLinkProps } from '../types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function WaitListAddedLink({ contentBefore, children, color, className, rootRef, rootProps, 'data-testid': testId, ...restProps }: ProductInfoWaitListAddedLinkProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function WaitListAddedLink({ contentBefore, children, color, className, rootRef, rootProps, 'data-testid': testId, ...restProps }: ProductInfoWaitListAddedLinkProps): import("react").JSX.Element;
@@ -10,4 +10,4 @@ export declare const UNAVAILABLE_REASON: {
10
10
  * @param props Свойства.
11
11
  * @return Элемент.
12
12
  */
13
- export declare function ProductInfo({ strict, restriction, children }: ProductInfoProps): import("react/jsx-runtime").JSX.Element;
13
+ export declare function ProductInfo({ strict, restriction, children }: ProductInfoProps): import("react").JSX.Element;
@@ -31,5 +31,5 @@ export type RatingCounterProps = CustomProps & Omit<HTMLAttributes<HTMLDivElemen
31
31
  * @param props Свойства.
32
32
  * @return Элемент.
33
33
  */
34
- export declare function RatingCounter({ size, value, reviewCount, className, hoverDisabled, 'data-testid': testId, ...restProps }: RatingCounterProps): import("react/jsx-runtime").JSX.Element;
34
+ export declare function RatingCounter({ size, value, reviewCount, className, hoverDisabled, 'data-testid': testId, ...restProps }: RatingCounterProps): import("react").JSX.Element;
35
35
  export {};
@@ -8,4 +8,4 @@ import type { SaleProgressWidgetProps } from './types';
8
8
  * @param props.onInfoClick Обработчик клика по виджету.
9
9
  * @return JSX элемент виджета.
10
10
  */
11
- export declare const SaleProgressWidget: ({ currentDiscountText, discountConditionText, onInfoClick, }: SaleProgressWidgetProps) => import("react/jsx-runtime").JSX.Element;
11
+ export declare const SaleProgressWidget: ({ currentDiscountText, discountConditionText, onInfoClick, }: SaleProgressWidgetProps) => import("react").JSX.Element;
@@ -28,4 +28,4 @@ export interface BreadcrumbsProps {
28
28
  * @return Элемент.
29
29
  * @deprecated
30
30
  */
31
- export declare const Breadcrumbs: ({ items, onSiblingsPopupOpen, isSiblingActive, "data-testid": testId, }: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
31
+ export declare const Breadcrumbs: ({ items, onSiblingsPopupOpen, isSiblingActive, "data-testid": testId, }: BreadcrumbsProps) => import("react").JSX.Element;
@@ -10,4 +10,4 @@ export type ViewState = 'default' | 'autoplay' | 'turn-right' | 'turn-left';
10
10
  * @param props Свойства.
11
11
  * @return Элемент.
12
12
  */
13
- export declare const AllRoundView: ({ photos, controls, state: stateProp, onStateChange, }: AllRoundViewProps) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const AllRoundView: ({ photos, controls, state: stateProp, onStateChange, }: AllRoundViewProps) => import("react").JSX.Element;
@@ -24,4 +24,4 @@ export interface GalleryModalProps {
24
24
  * @param props Свойства.
25
25
  * @return Элемент.
26
26
  */
27
- export declare const GalleryModal: ({ media, defaultMediaIndex, review, withScrollDisable, onClose, onGoToReview, onMediaChange, onVideoEvent, }: GalleryModalProps) => import("react/jsx-runtime").JSX.Element;
27
+ export declare const GalleryModal: ({ media, defaultMediaIndex, review, withScrollDisable, onClose, onGoToReview, onMediaChange, onVideoEvent, }: GalleryModalProps) => import("react").JSX.Element;
@@ -5,4 +5,4 @@ export type ImageOverlayProps = HTMLAttributes<HTMLDivElement>;
5
5
  * @param props Свойства.
6
6
  * @return Элемент.
7
7
  */
8
- export declare const ImageOverlay: ({ className, children, ...restProps }: ImageOverlayProps) => import("react/jsx-runtime").JSX.Element;
8
+ export declare const ImageOverlay: ({ className, children, ...restProps }: ImageOverlayProps) => import("react").JSX.Element;
@@ -13,4 +13,4 @@ export interface ReviewInfoProps {
13
13
  * @param props Свойства.
14
14
  * @return Элемент.
15
15
  */
16
- export declare const ReviewInfo: ({ rating, author, onGoToReview, content, className, notAffectRating, loading, }: ReviewInfoProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const ReviewInfo: ({ rating, author, onGoToReview, content, className, notAffectRating, loading, }: ReviewInfoProps) => import("react").JSX.Element;
@@ -11,7 +11,6 @@ const rating_1 = require("@sima-land/ui-nucleons/rating");
11
11
  const bind_1 = __importDefault(require("classnames/bind"));
12
12
  const review_info_module_scss_1 = __importDefault(require("./review-info.module.scss"));
13
13
  const helpers_1 = require("@sima-land/ui-nucleons/helpers");
14
- const styling_1 = require("@sima-land/ui-nucleons/styling");
15
14
  const custom_scrollbar_1 = require("@sima-land/ui-nucleons/_internal/custom-scrollbar");
16
15
  const cx = bind_1.default.bind(review_info_module_scss_1.default);
17
16
  /**
@@ -36,11 +35,11 @@ const ReviewInfo = ({ rating, author, onGoToReview, content, className, notAffec
36
35
  (0, react_1.useEffect)(checkClamp, [content, opened]);
37
36
  // @todo что делать если при изменении размеров изменилось состояние обрезания?
38
37
  (0, react_1.useEffect)(() => (0, helpers_1.on)(window, 'resize', checkClamp), [content, checkClamp]);
39
- return ((0, jsx_runtime_1.jsxs)("div", { className: cx('root', className, opened && styling_1.BoxShadow.z2straight), children: [loading && ((0, jsx_runtime_1.jsx)(Layout, { children: (0, jsx_runtime_1.jsx)(LoadingView, {}) })), !loading && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(Layout, { className: cx('header'), children: [(0, jsx_runtime_1.jsx)("div", { className: cx('rating'), children: notAffectRating ? 'Не влияет на рейтинг' : (0, jsx_runtime_1.jsx)(rating_1.Rating, { value: rating }) }), (0, jsx_runtime_1.jsx)("div", { className: cx('author'), children: author }), onGoToReview && ((0, jsx_runtime_1.jsx)(link_1.Link, { className: cx('link'), pseudo: true, onClick: onGoToReview, "data-testid": 'gallery-modal:go-to-review-link', children: "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u0442\u0437\u044B\u0432\u0443" }))] }), content && !opened && ((0, jsx_runtime_1.jsx)(Layout, { children: (0, jsx_runtime_1.jsx)("div", { ref: contentRef, className: cx('content'), "data-testid": 'review-info:collapsed-content', children: content }) })), content && opened && ((0, jsx_runtime_1.jsx)(custom_scrollbar_1.CustomScrollbar, { className: cx('content', 'opened'), children: (0, jsx_runtime_1.jsxs)(Layout, { children: [(0, jsx_runtime_1.jsx)("div", { "data-testid": 'review-info:expanded-content', children: content }), (0, jsx_runtime_1.jsx)(link_1.Link, { pseudo: true, onClick: () => setOpened(false), "data-testid": 'review-info:collapse', children: "\u0421\u043A\u0440\u044B\u0442\u044C \u043E\u0442\u0437\u044B\u0432" })] }) })), content && !opened && clamped && ((0, jsx_runtime_1.jsx)(Layout, { children: (0, jsx_runtime_1.jsx)(link_1.Link, { pseudo: true, onClick: () => setOpened(true), "data-testid": 'review-info:expand', children: "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E" }) }))] }))] }));
38
+ return ((0, jsx_runtime_1.jsxs)("div", { className: cx('root', className, opened && 'opened'), children: [loading && ((0, jsx_runtime_1.jsx)(Layout, { children: (0, jsx_runtime_1.jsx)(LoadingView, {}) })), !loading && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(Layout, { className: cx('header'), children: [(0, jsx_runtime_1.jsx)("div", { className: cx('rating'), children: notAffectRating ? 'Не влияет на рейтинг' : (0, jsx_runtime_1.jsx)(rating_1.Rating, { value: rating }) }), (0, jsx_runtime_1.jsx)("div", { className: cx('author'), children: author }), onGoToReview && ((0, jsx_runtime_1.jsx)(link_1.Link, { className: cx('link'), pseudo: true, onClick: onGoToReview, "data-testid": 'gallery-modal:go-to-review-link', children: "\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043A \u043E\u0442\u0437\u044B\u0432\u0443" }))] }), content && !opened && ((0, jsx_runtime_1.jsx)(Layout, { children: (0, jsx_runtime_1.jsx)("div", { ref: contentRef, className: cx('content'), "data-testid": 'review-info:collapsed-content', children: content }) })), content && opened && ((0, jsx_runtime_1.jsx)(custom_scrollbar_1.CustomScrollbar, { className: cx('content', 'opened'), children: (0, jsx_runtime_1.jsxs)(Layout, { children: [(0, jsx_runtime_1.jsx)("div", { "data-testid": 'review-info:expanded-content', children: content }), (0, jsx_runtime_1.jsx)(link_1.Link, { pseudo: true, onClick: () => setOpened(false), "data-testid": 'review-info:collapse', children: "\u0421\u043A\u0440\u044B\u0442\u044C \u043E\u0442\u0437\u044B\u0432" })] }) })), content && !opened && clamped && ((0, jsx_runtime_1.jsx)(Layout, { children: (0, jsx_runtime_1.jsx)(link_1.Link, { pseudo: true, onClick: () => setOpened(true), "data-testid": 'review-info:expand', children: "\u041F\u043E\u043A\u0430\u0437\u0430\u0442\u044C \u043F\u043E\u043B\u043D\u043E\u0441\u0442\u044C\u044E" }) }))] }))] }));
40
39
  };
41
40
  exports.ReviewInfo = ReviewInfo;
42
41
  /**
43
- * Оступы для блоков отзыва.
42
+ * Отступы для блоков отзыва.
44
43
  * @param props Свойства.
45
44
  * @return Элемент.
46
45
  */
@@ -1 +1 @@
1
- {"version":3,"file":"review-info.js","sourceRoot":"","sources":["../../../../../src/desktop/components/gallery-modal/components/review-info.tsx"],"names":[],"mappings":";;;;;;;AAAA,iCAA4E;AAC5E,sDAAmD;AACnD,0DAAuD;AACvD,2DAAyC;AACzC,wFAA+C;AAC/C,4DAAoD;AACpD,4DA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,IACA,CACJ,IACG,CACP,CAAC;AACJ,CAAC,CAAC;AA/FW,QAAA,UAAU,cA+FrB;AAEF;;;;GAIG;AACH,SAAS,MAAM,CAAC,EAAE,SAAS,EAAE,QAAQ,EAA+C;IAClF,OAAO,gCAAK,SAAS,EAAE,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC,YAAG,QAAQ,GAAO,CAAC;AACnE,CAAC;AAED;;;GAGG;AACH,SAAS,WAAW;IAClB,OAAO,CACL,iCAAK,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,aAC3B,iCAAK,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,aACxB,gCAAK,SAAS,EAAE,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAQ,EAC1C,uBAAC,WAAI,IAAC,MAAM,QAAC,QAAQ,QAAC,SAAS,EAAE,EAAE,CAAC,QAAQ,CAAC,uGAEtC,IACH,EACN,gCAAK,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,GAAQ,EAClC,gCAAK,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,GAAQ,IAC9B,CACP,CAAC;AACJ,CAAC"}
1
+ {"version":3,"file":"review-info.js","sourceRoot":"","sources":["../../../../../src/desktop/components/gallery-modal/components/review-info.tsx"],"names":[],"mappings":";;;;;;;AAAA,iCAA4E;AAC5E,sDAAmD;AACnD,0DAAuD;AACvD,2DAAyC;AACzC,wFAA+C;AAC/C,4DAAoD;AACpD,wFAAoF;AAYpF,MAAM,EAAE,GAAG,cAAU,CAAC,IAAI,CAAC,iCAAM,CAAC,CAAC;AAEnC;;;;GAIG;AACI,MAAM,UAAU,GAAG,CAAC,EACzB,MAAM,EACN,MAAM,EACN,YAAY,EACZ,OAAO,EACP,SAAS,EACT,eAAe,EACf,OAAO,GACS,EAAE,EAAE;IACpB,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAC;IAC9C,MAAM,CAAC,MAAM,EAA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AS,EAAE,EAAE,CAAC,MAAM,CAAC,aACxB,gCAAK,SAAS,EAAE,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,GAAQ,EAC1C,uBAAC,WAAI,IAAC,MAAM,QAAC,QAAQ,QAAC,SAAS,EAAE,EAAE,CAAC,QAAQ,CAAC,uGAEtC,IACH,EACN,gCAAK,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,GAAQ,EAClC,gCAAK,SAAS,EAAE,EAAE,CAAC,MAAM,CAAC,GAAQ,IAC9B,CACP,CAAC;AACJ,CAAC"}
@@ -1,4 +1,5 @@
1
1
  @use 'pkg:@sima-land/ui-nucleons/colors.scss';
2
+ @use 'pkg:@sima-land/ui-nucleons/shadows.scss';
2
3
 
3
4
  .root {
4
5
  min-height: 140px;
@@ -6,7 +7,10 @@
6
7
  font-size: 14px;
7
8
  line-height: 20px;
8
9
  padding-bottom: 24px;
9
- background: #fff;
10
+ background: colors.$basic-white;
11
+ &.opened {
12
+ @include shadows.box-shadow('z2-straight');
13
+ }
10
14
  }
11
15
 
12
16
  .layout {
@@ -13,4 +13,4 @@ export interface ThumbnailProps {
13
13
  * @param props Свойства.
14
14
  * @return Элемент.
15
15
  */
16
- export declare const Thumbnail: ({ type, src, alt, checked, onClick, className }: ThumbnailProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const Thumbnail: ({ type, src, alt, checked, onClick, className }: ThumbnailProps) => import("react").JSX.Element;
@@ -38,5 +38,5 @@ export interface PersonModalProps extends PersonInfoProps {
38
38
  * @param props Свойства.
39
39
  * @return Элемент.
40
40
  */
41
- export declare function PersonInfo({ personId, name, appointment, photoUrl, email, skype, social, phoneHref, phoneText, secondPhoneHref, secondPhoneText, arbitraryLinkProps, }: PersonInfoProps): import("react/jsx-runtime").JSX.Element;
41
+ export declare function PersonInfo({ personId, name, appointment, photoUrl, email, skype, social, phoneHref, phoneText, secondPhoneHref, secondPhoneText, arbitraryLinkProps, }: PersonInfoProps): import("react").JSX.Element;
42
42
  export {};
@@ -4,4 +4,4 @@ import { ProductCarouselProps } from './types';
4
4
  * @param props Свойства.
5
5
  * @return Элемент.
6
6
  */
7
- export declare function ProductCarousel({ infinite, className, itemSize, itemProps, onInViewport, onNeedRequest, children, controlProps, itemImageRatio, needRequestOptions, }: ProductCarouselProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function ProductCarousel({ infinite, className, itemSize, itemProps, onInViewport, onNeedRequest, children, controlProps, itemImageRatio, needRequestOptions, }: ProductCarouselProps): import("react").JSX.Element;
@@ -9,7 +9,7 @@ export interface BannerTitleProps {
9
9
  * @param props Свойства.
10
10
  * @return Элемент.
11
11
  */
12
- export declare const BannerTitle: ({ promotionType, volumeDiscount, dueDate }: BannerTitleProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const BannerTitle: ({ promotionType, volumeDiscount, dueDate }: BannerTitleProps) => import("react").JSX.Element;
13
13
  /**
14
14
  * Таймер.
15
15
  * @param props Свойства.
@@ -17,4 +17,4 @@ export declare const BannerTitle: ({ promotionType, volumeDiscount, dueDate }: B
17
17
  */
18
18
  export declare const CustomTimer: ({ dueDate }: {
19
19
  dueDate: Date;
20
- }) => import("react/jsx-runtime").JSX.Element;
20
+ }) => import("react").JSX.Element;
@@ -6,4 +6,4 @@ export interface EstimateProps {
6
6
  * @param props Свойства.
7
7
  * @return Элемент.
8
8
  */
9
- export declare const Estimate: ({ dueDate }: EstimateProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const Estimate: ({ dueDate }: EstimateProps) => import("react").JSX.Element;
@@ -6,4 +6,4 @@ export interface PromotionCardPlaceholderProps extends HTMLAttributes<HTMLDivEle
6
6
  * @param props Свойства div.
7
7
  * @return Элемент.
8
8
  */
9
- export declare const PromotionCardPlaceholder: (props: PromotionCardPlaceholderProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const PromotionCardPlaceholder: (props: PromotionCardPlaceholderProps) => import("react").JSX.Element;
@@ -25,7 +25,7 @@ export interface PromotionCardProps extends HTMLAttributes<HTMLDivElement> {
25
25
  * @return Элемент.
26
26
  */
27
27
  export declare const PromotionCard: {
28
- ({ type, href, imageSrc, title, subtitle, dueDate, volumeDiscount, name, className, "data-testid": testId, ...restProps }: PromotionCardProps): import("react/jsx-runtime").JSX.Element;
28
+ ({ type, href, imageSrc, title, subtitle, dueDate, volumeDiscount, name, className, "data-testid": testId, ...restProps }: PromotionCardProps): import("react").JSX.Element;
29
29
  /** @deprecated Лучше использовать прямой импорт PromotionCardPlaceholder. */
30
- Placeholder: (props: import("./placeholder").PromotionCardPlaceholderProps) => import("react/jsx-runtime").JSX.Element;
30
+ Placeholder: (props: import("./placeholder").PromotionCardPlaceholderProps) => import("react").JSX.Element;
31
31
  };
@@ -16,7 +16,7 @@ export interface ActionCircleItemProps extends Pick<LinkProps, 'href' | 'pseudo'
16
16
  * @param props Свойства.
17
17
  * @return Элемент.
18
18
  */
19
- export declare function ActionCircles({ children }: ActionCirclesProps): import("react/jsx-runtime").JSX.Element;
19
+ export declare function ActionCircles({ children }: ActionCirclesProps): import("react").JSX.Element;
20
20
  export declare namespace ActionCircles {
21
- var Item: ({ icon, title, href, onClick, }: ActionCircleItemProps) => import("react/jsx-runtime").JSX.Element;
21
+ var Item: ({ icon, title, href, onClick, }: ActionCircleItemProps) => import("react").JSX.Element;
22
22
  }
@@ -17,7 +17,7 @@ export interface ActionsListItemProps {
17
17
  * @param props Свойства.
18
18
  * @return Элемент.
19
19
  */
20
- export declare function ActionList({ children }: ActionsListProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function ActionList({ children }: ActionsListProps): import("react").JSX.Element;
21
21
  export declare namespace ActionList {
22
22
  var Item: typeof ActionListItem;
23
23
  }
@@ -26,4 +26,4 @@ export declare namespace ActionList {
26
26
  * @param props Свойства.
27
27
  * @return Элемент.
28
28
  */
29
- export declare function ActionListItem({ children, as, href, onClick, color, }: ActionsListItemProps): import("react/jsx-runtime").JSX.Element;
29
+ export declare function ActionListItem({ children, as, href, onClick, color, }: ActionsListItemProps): import("react").JSX.Element;
@@ -9,4 +9,4 @@ export interface BreadcrumbsProps {
9
9
  * @param props Свойства.
10
10
  * @return Элемент.
11
11
  */
12
- export declare const Breadcrumbs: ({ items }: BreadcrumbsProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const Breadcrumbs: ({ items }: BreadcrumbsProps) => import("react").JSX.Element;
@@ -28,7 +28,7 @@ export interface PersonInfoProps {
28
28
  * @param props Свойства.
29
29
  * @return Элемент.
30
30
  */
31
- export declare function PersonInfo({ personId, name, appointment, photoUrl, email, skype, phoneHref, phoneText, secondPhoneHref, secondPhoneText, arbitraryLinkProps, }: PersonInfoProps): import("react/jsx-runtime").JSX.Element;
31
+ export declare function PersonInfo({ personId, name, appointment, photoUrl, email, skype, phoneHref, phoneText, secondPhoneHref, secondPhoneText, arbitraryLinkProps, }: PersonInfoProps): import("react").JSX.Element;
32
32
  /**
33
33
  * Компонент блока-ссылки для связи.
34
34
  * @param props Свойства.
@@ -43,4 +43,4 @@ export declare function CommunicateLink({ href, primaryText, secondaryText, icon
43
43
  primaryText?: string;
44
44
  secondaryText?: string;
45
45
  icon?: ReactNode;
46
- }): import("react/jsx-runtime").JSX.Element;
46
+ }): import("react").JSX.Element;
@@ -37,4 +37,4 @@ export interface ProductRowProps {
37
37
  * @param props Свойства.
38
38
  * @return Элемент.
39
39
  */
40
- export declare function ProductRow({ itemUrl, imageUrl, name, sid, isWished, count, unit, initialCount, movedOrderId, notInStock, currencyGrapheme, commonPrice, itemPrice, onWishButtonClick, onActionsClick, isFetchingWishItems, }: ProductRowProps): import("react/jsx-runtime").JSX.Element;
40
+ export declare function ProductRow({ itemUrl, imageUrl, name, sid, isWished, count, unit, initialCount, movedOrderId, notInStock, currencyGrapheme, commonPrice, itemPrice, onWishButtonClick, onActionsClick, isFetchingWishItems, }: ProductRowProps): import("react").JSX.Element;
@@ -19,4 +19,4 @@ export interface ProductSliderProps {
19
19
  * @param props Свойства.
20
20
  * @return Элемент.
21
21
  */
22
- export declare const ProductSlider: ({ children, onInViewport, onNeedRequest, itemProps, }: ProductSliderProps) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const ProductSlider: ({ children, onInViewport, onNeedRequest, itemProps, }: ProductSliderProps) => import("react").JSX.Element;
@@ -2,9 +2,13 @@ import { ElementType, MouseEventHandler, ChangeEventHandler, MutableRefObject }
2
2
  import { Token } from '@sima-land/ui-nucleons/colors';
3
3
  export declare const cx: (...args: import("classnames").ArgumentArray) => string;
4
4
  export interface ButtonProps {
5
+ /** Текст кнопки. */
5
6
  text: string;
7
+ /** Обработчик клика. */
6
8
  onClick: MouseEventHandler;
9
+ /** Иконка. */
7
10
  icon?: ElementType;
11
+ /** Цвет иконки. */
8
12
  iconColor?: Token;
9
13
  }
10
14
  export interface SearchBarProps {
@@ -36,4 +40,5 @@ export interface SearchBarProps {
36
40
  * @param props Свойства.
37
41
  * @return Элемент.
38
42
  */
39
- export declare const SearchBar: ({ value, onChange, inputMode, placeholder, onClear, endButtons, startButtons, withSearchIcon, autoFocus, description, inputRef: inputRefProp, }: SearchBarProps) => import("react/jsx-runtime").JSX.Element;
43
+ export declare const SearchBar: ({ value, onChange, inputMode, placeholder, onClear, endButtons, startButtons, withSearchIcon, autoFocus, description, inputRef: inputRefProp, }: SearchBarProps) => import("react").JSX.Element;
44
+ export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.SearchBar = exports.cx = void 0;
6
+ exports.Button = exports.SearchBar = exports.cx = void 0;
7
7
  const jsx_runtime_1 = require("react/jsx-runtime");
8
8
  const react_1 = require("react");
9
9
  const react_2 = require("react");
@@ -42,7 +42,7 @@ const SearchBar = ({ value, onChange, inputMode, placeholder = 'Поиск', onC
42
42
  e.preventDefault();
43
43
  }
44
44
  };
45
- return ((0, jsx_runtime_1.jsxs)("div", { className: (0, exports.cx)('root'), children: [Boolean(startButtons.length) && ((0, jsx_runtime_1.jsx)("div", { className: (0, exports.cx)('before-field'), children: (0, jsx_runtime_1.jsx)("div", { className: (0, exports.cx)('buttons-container'), children: startButtons.map((props, index) => ((0, react_1.createElement)(Button, { ...props, key: index }))) }) })), (0, jsx_runtime_1.jsxs)("label", { className: (0, exports.cx)('input-wrapper'), onMouseDown: preventFieldBlur, "data-testid": 'search-bar:input-wrapper', children: [withSearchIcon && ((0, jsx_runtime_1.jsx)("span", { className: (0, exports.cx)('search-icon'), children: (0, jsx_runtime_1.jsx)(Magnifier_1.default, { fill: colors_1.COLORS.get('basic-gray38'), "aria-hidden": true }) })), (0, jsx_runtime_1.jsxs)("div", { className: (0, exports.cx)('input-container'), children: [(0, jsx_runtime_1.jsx)("input", { ref: inputRef, value: value, onChange: onChange, className: (0, exports.cx)('search-field'), placeholder: placeholder, autoFocus: autoFocus, "data-testid": 'search-bar-input', type: 'text', inputMode: inputMode, tabIndex: 0 }), description && ((0, jsx_runtime_1.jsx)("div", { className: (0, exports.cx)('description-container'), children: (0, jsx_runtime_1.jsx)("span", { className: (0, exports.cx)('description'), children: description }) }))] }), value && onClear && ((0, jsx_runtime_1.jsx)("button", { onClick: onClear, "aria-label": '\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C', "data-testid": 'search-bar:clear-icon', className: (0, exports.cx)('clear-button'), children: (0, jsx_runtime_1.jsx)(CircleCross_1.default, { fill: colors_1.COLORS.get('basic-gray38'), "aria-hidden": true }) }))] }), Boolean(endButtons.length) && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { className: (0, exports.cx)('after-field', needHideEndButtons && 'wide-screen'), children: (0, jsx_runtime_1.jsx)("div", { className: (0, exports.cx)('buttons-container'), children: endButtons.map((props, index) => ((0, react_1.createElement)(Button, { ...props, key: index }))) }) }), needHideEndButtons && ((0, jsx_runtime_1.jsxs)("div", { className: (0, exports.cx)('after-field', 'narrow-screen'), children: [(0, jsx_runtime_1.jsx)("div", { className: (0, exports.cx)('buttons-container'), children: (0, jsx_runtime_1.jsx)(Button, { text: '\u0411\u043E\u043B\u044C\u0448\u0435', ref: dropdownOpenerRef, icon: MoreVert_1.default, onClick: () => toggleDropdown(!shownDropdown) }) }), shownDropdown && ((0, jsx_runtime_1.jsx)("div", { ref: dropdownRef, className: (0, exports.cx)('dropdown-container'), children: (0, jsx_runtime_1.jsx)(dropdown_1.Dropdown, { children: endButtons.map(({ text, onClick }, index) => ((0, jsx_runtime_1.jsx)(dropdown_item_1.DropdownItem, { size: 's', onClick: event => {
45
+ return ((0, jsx_runtime_1.jsxs)("div", { className: (0, exports.cx)('root'), children: [Boolean(startButtons.length) && ((0, jsx_runtime_1.jsx)("div", { className: (0, exports.cx)('before-field'), children: (0, jsx_runtime_1.jsx)("div", { className: (0, exports.cx)('buttons-container'), children: startButtons.map((props, index) => ((0, react_1.createElement)(exports.Button, { ...props, key: index }))) }) })), (0, jsx_runtime_1.jsxs)("label", { className: (0, exports.cx)('input-wrapper'), onMouseDown: preventFieldBlur, "data-testid": 'search-bar:input-wrapper', children: [withSearchIcon && ((0, jsx_runtime_1.jsx)("span", { className: (0, exports.cx)('search-icon'), children: (0, jsx_runtime_1.jsx)(Magnifier_1.default, { fill: colors_1.COLORS.get('basic-gray38'), "aria-hidden": true }) })), (0, jsx_runtime_1.jsxs)("div", { className: (0, exports.cx)('input-container'), children: [(0, jsx_runtime_1.jsx)("input", { ref: inputRef, value: value, onChange: onChange, className: (0, exports.cx)('search-field'), placeholder: placeholder, autoFocus: autoFocus, "data-testid": 'search-bar-input', type: 'text', inputMode: inputMode, tabIndex: 0 }), description && ((0, jsx_runtime_1.jsx)("div", { className: (0, exports.cx)('description-container'), children: (0, jsx_runtime_1.jsx)("span", { className: (0, exports.cx)('description'), children: description }) }))] }), value && onClear && ((0, jsx_runtime_1.jsx)("button", { onClick: onClear, "aria-label": '\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C', "data-testid": 'search-bar:clear-icon', className: (0, exports.cx)('clear-button'), children: (0, jsx_runtime_1.jsx)(CircleCross_1.default, { fill: colors_1.COLORS.get('basic-gray38'), "aria-hidden": true }) }))] }), Boolean(endButtons.length) && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { className: (0, exports.cx)('after-field', needHideEndButtons && 'wide-screen'), children: (0, jsx_runtime_1.jsx)("div", { className: (0, exports.cx)('buttons-container'), children: endButtons.map((props, index) => ((0, react_1.createElement)(exports.Button, { ...props, key: index }))) }) }), needHideEndButtons && ((0, jsx_runtime_1.jsxs)("div", { className: (0, exports.cx)('after-field', 'narrow-screen'), children: [(0, jsx_runtime_1.jsx)("div", { className: (0, exports.cx)('buttons-container'), children: (0, jsx_runtime_1.jsx)(exports.Button, { text: '\u0411\u043E\u043B\u044C\u0448\u0435', ref: dropdownOpenerRef, icon: MoreVert_1.default, onClick: () => toggleDropdown(!shownDropdown) }) }), shownDropdown && ((0, jsx_runtime_1.jsx)("div", { ref: dropdownRef, className: (0, exports.cx)('dropdown-container'), children: (0, jsx_runtime_1.jsx)(dropdown_1.Dropdown, { children: endButtons.map(({ text, onClick }, index) => ((0, jsx_runtime_1.jsx)(dropdown_item_1.DropdownItem, { size: 's', onClick: event => {
46
46
  onClick(event);
47
47
  toggleDropdown(false);
48
48
  }, children: text }, index))) }) }))] }))] }))] }));
@@ -51,13 +51,11 @@ exports.SearchBar = SearchBar;
51
51
  /**
52
52
  * Компонент кнопки.
53
53
  * @param props Свойства.
54
- * @param props.text Текст кнопки.
55
- * @param props.onClick Обработчик клика.
56
- * @param props.icon Иконка.
57
- * @param props.iconColor Цвет иконки.
54
+ * @param ref Реф корневого элемента.
58
55
  * @return Элемент.
59
56
  */
60
- const Button = (0, react_2.forwardRef)(function Button({ text, icon: Icon, iconColor = 'basic-gray87', onClick }, ref) {
57
+ function PureButton({ text, icon: Icon, iconColor = 'basic-gray87', onClick }, ref) {
61
58
  return ((0, jsx_runtime_1.jsx)("div", { ref: ref, onClick: onClick, className: (0, exports.cx)('button'), role: 'button', "data-testid": 'search-bar-button', tabIndex: 0, "aria-label": Icon && text, children: Icon ? (0, jsx_runtime_1.jsx)(Icon, { fill: colors_1.COLORS.get(iconColor), "aria-hidden": 'true' }) : text }));
62
- });
59
+ }
60
+ exports.Button = (0, react_2.forwardRef)(PureButton);
63
61
  //# sourceMappingURL=search-bar.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"search-bar.js","sourceRoot":"","sources":["../../../../src/mobile/components/search-bar/search-bar.tsx"],"names":[],"mappings":";;;;;;;;AAAA,iCAUe;AACf,0DAA8D;AAC9D,8DAA2D;AAC3D,wEAAoE;AACpE,wDAA+D;AAC/D,4DAAoD;AACpD,sGAA2E;AAC3E,mGAA2E;AAC3E,gGAA2E;AAC3E,2DAAyC;AACzC,sFAA8C;AAEjC,QAAA,EAAE,GAAG,cAAU,CAAC,IAAI,CAAC,gCAAM,CAAC,CAAC;AA4C1C;;;;GAIG;AACI,MAAM,SAAS,GAAG,CAAC,EACxB,KAAK,EACL,QAAQ,EACR,SAAS,EACT,WAAW,GAAG,OAAO,EACrB,OAAO,EACP,UAAU,GAAG,EAAE,EACf,YAAY,GAAG,EAAE,EACjB,cAAc,GAAG,IAAI,EACrB,SAAS,GAAG,IAAI,EAChB,WAAW,EACX,QAAQ,EAAE,YAAY,GACP,EAAE,EAAE;IACnB,MAAM,CAAC,aAAa,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAU,KAAK,CAAC,CAAC;IACjE,MAAM,QAAQ,GAAG,IAAA,cAAM,EAAmB,IAAI,CAAC,CAAC;IAChD,MAAM,WAAW,GAAG,IAAA,cAAM,EAAiB,IAAI,CAAC,CAAC;IACjD,MAAM,iBAAiB,GAAG,IAAA,cAAM,EAAiB,IAAI,CAAC,CAAC;IAE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AAI,IAAI,YAEvB,IAAI,CAAC,CAAC,CAAC,uBAAC,IAAI,IAAC,IAAI,EAAE,eAAM,CAAC,GAAG,CAAC,SAAS,CAAC,iBAAc,MAAM,GAAG,CAAC,CAAC,CAAC,IAAI,GACnE,CACP,CAAC;AACJ,CAAC;AAEY,QAAA,MAAM,GAAG,IAAA,kBAAU,EAAC,UAAU,CAAC,CAAC"}
@@ -11,10 +11,10 @@ export interface SelectScreenOptionProps extends ButtonHTMLAttributes<HTMLButton
11
11
  * @param props Свойства.
12
12
  * @return Элемент.
13
13
  */
14
- export declare function SelectScreenLayout({ children, ...props }: LayoutProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function SelectScreenLayout({ children, ...props }: LayoutProps): import("react").JSX.Element;
15
15
  /**
16
16
  * Опция.
17
17
  * @param props Свойства.
18
18
  * @return Элемент.
19
19
  */
20
- export declare function SelectScreenOption({ children, className, selected, withSelectedIcon, size, ...props }: SelectScreenOptionProps): import("react/jsx-runtime").JSX.Element;
20
+ export declare function SelectScreenOption({ children, className, selected, withSelectedIcon, size, ...props }: SelectScreenOptionProps): import("react").JSX.Element;
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@sima-land/moleculas",
3
- "version": "16.0.0-alpha.49",
3
+ "type": "commonjs",
4
+ "version": "16.0.0-alpha.50",
4
5
  "author": "www.sima-land.ru team",
5
6
  "license": "Apache-2.0",
6
- "private": false,
7
7
  "engines": {
8
- "node": ">=24.11.0"
8
+ "node": ">=24.13.0"
9
9
  },
10
10
  "scripts": {
11
- "build": "npm run build:sync-exports && npm run build:clean && npm run build:types && npm run build:assets",
11
+ "build": "run-s build:*",
12
+ "build:sync-exports": "node scripts/emit-exports.mjs && npm pkg set --json exports=\"$(cat ./temp/exports.json)\" && rm -rf temp/exports.json",
12
13
  "build:clean": "rm -rf dist",
13
14
  "build:types": "tsc --project tsconfig.build.json",
14
- "build:assets": "node scripts/copy-assets.ts",
15
- "build:sync-exports": "node scripts/emit-exports.ts && npm pkg set --json exports=\"$(cat ./temp/exports.json)\" && rm -rf temp/exports.json",
15
+ "build:assets": "node scripts/copy-assets.mjs",
16
16
  "typecheck": "tsc",
17
17
  "prettier:check": "prettier . --check --ignore-unknown",
18
18
  "prettier:write": "prettier . --write --ignore-unknown",
19
- "lint": "npm run typecheck && npm run lint:scripts && npm run lint:styles && npm run prettier:check",
19
+ "lint": "run-s typecheck lint:scripts lint:styles prettier:check",
20
20
  "lint:scripts": "eslint",
21
21
  "lint:styles": "stylelint '**/*.{css,scss}' --ignore-path .gitignore",
22
22
  "test": "jest",
@@ -24,40 +24,40 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "classnames": "^2.5.1",
27
- "date-fns": "^4.1.0",
27
+ "date-fns": "^4.4.0",
28
28
  "react-transition-group": "^4.4.5"
29
29
  },
30
30
  "devDependencies": {
31
- "@babel/core": "^7.29.0",
32
- "@babel/preset-env": "^7.29.0",
33
- "@babel/preset-react": "^7.28.5",
34
- "@babel/preset-typescript": "^7.28.5",
31
+ "@babel/core": "^7.29.7",
32
+ "@babel/preset-env": "^7.29.7",
33
+ "@babel/preset-react": "^7.29.7",
34
+ "@babel/preset-typescript": "^7.29.7",
35
35
  "@krutoo/jest-css-modules-transform": "^0.0.3",
36
36
  "@sima-land/linters": "^7.2.0",
37
37
  "@testing-library/react": "^16.3.2",
38
38
  "@testing-library/user-event": "^14.6.1",
39
39
  "@types/copyfiles": "^2.4.4",
40
40
  "@types/jest": "^29.5.14",
41
- "@types/node": "^24.10.13",
42
41
  "@types/react-dom": "^18.3.7",
43
42
  "@types/react-transition-group": "^4.4.12",
44
43
  "babel-jest": "^29.7.0",
45
44
  "copyfiles": "^2.4.1",
46
- "eslint": "^9.39.3",
45
+ "eslint": "^9.39.4",
47
46
  "husky": "^9.1.7",
48
47
  "jest": "^29.7.0",
49
48
  "jest-environment-jsdom": "^29.7.0",
50
- "prettier": "^3.8.1",
49
+ "npm-run-all": "^4.1.5",
50
+ "prettier": "^3.8.4",
51
51
  "react": "^18.3.1",
52
52
  "react-dom": "^18.3.1",
53
- "sass": "^1.97.3",
54
- "stylelint": "^17.3.0",
55
- "typescript": "^5.9.3"
53
+ "sass": "^1.101.0",
54
+ "stylelint": "^17.13.0",
55
+ "typescript": "^6.0.3"
56
56
  },
57
57
  "peerDependencies": {
58
- "@sima-land/ui-nucleons": "^45.0.0-alpha.59",
58
+ "@sima-land/ui-nucleons": "^45.0.0-alpha.62",
59
59
  "@sima-land/ui-quarks": "^5.8.0",
60
- "react": "^17.0 || ^18.0"
60
+ "react": "^18.0"
61
61
  },
62
62
  "files": [
63
63
  "dist",
@@ -1,4 +0,0 @@
1
- import { MediaData } from '../types';
2
- export declare const data: {
3
- media: MediaData[];
4
- };
@@ -1,148 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.data = void 0;
4
- exports.data = {
5
- media: [
6
- {
7
- type: '360',
8
- data: {
9
- photos: [
10
- 'https://cdn2.static1-sima-land.com/3d/3243668/0/700.jpg',
11
- 'https://cdn2.static1-sima-land.com/3d/3243668/1/700.jpg',
12
- 'https://cdn2.static1-sima-land.com/3d/3243668/2/700.jpg',
13
- 'https://cdn2.static1-sima-land.com/3d/3243668/3/700.jpg',
14
- 'https://cdn2.static1-sima-land.com/3d/3243668/4/700.jpg',
15
- 'https://cdn2.static1-sima-land.com/3d/3243668/5/700.jpg',
16
- 'https://cdn2.static1-sima-land.com/3d/3243668/6/700.jpg',
17
- 'https://cdn2.static1-sima-land.com/3d/3243668/7/700.jpg',
18
- 'https://cdn2.static1-sima-land.com/3d/3243668/8/700.jpg',
19
- 'https://cdn2.static1-sima-land.com/3d/3243668/9/700.jpg',
20
- 'https://cdn2.static1-sima-land.com/3d/3243668/10/700.jpg',
21
- 'https://cdn2.static1-sima-land.com/3d/3243668/11/700.jpg',
22
- 'https://cdn2.static1-sima-land.com/3d/3243668/12/700.jpg',
23
- 'https://cdn2.static1-sima-land.com/3d/3243668/13/700.jpg',
24
- 'https://cdn2.static1-sima-land.com/3d/3243668/14/700.jpg',
25
- 'https://cdn2.static1-sima-land.com/3d/3243668/15/700.jpg',
26
- 'https://cdn2.static1-sima-land.com/3d/3243668/16/700.jpg',
27
- 'https://cdn2.static1-sima-land.com/3d/3243668/17/700.jpg',
28
- 'https://cdn2.static1-sima-land.com/3d/3243668/18/700.jpg',
29
- 'https://cdn2.static1-sima-land.com/3d/3243668/19/700.jpg',
30
- 'https://cdn2.static1-sima-land.com/3d/3243668/20/700.jpg',
31
- 'https://cdn2.static1-sima-land.com/3d/3243668/21/700.jpg',
32
- 'https://cdn2.static1-sima-land.com/3d/3243668/22/700.jpg',
33
- 'https://cdn2.static1-sima-land.com/3d/3243668/23/700.jpg',
34
- 'https://cdn2.static1-sima-land.com/3d/3243668/24/700.jpg',
35
- 'https://cdn2.static1-sima-land.com/3d/3243668/25/700.jpg',
36
- 'https://cdn2.static1-sima-land.com/3d/3243668/26/700.jpg',
37
- 'https://cdn2.static1-sima-land.com/3d/3243668/27/700.jpg',
38
- 'https://cdn2.static1-sima-land.com/3d/3243668/28/700.jpg',
39
- 'https://cdn2.static1-sima-land.com/3d/3243668/29/700.jpg',
40
- 'https://cdn2.static1-sima-land.com/3d/3243668/30/700.jpg',
41
- 'https://cdn2.static1-sima-land.com/3d/3243668/31/700.jpg',
42
- 'https://cdn2.static1-sima-land.com/3d/3243668/32/700.jpg',
43
- 'https://cdn2.static1-sima-land.com/3d/3243668/33/700.jpg',
44
- 'https://cdn2.static1-sima-land.com/3d/3243668/34/700.jpg',
45
- 'https://cdn2.static1-sima-land.com/3d/3243668/35/700.jpg',
46
- 'https://cdn2.static1-sima-land.com/3d/3243668/36/700.jpg',
47
- 'https://cdn2.static1-sima-land.com/3d/3243668/37/700.jpg',
48
- 'https://cdn2.static1-sima-land.com/3d/3243668/38/700.jpg',
49
- 'https://cdn2.static1-sima-land.com/3d/3243668/39/700.jpg',
50
- 'https://cdn2.static1-sima-land.com/3d/3243668/40/700.jpg',
51
- 'https://cdn2.static1-sima-land.com/3d/3243668/41/700.jpg',
52
- 'https://cdn2.static1-sima-land.com/3d/3243668/42/700.jpg',
53
- 'https://cdn2.static1-sima-land.com/3d/3243668/43/700.jpg',
54
- 'https://cdn2.static1-sima-land.com/3d/3243668/44/700.jpg',
55
- 'https://cdn2.static1-sima-land.com/3d/3243668/45/700.jpg',
56
- 'https://cdn2.static1-sima-land.com/3d/3243668/46/700.jpg',
57
- 'https://cdn2.static1-sima-land.com/3d/3243668/47/700.jpg',
58
- 'https://cdn2.static1-sima-land.com/3d/3243668/48/700.jpg',
59
- 'https://cdn2.static1-sima-land.com/3d/3243668/49/700.jpg',
60
- 'https://cdn2.static1-sima-land.com/3d/3243668/50/700.jpg',
61
- 'https://cdn2.static1-sima-land.com/3d/3243668/51/700.jpg',
62
- 'https://cdn2.static1-sima-land.com/3d/3243668/52/700.jpg',
63
- 'https://cdn2.static1-sima-land.com/3d/3243668/53/700.jpg',
64
- 'https://cdn2.static1-sima-land.com/3d/3243668/54/700.jpg',
65
- 'https://cdn2.static1-sima-land.com/3d/3243668/55/700.jpg',
66
- 'https://cdn2.static1-sima-land.com/3d/3243668/56/700.jpg',
67
- 'https://cdn2.static1-sima-land.com/3d/3243668/57/700.jpg',
68
- 'https://cdn2.static1-sima-land.com/3d/3243668/58/700.jpg',
69
- 'https://cdn2.static1-sima-land.com/3d/3243668/59/700.jpg',
70
- 'https://cdn2.static1-sima-land.com/3d/3243668/60/700.jpg',
71
- 'https://cdn2.static1-sima-land.com/3d/3243668/61/700.jpg',
72
- 'https://cdn2.static1-sima-land.com/3d/3243668/62/700.jpg',
73
- 'https://cdn2.static1-sima-land.com/3d/3243668/63/700.jpg',
74
- 'https://cdn2.static1-sima-land.com/3d/3243668/64/700.jpg',
75
- 'https://cdn2.static1-sima-land.com/3d/3243668/65/700.jpg',
76
- 'https://cdn2.static1-sima-land.com/3d/3243668/66/700.jpg',
77
- 'https://cdn2.static1-sima-land.com/3d/3243668/67/700.jpg',
78
- 'https://cdn2.static1-sima-land.com/3d/3243668/68/700.jpg',
79
- 'https://cdn2.static1-sima-land.com/3d/3243668/69/700.jpg',
80
- 'https://cdn2.static1-sima-land.com/3d/3243668/70/700.jpg',
81
- 'https://cdn2.static1-sima-land.com/3d/3243668/71/700.jpg',
82
- 'https://cdn2.static1-sima-land.com/3d/3243668/72/700.jpg',
83
- 'https://cdn2.static1-sima-land.com/3d/3243668/73/700.jpg',
84
- 'https://cdn2.static1-sima-land.com/3d/3243668/74/700.jpg',
85
- 'https://cdn2.static1-sima-land.com/3d/3243668/75/700.jpg',
86
- 'https://cdn2.static1-sima-land.com/3d/3243668/76/700.jpg',
87
- 'https://cdn2.static1-sima-land.com/3d/3243668/77/700.jpg',
88
- 'https://cdn2.static1-sima-land.com/3d/3243668/78/700.jpg',
89
- ],
90
- },
91
- },
92
- {
93
- type: 'video',
94
- data: {
95
- src: 'https://cdn2.static1-sima-land.com/flv/3404953.mp4',
96
- },
97
- },
98
- {
99
- type: 'image',
100
- data: {
101
- alt: 'Сапоги детские MINAKU, цвет синий, размер 31 - Фото 1',
102
- src: 'https://user-content.static1-sima-land.com/item_comment/718435/60d8a52754d803.73596025.jpeg',
103
- thumbnailSrc: 'https://user-content.static1-sima-land.com/item_comment/718435/60d8a52754d803.73596025.jpeg',
104
- },
105
- },
106
- {
107
- type: 'image',
108
- data: {
109
- alt: 'Фото из отзыва, не квадратное',
110
- src: 'https://cdn3.static1-sima-land.com/items/3243668/0/700.jpg?v=1586378755',
111
- thumbnailSrc: 'https://cdn3.static1-sima-land.com/items/3243668/0/400.jpg?v=1586378755',
112
- },
113
- },
114
- {
115
- type: 'image',
116
- data: {
117
- alt: 'Сапоги детские MINAKU, цвет синий, размер 31 - Фото 2',
118
- src: 'https://cdn3.static1-sima-land.com/items/3243668/1/700.jpg?v=1586378264',
119
- thumbnailSrc: 'https://cdn3.static1-sima-land.com/items/3243668/1/400.jpg?v=1586378264',
120
- },
121
- },
122
- {
123
- type: 'image',
124
- data: {
125
- alt: 'Сапоги детские MINAKU, цвет синий, размер 31 - Фото 3',
126
- src: 'https://cdn3.static1-sima-land.com/items/3243668/2/700.jpg?v=1586378424',
127
- thumbnailSrc: 'https://cdn3.static1-sima-land.com/items/3243668/2/400.jpg?v=1586378424',
128
- },
129
- },
130
- {
131
- type: 'image',
132
- data: {
133
- alt: 'Сапоги детские MINAKU, цвет синий, размер 31 - Фото 4',
134
- src: 'https://cdn3.static1-sima-land.com/items/3243668/3/700.jpg?v=1586378301',
135
- thumbnailSrc: 'https://cdn3.static1-sima-land.com/items/3243668/3/400.jpg?v=1586378301',
136
- },
137
- },
138
- {
139
- type: 'image',
140
- data: {
141
- alt: 'Сапоги детские MINAKU, цвет синий, размер 31 - Фото 5',
142
- src: 'https://cdn3.static1-sima-land.com/items/3243668/4/700.jpg?v=1586379815',
143
- thumbnailSrc: 'https://cdn3.static1-sima-land.com/items/3243668/4/400.jpg?v=1586379815',
144
- },
145
- },
146
- ],
147
- };
148
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/desktop/components/gallery-modal/__mocks__/index.ts"],"names":[],"mappings":";;;AAEa,QAAA,IAAI,GAA2B;IAC1C,KAAK,EAAE;QACL;YACE,IAAI,EAAE,KAAK;YACX,IAAI,EAAE;gBACJ,MAAM,EAAE;oBACN,yDAAyD;oBACzD,yDAAyD;oBACzD,yDAAyD;oBACzD,yDAAyD;oBACzD,yDAAyD;oBACzD,yDAAyD;oBACzD,yDAAyD;oBACzD,yDAAyD;oBACzD,yDAAyD;oBACzD,yDAAyD;oBACzD,0DAA0D;oBAC1D,0DAA0D;oBAC1D,0DAA0D;oBAC1D,0DAA0D;oBAC1D,0DAA0D;oBAC1D,0DAA0D;oBAC1D,0DAA0D;oBAC1D,0DAA0D;oBAC1D,0DAA0D;oBAC1D,0DAA0D;oBAC1D,0DAA0D;oBAC1D,0DAA0D;oBAC1D,0DAA0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