@alfalab/core-components-picker-button 11.12.22 → 11.12.24

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.
Files changed (52) hide show
  1. package/{esm/component-8bdd19d3.d.ts → component-ee751dcf.d.ts} +11 -5
  2. package/{component-03d088c4.d.ts → component-f0afaf5b.d.ts} +5 -2
  3. package/cssm/Component-c44170fe.d.ts +2 -2
  4. package/{component-8bdd19d3.d.ts → cssm/component-ee751dcf.d.ts} +11 -5
  5. package/{modern/component-03d088c4.d.ts → cssm/component-f0afaf5b.d.ts} +5 -2
  6. package/cssm/field/index.module.css +1 -1
  7. package/cssm/index-281accb7.d.ts +5 -2
  8. package/{esm/index-03d088c4.d.ts → cssm/index-f0afaf5b.d.ts} +5 -2
  9. package/cssm/index.module.css +1 -1
  10. package/cssm/option/index.module.css +1 -1
  11. package/cssm/transformSize-ebda875c.d.ts +1 -1
  12. package/cssm/typings-d515b24c.d.ts +12 -4
  13. package/desktop/Component.desktop.js +1 -1
  14. package/{modern/component-8bdd19d3.d.ts → esm/component-ee751dcf.d.ts} +11 -5
  15. package/{cssm/component-03d088c4.d.ts → esm/component-f0afaf5b.d.ts} +5 -2
  16. package/esm/desktop/Component.desktop.js +1 -1
  17. package/esm/field/Component.js +1 -1
  18. package/esm/field/index.css +7 -7
  19. package/esm/index-281accb7.d.ts +5 -2
  20. package/{cssm/index-03d088c4.d.ts → esm/index-f0afaf5b.d.ts} +5 -2
  21. package/esm/index.css +6 -6
  22. package/esm/option/Component.js +1 -1
  23. package/esm/option/index.css +5 -5
  24. package/esm/typings-d515b24c.d.ts +12 -4
  25. package/field/Component.js +1 -1
  26. package/field/index.css +7 -7
  27. package/index-281accb7.d.ts +5 -2
  28. package/{index-03d088c4.d.ts → index-f0afaf5b.d.ts} +5 -2
  29. package/index.css +6 -6
  30. package/{cssm/component-8bdd19d3.d.ts → modern/component-ee751dcf.d.ts} +11 -5
  31. package/{esm/component-03d088c4.d.ts → modern/component-f0afaf5b.d.ts} +5 -2
  32. package/modern/desktop/Component.desktop.js +1 -1
  33. package/modern/field/Component.js +1 -1
  34. package/modern/field/index.css +7 -7
  35. package/modern/index-281accb7.d.ts +5 -2
  36. package/modern/{index-03d088c4.d.ts → index-f0afaf5b.d.ts} +5 -2
  37. package/modern/index.css +6 -6
  38. package/modern/option/Component.js +1 -1
  39. package/modern/option/index.css +5 -5
  40. package/modern/typings-d515b24c.d.ts +12 -4
  41. package/moderncssm/component-ee751dcf.d.ts +129 -0
  42. package/moderncssm/component-f0afaf5b.d.ts +43 -0
  43. package/moderncssm/index-281accb7.d.ts +5 -2
  44. package/moderncssm/index-f0afaf5b.d.ts +23 -0
  45. package/moderncssm/typings-d515b24c.d.ts +12 -4
  46. package/option/Component.js +1 -1
  47. package/option/index.css +5 -5
  48. package/package.json +3 -3
  49. package/typings-d515b24c.d.ts +12 -4
  50. package/moderncssm/component-03d088c4.d.ts +0 -40
  51. package/moderncssm/component-8bdd19d3.d.ts +0 -123
  52. package/moderncssm/index-03d088c4.d.ts +0 -20
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { HTMLAttributes } from "react";
4
4
  import { Color } from "./colors-2c123cbc";
5
5
  import { TextSkeletonProps } from "./types-1328ead9";
