profinansy-ui-lib 3.2.80 → 3.2.81

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.
@@ -25,9 +25,9 @@ export declare function useDrop({ placement, onOpenList }: {
25
25
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
26
26
  context: {
27
27
  placement: Placement;
28
- strategy: import("@floating-ui/utils").Strategy;
29
28
  x: number;
30
29
  y: number;
30
+ strategy: import("@floating-ui/utils").Strategy;
31
31
  middlewareData: import("@floating-ui/core").MiddlewareData;
32
32
  isPositioned: boolean;
33
33
  update: () => void;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { IFilterButton } from '../FilterButton.typed';
3
3
  interface IProps {
4
4
  activeElements: IFilterButton['activeElements'];
5
- type: IFilterButton['type'];
5
+ isStroke: IFilterButton['isStroke'];
6
6
  text?: IFilterButton['text'];
7
7
  size: IFilterButton['size'];
8
8
  onClick?: () => void;
@@ -1,7 +1,7 @@
1
1
  import { IFilterButton } from '../FilterButton.typed';
2
2
  export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
3
3
  activeElements: number;
4
- mode: IFilterButton['type'];
4
+ isStroke: IFilterButton['isStroke'];
5
5
  size: IFilterButton['size'];
6
6
  isText: boolean;
7
7
  }, never>;
@@ -24,9 +24,9 @@ export declare function useDrop({ placement }: {
24
24
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
25
25
  context: {
26
26
  placement: Placement;
27
- strategy: import("@floating-ui/utils").Strategy;
28
27
  x: number;
29
28
  y: number;
29
+ strategy: import("@floating-ui/utils").Strategy;
30
30
  middlewareData: import("@floating-ui/core").MiddlewareData;
31
31
  isPositioned: boolean;
32
32
  update: () => void;
@@ -1,3 +1,3 @@
1
1
  import { IFilterButton } from './FilterButton.typed';
2
- declare const FilterButton: ({ text, activeElements, type, children, resetFilter, handleConfirm, size, isConfirmWithoutClose, isCancelWithoutClose, handleCustomOpen, padding }: IFilterButton) => JSX.Element;
2
+ declare const FilterButton: ({ text, activeElements, isStroke, children, resetFilter, handleConfirm, size, isConfirmWithoutClose, isCancelWithoutClose, handleCustomOpen, padding }: IFilterButton) => JSX.Element;
3
3
  export { FilterButton };
@@ -1,6 +1,6 @@
1
1
  declare const _default: {
2
2
  title: string;
3
- component: ({ text, activeElements, type, children, resetFilter, handleConfirm, size, isConfirmWithoutClose, isCancelWithoutClose, handleCustomOpen, padding }: import("./FilterButton.typed").IFilterButton) => JSX.Element;
3
+ component: ({ text, activeElements, isStroke, children, resetFilter, handleConfirm, size, isConfirmWithoutClose, isCancelWithoutClose, handleCustomOpen, padding }: import("./FilterButton.typed").IFilterButton) => JSX.Element;
4
4
  tags: string[];
5
5
  parameters: {
6
6
  design: {
@@ -5,8 +5,8 @@ export interface IFilterButton {
5
5
  text?: string;
6
6
  /**Количество выбранных элементов */
7
7
  activeElements: number;
8
- /**Вид кнопки */
9
- type?: 'secondary' | 'accent';
8
+ /** Тип кнопки stroke */
9
+ isStroke?: boolean;
10
10
  /** Размер кнопки */
11
11
  size?: 'S' | 'M';
12
12
  /** Паддинги для выпадашки*/
@@ -26,9 +26,9 @@ export declare function useHint({ placement, isClickMobile }?: HintOptions): {
26
26
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
27
27
  context: {
28
28
  placement: Placement;
29
- strategy: import("@floating-ui/utils").Strategy;
30
29
  x: number;
31
30
  y: number;
31
+ strategy: import("@floating-ui/utils").Strategy;
32
32
  middlewareData: import("@floating-ui/core").MiddlewareData;
33
33
  isPositioned: boolean;
34
34
  update: () => void;
@@ -29,9 +29,9 @@ export declare function usePopup({ placement, isHover }: {
29
29
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
30
30
  context: {
31
31
  placement: Placement;
32
- strategy: import("@floating-ui/utils").Strategy;
33
32
  x: number;
34
33
  y: number;
34
+ strategy: import("@floating-ui/utils").Strategy;
35
35
  middlewareData: import("@floating-ui/core").MiddlewareData;
36
36
  isPositioned: boolean;
37
37
  update: () => void;
@@ -26,9 +26,9 @@ export declare function useTooltip({ placement, isHover, showArrow }: {
26
26
  } & import("@floating-ui/react").ExtendedElements<import("@floating-ui/react").ReferenceType>;
27
27
  context: {
28
28
  placement: Placement;
29
- strategy: import("@floating-ui/utils").Strategy;
30
29
  x: number;
31
30
  y: number;
31
+ strategy: import("@floating-ui/utils").Strategy;
32
32
  middlewareData: import("@floating-ui/core").MiddlewareData;
33
33
  isPositioned: boolean;
34
34
  update: () => void;