@scbt-ecom/ui 0.176.0 → 0.176.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/shared/dataLayers/types.js +2 -0
- package/dist/lib/shared/dataLayers/types.js.map +1 -0
- package/dist/lib/shared/dataLayers/utils.js +1 -1
- package/dist/lib/shared/dataLayers/utils.js.map +1 -1
- package/dist/lib/shared/ui/carousel/ui/slideVariants/SlideMultipleCards.js +1 -1
- package/dist/lib/shared/ui/carousel/ui/slideVariants/SlideMultipleCards.js.map +1 -1
- package/dist/lib/shared/ui/popover/Popover.js +1 -1
- package/dist/lib/shared/ui/popover/Popover.js.map +1 -1
- package/dist/lib/widgets/banner/ui/banners/ui/Buttons.js +1 -1
- package/dist/lib/widgets/banner/ui/banners/ui/Buttons.js.map +1 -1
- package/dist/lib/widgets/benefit/ui/BenefitItem.js +1 -1
- package/dist/lib/widgets/benefit/ui/BenefitItem.js.map +1 -1
- package/dist/lib/widgets/breadcrumbs/Breadcrumb.js +1 -1
- package/dist/lib/widgets/breadcrumbs/Breadcrumb.js.map +1 -1
- package/dist/lib/widgets/calculator/ui/CalculatorTabs.js +1 -1
- package/dist/lib/widgets/calculator/ui/CalculatorTabs.js.map +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/AssistHint.js +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/AssistHint.js.map +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoFooter.js +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/CalculatorInfoFooter.js.map +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/InfoListItem.js +1 -1
- package/dist/lib/widgets/calculator/ui/calculatorInfo/ui/InfoListItem.js.map +1 -1
- package/dist/lib/widgets/conditionBlock/ui/ConditionsWithCTA.js +1 -1
- package/dist/lib/widgets/conditionBlock/ui/ConditionsWithCTA.js.map +1 -1
- package/dist/lib/widgets/errorPage/ErrorPage.js +1 -1
- package/dist/lib/widgets/errorPage/ErrorPage.js.map +1 -1
- package/dist/lib/widgets/footer/ui/NavLinks.js +1 -1
- package/dist/lib/widgets/footer/ui/NavLinks.js.map +1 -1
- package/dist/lib/widgets/footer/ui/PhonesBlock.js +1 -1
- package/dist/lib/widgets/footer/ui/PhonesBlock.js.map +1 -1
- package/dist/lib/widgets/footer/ui/SiteMap.js +1 -1
- package/dist/lib/widgets/footer/ui/SiteMap.js.map +1 -1
- package/dist/lib/widgets/footer/ui/SocialLinks.js +1 -1
- package/dist/lib/widgets/footer/ui/SocialLinks.js.map +1 -1
- package/dist/lib/widgets/header/model/helpers.js +1 -1
- package/dist/lib/widgets/header/model/helpers.js.map +1 -1
- package/dist/lib/widgets/infoBlock/ui/LinksList.js +1 -1
- package/dist/lib/widgets/infoBlock/ui/LinksList.js.map +1 -1
- package/dist/lib/widgets/infoBlock/ui/RootContent.js +1 -1
- package/dist/lib/widgets/infoBlock/ui/RootContent.js.map +1 -1
- package/dist/lib/widgets/interLinking/InterLinking.js +1 -1
- package/dist/lib/widgets/interLinking/InterLinking.js.map +1 -1
- package/dist/lib/widgets/interLinking/ui/Column.js +1 -1
- package/dist/lib/widgets/interLinking/ui/Column.js.map +1 -1
- package/dist/lib/widgets/interLinking/ui/ColumnGroup.js +1 -1
- package/dist/lib/widgets/interLinking/ui/ColumnGroup.js.map +1 -1
- package/dist/lib/widgets/interLinking/ui/LinksList.js +1 -1
- package/dist/lib/widgets/interLinking/ui/LinksList.js.map +1 -1
- package/dist/lib/widgets/longBanner/LongBanner.js +1 -1
- package/dist/lib/widgets/longBanner/LongBanner.js.map +1 -1
- package/dist/lib/widgets/longBanner/ui/TextItem.js +1 -1
- package/dist/lib/widgets/longBanner/ui/TextItem.js.map +1 -1
- package/dist/lib/widgets/model/helpers.js +1 -1
- package/dist/lib/widgets/model/helpers.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoriesDesktop.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoryTabs.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/CategoryTabs.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/rootTab/RootTab.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/rootTab/RootTab.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/tab/Tab.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/tab/Tab.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/CategoriesMobile.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/CategoriesMobile.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/Menu.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/Menu.js.map +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/MenuItem.js +1 -1
- package/dist/lib/widgets/seoHeader/ui/mobile/menu/MenuItem.js.map +1 -1
- package/dist/lib/widgets/stepper/Stepper.js +1 -1
- package/dist/lib/widgets/stepper/Stepper.js.map +1 -1
- package/dist/lib/widgets/stepper/ui/StepperTabs.js +1 -1
- package/dist/lib/widgets/stepper/ui/StepperTabs.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/model/utils.js +1 -1
- package/dist/lib/widgets/usefulInfo/model/utils.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/Tabs.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/Tabs.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/documents/Documents.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/documents/Documents.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/documents/ui/document/Document.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/documents/ui/document/Document.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/experts/Experts.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/experts/Experts.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/html/Html.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/html/Html.js.map +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/table/Table.js +1 -1
- package/dist/lib/widgets/usefulInfo/ui/subEntities/table/Table.js.map +1 -1
- package/dist/lib/widgets/userFeedback/UserFeedback.js +1 -1
- package/dist/lib/widgets/userFeedback/UserFeedback.js.map +1 -1
- package/dist/lib/widgets/userFeedback/ui/SelectRating.js +1 -1
- package/dist/lib/widgets/userFeedback/ui/SelectRating.js.map +1 -1
- package/dist/stats.html +1 -1
- package/dist/types/lib/shared/dataLayers/types.d.ts +1 -0
- package/dist/types/lib/shared/dataLayers/utils.d.ts +33 -5
- package/dist/types/lib/shared/ui/popover/Popover.d.ts +3 -2
- package/dist/types/lib/widgets/interLinking/ui/Column.d.ts +2 -1
- package/dist/types/lib/widgets/interLinking/ui/ColumnGroup.d.ts +2 -1
- package/dist/types/lib/widgets/interLinking/ui/LinksList.d.ts +2 -1
- package/dist/types/lib/widgets/seoHeader/ui/desktop/tab/ui/content/TabContent.d.ts +2 -1
- package/dist/types/lib/widgets/stepper/ui/StepperTabs.d.ts +1 -2
- package/dist/types/lib/widgets/usefulInfo/ui/subEntities/documents/ui/document/Document.d.ts +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EventCategoryType = 'click_block' | 'click_menu' | string;
|
|
@@ -1,33 +1,61 @@
|
|
|
1
1
|
import { AllowedWidgets } from '../../widgets';
|
|
2
|
+
import { EventCategoryType } from './types';
|
|
2
3
|
/**
|
|
3
4
|
* @param name - название ссылки
|
|
4
5
|
* @param link - ссылка
|
|
5
6
|
* @param placement - в каком блоке находится ссылка, например seo-header, header, footer
|
|
7
|
+
* @param eventCategory - unknow
|
|
6
8
|
*/
|
|
7
|
-
export declare const pushToDlLink: (name
|
|
9
|
+
export declare const pushToDlLink: ({ name, link, placement, eventCategory }: {
|
|
10
|
+
name: string | undefined;
|
|
11
|
+
link: string | undefined;
|
|
12
|
+
placement: AllowedWidgets | string;
|
|
13
|
+
eventCategory?: EventCategoryType;
|
|
14
|
+
}) => void;
|
|
8
15
|
/**
|
|
9
16
|
* @param name - название кнопки
|
|
10
17
|
* @param headline - заголовок блока в котором лежит кнопка
|
|
11
18
|
* @param placement - в каком блоке находится кнопка, например seo-header, header, footer
|
|
19
|
+
* @param eventCategory
|
|
12
20
|
*/
|
|
13
|
-
export declare const pushToDlButton: (name
|
|
21
|
+
export declare const pushToDlButton: ({ name, headline, placement, eventCategory }: {
|
|
22
|
+
name: string | undefined;
|
|
23
|
+
headline: string | undefined;
|
|
24
|
+
placement: AllowedWidgets | string;
|
|
25
|
+
eventCategory?: EventCategoryType;
|
|
26
|
+
}) => void;
|
|
14
27
|
/**
|
|
15
28
|
*
|
|
16
29
|
* @param name - название таб-а
|
|
17
30
|
* @param headline - заголовок блока в котором лежит таб
|
|
18
31
|
* @param placement - в каком блоке находится таб, например seo-header, header, footer
|
|
32
|
+
* @param eventCategory
|
|
19
33
|
*/
|
|
20
|
-
export declare const pushToDlTab: (name
|
|
34
|
+
export declare const pushToDlTab: ({ name, headline, placement, eventCategory }: {
|
|
35
|
+
name: string | undefined;
|
|
36
|
+
headline: string | undefined;
|
|
37
|
+
placement: AllowedWidgets | string;
|
|
38
|
+
eventCategory?: EventCategoryType;
|
|
39
|
+
}) => void;
|
|
21
40
|
/**
|
|
22
41
|
*
|
|
23
42
|
* @param name - название аккорд иона
|
|
24
43
|
* @param tabName - название таб-а, в котором был нажат аккорд ион
|
|
25
44
|
* @param placement - в каком блоке находится аккорд ион, например seo-header, header, footer
|
|
45
|
+
* @param eventCategory
|
|
26
46
|
*/
|
|
27
|
-
export declare const pushToDlAccordion: (name
|
|
47
|
+
export declare const pushToDlAccordion: ({ name, tabName, placement, eventCategory }: {
|
|
48
|
+
name: string | undefined;
|
|
49
|
+
tabName: string | undefined;
|
|
50
|
+
placement: AllowedWidgets | string;
|
|
51
|
+
eventCategory?: EventCategoryType;
|
|
52
|
+
}) => void;
|
|
28
53
|
/**
|
|
29
54
|
*
|
|
30
55
|
* @param title - текст, который рядом с тул-типом, его сосед
|
|
31
56
|
* @param placement - в каком блоке находится тул-тип, например seo-header, header, footer
|
|
32
57
|
*/
|
|
33
|
-
export declare const pushToDlTooltip: (title
|
|
58
|
+
export declare const pushToDlTooltip: ({ title, placement }: {
|
|
59
|
+
title: string | undefined;
|
|
60
|
+
placement: AllowedWidgets | string;
|
|
61
|
+
}) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
|
2
|
-
import { PopoverContentProps as PopoverContentPropsBase } from '@radix-ui/react-popover';
|
|
2
|
+
import { PopoverContentProps as PopoverContentPropsBase, PopoverTriggerProps } from '@radix-ui/react-popover';
|
|
3
3
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
4
4
|
type PopoverClasses = {
|
|
5
5
|
root?: string;
|
|
@@ -24,6 +24,7 @@ export interface PopoverProps extends PopoverContentProps {
|
|
|
24
24
|
children: ReactNode;
|
|
25
25
|
classes?: PopoverClasses;
|
|
26
26
|
portalContainer?: PopoverPrimitive.PopoverPortalProps['container'];
|
|
27
|
+
triggerProps?: PopoverTriggerProps;
|
|
27
28
|
}
|
|
28
|
-
export declare const Popover: ({ triggerElement, classes, sideOffset, alignOffset, align, side, defaultOpen, avoidCollisions, children, arrowPadding, portalContainer, withCloseBtn, withArrow, ...contentProps }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
export declare const Popover: ({ triggerElement, classes, sideOffset, alignOffset, align, side, defaultOpen, avoidCollisions, children, arrowPadding, portalContainer, withCloseBtn, withArrow, triggerProps, ...contentProps }: PopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
30
|
export {};
|
|
@@ -9,5 +9,6 @@ export interface ColumnProps {
|
|
|
9
9
|
column: Group[];
|
|
10
10
|
mobileAccordionProps?: AccordionProps;
|
|
11
11
|
classes?: ColumnClasses;
|
|
12
|
+
headline: string;
|
|
12
13
|
}
|
|
13
|
-
export declare const Column: ({ column, mobileAccordionProps, classes }: ColumnProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const Column: ({ column, mobileAccordionProps, headline, classes }: ColumnProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,5 +9,6 @@ export type ColumnGroupClasses = {
|
|
|
9
9
|
export interface ColumnGroupProps extends Group {
|
|
10
10
|
mobileAccordionProps?: AccordionProps;
|
|
11
11
|
classes?: ColumnGroupClasses;
|
|
12
|
+
headline: string;
|
|
12
13
|
}
|
|
13
|
-
export declare const ColumnGroup: ({ groupLabel, links, mobileAccordionProps, classes }: ColumnGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare const ColumnGroup: ({ groupLabel, links, mobileAccordionProps, headline, classes }: ColumnGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -7,5 +7,6 @@ export type LinksListClasses = {
|
|
|
7
7
|
export interface LinksListProps {
|
|
8
8
|
links: Link[];
|
|
9
9
|
classes?: LinksListClasses;
|
|
10
|
+
headline: string;
|
|
10
11
|
}
|
|
11
|
-
export declare const LinksList: ({ links, classes }: LinksListProps) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export declare const LinksList: ({ links, classes, headline }: LinksListProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -2,6 +2,7 @@ import { motion } from 'framer-motion';
|
|
|
2
2
|
import { Category } from '../../../../../model';
|
|
3
3
|
type TabContentProps = React.ComponentProps<typeof motion.div> & {
|
|
4
4
|
categories: Category[] | undefined;
|
|
5
|
+
parentCategory: Category;
|
|
5
6
|
};
|
|
6
|
-
export declare const TabContent: ({ categories, ...props }: TabContentProps) => import('react').ReactPortal;
|
|
7
|
+
export declare const TabContent: ({ categories, parentCategory, ...props }: TabContentProps) => import('react').ReactPortal;
|
|
7
8
|
export {};
|
|
@@ -12,6 +12,5 @@ export interface StepperTabsProps {
|
|
|
12
12
|
activeStepper: StepperTabValue;
|
|
13
13
|
setActiveStepper: Dispatch<SetStateAction<StepperTabValue>>;
|
|
14
14
|
classes?: StepperTabsClasses;
|
|
15
|
-
headline?: string;
|
|
16
15
|
}
|
|
17
|
-
export declare const StepperTabs: import('react').MemoExoticComponent<({ stepperTabs, activeStepper, setActiveStepper, classes
|
|
16
|
+
export declare const StepperTabs: import('react').MemoExoticComponent<({ stepperTabs, activeStepper, setActiveStepper, classes }: StepperTabsProps) => import("react/jsx-runtime").JSX.Element>;
|
package/dist/types/lib/widgets/usefulInfo/ui/subEntities/documents/ui/document/Document.d.ts
CHANGED
|
@@ -12,5 +12,6 @@ export interface DocumentProps {
|
|
|
12
12
|
url: string;
|
|
13
13
|
iconType: IconNames;
|
|
14
14
|
classes?: DocumentClasses;
|
|
15
|
+
tabName?: string;
|
|
15
16
|
}
|
|
16
|
-
export declare const Document: ({ label, size, url, iconType, classes }: DocumentProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export declare const Document: ({ label, size, url, iconType, classes, tabName }: DocumentProps) => import("react/jsx-runtime").JSX.Element;
|