6
- declare function getDefaultWeight(font: "styrene" | "system", platform: "mobile" | "desktop"): "medium" | "bold" | "semibold";
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'> & {
9
9
  /**
@@ -11,7 +11,7 @@ type TitleProps = Omit<NativeProps, 'color'> & {
11
11
  */
12
12
  tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
13
13
  /**
14
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
14
+ * [Вариант начертания](?path=/docs/guidelines-typography--page)
15
15
  */
16
16
  view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
17
17
  /**
@@ -25,7 +25,10 @@ type TitleProps = Omit<NativeProps, 'color'> & {
25
25
  /**
26
26
  * Шрифт текста
27
27
  */
28
- font?: 'styrene' | 'system';
28
+ font?: 'styrene' | 'system' | 'alfasans' | {
29
+ font: 'alfasans';
30
+ systemCompat: boolean;
31
+ };
29
32
  /**
30
33
  * Добавляет отступы
31
34
  */
@@ -72,7 +75,7 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
72
75
  */
73
76
  tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
74
77
  /**
75
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
78
+ * [Вариант начертания](?path=/docs/guidelines-typography--page)
76
79
  */
77
80
  view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
78
81
  /**
@@ -86,7 +89,10 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
86
89
  /**
87
90
  * Шрифт текста
88
91
  */
89
- font?: "styrene" | "system" | undefined;
92
+ font?: "alfasans" | "styrene" | "system" | {
93
+ font: 'alfasans';
94
+ systemCompat: boolean;
95
+ } | undefined;
90
96
  /**
91
97
  * Добавляет отступы
92
98
  */
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { TitleProps } from "./index-03d088c4";
3
+ import { TitleProps } from "./index-f0afaf5b";
4
4
  type TitleResponsiveProps = TitleProps & {
5
5
  /**
6
6
  * Контрольная точка, с нее начинается desktop версия
@@ -17,7 +17,10 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
17
17
  view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
18
18
  color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-positive" | undefined;
19
19
  weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
20
- font?: "styrene" | "system" | undefined;
20
+ font?: "alfasans" | "styrene" | "system" | {
21
+ font: "alfasans";
22
+ systemCompat: boolean;
23
+ } | undefined;
21
24
  defaultMargins?: boolean | undefined;
22
25
  className?: string | undefined;
23
26
  dataTestId?: string | undefined;
@@ -140,7 +140,7 @@ type BaseInputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type
140
140
  */
141
141
  disableUserInput?: boolean;
142
142
  };
