profinansy-ui-lib 4.0.87 → 4.0.89

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.
@@ -115,6 +115,8 @@ export type THeaderLinkSubPage = {
115
115
  isDeleteCommonNavigation?: boolean;
116
116
  /** Заливка иконки **/
117
117
  isFill?: boolean;
118
+ /** Не перекрашивать иконку в цвет темы (градиент и цвета из SVG) **/
119
+ preserveIconColor?: boolean;
118
120
  /** Не переносить текст **/
119
121
  nowrap?: boolean;
120
122
  /** Показать иконку короны **/
@@ -18,6 +18,8 @@ export type HeaderDropdownItem = {
18
18
  description?: string;
19
19
  imagePlug?: string;
20
20
  isFill?: boolean;
21
+ preserveIconColor?: boolean;
22
+ isOpenNewTab?: boolean;
21
23
  isNotVisible?: boolean;
22
24
  };
23
25
  export type HeaderDropdownColumn = {
@@ -1,3 +1,3 @@
1
1
  import { TSideMenuCategory } from './SideMenuV2.typed';
2
2
  import { UserRole } from '../../../common.types';
3
- export declare const useGetSideMenuData: (category: TSideMenuCategory, hostname: string, hostnameLenta: string, hostnameLMS: string, userRole: UserRole, isLeaderboardPermission: boolean, isEmployee?: boolean) => any;
3
+ export declare const useGetSideMenuData: (category: TSideMenuCategory, hostname: string, hostnameLenta: string, hostnameLMS: string, userRole: UserRole, isLeaderboardPermission: boolean, isEmployee?: boolean, showMethodInvestIdeas?: boolean) => any;
@@ -1,11 +1,12 @@
1
1
  import React, { ReactNode } from 'react';
2
2
  import { Placement } from '@floating-ui/react';
3
3
  import { ITooltipProps, ITooltipRef } from './Tooltip.typed';
4
- export declare function useTooltip({ placement, isHover, showArrow, onOpenTooltip }: {
4
+ export declare function useTooltip({ placement, isHover, showArrow, onOpenTooltip, disableScrollUpdate }: {
5
5
  placement?: Placement;
6
6
  isHover?: boolean;
7
7
  showArrow?: boolean;
8
8
  onOpenTooltip?: ITooltipProps['onOpenTooltip'];
9
+ disableScrollUpdate?: boolean;
9
10
  }): {
10
11
  placement: Placement;
11
12
  strategy: import("@floating-ui/utils").Strategy;
@@ -26,6 +26,8 @@ export interface ITooltipProps {
26
26
  onOpenTooltip?: (val: boolean) => void;
27
27
  /** Стили для контейнера.*/
28
28
  styleContainer?: CSS.Properties;
29
+ /** Отключить пересчёт позиции при скролле (для фиксированных элементов вроде хедера) */
30
+ disableScrollUpdate?: boolean;
29
31
  }
30
32
  export interface ITooltipRef {
31
33
  handleClose: () => void;
package/dist/config.d.ts CHANGED
@@ -14,6 +14,7 @@ interface IConfigProps {
14
14
  /** Элемент ссылки. Нужен, чтобы прокидывать некстовый роутинг или роутинг библиотек **/
15
15
  LinkWrapper: ElementType;
16
16
  defaultSideMenuOpen?: StateTypeOpenMenu;
17
+ showMethodInvestIdeas?: boolean;
17
18
  }
18
19
  interface IConfig extends IConfigProps {
19
20
  hostnames: {
Binary file
@@ -143,6 +143,7 @@ export declare const Urls_translations: {
143
143
  method_achievements: string;
144
144
  method_kfp: string;
145
145
  method_budget: string;
146
+ method_invest_ideas: string;
146
147
  method_screener: string;
147
148
  method_portfolios: string;
148
149
  myMoney: string;
@@ -366,6 +367,7 @@ export declare const Urls_translations: {
366
367
  method_achievements: string;
367
368
  method_kfp: string;
368
369
  method_budget: string;
370
+ method_invest_ideas: string;
369
371
  method_screener: string;
370
372
  method_portfolios: string;
371
373
  myMoney: string;