@ssa-ui-kit/templates 2.33.0 → 3.1.0
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/{991.index.js → 733.index.js} +7 -7
- package/dist/733.index.js.map +1 -0
- package/dist/{211.index.js → 809.index.js} +23699 -22664
- package/dist/809.index.js.map +1 -0
- package/dist/index.js +84 -86
- package/dist/index.js.map +1 -1
- package/dist/projects/fintech/components/ConfirmationModal/types.d.ts +2 -2
- package/dist/projects/fintech/components/CryptocurrencyPrices/styles.d.ts +15 -10
- package/dist/projects/fintech/components/PlotTooltip/hooks/usePlotTooltip.d.ts +2 -2
- package/dist/projects/fintech/components/WidgetCard/Title.d.ts +1 -1
- package/dist/projects/fintech/components/WidgetCard/WidgetCardBase.d.ts +1 -1
- package/dist/projects/fintech/components/WidgetInfoLabel/types.d.ts +3 -3
- package/dist/projects/fintech/components/WithWidgetLoader/WithWidgetLoader.d.ts +1 -1
- package/dist/projects/fintech/contexts/GraphsContext/types.d.ts +2 -2
- package/dist/projects/fintech/contexts/HeaderContext/types.d.ts +4 -4
- package/dist/projects/fintech/modals/types.d.ts +2 -2
- package/dist/projects/fintech/pages/AppLayout/types.d.ts +1 -1
- package/dist/projects/fintech/pages/BotsPage/BotsPage.d.ts +1 -4
- package/dist/projects/fintech/pages/Dashboard/components/Bots/BotsText.d.ts +2 -2
- package/dist/projects/fintech/pages/Dashboard/components/PeriodFilter/PeriodButtonGroup.d.ts +3 -8
- package/dist/projects/fintech/pages/Dashboard/components/TopMenuWrapper/TopMenuWrapper.d.ts +3 -2
- package/dist/projects/fintech/pages/NotificationsPage/NotificationsPage.d.ts +2 -4
- package/dist/projects/fintech/pages/NotificationsPage/components/ReadAllButton/StyledButton.d.ts +1 -1
- package/dist/projects/fitness/pages/Template/Default.d.ts +2 -1
- package/dist/projects/hr/components/AppLayout/types.d.ts +1 -1
- package/dist/projects/hr/components/Events/components/EventInfoCell.d.ts +1 -3
- package/dist/projects/hr/components/Events/components/EventInfoContext.d.ts +3 -3
- package/dist/projects/hr/components/Events/components/EventInfoPopoverTrigger.d.ts +1 -6
- package/dist/projects/hr/components/Events/components/WithEventLink.d.ts +1 -1
- package/dist/projects/hr/components/TableCell.d.ts +1 -3
- package/dist/projects/hr/components/WidgetCard/Title.d.ts +1 -1
- package/dist/projects/hr/components/WidgetCard/WidgetCardBase.d.ts +1 -1
- package/dist/projects/hr/components/WithWidgetLoader/WithWidgetLoader.d.ts +1 -1
- package/dist/projects/hr/contexts/Header/types.d.ts +2 -2
- package/package.json +44 -35
- package/dist/211.index.js.map +0 -1
- package/dist/991.index.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export interface ConfirmationModalProps {
|
|
2
|
-
trigger?: JSX.Element;
|
|
2
|
+
trigger?: React.JSX.Element;
|
|
3
3
|
isOpen?: boolean;
|
|
4
4
|
title: React.ReactNode;
|
|
5
|
-
content: JSX.Element | string;
|
|
5
|
+
content: React.JSX.Element | string;
|
|
6
6
|
isDismissButton?: boolean;
|
|
7
7
|
confirmationBtnText: string;
|
|
8
8
|
cancelBtnText?: string;
|
|
@@ -2,8 +2,9 @@ export declare const IconWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
as?: React.ElementType;
|
|
4
4
|
} & {
|
|
5
|
-
direction?:
|
|
6
|
-
alignItems?:
|
|
5
|
+
direction?: import("@ssa-ui-kit/core").WrapperDirection;
|
|
6
|
+
alignItems?: import("@ssa-ui-kit/core").WrapperAlignItems;
|
|
7
|
+
justifyContent?: import("@ssa-ui-kit/core").WrapperJustifyContent;
|
|
7
8
|
fade?: boolean;
|
|
8
9
|
fadeDelay?: number;
|
|
9
10
|
isVisible?: boolean;
|
|
@@ -15,8 +16,9 @@ export declare const ItemsWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
15
16
|
theme?: import("@emotion/react").Theme;
|
|
16
17
|
as?: React.ElementType;
|
|
17
18
|
} & {
|
|
18
|
-
direction?:
|
|
19
|
-
alignItems?:
|
|
19
|
+
direction?: import("@ssa-ui-kit/core").WrapperDirection;
|
|
20
|
+
alignItems?: import("@ssa-ui-kit/core").WrapperAlignItems;
|
|
21
|
+
justifyContent?: import("@ssa-ui-kit/core").WrapperJustifyContent;
|
|
20
22
|
fade?: boolean;
|
|
21
23
|
fadeDelay?: number;
|
|
22
24
|
isVisible?: boolean;
|
|
@@ -27,8 +29,9 @@ export declare const WeightedItemsWrapper: import("@emotion/styled").StyledCompo
|
|
|
27
29
|
theme?: import("@emotion/react").Theme;
|
|
28
30
|
as?: React.ElementType;
|
|
29
31
|
} & {
|
|
30
|
-
direction?:
|
|
31
|
-
alignItems?:
|
|
32
|
+
direction?: import("@ssa-ui-kit/core").WrapperDirection;
|
|
33
|
+
alignItems?: import("@ssa-ui-kit/core").WrapperAlignItems;
|
|
34
|
+
justifyContent?: import("@ssa-ui-kit/core").WrapperJustifyContent;
|
|
32
35
|
fade?: boolean;
|
|
33
36
|
fadeDelay?: number;
|
|
34
37
|
isVisible?: boolean;
|
|
@@ -39,8 +42,9 @@ export declare const Instrument: import("@emotion/styled").StyledComponent<{
|
|
|
39
42
|
theme?: import("@emotion/react").Theme;
|
|
40
43
|
as?: React.ElementType;
|
|
41
44
|
} & {
|
|
42
|
-
direction?:
|
|
43
|
-
alignItems?:
|
|
45
|
+
direction?: import("@ssa-ui-kit/core").WrapperDirection;
|
|
46
|
+
alignItems?: import("@ssa-ui-kit/core").WrapperAlignItems;
|
|
47
|
+
justifyContent?: import("@ssa-ui-kit/core").WrapperJustifyContent;
|
|
44
48
|
fade?: boolean;
|
|
45
49
|
fadeDelay?: number;
|
|
46
50
|
isVisible?: boolean;
|
|
@@ -53,8 +57,9 @@ export declare const Price: import("@emotion/styled").StyledComponent<{
|
|
|
53
57
|
theme?: import("@emotion/react").Theme;
|
|
54
58
|
as?: React.ElementType;
|
|
55
59
|
} & {
|
|
56
|
-
direction?:
|
|
57
|
-
alignItems?:
|
|
60
|
+
direction?: import("@ssa-ui-kit/core").WrapperDirection;
|
|
61
|
+
alignItems?: import("@ssa-ui-kit/core").WrapperAlignItems;
|
|
62
|
+
justifyContent?: import("@ssa-ui-kit/core").WrapperJustifyContent;
|
|
58
63
|
fade?: boolean;
|
|
59
64
|
fadeDelay?: number;
|
|
60
65
|
isVisible?: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PlotTooltipState } from '../types';
|
|
2
2
|
export declare const usePlotTooltip: () => {
|
|
3
3
|
tooltipProps: PlotTooltipState;
|
|
4
|
-
tooltipRef: import("react").RefObject<HTMLDivElement>;
|
|
5
|
-
containerRef: import("react").RefObject<HTMLDivElement>;
|
|
4
|
+
tooltipRef: import("react").RefObject<HTMLDivElement | null>;
|
|
5
|
+
containerRef: import("react").RefObject<HTMLDivElement | null>;
|
|
6
6
|
showTooltip: (x: number, y: number) => void;
|
|
7
7
|
hideTooltip: (fixed?: boolean) => void;
|
|
8
8
|
pinTooltip: import("react").Dispatch<import("react").SetStateAction<boolean>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const Title: import("@emotion/styled").StyledComponent<Omit<import("@ssa-ui-kit/core
|
|
1
|
+
export declare const Title: import("@emotion/styled").StyledComponent<Omit<import("@ssa-ui-kit/core").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement> & {
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
}, {}, {}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const WidgetCardBase: import("@emotion/styled").StyledComponent<import("@ssa-ui-kit/core
|
|
1
|
+
export declare const WidgetCardBase: import("@emotion/styled").StyledComponent<import("@ssa-ui-kit/core").CardProps & {
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
}, {}, {}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Interpolation, Theme } from '@emotion/react';
|
|
2
2
|
export interface WidgetInfoLabelProps {
|
|
3
|
-
title: JSX.Element | string;
|
|
4
|
-
value: JSX.Element | string | number;
|
|
5
|
-
currency?: JSX.Element | string;
|
|
3
|
+
title: React.JSX.Element | string;
|
|
4
|
+
value: React.JSX.Element | string | number;
|
|
5
|
+
currency?: React.JSX.Element | string;
|
|
6
6
|
className?: string;
|
|
7
7
|
isIncreasing?: boolean | null;
|
|
8
8
|
titleCSS?: Interpolation<Theme>;
|
|
@@ -3,4 +3,4 @@ export declare const WithWidgetLoader: ({ children, className, title, isFetching
|
|
|
3
3
|
className?: string;
|
|
4
4
|
title: string;
|
|
5
5
|
isFetching: boolean;
|
|
6
|
-
}) => string | number | boolean | Iterable<import("react").ReactNode> | import("@emotion/react/jsx-runtime").JSX.Element | null | undefined;
|
|
6
|
+
}) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("@emotion/react/jsx-runtime").JSX.Element | null | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
2
|
import { GraphsListItem } from '../../types';
|
|
3
3
|
export interface GraphsContextValue {
|
|
4
4
|
marginRight: number;
|
|
5
5
|
marginLeft: number;
|
|
6
|
-
tooltipRef:
|
|
6
|
+
tooltipRef: RefObject<HTMLDivElement | null>;
|
|
7
7
|
calculateMargins: (data: GraphsListItem[]) => void;
|
|
8
8
|
updateRightMargin: (newRightMargin: number) => void;
|
|
9
9
|
updateLeftMargin: (newLeftMargin: number) => void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type HeaderContentRef = Element | DocumentFragment;
|
|
2
2
|
export interface HeaderContextContent {
|
|
3
|
-
headerContentRef: React.RefObject<HeaderContentRef>;
|
|
4
|
-
breadcrumbContentRef: React.RefObject<HeaderContentRef>;
|
|
5
|
-
renderHeaderContent: (content: JSX.Element | null) => React.ReactPortal | null;
|
|
6
|
-
renderBreadcrumbContent: (content: JSX.Element | null) => React.ReactPortal | null;
|
|
3
|
+
headerContentRef: React.RefObject<HeaderContentRef | null>;
|
|
4
|
+
breadcrumbContentRef: React.RefObject<HeaderContentRef | null>;
|
|
5
|
+
renderHeaderContent: (content: React.JSX.Element | null) => React.ReactPortal | null;
|
|
6
|
+
renderBreadcrumbContent: (content: React.JSX.Element | null) => React.ReactPortal | null;
|
|
7
7
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CONFIRMATION_MODAL } from './constants';
|
|
2
2
|
export interface ModalInformation {
|
|
3
3
|
id: typeof CONFIRMATION_MODAL;
|
|
4
|
-
trigger?: JSX.Element;
|
|
4
|
+
trigger?: React.JSX.Element;
|
|
5
5
|
title: React.ReactNode;
|
|
6
|
-
content: string | JSX.Element;
|
|
6
|
+
content: string | React.JSX.Element;
|
|
7
7
|
isDismissButton?: boolean;
|
|
8
8
|
confirmationBtnText: string;
|
|
9
9
|
onClose?: () => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const SmallText: import("@emotion/styled").StyledComponent<Omit<import("@ssa-ui-kit/core
|
|
1
|
+
export declare const SmallText: import("@emotion/styled").StyledComponent<Omit<import("@ssa-ui-kit/core").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement> & {
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
}, {}, {}>;
|
|
4
|
-
export declare const LargeText: import("@emotion/styled").StyledComponent<Omit<import("@ssa-ui-kit/core
|
|
4
|
+
export declare const LargeText: import("@emotion/styled").StyledComponent<Omit<import("@ssa-ui-kit/core").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement> & {
|
|
5
5
|
theme?: import("@emotion/react").Theme;
|
|
6
6
|
}, {}, {}>;
|
package/dist/projects/fintech/pages/Dashboard/components/PeriodFilter/PeriodButtonGroup.d.ts
CHANGED
|
@@ -1,10 +1,5 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
1
2
|
import { ButtonGroupProps } from '@ssa-ui-kit/core';
|
|
2
3
|
export declare const PeriodButtonGroup: ({ buttonStyles, ...props }: ButtonGroupProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const ButtonGroupSM:
|
|
4
|
-
|
|
5
|
-
displayName: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const ButtonGroupMD: {
|
|
8
|
-
(props: ButtonGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
};
|
|
4
|
+
export declare const ButtonGroupSM: ComponentType<ButtonGroupProps>;
|
|
5
|
+
export declare const ButtonGroupMD: ComponentType<ButtonGroupProps>;
|
|
@@ -2,8 +2,9 @@ export declare const TopMenuWrapper: import("@emotion/styled").StyledComponent<{
|
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
as?: React.ElementType;
|
|
4
4
|
} & {
|
|
5
|
-
direction?:
|
|
6
|
-
alignItems?:
|
|
5
|
+
direction?: import("@ssa-ui-kit/core").WrapperDirection;
|
|
6
|
+
alignItems?: import("@ssa-ui-kit/core").WrapperAlignItems;
|
|
7
|
+
justifyContent?: import("@ssa-ui-kit/core").WrapperJustifyContent;
|
|
7
8
|
fade?: boolean;
|
|
8
9
|
fadeDelay?: number;
|
|
9
10
|
isVisible?: boolean;
|
package/dist/projects/fintech/pages/NotificationsPage/components/ReadAllButton/StyledButton.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@ssa-ui-kit/core
|
|
1
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@ssa-ui-kit/core").ButtonProps & import("react").RefAttributes<HTMLButtonElement> & {
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
}, {}, {}>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
declare const Default: {
|
|
2
|
-
(Component:
|
|
3
|
+
(Component: React.ComponentType<any>): (props: any) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
3
4
|
displayName: string;
|
|
4
5
|
};
|
|
5
6
|
export default Default;
|
|
@@ -2,7 +2,7 @@ import { Dispatch, RefObject, SetStateAction } from 'react';
|
|
|
2
2
|
export type AppLayoutContextType = {
|
|
3
3
|
isFullscreenMode: boolean;
|
|
4
4
|
isNavBarOpened: boolean;
|
|
5
|
-
mainRef: RefObject<HTMLElement> | null;
|
|
5
|
+
mainRef: RefObject<HTMLElement | null> | null;
|
|
6
6
|
setFullscreenMode: Dispatch<SetStateAction<boolean>>;
|
|
7
7
|
setNavBarOpened: Dispatch<SetStateAction<boolean>>;
|
|
8
8
|
};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export declare const EventInfoCell: import("@emotion/styled").StyledComponent<{
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
as?: React.ElementType;
|
|
4
|
-
} & {
|
|
5
|
-
align?: string;
|
|
6
|
-
} & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & {
|
|
4
|
+
} & import("@ssa-ui-kit/core/dist/components/TableCell/types").TableCellProps & import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & {
|
|
7
5
|
theme?: import("@emotion/react").Theme;
|
|
8
6
|
}, {}, {}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { RefObject, ReactNode } from 'react';
|
|
2
2
|
import { EventItemInfo } from '../../../types';
|
|
3
3
|
export type EventInfoContextType = {
|
|
4
|
-
firstEventCellRef:
|
|
5
|
-
photoCellRef:
|
|
4
|
+
firstEventCellRef: RefObject<HTMLTableCellElement | null>;
|
|
5
|
+
photoCellRef: RefObject<HTMLTableCellElement | null>;
|
|
6
6
|
popoverOffsetLeft: number;
|
|
7
7
|
dateColumnWidth: number;
|
|
8
8
|
items: EventItemInfo[];
|
|
@@ -1,7 +1,2 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export declare const EventInfoPopoverTrigger: React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLElement> &
|
|
3
|
-
theme?: import("@emotion/react").Theme;
|
|
4
|
-
as?: React.ElementType;
|
|
5
|
-
} & import("@ssa-ui-kit/core").CommonProps & {
|
|
6
|
-
isDisabled?: boolean;
|
|
7
|
-
} & React.ClassAttributes<HTMLTableRowElement> & React.HTMLAttributes<HTMLTableRowElement> & Omit<React.HTMLProps<HTMLElement> & import("@ssa-ui-kit/core/dist/components/Button/types").ButtonProps & import("@ssa-ui-kit/core/dist/components/Popover/types").PopoverTriggerProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
2
|
+
export declare const EventInfoPopoverTrigger: React.ForwardRefExoticComponent<Omit<React.HTMLProps<HTMLElement> & import("@ssa-ui-kit/core/dist/components/TableRow/types").TableRowProps & React.RefAttributes<HTMLTableRowElement> & Omit<React.HTMLProps<HTMLElement> & import("@ssa-ui-kit/core").ButtonProps & import("@ssa-ui-kit/core/dist/components/Popover/types").PopoverTriggerProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { WithLink } from '@ssa-ui-kit/core';
|
|
2
|
-
export declare const WithEventLink: ({ children, className, link, onClick, }: Parameters<typeof WithLink>[0]) => string | number | boolean | Iterable<import("react").ReactNode> | import("@emotion/react/jsx-runtime").JSX.Element | null | undefined;
|
|
2
|
+
export declare const WithEventLink: ({ children, className, link, onClick, }: Parameters<typeof WithLink>[0]) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("@emotion/react/jsx-runtime").JSX.Element | null | undefined;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export declare const HRTableCell: import("@emotion/styled").StyledComponent<{
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
as?: React.ElementType;
|
|
4
|
-
} & {
|
|
5
|
-
align?: string;
|
|
6
|
-
} & import("@ssa-ui-kit/core").CommonProps & import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & {
|
|
4
|
+
} & import("@ssa-ui-kit/core/dist/components/TableCell/types").TableCellProps & import("react").ClassAttributes<HTMLTableDataCellElement> & import("react").TdHTMLAttributes<HTMLTableDataCellElement> & {
|
|
7
5
|
theme?: import("@emotion/react").Theme;
|
|
8
6
|
}, {}, {}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const Title: import("@emotion/styled").StyledComponent<Omit<import("@ssa-ui-kit/core
|
|
1
|
+
export declare const Title: import("@emotion/styled").StyledComponent<Omit<import("@ssa-ui-kit/core").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement> & {
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
}, {}, {}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare const WidgetCardBase: import("@emotion/styled").StyledComponent<import("@ssa-ui-kit/core
|
|
1
|
+
export declare const WidgetCardBase: import("@emotion/styled").StyledComponent<import("@ssa-ui-kit/core").CardProps & {
|
|
2
2
|
theme?: import("@emotion/react").Theme;
|
|
3
3
|
}, {}, {}>;
|
|
@@ -3,4 +3,4 @@ export declare const WithWidgetLoader: ({ children, className, title, isFetching
|
|
|
3
3
|
className?: string;
|
|
4
4
|
title: string;
|
|
5
5
|
isFetching: boolean;
|
|
6
|
-
}) => string | number | boolean | Iterable<import("react").ReactNode> | import("@emotion/react/jsx-runtime").JSX.Element | null | undefined;
|
|
6
|
+
}) => string | number | bigint | boolean | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | import("@emotion/react/jsx-runtime").JSX.Element | null | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export type HeaderContentRef = Element | DocumentFragment;
|
|
2
2
|
export interface HeaderContextContent {
|
|
3
|
-
headerContentRef: React.RefObject<HeaderContentRef>;
|
|
4
|
-
renderHeaderContent: (content: JSX.Element | null) => React.ReactPortal | null;
|
|
3
|
+
headerContentRef: React.RefObject<HeaderContentRef | null>;
|
|
4
|
+
renderHeaderContent: (content: React.JSX.Element | null) => React.ReactPortal | null;
|
|
5
5
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ssa-ui-kit/templates",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"import": "./dist/index.js",
|
|
10
|
+
"require": "./dist/index.js",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
6
14
|
"private": false,
|
|
7
15
|
"sideEffects": false,
|
|
8
16
|
"author": "SSA Group",
|
|
@@ -23,34 +31,35 @@
|
|
|
23
31
|
],
|
|
24
32
|
"dependencies": {
|
|
25
33
|
"@floating-ui/react": "0.27.4",
|
|
26
|
-
"@nivo/line": "
|
|
27
|
-
"dompurify": "
|
|
28
|
-
"dotenv": "
|
|
29
|
-
"js-cookie": "
|
|
30
|
-
"loose-envify": "
|
|
31
|
-
"luxon": "
|
|
32
|
-
"plotly.js": "
|
|
33
|
-
"react-plotly.js": "
|
|
34
|
-
"react-toastify": "
|
|
35
|
-
"usehooks-ts": "
|
|
36
|
-
"@ssa-ui-kit/core": "^
|
|
37
|
-
"@ssa-ui-kit/
|
|
38
|
-
"@ssa-ui-kit/
|
|
39
|
-
"@ssa-ui-kit/widgets": "^
|
|
34
|
+
"@nivo/line": "0.99.0",
|
|
35
|
+
"dompurify": "3.2.4",
|
|
36
|
+
"dotenv": "16.0.3",
|
|
37
|
+
"js-cookie": "3.0.5",
|
|
38
|
+
"loose-envify": "1.4.0",
|
|
39
|
+
"luxon": "3.5.0",
|
|
40
|
+
"plotly.js": "3.0.0",
|
|
41
|
+
"react-plotly.js": "2.6.0",
|
|
42
|
+
"react-toastify": "11.0.3",
|
|
43
|
+
"usehooks-ts": "3.1.1",
|
|
44
|
+
"@ssa-ui-kit/core": "^3.1.0",
|
|
45
|
+
"@ssa-ui-kit/utils": "^3.1.0",
|
|
46
|
+
"@ssa-ui-kit/hooks": "^3.1.0",
|
|
47
|
+
"@ssa-ui-kit/widgets": "^3.1.0"
|
|
40
48
|
},
|
|
41
49
|
"devDependencies": {
|
|
42
|
-
"@emotion/css": "
|
|
43
|
-
"@emotion/jest": "
|
|
44
|
-
"@emotion/react": "
|
|
45
|
-
"@emotion/styled": "
|
|
46
|
-
"@nivo/colors": "
|
|
47
|
-
"@nivo/core": "
|
|
48
|
-
"@nivo/pie": "
|
|
49
|
-
"@nivo/scales": "
|
|
50
|
-
"@playwright/test": "
|
|
51
|
-
"@types/js-cookie": "
|
|
52
|
-
"@types/luxon": "
|
|
53
|
-
"@types/react-plotly.js": "
|
|
50
|
+
"@emotion/css": "11.13.5",
|
|
51
|
+
"@emotion/jest": "11.14.2",
|
|
52
|
+
"@emotion/react": "11.14.0",
|
|
53
|
+
"@emotion/styled": "11.14.0",
|
|
54
|
+
"@nivo/colors": "0.99.0",
|
|
55
|
+
"@nivo/core": "0.99.0",
|
|
56
|
+
"@nivo/pie": "0.99.0",
|
|
57
|
+
"@nivo/scales": "0.99.0",
|
|
58
|
+
"@playwright/test": "1.57.0",
|
|
59
|
+
"@types/js-cookie": "3.0.6",
|
|
60
|
+
"@types/luxon": "3.4.2",
|
|
61
|
+
"@types/react-plotly.js": "2.6.3",
|
|
62
|
+
"process": "0.11.10"
|
|
54
63
|
},
|
|
55
64
|
"browserslist": [
|
|
56
65
|
">0.1%",
|
|
@@ -61,12 +70,12 @@
|
|
|
61
70
|
"@emotion/css": "^11.13.5",
|
|
62
71
|
"@emotion/react": "^11.14.0",
|
|
63
72
|
"@emotion/styled": "^11.14.0",
|
|
64
|
-
"@nivo/colors": "^0.
|
|
65
|
-
"@nivo/core": "^0.
|
|
66
|
-
"@nivo/pie": "^0.
|
|
67
|
-
"@nivo/scales": "^0.
|
|
68
|
-
"react": "
|
|
69
|
-
"react-dom": "
|
|
73
|
+
"@nivo/colors": "^0.99.0",
|
|
74
|
+
"@nivo/core": "^0.99.0",
|
|
75
|
+
"@nivo/pie": "^0.99.0",
|
|
76
|
+
"@nivo/scales": "^0.99.0",
|
|
77
|
+
"react": "19.x",
|
|
78
|
+
"react-dom": "19.x",
|
|
70
79
|
"react-hook-form": "^7.46.1",
|
|
71
80
|
"react-router-dom": "6.x || 7.x"
|
|
72
81
|
},
|
|
@@ -78,8 +87,8 @@
|
|
|
78
87
|
"scripts": {
|
|
79
88
|
"test": "jest -i --no-cache",
|
|
80
89
|
"build": "webpack --mode=production --node-env=production && tsc --build --force ./tsconfig.build.json && resolve-tspaths -p ./tsconfig.build.json",
|
|
81
|
-
"sb:dev": "storybook dev -p 6008",
|
|
82
|
-
"sb:build": "storybook build",
|
|
90
|
+
"sb:dev": "env storybook dev -p 6008",
|
|
91
|
+
"sb:build": "env storybook build",
|
|
83
92
|
"test:e2e": "pnpm exec playwright test --project=chromium",
|
|
84
93
|
"test:e2e:ui": "pnpm exec playwright test --project=chromium --ui",
|
|
85
94
|
"test:e2e:debug": "pnpm exec playwright test --project=chromium --debug",
|