143
- declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "size" | "type" | "defaultValue" | "onChange" | "onClick" | "onMouseDown" | "enterKeyHint"> & {
143
+ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type" | "onClick" | "value" | "onMouseDown" | "size" | "defaultValue" | "onChange" | "enterKeyHint"> & {
144
144
  /**
145
145
  * Значение поля ввода
146
146
  */
@@ -161,7 +161,7 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
161
161
  * Размер компонента
162
162
  * @description s, m, l, xl deprecated, используйте вместо них 48, 56, 64, 72 соответственно
163
163
  */
164
- size?: "s" | "m" | "l" | "xl" | 40 | 48 | 56 | 64 | 72 | undefined;
164
+ size?: "s" | 64 | "m" | "l" | "xl" | 48 | 40 | 56 | 72 | undefined;
165
165
  /**
166
166
  * Набор цветов для компонента
167
167
  */
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { HTMLAttributes } from "react";
4
4
  import { Color } from "./colors-2c123cbc";
5
5
  import { TextSkeletonProps } from "./types-1328ead9";
6
- declare function getDefaultWeight(font: "styrene" | "system", platform: "mobile" | "desktop"): "medium" | "bold" | "semibold";
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'> & {
9
9
  /**
@@ -11,7 +11,7 @@ type TitleProps = Omit<NativeProps, 'color'> & {
11
11
  */
12
12
  tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
13
13
  /**
14
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
14
+ * [Вариант начертания](?path=/docs/guidelines-typography--page)
15
15
  */
16
16
  view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
17
17
  /**
@@ -25,7 +25,10 @@ type TitleProps = Omit<NativeProps, 'color'> & {
25
25
  /**
26
26
  * Шрифт текста
27
27
  */
28
- font?: 'styrene' | 'system';
28
+ font?: 'styrene' | 'system' | 'alfasans' | {
29
+ font: 'alfasans';
30
+ systemCompat: boolean;
31
+ };
29
32
  /**
30
33
  * Добавляет отступы
31
34
  */
@@ -72,7 +75,7 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
72
75
  */
73
76
  tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
74
77
  /**
75
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
78
+ * [Вариант начертания](?path=/docs/guidelines-typography--page)
76
79
  */
77
80
  view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
78
81
  /**
@@ -86,7 +89,10 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
86
89
  /**
87
90
  * Шрифт текста
88
91
  */
89
- font?: "styrene" | "system" | undefined;
92
+ font?: "alfasans" | "styrene" | "system" | {
93
+ font: 'alfasans';
94
+ systemCompat: boolean;
95
+ } | undefined;
90
96
  /**
91
97
  * Добавляет отступы
92
98
  */
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { TitleProps } from "./index-03d088c4";
3
+ import { TitleProps } from "./index-f0afaf5b";
4
4
  type TitleResponsiveProps = TitleProps & {
5
5
  /**
6
6
  * Контрольная точка, с нее начинается desktop версия
@@ -17,7 +17,10 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
17
17
  view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
18
18
  color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-positive" | undefined;
19
19
  weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
20
- font?: "styrene" | "system" | undefined;
20
+ font?: "alfasans" | "styrene" | "system" | {
21
+ font: "alfasans";
22
+ systemCompat: boolean;
23
+ } | undefined;
21
24
  defaultMargins?: boolean | undefined;
22
25
  className?: string | undefined;
23
26
  dataTestId?: string | undefined;
@@ -22,7 +22,7 @@
22
22
  /* stylelint-disable-next-line length-zero-no-unit */
23
23
  --gap-4: var(--gap-2xs);
24
24
  } :root {
25
- } :root {
25
+ } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
26
26
  --arrow-transform: rotate(180deg);
27
27
  } /* сбрасывает синюю подсветку при нажатии */ .iconContainer {
28
28
  display: flex;
@@ -5,7 +5,10 @@ declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
5
5
  view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
6
6
  color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-positive" | undefined;
7
7
  weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
8
- font?: "styrene" | "system" | undefined;
8
+ font?: "alfasans" | "styrene" | "system" | {
9
+ font: "alfasans";
10
+ systemCompat: boolean;
11
+ } | undefined;
9
12
  defaultMargins?: boolean | undefined;
10
13
  className?: string | undefined;
11
14
  dataTestId?: string | undefined;
@@ -16,4 +19,4 @@ declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
16
19
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
17
20
  } & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
18
21
  export { TitleMobile };
19
- export type { TitleProps as TitleMobileProps } from "./component-8bdd19d3";
22
+ export type { TitleProps as TitleMobileProps } from "./component-ee751dcf";
@@ -1,12 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { TitleProps } from "./component-8bdd19d3";
3
+ import { TitleProps } from "./component-ee751dcf";
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;
7
7
  color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-positive" | undefined;
8
8
  weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
9
- font?: "styrene" | "system" | undefined;
9
+ font?: "alfasans" | "styrene" | "system" | {
10
+ font: "alfasans";
11
+ systemCompat: boolean;
12
+ } | undefined;
10
13
  defaultMargins?: boolean | undefined;
11
14
  className?: string | undefined;
12
15
  dataTestId?: string | undefined;
@@ -24,7 +24,7 @@
24
24
  --gap-8: var(--gap-xs);
25
25
  --gap-16: var(--gap-m);
