@alfalab/core-components-picker-button 11.11.4 → 11.12.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/Component-c44170fe.d.ts +1 -1
- package/component-03d088c4.d.ts +2 -2
- package/component-8bdd19d3.d.ts +2 -2
- package/cssm/transformSize-ebda875c.d.ts +3 -0
- package/cssm/typings-7d83ec1e.d.ts +2 -54
- package/desktop/Component.desktop.js +1 -1
- package/esm/desktop/Component.desktop.js +1 -1
- package/esm/field/Component.js +1 -1
- package/esm/field/index.css +6 -6
- package/esm/index.css +5 -5
- package/esm/option/Component.js +1 -1
- package/esm/option/index.css +4 -4
- package/esm/transformSize-ebda875c.d.ts +3 -0
- package/esm/typings-7d83ec1e.d.ts +2 -54
- package/field/Component.js +1 -1
- package/field/index.css +6 -6
- package/index-03d088c4.d.ts +2 -2
- package/index-281accb7.d.ts +2 -2
- package/index.css +5 -5
- package/modern/desktop/Component.desktop.js +1 -1
- package/modern/field/Component.js +1 -1
- package/modern/field/index.css +6 -6
- package/modern/index.css +5 -5
- package/modern/option/Component.js +1 -1
- package/modern/option/index.css +4 -4
- package/modern/transformSize-ebda875c.d.ts +3 -0
- package/modern/typings-7d83ec1e.d.ts +2 -54
- package/moderncssm/transformSize-ebda875c.d.ts +3 -0
- package/moderncssm/typings-7d83ec1e.d.ts +2 -54
- package/option/Component.js +1 -1
- package/option/index.css +4 -4
- package/package.json +5 -5
- package/transformSize-ebda875c.d.ts +3 -0
- package/typings-7d83ec1e.d.ts +2 -54
package/typings-7d83ec1e.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
/// <reference types="react-transition-group" />
|
|
3
3
|
import React from "react";
|
|
4
|
-
import { HTMLAttributes, ReactElement, ReactNode, RefObject, ButtonHTMLAttributes, ElementType, FC, ForwardRefExoticComponent, RefAttributes,
|
|
4
|
+
import { HTMLAttributes, ReactElement, ReactNode, RefObject, ButtonHTMLAttributes, ElementType, FC, ForwardRefExoticComponent, RefAttributes, AriaAttributes, ComponentType, FocusEvent, MouseEvent, SVGProps } from "react";
|
|
5
5
|
import { HandledEvents } from "react-swipeable/es/types";
|
|
6
6
|
import { TransitionProps } from "react-transition-group/Transition";
|
|
7
7
|
import { BaseModalProps, BaseModalContext } from "./index-11f20b2e";
|
|
@@ -11,7 +11,6 @@ import { Color } from "./colors-facf1d2a";
|
|
|
11
11
|
import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
|
|
12
12
|
import { TitleProps } from "./index-03d088c4";
|
|
13
13
|
import { TitleMobileProps } from "./index-281accb7";
|
|
14
|
-
import { ButtonProps } from "@alfalab/core-components-button";
|
|
15
14
|
import { ContentProps } from "./typings-d6bfd5b7";
|
|
16
15
|
import { ModalResponsiveProps as ModalProps } from "./typings-d6bfd5b7";
|
|
17
16
|
import { FormControlProps } from "./index-c44170fe";
|
|
@@ -679,57 +678,6 @@ declare const typographyPresets: {
|
|
|
679
678
|
};
|
|
680
679
|
};
|
|
681
680
|
};
|
|
682
|
-
type IconButtonProps = {
|
|
683
|
-
/**
|
|
684
|
-
* Компонент иконки
|
|
685
|
-
*/
|
|
686
|
-
icon: ElementType<{
|
|
687
|
-
className?: string;
|
|
688
|
-
}> | ReactElement;
|
|
689
|
-
/**
|
|
690
|
-
* Тип кнопки
|
|
691
|
-
*/
|
|
692
|
-
view?: "primary" | "secondary" | "transparent" | "tertiary" | "negative";
|
|
693
|
-
/**
|
|
694
|
-
* Размер компонента
|
|
695
|
-
* @description xxs, xs, s deprecated, используйте вместо них 24, 32, 40 соответственно
|
|
696
|
-
*/
|
|
697
|
-
size?: "xxs" | "xs" | "s" | 24 | 32 | 40 | 48 | 56;
|
|
698
|
-
/**
|
|
699
|
-
* Дополнительный класс
|
|
700
|
-
*/
|
|
701
|
-
className?: string;
|
|
702
|
-
/**
|
|
703
|
-
* Включает прозрачный фон
|
|
704
|
-
* @default false
|
|
705
|
-
*/
|
|
706
|
-
transparentBg?: boolean;
|
|
707
|
-
/**
|
|
708
|
-
* Выравнивание иконки
|
|
709
|
-
* @default 'center'
|
|
710
|
-
*/
|
|
711
|
-
alignIcon?: "left" | "center" | "right";
|
|
712
|
-
/**
|
|
713
|
-
* Идентификатор для систем автоматизированного тестирования
|
|
714
|
-
*/
|
|
715
|
-
dataTestId?: string;
|
|
716
|
-
/**
|
|
717
|
-
* Набор цветов для компонента
|
|
718
|
-
*/
|
|
719
|
-
colors?: "default" | "inverted";
|
|
720
|
-
} & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "Component" | "href" | "loading" | "breakpoint"> & Pick<AnchorHTMLAttributes<HTMLAnchorElement>, "target" | "download">;
|
|
721
|
-
declare const IconButton: React.ForwardRefExoticComponent<{
|
|
722
|
-
icon: ElementType<{
|
|
723
|
-
className?: string;
|
|
724
|
-
}> | ReactElement;
|
|
725
|
-
view?: "transparent" | "primary" | "secondary" | "tertiary" | "negative" | undefined;
|
|
726
|
-
size?: "s" | "xs" | 24 | 48 | "xxs" | 32 | 40 | 56 | undefined;
|
|
727
|
-
className?: string | undefined;
|
|
728
|
-
transparentBg?: boolean | undefined;
|
|
729
|
-
alignIcon?: "center" | "left" | "right" | undefined;
|
|
730
|
-
dataTestId?: string | undefined;
|
|
731
|
-
colors?: "default" | "inverted" | undefined;
|
|
732
|
-
} & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size"> & Pick<ButtonProps, "href" | "Component" | "loading" | "breakpoint"> & Pick<React.AnchorHTMLAttributes<HTMLAnchorElement>, "download" | "target"> & React.RefAttributes<HTMLButtonElement>>;
|
|
733
681
|
declare enum SwipeDirection {
|
|
734
682
|
Left = "Left",
|
|
735
683
|
Right = "Right",
|
|
@@ -1471,7 +1419,7 @@ type ClearButtonProps = {
|
|
|
1471
1419
|
*/
|
|
1472
1420
|
dataTestId?: string;
|
|
1473
1421
|
};
|
|
1474
|
-
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, InputProps, Input, ModalResponsive as Modal, ModalContext, getModalTestIds, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, useVisibleViewportSize, Typography, typographyPresets,
|
|
1422
|
+
export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, InputProps, Input, ModalResponsive as Modal, ModalContext, getModalTestIds, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, useVisibleViewportSize, Typography, typographyPresets, SwipeDirection, Content, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps, ClearButtonProps };
|
|
1475
1423
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TextProps };
|
|
1476
1424
|
export { ModalResponsiveProps as ModalProps } from "./typings-d6bfd5b7";
|
|
1477
1425
|
export type { ContentProps as ModalContentProps } from "./typings-d6bfd5b7";
|