@alfalab/core-components-picker-button 11.12.8 → 11.12.10
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/{esm/Component-a9c8f92e.d.ts → Component-55db088c.d.ts} +1 -1
- package/Component-c44170fe.d.ts +5 -11
- package/Component-ebda875c.d.ts +12 -0
- package/{cssm/consts-ef43bf1b.d.ts → consts-98cfb385.d.ts} +1 -0
- package/{Component-a9c8f92e.d.ts → cssm/Component-55db088c.d.ts} +1 -1
- package/cssm/Component-c44170fe.d.ts +5 -11
- package/cssm/Component-ebda875c.d.ts +12 -0
- package/{esm/consts-ef43bf1b.d.ts → cssm/consts-98cfb385.d.ts} +1 -0
- package/cssm/field/Component.d.ts +1 -1
- package/cssm/{typings-a9c8f92e.d.ts → typings-55db088c.d.ts} +41 -32
- package/cssm/utils-34f6b81b.d.ts +1 -1
- package/desktop/Component.desktop.js +1 -1
- package/{modern/Component-a9c8f92e.d.ts → esm/Component-55db088c.d.ts} +1 -1
- package/esm/Component-c44170fe.d.ts +5 -11
- package/esm/Component-ebda875c.d.ts +12 -0
- package/{consts-ef43bf1b.d.ts → esm/consts-98cfb385.d.ts} +1 -0
- package/esm/desktop/Component.desktop.js +1 -1
- package/esm/field/Component.d.ts +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/{typings-a9c8f92e.d.ts → typings-55db088c.d.ts} +41 -32
- package/esm/utils-34f6b81b.d.ts +1 -1
- package/field/Component.d.ts +1 -1
- package/field/Component.js +1 -1
- package/field/index.css +6 -6
- package/index.css +5 -5
- package/{cssm/Component-a9c8f92e.d.ts → modern/Component-55db088c.d.ts} +1 -1
- package/modern/Component-c44170fe.d.ts +5 -11
- package/modern/Component-ebda875c.d.ts +12 -0
- package/modern/{consts-ef43bf1b.d.ts → consts-98cfb385.d.ts} +1 -0
- package/modern/desktop/Component.desktop.js +1 -1
- package/modern/field/Component.d.ts +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/{typings-a9c8f92e.d.ts → typings-55db088c.d.ts} +41 -32
- package/modern/utils-34f6b81b.d.ts +1 -1
- package/moderncssm/Component-55db088c.d.ts +5 -0
- package/moderncssm/Component-c44170fe.d.ts +5 -11
- package/moderncssm/Component-ebda875c.d.ts +12 -0
- package/moderncssm/consts-98cfb385.d.ts +13 -0
- package/moderncssm/field/Component.d.ts +1 -1
- package/moderncssm/{typings-a9c8f92e.d.ts → typings-55db088c.d.ts} +41 -32
- package/moderncssm/utils-34f6b81b.d.ts +1 -1
- package/option/Component.js +1 -1
- package/option/index.css +4 -4
- package/package.json +9 -9
- package/typings-55db088c.d.ts +1463 -0
- package/utils-34f6b81b.d.ts +1 -1
- package/@alfalab/icons-glyph/package.json +0 -14
- package/moderncssm/Component-a9c8f92e.d.ts +0 -5
- package/moderncssm/consts-ef43bf1b.d.ts +0 -12
- package/typings-a9c8f92e.d.ts +0 -1454
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { OptgroupProps } from "./typings-
|
|
3
|
+
import { OptgroupProps } from "./typings-55db088c";
|
|
4
4
|
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
5
5
|
export { Optgroup };
|
package/Component-c44170fe.d.ts
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent, ReactNode, RefAttributes } from "react";
|
|
4
4
|
import { FormControlProps } from "./index-c44170fe";
|
|
5
|
-
interface ClearButtonProps {
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
8
|
-
colors: "default" | "inverted";
|
|
9
|
-
dataTestId?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const ClearButton: React.FC<ClearButtonProps>;
|
|
12
5
|
type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue' | 'onChange' | 'onClick' | 'onMouseDown' | 'enterKeyHint'> & {
|
|
13
6
|
/**
|
|
14
7
|
* Значение поля ввода
|
|
@@ -30,7 +23,7 @@ type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type
|
|
|
30
23
|
* Размер компонента
|
|
31
24
|
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
32
25
|
*/
|
|
33
|
-
size?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
|
|
26
|
+
size?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
|
|
34
27
|
/**
|
|
35
28
|
* Набор цветов для компонента
|
|
36
29
|
*/
|
|
@@ -168,7 +161,7 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
168
161
|
* Размер компонента
|
|
169
162
|
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
170
163
|
*/
|
|
171
|
-
size?: "s" | "m" | "l" | "xl" | 48 | 56 | 64 | 72 | undefined;
|
|
164
|
+
size?: "s" | "m" | "l" | "xl" | 48 | 40 | 56 | 64 | 72 | undefined;
|
|
172
165
|
/**
|
|
173
166
|
* Набор цветов для компонента
|
|
174
167
|
*/
|
|
@@ -289,4 +282,5 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
289
282
|
*/
|
|
290
283
|
disableUserInput?: boolean | undefined;
|
|
291
284
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
292
|
-
export
|
|
285
|
+
export * from "./Component-ebda875c";
|
|
286
|
+
export { BaseInputProps, BaseInput };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BaseInputProps } from "./index-ebda875c";
|
|
4
|
+
interface ClearButtonProps {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
7
|
+
colors: 'default' | 'inverted';
|
|
8
|
+
dataTestId?: string;
|
|
9
|
+
size?: BaseInputProps['size'];
|
|
10
|
+
}
|
|
11
|
+
declare const ClearButton: React.FC<ClearButtonProps>;
|
|
12
|
+
export { ClearButton };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { OptgroupProps } from "./typings-
|
|
3
|
+
import { OptgroupProps } from "./typings-55db088c";
|
|
4
4
|
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
5
5
|
export { Optgroup };
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent, ReactNode, RefAttributes } from "react";
|
|
4
4
|
import { FormControlProps } from "./index-c44170fe";
|
|
5
|
-
interface ClearButtonProps {
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
8
|
-
colors: "default" | "inverted";
|
|
9
|
-
dataTestId?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const ClearButton: React.FC<ClearButtonProps>;
|
|
12
5
|
type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue' | 'onChange' | 'onClick' | 'onMouseDown' | 'enterKeyHint'> & {
|
|
13
6
|
/**
|
|
14
7
|
* Значение поля ввода
|
|
@@ -30,7 +23,7 @@ type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type
|
|
|
30
23
|
* Размер компонента
|
|
31
24
|
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
32
25
|
*/
|
|
33
|
-
size?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
|
|
26
|
+
size?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
|
|
34
27
|
/**
|
|
35
28
|
* Набор цветов для компонента
|
|
36
29
|
*/
|
|
@@ -168,7 +161,7 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
168
161
|
* Размер компонента
|
|
169
162
|
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
170
163
|
*/
|
|
171
|
-
size?: "s" | "m" | "l" | "xl" | 48 | 56 | 64 | 72 | undefined;
|
|
164
|
+
size?: "s" | "m" | "l" | "xl" | 48 | 40 | 56 | 64 | 72 | undefined;
|
|
172
165
|
/**
|
|
173
166
|
* Набор цветов для компонента
|
|
174
167
|
*/
|
|
@@ -289,4 +282,5 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
289
282
|
*/
|
|
290
283
|
disableUserInput?: boolean | undefined;
|
|
291
284
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
292
|
-
export
|
|
285
|
+
export * from "./Component-ebda875c";
|
|
286
|
+
export { BaseInputProps, BaseInput };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BaseInputProps } from "./index-ebda875c";
|
|
4
|
+
interface ClearButtonProps {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
7
|
+
colors: 'default' | 'inverted';
|
|
8
|
+
dataTestId?: string;
|
|
9
|
+
size?: BaseInputProps['size'];
|
|
10
|
+
}
|
|
11
|
+
declare const ClearButton: React.FC<ClearButtonProps>;
|
|
12
|
+
export { ClearButton };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ComponentType, SVGProps } from "react";
|
|
4
4
|
import { ButtonProps } from "@alfalab/core-components-button";
|
|
5
|
-
import { FieldProps as BaseFieldProps } from "../typings-
|
|
5
|
+
import { FieldProps as BaseFieldProps } from "../typings-55db088c";
|
|
6
6
|
import { PickerButtonSize, PickerButtonVariant } from "../types";
|
|
7
7
|
type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
|
|
8
8
|
buttonSize?: PickerButtonSize;
|
|
@@ -6,13 +6,13 @@ import { HandledEvents } from "react-swipeable/es/types";
|
|
|
6
6
|
import { TransitionProps } from "react-transition-group/Transition";
|
|
7
7
|
import { BaseModalProps, BaseModalContext } from "./index-11f20b2e";
|
|
8
8
|
import { BaseInputProps, BackdropProps } from "./index-ebda875c";
|
|
9
|
+
import { ContentProps } from "./typings-4b7234ef";
|
|
10
|
+
import { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
|
|
9
11
|
import { SwipeableHandlers, SwipeDirections } from "react-swipeable";
|
|
10
12
|
import { Color } from "./colors-facf1d2a";
|
|
11
13
|
import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
|
|
12
14
|
import { Title, TitleProps } from "./index-03d088c4";
|
|
13
15
|
import { TitleMobile, TitleMobileProps } from "./index-281accb7";
|
|
14
|
-
import { ContentProps } from "./typings-4b7234ef";
|
|
15
|
-
import { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
|
|
16
16
|
import { FormControlProps } from "./index-c44170fe";
|
|
17
17
|
import { PopoverProps } from "@alfalab/core-components-popover";
|
|
18
18
|
import { UseSelectWithApplyProps } from "./field/Component";
|
|
@@ -481,29 +481,6 @@ declare const Input: React.ForwardRefExoticComponent<Omit<BaseInputProps, "FormC
|
|
|
481
481
|
client?: "desktop" | "mobile" | undefined;
|
|
482
482
|
defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
|
|
483
483
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
484
|
-
type HeaderProps = Omit<NavigationBarPrivateProps, "size" | "view" | "parentRef">;
|
|
485
|
-
type FooterProps = {
|
|
486
|
-
/**
|
|
487
|
-
* Контент футера
|
|
488
|
-
*/
|
|
489
|
-
children?: ReactNode;
|
|
490
|
-
/**
|
|
491
|
-
* Дополнительный класс
|
|
492
|
-
*/
|
|
493
|
-
className?: string;
|
|
494
|
-
/**
|
|
495
|
-
* Фиксирует футер
|
|
496
|
-
*/
|
|
497
|
-
sticky?: boolean;
|
|
498
|
-
/**
|
|
499
|
-
* Выравнивание элементов футера
|
|
500
|
-
*/
|
|
501
|
-
layout?: "start" | "center" | "space-between" | "column";
|
|
502
|
-
/**
|
|
503
|
-
* Отступы между элементами футера
|
|
504
|
-
*/
|
|
505
|
-
gap?: 16 | 24 | 32;
|
|
506
|
-
};
|
|
507
484
|
interface ControlsProps {
|
|
508
485
|
/**
|
|
509
486
|
* Основной слот
|
|
@@ -528,6 +505,29 @@ interface ControlsProps {
|
|
|
528
505
|
*/
|
|
529
506
|
gap?: 16 | 24 | 32;
|
|
530
507
|
}
|
|
508
|
+
type FooterProps = {
|
|
509
|
+
/**
|
|
510
|
+
* Контент футера
|
|
511
|
+
*/
|
|
512
|
+
children?: ReactNode;
|
|
513
|
+
/**
|
|
514
|
+
* Дополнительный класс
|
|
515
|
+
*/
|
|
516
|
+
className?: string;
|
|
517
|
+
/**
|
|
518
|
+
* Фиксирует футер
|
|
519
|
+
*/
|
|
520
|
+
sticky?: boolean;
|
|
521
|
+
/**
|
|
522
|
+
* Выравнивание элементов футера
|
|
523
|
+
*/
|
|
524
|
+
layout?: "start" | "center" | "space-between" | "column";
|
|
525
|
+
/**
|
|
526
|
+
* Отступы между элементами футера
|
|
527
|
+
*/
|
|
528
|
+
gap?: 16 | 24 | 32;
|
|
529
|
+
};
|
|
530
|
+
type HeaderProps = Omit<NavigationBarPrivateProps, "size" | "view" | "parentRef">;
|
|
531
531
|
declare const ModalResponsive: React.ForwardRefExoticComponent<import("./index-11f20b2e").BaseModalProps & {
|
|
532
532
|
size?: "s" | "m" | "l" | "xl" | 500 | "fullscreen" | 600 | 800 | 1140 | undefined;
|
|
533
533
|
fullscreen?: boolean | undefined;
|
|
@@ -692,7 +692,6 @@ declare enum SwipeDirection {
|
|
|
692
692
|
Up = "Up",
|
|
693
693
|
Down = "Down"
|
|
694
694
|
}
|
|
695
|
-
declare const Content: FC<ContentProps>;
|
|
696
695
|
type AnyObject = Record<string, any>;
|
|
697
696
|
type OptionShape = {
|
|
698
697
|
/**
|
|
@@ -796,12 +795,12 @@ type BaseSelectProps = {
|
|
|
796
795
|
* Размер компонента
|
|
797
796
|
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
798
797
|
*/
|
|
799
|
-
size?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
|
|
798
|
+
size?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
|
|
800
799
|
/**
|
|
801
800
|
* Размер пунктов меню
|
|
802
801
|
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
803
802
|
*/
|
|
804
|
-
optionsSize?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
|
|
803
|
+
optionsSize?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
|
|
805
804
|
/**
|
|
806
805
|
* Растягивает компонент на ширину контейнера
|
|
807
806
|
*/
|
|
@@ -1076,6 +1075,11 @@ type ArrowProps = {
|
|
|
1076
1075
|
* Флаг блокировки select'а
|
|
1077
1076
|
*/
|
|
1078
1077
|
disabled?: boolean;
|
|
1078
|
+
/**
|
|
1079
|
+
* Размер компонента
|
|
1080
|
+
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
1081
|
+
*/
|
|
1082
|
+
size?: BaseSelectProps['size'];
|
|
1079
1083
|
};
|
|
1080
1084
|
type OptionsListProps = {
|
|
1081
1085
|
/**
|
|
@@ -1098,7 +1102,7 @@ type OptionsListProps = {
|
|
|
1098
1102
|
* Размер компонента
|
|
1099
1103
|
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
1100
1104
|
*/
|
|
1101
|
-
size?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
|
|
1105
|
+
size?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
|
|
1102
1106
|
/**
|
|
1103
1107
|
* Компонент пункта меню
|
|
1104
1108
|
*/
|
|
@@ -1218,7 +1222,7 @@ type OptgroupProps = {
|
|
|
1218
1222
|
* Размер компонента
|
|
1219
1223
|
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
1220
1224
|
*/
|
|
1221
|
-
size?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
|
|
1225
|
+
size?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
|
|
1222
1226
|
/**
|
|
1223
1227
|
* Заголовок группы
|
|
1224
1228
|
*/
|
|
@@ -1257,7 +1261,7 @@ type OptionProps = {
|
|
|
1257
1261
|
* Размер компонента
|
|
1258
1262
|
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
1259
1263
|
*/
|
|
1260
|
-
size?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
|
|
1264
|
+
size?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
|
|
1261
1265
|
/**
|
|
1262
1266
|
* Контент пункта меню
|
|
1263
1267
|
*/
|
|
@@ -1443,8 +1447,13 @@ type ClearButtonProps = {
|
|
|
1443
1447
|
* Идентификатор для систем автоматизированного тестирования
|
|
1444
1448
|
*/
|
|
1445
1449
|
dataTestId?: string;
|
|
1450
|
+
/**
|
|
1451
|
+
* Размер компонента
|
|
1452
|
+
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
1453
|
+
*/
|
|
1454
|
+
size?: FormControlProps['size'];
|
|
1446
1455
|
};
|
|
1447
|
-
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, Text, Title as TitleDesktop, TitleResponsive, TitleMobile, typographyPresets, SwipeDirection,
|
|
1456
|
+
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, Text, Title as TitleDesktop, TitleResponsive, TitleMobile, typographyPresets, SwipeDirection, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps, ClearButtonProps };
|
|
1448
1457
|
export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TextProps };
|
|
1449
1458
|
export { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
|
|
1450
1459
|
export type { ContentProps as ModalContentProps } from "./typings-4b7234ef";
|
package/cssm/utils-34f6b81b.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode, RefObject } from 'react';
|
|
2
|
-
import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-
|
|
2
|
+
import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-55db088c";
|
|
3
3
|
declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
|
|
4
4
|
declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
|
|
5
5
|
declare const joinOptions: ({ selected, selectedMultiple, }: {
|
|
@@ -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_bbjzs","optionsPopover":"picker-button__optionsPopover_bbjzs","sideGap":"picker-button__sideGap_bbjzs","option":"picker-button__option_bbjzs"};
|
|
19
19
|
require('./../index.css')
|
|
20
20
|
|
|
21
21
|
var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import { OptgroupProps } from "./typings-
|
|
3
|
+
import { OptgroupProps } from "./typings-55db088c";
|
|
4
4
|
declare const Optgroup: ({ children, className, label, size }: OptgroupProps) => React.JSX.Element;
|
|
5
5
|
export { Optgroup };
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React from
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { ChangeEvent, ElementType, HTMLAttributes, InputHTMLAttributes, MouseEvent, ReactNode, RefAttributes } from "react";
|
|
4
4
|
import { FormControlProps } from "./index-c44170fe";
|
|
5
|
-
interface ClearButtonProps {
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
8
|
-
colors: "default" | "inverted";
|
|
9
|
-
dataTestId?: string;
|
|
10
|
-
}
|
|
11
|
-
declare const ClearButton: React.FC<ClearButtonProps>;
|
|
12
5
|
type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'defaultValue' | 'onChange' | 'onClick' | 'onMouseDown' | 'enterKeyHint'> & {
|
|
13
6
|
/**
|
|
14
7
|
* Значение поля ввода
|
|
@@ -30,7 +23,7 @@ type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type
|
|
|
30
23
|
* Размер компонента
|
|
31
24
|
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
32
25
|
*/
|
|
33
|
-
size?: 's' | 'm' | 'l' | 'xl' | 48 | 56 | 64 | 72;
|
|
26
|
+
size?: 's' | 'm' | 'l' | 'xl' | 40 | 48 | 56 | 64 | 72;
|
|
34
27
|
/**
|
|
35
28
|
* Набор цветов для компонента
|
|
36
29
|
*/
|
|
@@ -168,7 +161,7 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
168
161
|
* Размер компонента
|
|
169
162
|
* @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
|
|
170
163
|
*/
|
|
171
|
-
size?: "s" | "m" | "l" | "xl" | 48 | 56 | 64 | 72 | undefined;
|
|
164
|
+
size?: "s" | "m" | "l" | "xl" | 48 | 40 | 56 | 64 | 72 | undefined;
|
|
172
165
|
/**
|
|
173
166
|
* Набор цветов для компонента
|
|
174
167
|
*/
|
|
@@ -289,4 +282,5 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
|
|
|
289
282
|
*/
|
|
290
283
|
disableUserInput?: boolean | undefined;
|
|
291
284
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
292
|
-
export
|
|
285
|
+
export * from "./Component-ebda875c";
|
|
286
|
+
export { BaseInputProps, BaseInput };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { BaseInputProps } from "./index-ebda875c";
|
|
4
|
+
interface ClearButtonProps {
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
7
|
+
colors: 'default' | 'inverted';
|
|
8
|
+
dataTestId?: string;
|
|
9
|
+
size?: BaseInputProps['size'];
|
|
10
|
+
}
|
|
11
|
+
declare const ClearButton: React.FC<ClearButtonProps>;
|
|
12
|
+
export { ClearButton };
|
|
@@ -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_bbjzs","optionsPopover":"picker-button__optionsPopover_bbjzs","sideGap":"picker-button__sideGap_bbjzs","option":"picker-button__option_bbjzs"};
|
|
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.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { ComponentType, SVGProps } from "react";
|
|
4
4
|
import { ButtonProps } from "@alfalab/core-components-button";
|
|
5
|
-
import { FieldProps as BaseFieldProps } from "../typings-
|
|
5
|
+
import { FieldProps as BaseFieldProps } from "../typings-55db088c";
|
|
6
6
|
import { PickerButtonSize, PickerButtonVariant } from "../types";
|
|
7
7
|
type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
|
|
8
8
|
buttonSize?: PickerButtonSize;
|
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_1vy7u","addonsContainer":"picker-button__addonsContainer_1vy7u","showControlIcon":"picker-button__showControlIcon_1vy7u","open":"picker-button__open_1vy7u","linkOpen":"picker-button__linkOpen_1vy7u"};
|
|
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: 1t59b */
|
|
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 */
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
} :root {
|
|
23
23
|
} :root {
|
|
24
24
|
--arrow-transform: rotate(180deg);
|
|
25
|
-
} /* сбрасывает синюю подсветку при нажатии */ .picker-
|
|
25
|
+
} /* сбрасывает синюю подсветку при нажатии */ .picker-button__iconContainer_1vy7u {
|
|
26
26
|
display: flex;
|
|
27
27
|
transition: transform 0.15s ease-in-out;
|
|
28
|
-
} .picker-
|
|
28
|
+
} .picker-button__addonsContainer_1vy7u {
|
|
29
29
|
display: flex
|
|
30
|
-
} .picker-
|
|
30
|
+
} .picker-button__addonsContainer_1vy7u.picker-button__showControlIcon_1vy7u {
|
|
31
31
|
margin-right: var(--gap-4);
|
|
32
|
-
} .picker-
|
|
32
|
+
} .picker-button__open_1vy7u {
|
|
33
33
|
transform: var(--arrow-transform);
|
|
34
|
-
} .picker-
|
|
34
|
+
} .picker-button__linkOpen_1vy7u:not(:hover) {
|
|
35
35
|
background-color: var(--color-light-transparent-default-hover);
|
|
36
36
|
}
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ycfdy */
|
|
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-16: var(--gap-m);
|
|
24
24
|
} :root {
|
|
25
25
|
} :root {
|
|
26
|
-
} /* сбрасывает синюю подсветку при нажатии */ .picker-
|
|
26
|
+
} /* сбрасывает синюю подсветку при нажатии */ .picker-button__container_bbjzs {
|
|
27
27
|
min-width: auto;
|
|
28
|
-
} .cc-picker-button.picker-
|
|
28
|
+
} .cc-picker-button.picker-button__optionsPopover_bbjzs.picker-button__sideGap_bbjzs {
|
|
29
29
|
padding: var(--gap-0) var(--gap-8);
|
|
30
|
-
} .cc-picker-button .picker-
|
|
30
|
+
} .cc-picker-button .picker-button__option_bbjzs {
|
|
31
31
|
padding: var(--gap-0) var(--gap-16)
|
|
32
|
-
} .cc-picker-button .picker-
|
|
32
|
+
} .cc-picker-button .picker-button__option_bbjzs:before {
|
|
33
33
|
/* Удаляем разделители у опций выпадающего списка. */
|
|
34
34
|
display: none;
|
|
35
35
|
}
|
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_104bt","icon":"picker-button__icon_104bt","content":"picker-button__content_104bt"};
|
|
6
6
|
require('./index.css')
|
|
7
7
|
|
|
8
8
|
var Option = function (_a) {
|