26
26
  } :root {
27
- } :root {
27
+ } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
28
28
  } /* сбрасывает синюю подсветку при нажатии */ .container {
29
29
  min-width: auto;
30
30
  } :global(.cc-picker-button).optionsPopover.sideGap {
@@ -21,7 +21,7 @@
21
21
  /* stylelint-disable-next-line length-zero-no-unit */
22
22
  --gap-12: var(--gap-s);
23
23
  } :root {
24
- } :root {
24
+ } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
25
25
  } /* сбрасывает синюю подсветку при нажатии */ .container {
26
26
  display: flex;
27
27
  align-items: center;
@@ -1,3 +1,3 @@
1
1
  import { IconButtonProps } from "./index-ebda875c";
2
- declare const transformSize: (size?: IconButtonProps['size']) => 32 | 40 | 48 | 56 | 24;
2
+ declare const transformSize: (size?: IconButtonProps['size']) => 24 | 32 | 48 | 40 | 56;
3
3
  export { transformSize };
@@ -11,7 +11,7 @@ import { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
11
11
  import { SwipeableHandlers, SwipeDirections } from "react-swipeable";
12
12
  import { Color } from "./colors-2c123cbc";
13
13
  import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
14
- import { Title, TitleProps } from "./index-03d088c4";
14
+ import { Title, TitleProps } from "./index-f0afaf5b";
15
15
  import { TitleMobile, TitleMobileProps } from "./index-281accb7";
16
16
  import { FormControlProps } from "./index-c44170fe";
17
17
  import { PopoverProps } from "@alfalab/core-components-popover";
@@ -628,7 +628,11 @@ type ShouldSkipSwipingParams = {
628
628
  event: HandledEvents;
629
629
  dir: SwipeDirections;
630
630
  };
631
- type VisualViewportSize = Pick<VisualViewport, "height" | "offsetTop">;
631
+ type VisualViewportSize = Pick<VisualViewport, "height" | "offsetLeft" | "offsetTop" | "pageLeft" | "pageTop" | "scale" | "width">;
632
+ declare function useVisualViewportSize(): VisualViewportSize | null;
633
+ /**
634
+ * @deprecated use {@link useVisualViewportSize}
635
+ */
632
636
  declare function useVisibleViewportSize(enabled?: boolean): VisualViewportSize | null;
633
637
  type NativeProps = HTMLAttributes<HTMLSpanElement>;
634
638
  type TextBaseProps = {
@@ -680,6 +684,10 @@ type TextBaseProps = {
680
684
  * Пропы для скелетона
681
685
  */
682
686
  skeletonProps?: TextSkeletonProps;
687
+ /**
688
+ * Шрифт текста
689
+ */
690
+ font?: "alfasans" | undefined | null;
683
691
  };
684
692
  type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
685
693
  tag?: "p";
@@ -1479,11 +1487,11 @@ type ClearButtonProps = {
1479
1487
  */
1480
1488
  size?: FormControlProps['size'];
1481
1489
  };
1482
- 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, OptionCommonProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps, ClearButtonProps };
1490
+ 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, useVisualViewportSize, useVisibleViewportSize, Typography, Text, Title as TitleDesktop, TitleResponsive, TitleMobile, typographyPresets, SwipeDirection, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionCommonProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps, ClearButtonProps };
1483
1491
  export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TextProps };
