@alfalab/core-components-picker-button 11.12.25 → 11.12.26
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/{cssm/use-skeleton-1328ead9.d.ts → Component-5479f1eb.d.ts} +4 -13
- package/Component-c44170fe.d.ts +5 -3
- package/{component-ee751dcf.d.ts → component-55a59fb5.d.ts} +1 -1
- package/component-f0afaf5b.d.ts +1 -1
- package/{esm/use-skeleton-1328ead9.d.ts → cssm/Component-5479f1eb.d.ts} +4 -13
- package/cssm/Component-c44170fe.d.ts +5 -3
- package/cssm/{component-ee751dcf.d.ts → component-55a59fb5.d.ts} +1 -1
- package/cssm/component-f0afaf5b.d.ts +1 -1
- package/cssm/index-281accb7.d.ts +2 -2
- package/cssm/index-f0afaf5b.d.ts +2 -2
- package/cssm/index-f48ccc7b.d.ts +3 -0
- package/{esm/types-1328ead9.d.ts → cssm/text-skeleton-props-cd673178.d.ts} +1 -2
- package/cssm/typings-d515b24c.d.ts +2 -1
- package/cssm/use-skeleton-5479f1eb.d.ts +12 -0
- package/desktop/Component.desktop.js +1 -1
- package/{modern/use-skeleton-1328ead9.d.ts → esm/Component-5479f1eb.d.ts} +4 -13
- package/esm/Component-c44170fe.d.ts +5 -3
- package/esm/{component-ee751dcf.d.ts → component-55a59fb5.d.ts} +1 -1
- package/esm/component-f0afaf5b.d.ts +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-281accb7.d.ts +2 -2
- package/esm/index-f0afaf5b.d.ts +2 -2
- package/esm/index-f48ccc7b.d.ts +3 -0
- package/esm/index.css +5 -5
- package/esm/option/Component.js +1 -1
- package/esm/option/index.css +4 -4
- package/{modern/types-1328ead9.d.ts → esm/text-skeleton-props-cd673178.d.ts} +1 -2
- package/esm/typings-d515b24c.d.ts +2 -1
- package/esm/use-skeleton-5479f1eb.d.ts +12 -0
- package/field/Component.js +1 -1
- package/field/index.css +6 -6
- package/index-281accb7.d.ts +2 -2
- package/index-f0afaf5b.d.ts +2 -2
- package/index-f48ccc7b.d.ts +3 -0
- package/index.css +5 -5
- package/{moderncssm/use-skeleton-1328ead9.d.ts → modern/Component-5479f1eb.d.ts} +4 -13
- package/modern/Component-c44170fe.d.ts +5 -3
- package/modern/{component-ee751dcf.d.ts → component-55a59fb5.d.ts} +1 -1
- package/modern/component-f0afaf5b.d.ts +1 -1
- 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-281accb7.d.ts +2 -2
- package/modern/index-f0afaf5b.d.ts +2 -2
- package/modern/index-f48ccc7b.d.ts +3 -0
- package/modern/index.css +5 -5
- package/modern/option/Component.js +1 -1
- package/modern/option/index.css +4 -4
- package/{moderncssm/types-1328ead9.d.ts → modern/text-skeleton-props-cd673178.d.ts} +1 -2
- package/modern/typings-d515b24c.d.ts +2 -1
- package/modern/use-skeleton-5479f1eb.d.ts +12 -0
- package/moderncssm/Component-5479f1eb.d.ts +46 -0
- package/moderncssm/Component-c44170fe.d.ts +5 -3
- package/moderncssm/component-55a59fb5.d.ts +129 -0
- package/moderncssm/component-f0afaf5b.d.ts +1 -1
- package/moderncssm/index-281accb7.d.ts +2 -2
- package/moderncssm/index-f0afaf5b.d.ts +2 -2
- package/moderncssm/index-f48ccc7b.d.ts +3 -0
- package/{cssm/types-1328ead9.d.ts → moderncssm/text-skeleton-props-cd673178.d.ts} +1 -2
- package/moderncssm/typings-d515b24c.d.ts +2 -1
- package/moderncssm/use-skeleton-5479f1eb.d.ts +12 -0
- package/option/Component.js +1 -1
- package/option/index.css +4 -4
- package/package.json +2 -2
- package/text-skeleton-props-cd673178.d.ts +20 -0
- package/typings-d515b24c.d.ts +2 -1
- package/use-skeleton-5479f1eb.d.ts +12 -0
- package/cssm/index-d691530f.d.ts +0 -1
- package/esm/index-d691530f.d.ts +0 -1
- package/index-d691530f.d.ts +0 -1
- package/modern/index-d691530f.d.ts +0 -1
- package/moderncssm/component-ee751dcf.d.ts +0 -129
- package/moderncssm/index-d691530f.d.ts +0 -1
- package/types-1328ead9.d.ts +0 -21
- package/use-skeleton-1328ead9.d.ts +0 -55
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
|
|
5
|
-
type BorderRadiusSize = 0 | 2 | 4 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 36 | 64 | "pill";
|
|
4
|
+
type BorderRadiusSize = 0 | 2 | 4 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 36 | 64 | 'pill';
|
|
6
5
|
type SkeletonProps = {
|
|
7
6
|
/**
|
|
8
7
|
* Флаг, явно задающий состояние, при котором контент закрывается прелоадером
|
|
@@ -36,7 +35,7 @@ type SkeletonProps = {
|
|
|
36
35
|
* Набор цветов для компонента
|
|
37
36
|
* @default default
|
|
38
37
|
*/
|
|
39
|
-
colors?:
|
|
38
|
+
colors?: 'default' | 'inverted';
|
|
40
39
|
/**
|
|
41
40
|
* Скругление углов
|
|
42
41
|
* @default 8
|
|
@@ -44,12 +43,4 @@ type SkeletonProps = {
|
|
|
44
43
|
borderRadius?: BorderRadiusSize;
|
|
45
44
|
};
|
|
46
45
|
declare const Skeleton: React.FC<SkeletonProps>;
|
|
47
|
-
|
|
48
|
-
wrapperClassName?: string;
|
|
49
|
-
dataTestId?: string;
|
|
50
|
-
};
|
|
51
|
-
declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
|
|
52
|
-
renderSkeleton: (props: SkeletonProps$0) => React.JSX.Element | null;
|
|
53
|
-
textRef: React.RefObject<HTMLElement>;
|
|
54
|
-
};
|
|
55
|
-
export { BorderRadiusSize, SkeletonProps, Skeleton, useSkeleton };
|
|
46
|
+
export { BorderRadiusSize, SkeletonProps, Skeleton };
|
package/Component-c44170fe.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
3
|
-
import { ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent,
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { ReactNode, ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent, RefAttributes } from "react";
|
|
4
4
|
import { FormControlProps } from "./index-c44170fe";
|
|
5
|
+
/** Позволяет узнать если в переданных элементах аддона компонент Steppers */
|
|
6
|
+
declare const hasStepperInRightAddon: (rightAddon: ReactNode) => boolean;
|
|
5
7
|
type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue' | 'onChange' | 'onClick' | 'onMouseDown' | 'enterKeyHint'> & {
|
|
6
8
|
/**
|
|
7
9
|
* Значение поля ввода
|
|
@@ -282,5 +284,5 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
282
284
|
*/
|
|
283
285
|
disableUserInput?: boolean | undefined;
|
|
284
286
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
287
|
+
export { hasStepperInRightAddon, BaseInputProps, BaseInput };
|
|
285
288
|
export * from "./Component-ebda875c";
|
|
286
|
-
export { BaseInputProps, BaseInput };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
|
+
import { TextSkeletonProps } from "./index-f48ccc7b";
|
|
4
5
|
import { Color } from "./colors-2c123cbc";
|
|
5
|
-
import { TextSkeletonProps } from "./types-1328ead9";
|
|
6
6
|
declare function getDefaultWeight(font: "styrene" | "system" | "alfasans", platform: "mobile" | "desktop"): "medium" | "bold" | "semibold";
|
|
7
7
|
type NativeProps = HTMLAttributes<HTMLHeadingElement>;
|
|
8
8
|
type TitleProps = Omit<NativeProps, 'color'> & {
|
package/component-f0afaf5b.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
|
|
|
27
27
|
children?: React.ReactNode;
|
|
28
28
|
rowLimit?: 1 | 2 | 3 | undefined;
|
|
29
29
|
showSkeleton?: boolean | undefined;
|
|
30
|
-
skeletonProps?: import("./
|
|
30
|
+
skeletonProps?: import("./index-f48ccc7b").TextSkeletonProps | undefined;
|
|
31
31
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
32
32
|
} & {
|
|
33
33
|
/**
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
|
|
5
|
-
type BorderRadiusSize = 0 | 2 | 4 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 36 | 64 | "pill";
|
|
4
|
+
type BorderRadiusSize = 0 | 2 | 4 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 36 | 64 | 'pill';
|
|
6
5
|
type SkeletonProps = {
|
|
7
6
|
/**
|
|
8
7
|
* Флаг, явно задающий состояние, при котором контент закрывается прелоадером
|
|
@@ -36,7 +35,7 @@ type SkeletonProps = {
|
|
|
36
35
|
* Набор цветов для компонента
|
|
37
36
|
* @default default
|
|
38
37
|
*/
|
|
39
|
-
colors?:
|
|
38
|
+
colors?: 'default' | 'inverted';
|
|
40
39
|
/**
|
|
41
40
|
* Скругление углов
|
|
42
41
|
* @default 8
|
|
@@ -44,12 +43,4 @@ type SkeletonProps = {
|
|
|
44
43
|
borderRadius?: BorderRadiusSize;
|
|
45
44
|
};
|
|
46
45
|
declare const Skeleton: React.FC<SkeletonProps>;
|
|
47
|
-
|
|
48
|
-
wrapperClassName?: string;
|
|
49
|
-
dataTestId?: string;
|
|
50
|
-
};
|
|
51
|
-
declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
|
|
52
|
-
renderSkeleton: (props: SkeletonProps$0) => React.JSX.Element | null;
|
|
53
|
-
textRef: React.RefObject<HTMLElement>;
|
|
54
|
-
};
|
|
55
|
-
export { BorderRadiusSize, SkeletonProps, Skeleton, useSkeleton };
|
|
46
|
+
export { BorderRadiusSize, SkeletonProps, Skeleton };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
3
|
-
import { ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent,
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { ReactNode, ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent, RefAttributes } from "react";
|
|
4
4
|
import { FormControlProps } from "./index-c44170fe";
|
|
5
|
+
/** Позволяет узнать если в переданных элементах аддона компонент Steppers */
|
|
6
|
+
declare const hasStepperInRightAddon: (rightAddon: ReactNode) => boolean;
|
|
5
7
|
type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue' | 'onChange' | 'onClick' | 'onMouseDown' | 'enterKeyHint'> & {
|
|
6
8
|
/**
|
|
7
9
|
* Значение поля ввода
|
|
@@ -282,5 +284,5 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
282
284
|
*/
|
|
283
285
|
disableUserInput?: boolean | undefined;
|
|
284
286
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
287
|
+
export { hasStepperInRightAddon, BaseInputProps, BaseInput };
|
|
285
288
|
export * from "./Component-ebda875c";
|
|
286
|
-
export { BaseInputProps, BaseInput };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
|
+
import { TextSkeletonProps } from "./index-f48ccc7b";
|
|
4
5
|
import { Color } from "./colors-2c123cbc";
|
|
5
|
-
import { TextSkeletonProps } from "./types-1328ead9";
|
|
6
6
|
declare function getDefaultWeight(font: "styrene" | "system" | "alfasans", platform: "mobile" | "desktop"): "medium" | "bold" | "semibold";
|
|
7
7
|
type NativeProps = HTMLAttributes<HTMLHeadingElement>;
|
|
8
8
|
type TitleProps = Omit<NativeProps, 'color'> & {
|
|
@@ -27,7 +27,7 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
|
|
|
27
27
|
children?: React.ReactNode;
|
|
28
28
|
rowLimit?: 1 | 2 | 3 | undefined;
|
|
29
29
|
showSkeleton?: boolean | undefined;
|
|
30
|
-
skeletonProps?: import("./
|
|
30
|
+
skeletonProps?: import("./index-f48ccc7b").TextSkeletonProps | undefined;
|
|
31
31
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
32
32
|
} & {
|
|
33
33
|
/**
|
package/cssm/index-281accb7.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
|
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
rowLimit?: 1 | 2 | 3 | undefined;
|
|
17
17
|
showSkeleton?: boolean | undefined;
|
|
18
|
-
skeletonProps?: import("./
|
|
18
|
+
skeletonProps?: import("./index-f48ccc7b").TextSkeletonProps | undefined;
|
|
19
19
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
20
20
|
} & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
|
|
21
21
|
export { TitleMobile };
|
|
22
|
-
export type { TitleProps as TitleMobileProps } from "./component-
|
|
22
|
+
export type { TitleProps as TitleMobileProps } from "./component-55a59fb5";
|
package/cssm/index-f0afaf5b.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { TitleProps } from "./component-
|
|
3
|
+
import { TitleProps } from "./component-55a59fb5";
|
|
4
4
|
declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
|
|
5
5
|
tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
6
6
|
view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
|
|
@@ -16,7 +16,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<H
|
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
rowLimit?: 1 | 2 | 3 | undefined;
|
|
18
18
|
showSkeleton?: boolean | undefined;
|
|
19
|
-
skeletonProps?: import("./
|
|
19
|
+
skeletonProps?: import("./index-f48ccc7b").TextSkeletonProps | undefined;
|
|
20
20
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
21
21
|
} & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
|
|
22
22
|
export { Title };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
2
1
|
type WidthUnit = number | string;
|
|
3
2
|
type TextSkeletonProps = {
|
|
4
3
|
/**
|
|
@@ -18,4 +17,4 @@ type TextSkeletonProps = {
|
|
|
18
17
|
*/
|
|
19
18
|
wrapperClassName?: string;
|
|
20
19
|
};
|
|
21
|
-
export {
|
|
20
|
+
export { TextSkeletonProps };
|
|
@@ -9,8 +9,8 @@ import { IconButtonProps, BaseInputProps, BackdropProps } from "./index-ebda875c
|
|
|
9
9
|
import { ContentProps } from "./typings-4b7234ef";
|
|
10
10
|
import { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
|
|
11
11
|
import { SwipeableHandlers, SwipeDirections } from "react-swipeable";
|
|
12
|
+
import { TextSkeletonProps } from "./index-f48ccc7b";
|
|
12
13
|
import { Color } from "./colors-2c123cbc";
|
|
13
|
-
import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
|
|
14
14
|
import { Title, TitleProps } from "./index-f0afaf5b";
|
|
15
15
|
import { TitleMobile, TitleMobileProps } from "./index-281accb7";
|
|
16
16
|
import { FormControlProps } from "./index-c44170fe";
|
|
@@ -634,6 +634,7 @@ declare function useVisualViewportSize(): VisualViewportSize | null;
|
|
|
634
634
|
* @deprecated use {@link useVisualViewportSize}
|
|
635
635
|
*/
|
|
636
636
|
declare function useVisibleViewportSize(enabled?: boolean): VisualViewportSize | null;
|
|
637
|
+
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
637
638
|
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
638
639
|
type TextBaseProps = {
|
|
639
640
|
/**
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { TextSkeletonProps } from "./text-skeleton-props-cd673178";
|
|
4
|
+
type SkeletonProps = {
|
|
5
|
+
wrapperClassName?: string;
|
|
6
|
+
dataTestId?: string;
|
|
7
|
+
};
|
|
8
|
+
declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
|
|
9
|
+
renderSkeleton: (props: SkeletonProps) => React.JSX.Element | null;
|
|
10
|
+
textRef: React.RefObject<HTMLElement>;
|
|
11
|
+
};
|
|
12
|
+
export { useSkeleton };
|
|
@@ -15,7 +15,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
15
15
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
16
16
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
17
17
|
|
|
18
|
-
var styles = {"container":"picker-
|
|
18
|
+
var styles = {"container":"picker-button__container_5c55d","optionsPopover":"picker-button__optionsPopover_5c55d","sideGap":"picker-button__sideGap_5c55d","option":"picker-button__option_5c55d"};
|
|
19
19
|
require('./../index.css')
|
|
20
20
|
|
|
21
21
|
var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
|
|
5
|
-
type BorderRadiusSize = 0 | 2 | 4 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 36 | 64 | "pill";
|
|
4
|
+
type BorderRadiusSize = 0 | 2 | 4 | 6 | 8 | 10 | 12 | 16 | 20 | 24 | 32 | 36 | 64 | 'pill';
|
|
6
5
|
type SkeletonProps = {
|
|
7
6
|
/**
|
|
8
7
|
* Флаг, явно задающий состояние, при котором контент закрывается прелоадером
|
|
@@ -36,7 +35,7 @@ type SkeletonProps = {
|
|
|
36
35
|
* Набор цветов для компонента
|
|
37
36
|
* @default default
|
|
38
37
|
*/
|
|
39
|
-
colors?:
|
|
38
|
+
colors?: 'default' | 'inverted';
|
|
40
39
|
/**
|
|
41
40
|
* Скругление углов
|
|
42
41
|
* @default 8
|
|
@@ -44,12 +43,4 @@ type SkeletonProps = {
|
|
|
44
43
|
borderRadius?: BorderRadiusSize;
|
|
45
44
|
};
|
|
46
45
|
declare const Skeleton: React.FC<SkeletonProps>;
|
|
47
|
-
|
|
48
|
-
wrapperClassName?: string;
|
|
49
|
-
dataTestId?: string;
|
|
50
|
-
};
|
|
51
|
-
declare function useSkeleton(showSkeleton?: boolean, skeletonProps?: TextSkeletonProps): {
|
|
52
|
-
renderSkeleton: (props: SkeletonProps$0) => React.JSX.Element | null;
|
|
53
|
-
textRef: React.RefObject<HTMLElement>;
|
|
54
|
-
};
|
|
55
|
-
export { BorderRadiusSize, SkeletonProps, Skeleton, useSkeleton };
|
|
46
|
+
export { BorderRadiusSize, SkeletonProps, Skeleton };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
3
|
-
import { ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent,
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { ReactNode, ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent, RefAttributes } from "react";
|
|
4
4
|
import { FormControlProps } from "./index-c44170fe";
|
|
5
|
+
/** Позволяет узнать если в переданных элементах аддона компонент Steppers */
|
|
6
|
+
declare const hasStepperInRightAddon: (rightAddon: ReactNode) => boolean;
|
|
5
7
|
type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue' | 'onChange' | 'onClick' | 'onMouseDown' | 'enterKeyHint'> & {
|
|
6
8
|
/**
|
|
7
9
|
* Значение поля ввода
|
|
@@ -282,5 +284,5 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
282
284
|
*/
|
|
283
285
|
disableUserInput?: boolean | undefined;
|
|
284
286
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
287
|
+
export { hasStepperInRightAddon, BaseInputProps, BaseInput };
|
|
285
288
|
export * from "./Component-ebda875c";
|
|
286
|
-
export { BaseInputProps, BaseInput };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
|
+
import { TextSkeletonProps } from "./index-f48ccc7b";
|
|
4
5
|
import { Color } from "./colors-2c123cbc";
|
|
5
|
-
import { TextSkeletonProps } from "./types-1328ead9";
|
|
6
6
|
declare function getDefaultWeight(font: "styrene" | "system" | "alfasans", platform: "mobile" | "desktop"): "medium" | "bold" | "semibold";
|
|
7
7
|
type NativeProps = HTMLAttributes<HTMLHeadingElement>;
|
|
8
8
|
type TitleProps = Omit<NativeProps, 'color'> & {
|
|
@@ -27,7 +27,7 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
|
|
|
27
27
|
children?: React.ReactNode;
|
|
28
28
|
rowLimit?: 1 | 2 | 3 | undefined;
|
|
29
29
|
showSkeleton?: boolean | undefined;
|
|
30
|
-
skeletonProps?: import("./
|
|
30
|
+
skeletonProps?: import("./index-f48ccc7b").TextSkeletonProps | undefined;
|
|
31
31
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
32
32
|
} & {
|
|
33
33
|
/**
|
|
@@ -6,7 +6,7 @@ import { BaseSelect, OptionsList, Optgroup } from '@alfalab/core-components-sele
|
|
|
6
6
|
import { Field } from '../field/Component.js';
|
|
7
7
|
import { Option } from '../option/Component.js';
|
|
8
8
|
|
|
9
|
-
var styles = {"container":"picker-
|
|
9
|
+
var styles = {"container":"picker-button__container_5c55d","optionsPopover":"picker-button__optionsPopover_5c55d","sideGap":"picker-button__sideGap_5c55d","option":"picker-button__option_5c55d"};
|
|
10
10
|
require('./../index.css')
|
|
11
11
|
|
|
12
12
|
var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
|
package/esm/field/Component.js
CHANGED
|
@@ -4,7 +4,7 @@ import cn from 'classnames';
|
|
|
4
4
|
import { Button } from '@alfalab/core-components-button/esm';
|
|
5
5
|
import { getIcon } from '../utils/index.js';
|
|
6
6
|
|
|
7
|
-
var styles = {"iconContainer":"picker-
|
|
7
|
+
var styles = {"iconContainer":"picker-button__iconContainer_1uh3s","addonsContainer":"picker-button__addonsContainer_1uh3s","showControlIcon":"picker-button__showControlIcon_1uh3s","open":"picker-button__open_1uh3s","linkOpen":"picker-button__linkOpen_1uh3s"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
var SIZE_TO_CLASSNAME_MAP = {
|
package/esm/field/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: cwxwy */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-transparent-default-hover: rgba(38, 55, 88, 0.06); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
} :root {
|
|
26
26
|
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
27
27
|
--arrow-transform: rotate(180deg);
|
|
28
|
-
} /* сбрасывает синюю подсветку при нажатии */ .picker-
|
|
28
|
+
} /* сбрасывает синюю подсветку при нажатии */ .picker-button__iconContainer_1uh3s {
|
|
29
29
|
display: flex;
|
|
30
30
|
transition: transform 0.15s ease-in-out;
|
|
31
|
-
} .picker-
|
|
31
|
+
} .picker-button__addonsContainer_1uh3s {
|
|
32
32
|
display: flex
|
|
33
|
-
} .picker-
|
|
33
|
+
} .picker-button__addonsContainer_1uh3s.picker-button__showControlIcon_1uh3s {
|
|
34
34
|
margin-right: var(--gap-4);
|
|
35
|
-
} .picker-
|
|
35
|
+
} .picker-button__open_1uh3s {
|
|
36
36
|
transform: var(--arrow-transform);
|
|
37
|
-
} .picker-
|
|
37
|
+
} .picker-button__linkOpen_1uh3s:not(:hover) {
|
|
38
38
|
background-color: var(--color-light-transparent-default-hover);
|
|
39
39
|
}
|
package/esm/index-281accb7.d.ts
CHANGED
|
@@ -15,8 +15,8 @@ declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
|
|
|
15
15
|
children?: React.ReactNode;
|
|
16
16
|
rowLimit?: 1 | 2 | 3 | undefined;
|
|
17
17
|
showSkeleton?: boolean | undefined;
|
|
18
|
-
skeletonProps?: import("./
|
|
18
|
+
skeletonProps?: import("./index-f48ccc7b").TextSkeletonProps | undefined;
|
|
19
19
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
20
20
|
} & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
|
|
21
21
|
export { TitleMobile };
|
|
22
|
-
export type { TitleProps as TitleMobileProps } from "./component-
|
|
22
|
+
export type { TitleProps as TitleMobileProps } from "./component-55a59fb5";
|
package/esm/index-f0afaf5b.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { TitleProps } from "./component-
|
|
3
|
+
import { TitleProps } from "./component-55a59fb5";
|
|
4
4
|
declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
|
|
5
5
|
tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
6
6
|
view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
|
|
@@ -16,7 +16,7 @@ declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<H
|
|
|
16
16
|
children?: React.ReactNode;
|
|
17
17
|
rowLimit?: 1 | 2 | 3 | undefined;
|
|
18
18
|
showSkeleton?: boolean | undefined;
|
|
19
|
-
skeletonProps?: import("./
|
|
19
|
+
skeletonProps?: import("./index-f48ccc7b").TextSkeletonProps | undefined;
|
|
20
20
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
21
21
|
} & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
|
|
22
22
|
export { Title };
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: dt0i5 */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
--gap-16: var(--gap-m);
|
|
27
27
|
} :root {
|
|
28
28
|
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
29
|
-
} /* сбрасывает синюю подсветку при нажатии */ .picker-
|
|
29
|
+
} /* сбрасывает синюю подсветку при нажатии */ .picker-button__container_5c55d {
|
|
30
30
|
min-width: auto;
|
|
31
|
-
} .cc-picker-button.picker-
|
|
31
|
+
} .cc-picker-button.picker-button__optionsPopover_5c55d.picker-button__sideGap_5c55d {
|
|
32
32
|
padding: var(--gap-0) var(--gap-8);
|
|
33
|
-
} .cc-picker-button .picker-
|
|
33
|
+
} .cc-picker-button .picker-button__option_5c55d {
|
|
34
34
|
padding: var(--gap-0) var(--gap-16)
|
|
35
|
-
} .cc-picker-button .picker-
|
|
35
|
+
} .cc-picker-button .picker-button__option_5c55d:before {
|
|
36
36
|
/* Удаляем разделители у опций выпадающего списка. */
|
|
37
37
|
display: none;
|
|
38
38
|
}
|
package/esm/option/Component.js
CHANGED
|
@@ -2,7 +2,7 @@ import { __rest, __assign } from 'tslib';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { Option as Option$1 } from '@alfalab/core-components-select/esm/shared';
|
|
4
4
|
|
|
5
|
-
var styles = {"container":"picker-
|
|
5
|
+
var styles = {"container":"picker-button__container_a6msf","icon":"picker-button__icon_a6msf","content":"picker-button__content_a6msf"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Option = function (_a) {
|
package/esm/option/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: hf25a */
|
|
2
2
|
:root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
--gap-12: var(--gap-s);
|
|
24
24
|
} :root {
|
|
25
25
|
} /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
|
|
26
|
-
} /* сбрасывает синюю подсветку при нажатии */ .picker-
|
|
26
|
+
} /* сбрасывает синюю подсветку при нажатии */ .picker-button__container_a6msf {
|
|
27
27
|
display: flex;
|
|
28
28
|
align-items: center;
|
|
29
|
-
} .picker-
|
|
29
|
+
} .picker-button__icon_a6msf {
|
|
30
30
|
display: flex;
|
|
31
31
|
margin-right: var(--gap-12);
|
|
32
|
-
} .picker-
|
|
32
|
+
} .picker-button__content_a6msf {
|
|
33
33
|
overflow: hidden;
|
|
34
34
|
flex: 1;
|
|
35
35
|
text-overflow: ellipsis;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
2
1
|
type WidthUnit = number | string;
|
|
3
2
|
type TextSkeletonProps = {
|
|
4
3
|
/**
|
|
@@ -18,4 +17,4 @@ type TextSkeletonProps = {
|
|
|
18
17
|
*/
|
|
19
18
|
wrapperClassName?: string;
|
|
20
19
|
};
|
|
21
|
-
export {
|
|
20
|
+
export { TextSkeletonProps };
|
|
@@ -9,8 +9,8 @@ import { IconButtonProps, BaseInputProps, BackdropProps } from "./index-ebda875c
|
|
|
9
9
|
import { ContentProps } from "./typings-4b7234ef";
|
|
10
10
|
import { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
|
|
11
11
|
import { SwipeableHandlers, SwipeDirections } from "react-swipeable";
|
|
12
|
+
import { TextSkeletonProps } from "./index-f48ccc7b";
|
|
12
13
|
import { Color } from "./colors-2c123cbc";
|
|
13
|
-
import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
|
|
14
14
|
import { Title, TitleProps } from "./index-f0afaf5b";
|
|
15
15
|
import { TitleMobile, TitleMobileProps } from "./index-281accb7";
|
|
16
16
|
import { FormControlProps } from "./index-c44170fe";
|
|
@@ -634,6 +634,7 @@ declare function useVisualViewportSize(): VisualViewportSize | null;
|
|
|
634
634
|
* @deprecated use {@link useVisualViewportSize}
|
|
635
635
|
*/
|
|
636
636
|
declare function useVisibleViewportSize(enabled?: boolean): VisualViewportSize | null;
|
|
637
|
+
type TextElementType = HTMLParagraphElement | HTMLSpanElement | HTMLDivElement;
|
|
637
638
|
type NativeProps = HTMLAttributes<HTMLSpanElement>;
|
|
638
639
|
type TextBaseProps = {
|
|
639
640
|
/**
|