@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.
Files changed (37) hide show
  1. package/dist/{991.index.js → 733.index.js} +7 -7
  2. package/dist/733.index.js.map +1 -0
  3. package/dist/{211.index.js → 809.index.js} +23699 -22664
  4. package/dist/809.index.js.map +1 -0
  5. package/dist/index.js +84 -86
  6. package/dist/index.js.map +1 -1
  7. package/dist/projects/fintech/components/ConfirmationModal/types.d.ts +2 -2
  8. package/dist/projects/fintech/components/CryptocurrencyPrices/styles.d.ts +15 -10
  9. package/dist/projects/fintech/components/PlotTooltip/hooks/usePlotTooltip.d.ts +2 -2
  10. package/dist/projects/fintech/components/WidgetCard/Title.d.ts +1 -1
  11. package/dist/projects/fintech/components/WidgetCard/WidgetCardBase.d.ts +1 -1
  12. package/dist/projects/fintech/components/WidgetInfoLabel/types.d.ts +3 -3
  13. package/dist/projects/fintech/components/WithWidgetLoader/WithWidgetLoader.d.ts +1 -1
  14. package/dist/projects/fintech/contexts/GraphsContext/types.d.ts +2 -2
  15. package/dist/projects/fintech/contexts/HeaderContext/types.d.ts +4 -4
  16. package/dist/projects/fintech/modals/types.d.ts +2 -2
  17. package/dist/projects/fintech/pages/AppLayout/types.d.ts +1 -1
  18. package/dist/projects/fintech/pages/BotsPage/BotsPage.d.ts +1 -4
  19. package/dist/projects/fintech/pages/Dashboard/components/Bots/BotsText.d.ts +2 -2
  20. package/dist/projects/fintech/pages/Dashboard/components/PeriodFilter/PeriodButtonGroup.d.ts +3 -8
  21. package/dist/projects/fintech/pages/Dashboard/components/TopMenuWrapper/TopMenuWrapper.d.ts +3 -2
  22. package/dist/projects/fintech/pages/NotificationsPage/NotificationsPage.d.ts +2 -4
  23. package/dist/projects/fintech/pages/NotificationsPage/components/ReadAllButton/StyledButton.d.ts +1 -1
  24. package/dist/projects/fitness/pages/Template/Default.d.ts +2 -1
  25. package/dist/projects/hr/components/AppLayout/types.d.ts +1 -1
  26. package/dist/projects/hr/components/Events/components/EventInfoCell.d.ts +1 -3
  27. package/dist/projects/hr/components/Events/components/EventInfoContext.d.ts +3 -3
  28. package/dist/projects/hr/components/Events/components/EventInfoPopoverTrigger.d.ts +1 -6
  29. package/dist/projects/hr/components/Events/components/WithEventLink.d.ts +1 -1
  30. package/dist/projects/hr/components/TableCell.d.ts +1 -3
  31. package/dist/projects/hr/components/WidgetCard/Title.d.ts +1 -1
  32. package/dist/projects/hr/components/WidgetCard/WidgetCardBase.d.ts +1 -1
  33. package/dist/projects/hr/components/WithWidgetLoader/WithWidgetLoader.d.ts +1 -1
  34. package/dist/projects/hr/contexts/Header/types.d.ts +2 -2
  35. package/package.json +44 -35
  36. package/dist/211.index.js.map +0 -1
  37. 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?: string;
6
- alignItems?: string;
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?: string;
19
- alignItems?: string;
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?: string;
31
- alignItems?: string;
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?: string;
43
- alignItems?: string;
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?: string;
57
- alignItems?: string;
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/dist/components/Typography/types").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement> & {
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/dist/components/Card/types").CardProps & {
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 { MutableRefObject } from 'react';
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: MutableRefObject<HTMLDivElement | null>;
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;
@@ -3,5 +3,5 @@ export type AppLayoutContextType = {
3
3
  isNavBarOpened: boolean;
4
4
  isFullscreenMode: boolean;
5
5
  setFullscreenMode: (isFullscreenMode: boolean) => void;
6
- mainRef: RefObject<HTMLElement> | null;
6
+ mainRef: RefObject<HTMLElement | null> | null;
7
7
  };
@@ -1,4 +1 @@
1
- export declare const BotsPage: {
2
- (props: object): import("@emotion/react/jsx-runtime").JSX.Element;
3
- displayName: string;
4
- };
1
+ export declare const BotsPage: import("react").ComponentType<object>;
@@ -1,6 +1,6 @@
1
- export declare const SmallText: import("@emotion/styled").StyledComponent<Omit<import("@ssa-ui-kit/core/dist/components/Typography/types").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement> & {
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/dist/components/Typography/types").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement> & {
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
  }, {}, {}>;
@@ -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
- (props: ButtonGroupProps): import("@emotion/react/jsx-runtime").JSX.Element;
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?: string;
6
- alignItems?: string;
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;
@@ -1,4 +1,2 @@
1
- export declare const NotificationsPage: {
2
- (props: object): import("@emotion/react/jsx-runtime").JSX.Element;
3
- displayName: string;
4
- };
1
+ import React from 'react';
2
+ export declare const NotificationsPage: React.ComponentType<object>;
@@ -1,3 +1,3 @@
1
- export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@ssa-ui-kit/core/dist/components/Button/types").ButtonProps & import("react").RefAttributes<HTMLButtonElement> & {
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: JSX.ElementType): (props: any) => import("@emotion/react/jsx-runtime").JSX.Element;
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 { MutableRefObject, ReactNode } from 'react';
1
+ import { RefObject, ReactNode } from 'react';
2
2
  import { EventItemInfo } from '../../../types';
3
3
  export type EventInfoContextType = {
4
- firstEventCellRef: MutableRefObject<HTMLTableCellElement | null>;
5
- photoCellRef: MutableRefObject<HTMLTableCellElement | null>;
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/dist/components/Typography/types").TypographyProps, "ref"> & import("react").RefAttributes<HTMLElement> & {
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/dist/components/Card/types").CardProps & {
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": "2.33.0",
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": "^0.88.0",
27
- "dompurify": "^3.2.4",
28
- "dotenv": "^16.0.3",
29
- "js-cookie": "^3.0.5",
30
- "loose-envify": "^1.4.0",
31
- "luxon": "^3.5.0",
32
- "plotly.js": "^3.0.0",
33
- "react-plotly.js": "^2.6.0",
34
- "react-toastify": "^11.0.3",
35
- "usehooks-ts": "^3.1.0",
36
- "@ssa-ui-kit/core": "^2.33.0",
37
- "@ssa-ui-kit/hooks": "^2.33.0",
38
- "@ssa-ui-kit/utils": "^2.33.0",
39
- "@ssa-ui-kit/widgets": "^2.33.0"
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": "^11.13.5",
43
- "@emotion/jest": "^11.13.0",
44
- "@emotion/react": "^11.14.0",
45
- "@emotion/styled": "^11.14.0",
46
- "@nivo/colors": "^0.88.0",
47
- "@nivo/core": "^0.88.0",
48
- "@nivo/pie": "^0.88.0",
49
- "@nivo/scales": "^0.88.0",
50
- "@playwright/test": "^1.48.0",
51
- "@types/js-cookie": "^3.0.6",
52
- "@types/luxon": "^3.4.2",
53
- "@types/react-plotly.js": "^2.6.3"
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.88.0",
65
- "@nivo/core": "^0.88.0",
66
- "@nivo/pie": "^0.88.0",
67
- "@nivo/scales": "^0.88.0",
68
- "react": "18.x",
69
- "react-dom": "18.x",
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",