1484
1492
  export { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
1485
1493
  export type { ContentProps as ModalContentProps } from "./typings-4b7234ef";
1486
- export type { TitleProps } from "./index-03d088c4";
1494
+ export type { TitleProps } from "./index-f0afaf5b";
1487
1495
  export type { Color } from "./colors-2c123cbc";
1488
1496
  export * from "./Component.desktop-63dec22f";
1489
1497
  export * from "./Component.mobile-96988a65";
@@ -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-button__container_b88qp","optionsPopover":"picker-button__optionsPopover_b88qp","sideGap":"picker-button__sideGap_b88qp","option":"picker-button__option_b88qp"};
18
+ var styles = {"container":"picker-button__container_5huyh","optionsPopover":"picker-button__optionsPopover_5huyh","sideGap":"picker-button__sideGap_5huyh","option":"picker-button__option_5huyh"};
19
19
  require('./../index.css')
20
20
 
21
21
  var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
@@ -3,7 +3,7 @@ import React from 'react';
3
3
  import { HTMLAttributes } from "react";
4
4
  import { Color } from "./colors-2c123cbc";
5
5
  import { TextSkeletonProps } from "./types-1328ead9";
6
- declare function getDefaultWeight(font: "styrene" | "system", platform: "mobile" | "desktop"): "medium" | "bold" | "semibold";
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'> & {
9
9
  /**
@@ -11,7 +11,7 @@ type TitleProps = Omit<NativeProps, 'color'> & {
11
11
  */
12
12
  tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
13
13
  /**
14
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
14
+ * [Вариант начертания](?path=/docs/guidelines-typography--page)
15
15
  */
16
16
  view?: 'xlarge' | 'large' | 'medium' | 'small' | 'xsmall';
17
17
  /**
@@ -25,7 +25,10 @@ type TitleProps = Omit<NativeProps, 'color'> & {
25
25
  /**
26
26
  * Шрифт текста
27
27
  */
28
- font?: 'styrene' | 'system';
28
+ font?: 'styrene' | 'system' | 'alfasans' | {
29
+ font: 'alfasans';
30
+ systemCompat: boolean;
31
+ };
29
32
  /**
30
33
  * Добавляет отступы
31
34
  */
@@ -72,7 +75,7 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
72
75
  */
73
76
  tag: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div';
74
77
  /**
75
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
78
+ * [Вариант начертания](?path=/docs/guidelines-typography--page)
76
79
  */
77
80
  view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
78
81
  /**
@@ -86,7 +89,10 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
86
89
  /**
87
90
  * Шрифт текста
88
91
  */
89
- font?: "styrene" | "system" | undefined;
92
+ font?: "alfasans" | "styrene" | "system" | {
93
+ font: 'alfasans';
94
+ systemCompat: boolean;
95
+ } | undefined;
90
96
  /**
91
97
  * Добавляет отступы
92
98
  */
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { TitleProps } from "./index-03d088c4";
3
+ import { TitleProps } from "./index-f0afaf5b";
4
4
  type TitleResponsiveProps = TitleProps & {
5
5
  /**
6
6
  * Контрольная точка, с нее начинается desktop версия
@@ -17,7 +17,10 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
17
17
  view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
18
18
  color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-positive" | undefined;
19
19
  weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
20
- font?: "styrene" | "system" | undefined;
20
+ font?: "alfasans" | "styrene" | "system" | {
21
+ font: "alfasans";
22
+ systemCompat: boolean;
23
+ } | undefined;
21
24
  defaultMargins?: boolean | undefined;
22
25
  className?: string | undefined;
23
26
  dataTestId?: string | undefined;
@@ -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-button__container_b88qp","optionsPopover":"picker-button__optionsPopover_b88qp","sideGap":"picker-button__sideGap_b88qp","option":"picker-button__option_b88qp"};
9
+ var styles = {"container":"picker-button__container_5huyh","optionsPopover":"picker-button__optionsPopover_5huyh","sideGap":"picker-button__sideGap_5huyh","option":"picker-button__option_5huyh"};
10
10
  require('./../index.css')
11
11
 
12
12
  var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
@@ -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-button__iconContainer_q1npy","addonsContainer":"picker-button__addonsContainer_q1npy","showControlIcon":"picker-button__showControlIcon_q1npy","open":"picker-button__open_q1npy","linkOpen":"picker-button__linkOpen_q1npy"};
7
+ var styles = {"iconContainer":"picker-button__iconContainer_1990z","addonsContainer":"picker-button__addonsContainer_1990z","showControlIcon":"picker-button__showControlIcon_1990z","open":"picker-button__open_1990z","linkOpen":"picker-button__linkOpen_1990z"};
8
8
  require('./index.css')
9
9
 
10
10
  var SIZE_TO_CLASSNAME_MAP = {
@@ -1,4 +1,4 @@
1
- /* hash: 1q65n */
1
+ /* hash: zrljt */
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 */
@@ -23,17 +23,17 @@
23
23
  /* stylelint-disable-next-line length-zero-no-unit */
24
24
  --gap-4: var(--gap-2xs);
25
25
  } :root {
26
- } :root {
26
+ } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
27
27
  --arrow-transform: rotate(180deg);
28
- } /* сбрасывает синюю подсветку при нажатии */ .picker-button__iconContainer_q1npy {
28
+ } /* сбрасывает синюю подсветку при нажатии */ .picker-button__iconContainer_1990z {
29
29
  display: flex;
30
30
  transition: transform 0.15s ease-in-out;
31
- } .picker-button__addonsContainer_q1npy {
31
+ } .picker-button__addonsContainer_1990z {
32
32
  display: flex
33
- } .picker-button__addonsContainer_q1npy.picker-button__showControlIcon_q1npy {
33
+ } .picker-button__addonsContainer_1990z.picker-button__showControlIcon_1990z {
34
34
  margin-right: var(--gap-4);
35
- } .picker-button__open_q1npy {
35
+ } .picker-button__open_1990z {
36
36
  transform: var(--arrow-transform);
37
- } .picker-button__linkOpen_q1npy:not(:hover) {
37
+ } .picker-button__linkOpen_1990z:not(:hover) {
38
38
  background-color: var(--color-light-transparent-default-hover);
39
39
  }
@@ -5,7 +5,10 @@ declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
5
5
  view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
6
6
  color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-positive" | undefined;
7
7
  weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
8
- font?: "styrene" | "system" | undefined;
8
+ font?: "alfasans" | "styrene" | "system" | {
9
+ font: "alfasans";
10
+ systemCompat: boolean;
11
+ } | undefined;
9
12
  defaultMargins?: boolean | undefined;
10
13
  className?: string | undefined;
11
14
  dataTestId?: string | undefined;
@@ -16,4 +19,4 @@ declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttrib
16
19
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
17
20
  } & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
18
21
  export { TitleMobile };
19
- export type { TitleProps as TitleMobileProps } from "./component-8bdd19d3";
22
+ export type { TitleProps as TitleMobileProps } from "./component-ee751dcf";
@@ -1,12 +1,15 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { TitleProps } from "./component-8bdd19d3";
3
+ import { TitleProps } from "./component-ee751dcf";
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;
7
7
  color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | "static-positive" | undefined;
8
8
  weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
9
- font?: "styrene" | "system" | undefined;
9
+ font?: "alfasans" | "styrene" | "system" | {
10
+ font: "alfasans";
11
+ systemCompat: boolean;
12
+ } | undefined;
10
13
  defaultMargins?: boolean | undefined;
11
14
  className?: string | undefined;
12
15
  dataTestId?: string | undefined;
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: zkwt7 */
1
+ /* hash: 96cp5 */
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 */
@@ -25,14 +25,14 @@
25
25
  --gap-8: var(--gap-xs);
26
26
  --gap-16: var(--gap-m);
27
27
  } :root {
28
- } :root {
29
- } /* сбрасывает синюю подсветку при нажатии */ .picker-button__container_b88qp {
28
+ } /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ /* @deprecated */ :root {
29
+ } /* сбрасывает синюю подсветку при нажатии */ .picker-button__container_5huyh {
30
30
  min-width: auto;
31
- } .cc-picker-button.picker-button__optionsPopover_b88qp.picker-button__sideGap_b88qp {
31
+ } .cc-picker-button.picker-button__optionsPopover_5huyh.picker-button__sideGap_5huyh {
32
32
  padding: var(--gap-0) var(--gap-8);
33
- } .cc-picker-button .picker-button__option_b88qp {
33
+ } .cc-picker-button .picker-button__option_5huyh {
34
34
  padding: var(--gap-0) var(--gap-16)
35
- } .cc-picker-button .picker-button__option_b88qp:before {
35
+ } .cc-picker-button .picker-button__option_5huyh:before {
36
36
  /* Удаляем разделители у опций выпадающего списка. */
37
37
  display: none;
38
38
  }
@@ -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-button__container_1qrt2","icon":"picker-button__icon_1qrt2","content":"picker-button__content_1qrt2"};
5
+ var styles = {"container":"picker-button__container_acclk","icon":"picker-button__icon_acclk","content":"picker-button__content_acclk"};
6
6
  require('./index.css')
7
7
 
8
8
  var Option = function (_a) {