@alfalab/core-components-picker-button 11.7.0 → 11.7.1

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 (43) hide show
  1. package/Component-c44170fe.d.ts +1 -25
  2. package/cssm/Component-c44170fe.d.ts +1 -25
  3. package/cssm/iconMap-09d2f9c9.d.ts +4 -0
  4. package/cssm/index-09d2f9c9.d.ts +38 -0
  5. package/{esm/index-a5b021bd.d.ts → cssm/index-307da6d7.d.ts} +2 -1
  6. package/cssm/use-skeleton-1328ead9.d.ts +4 -0
  7. package/desktop/Component.desktop.js +1 -1
  8. package/esm/Component-c44170fe.d.ts +1 -25
  9. package/esm/desktop/Component.desktop.js +1 -1
  10. package/esm/field/Component.js +1 -1
  11. package/esm/field/index.css +6 -6
  12. package/esm/iconMap-09d2f9c9.d.ts +4 -0
  13. package/esm/index-09d2f9c9.d.ts +38 -0
  14. package/{index-a5b021bd.d.ts → esm/index-307da6d7.d.ts} +2 -1
  15. package/esm/index.css +5 -5
  16. package/esm/option/Component.js +1 -1
  17. package/esm/option/index.css +4 -4
  18. package/esm/use-skeleton-1328ead9.d.ts +4 -0
  19. package/field/Component.js +1 -1
  20. package/field/index.css +6 -6
  21. package/iconMap-09d2f9c9.d.ts +4 -0
  22. package/index-09d2f9c9.d.ts +38 -0
  23. package/{cssm/index-a5b021bd.d.ts → index-307da6d7.d.ts} +2 -1
  24. package/index.css +5 -5
  25. package/modern/Component-c44170fe.d.ts +1 -25
  26. package/modern/desktop/Component.desktop.js +1 -1
  27. package/modern/field/Component.js +1 -1
  28. package/modern/field/index.css +6 -6
  29. package/modern/iconMap-09d2f9c9.d.ts +4 -0
  30. package/modern/index-09d2f9c9.d.ts +38 -0
  31. package/modern/{index-a5b021bd.d.ts → index-307da6d7.d.ts} +2 -1
  32. package/modern/index.css +5 -5
  33. package/modern/option/Component.js +1 -1
  34. package/modern/option/index.css +4 -4
  35. package/modern/use-skeleton-1328ead9.d.ts +4 -0
  36. package/option/Component.js +1 -1
  37. package/option/index.css +4 -4
  38. package/package.json +3 -3
  39. package/use-skeleton-1328ead9.d.ts +4 -0
  40. /package/{Component-a5b021bd.d.ts → Component-307da6d7.d.ts} +0 -0
  41. /package/cssm/{Component-a5b021bd.d.ts → Component-307da6d7.d.ts} +0 -0
  42. /package/esm/{Component-a5b021bd.d.ts → Component-307da6d7.d.ts} +0 -0
  43. /package/modern/{Component-a5b021bd.d.ts → Component-307da6d7.d.ts} +0 -0
@@ -2,30 +2,6 @@
2
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
- type StatusBadgeProps = {
6
- /**
7
- * Дополнительный класс
8
- */
9
- className?: string;
10
- /**
11
- * Размер компонента
12
- * @default 24
13
- */
14
- size?: 16 | 20 | 24 | 32 | 40;
15
- /**
16
- * Набор цветов для компонента
17
- */
18
- colors?: "default" | "inverted";
19
- /**
20
- * Вид бейджа.
21
- */
22
- view: "positive-checkmark" | "negative-cross" | "negative-alert" | "negative-block" | "attention-alert" | "neutral-information" | "neutral-operation" | "neutral-cross";
23
- /**
24
- * Идентификатор для систем автоматизированного тестирования
25
- */
26
- dataTestId?: string;
27
- };
28
- declare const StatusBadge: ({ className, dataTestId, size, view, colors }: StatusBadgeProps) => React.JSX.Element;
29
5
  interface ClearButtonProps {
30
6
  disabled?: boolean;
31
7
  onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
@@ -312,4 +288,4 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
312
288
  */
313
289
  disableUserInput?: boolean | undefined;
314
290
  } & React.RefAttributes<HTMLInputElement>>;
315
- export { StatusBadgeProps, StatusBadge, ClearButton, BaseInputProps, BaseInput };
291
+ export { ClearButton, BaseInputProps, BaseInput };
@@ -2,30 +2,6 @@
2
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
- type StatusBadgeProps = {
6
- /**
7
- * Дополнительный класс
8
- */
9
- className?: string;
10
- /**
11
- * Размер компонента
12
- * @default 24
13
- */
14
- size?: 16 | 20 | 24 | 32 | 40;
15
- /**
16
- * Набор цветов для компонента
17
- */
18
- colors?: "default" | "inverted";
19
- /**
20
- * Вид бейджа.
21
- */
22
- view: "positive-checkmark" | "negative-cross" | "negative-alert" | "negative-block" | "attention-alert" | "neutral-information" | "neutral-operation" | "neutral-cross";
23
- /**
24
- * Идентификатор для систем автоматизированного тестирования
25
- */
26
- dataTestId?: string;
27
- };
28
- declare const StatusBadge: ({ className, dataTestId, size, view, colors }: StatusBadgeProps) => React.JSX.Element;
29
5
  interface ClearButtonProps {
30
6
  disabled?: boolean;
31
7
  onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
@@ -312,4 +288,4 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
312
288
  */
313
289
  disableUserInput?: boolean | undefined;
314
290
  } & React.RefAttributes<HTMLInputElement>>;
315
- export { StatusBadgeProps, StatusBadge, ClearButton, BaseInputProps, BaseInput };
291
+ export { ClearButton, BaseInputProps, BaseInput };
@@ -0,0 +1,4 @@
1
+ import { StatusBadgeIcon, StatusBadgeSizes, StatusBadgeViews } from "./index-09d2f9c9";
2
+ type IconMap = Record<StatusBadgeViews, Record<NonNullable<StatusBadgeSizes>, StatusBadgeIcon>>;
3
+ declare const ICON_MAP: IconMap;
4
+ export { IconMap, ICON_MAP };
@@ -0,0 +1,38 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ type StatusBadgeViews = "positive-checkmark" | "negative-cross" | "negative-alert" | "negative-block" | "attention-alert" | "neutral-information" | "neutral-operation" | "neutral-cross";
4
+ type StatusBadgeSizes = 16 | 20 | 24 | 32 | 40;
5
+ type StatusBadgeIcon = React.FC<React.SVGProps<SVGSVGElement>>;
6
+ type StatusBadgeCustomIcon = Partial<Record<StatusBadgeViews, Partial<Record<StatusBadgeSizes, StatusBadgeIcon>>>>;
7
+ type StatusBadgeProps = {
8
+ /**
9
+ * Дополнительный класс
10
+ */
11
+ className?: string;
12
+ /**
13
+ * Размер компонента
14
+ * @default 24
15
+ */
16
+ size?: StatusBadgeSizes;
17
+ /**
18
+ * Набор цветов для компонента
19
+ */
20
+ colors?: "default" | "inverted";
21
+ /**
22
+ * Вид бейджа.
23
+ */
24
+ view: StatusBadgeViews;
25
+ /**
26
+ * Идентификатор для систем автоматизированного тестирования
27
+ */
28
+ dataTestId?: string;
29
+ /**
30
+ * Кастомные иконки
31
+ */
32
+ customIcons?: StatusBadgeCustomIcon;
33
+ };
34
+ declare const StatusBadge: ({ className, dataTestId, size, view, colors, customIcons }: StatusBadgeProps) => React.JSX.Element;
35
+ declare const useStatusBadgeIcon: (view: StatusBadgeViews, size: StatusBadgeSizes, customIcons?: StatusBadgeCustomIcon) => {
36
+ Icon: StatusBadgeIcon;
37
+ };
38
+ export { StatusBadgeProps, StatusBadge, useStatusBadgeIcon, StatusBadgeViews, StatusBadgeSizes, StatusBadgeIcon, StatusBadgeCustomIcon };
@@ -62,5 +62,6 @@ declare function preventDefault(e: React.UIEvent): void;
62
62
  declare const dom: {
63
63
  preventDefault: typeof preventDefault;
64
64
  };
65
- export { isClient, os, getDataTestId, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
65
+ declare const exhaustiveCheck: (value: never) => never;
66
+ export { isClient, os, getDataTestId, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom, exhaustiveCheck };
66
67
  export * from "./browser-a216f694";
@@ -19,6 +19,10 @@ type SkeletonProps = {
19
19
  * Дополнительные инлайн стили
20
20
  */
21
21
  style?: React.CSSProperties;
22
+ /**
23
+ * Включает размытие фона
24
+ */
25
+ allowBackdropBlur?: boolean;
22
26
  /**
23
27
  * Идентификатор для систем автоматизированного тестирования
24
28
  */
@@ -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_wohzc","optionsPopover":"picker-button__optionsPopover_wohzc","sideGap":"picker-button__sideGap_wohzc","option":"picker-button__option_wohzc"};
18
+ var styles = {"container":"picker-button__container_9ecqi","optionsPopover":"picker-button__optionsPopover_9ecqi","sideGap":"picker-button__sideGap_9ecqi","option":"picker-button__option_9ecqi"};
19
19
  require('./../index.css')
20
20
 
21
21
  var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
@@ -2,30 +2,6 @@
2
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
- type StatusBadgeProps = {
6
- /**
7
- * Дополнительный класс
8
- */
9
- className?: string;
10
- /**
11
- * Размер компонента
12
- * @default 24
13
- */
14
- size?: 16 | 20 | 24 | 32 | 40;
15
- /**
16
- * Набор цветов для компонента
17
- */
18
- colors?: "default" | "inverted";
19
- /**
20
- * Вид бейджа.
21
- */
22
- view: "positive-checkmark" | "negative-cross" | "negative-alert" | "negative-block" | "attention-alert" | "neutral-information" | "neutral-operation" | "neutral-cross";
23
- /**
24
- * Идентификатор для систем автоматизированного тестирования
25
- */
26
- dataTestId?: string;
27
- };
28
- declare const StatusBadge: ({ className, dataTestId, size, view, colors }: StatusBadgeProps) => React.JSX.Element;
29
5
  interface ClearButtonProps {
30
6
  disabled?: boolean;
31
7
  onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
@@ -312,4 +288,4 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
312
288
  */
313
289
  disableUserInput?: boolean | undefined;
314
290
  } & React.RefAttributes<HTMLInputElement>>;
315
- export { StatusBadgeProps, StatusBadge, ClearButton, BaseInputProps, BaseInput };
291
+ export { ClearButton, BaseInputProps, BaseInput };
@@ -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_wohzc","optionsPopover":"picker-button__optionsPopover_wohzc","sideGap":"picker-button__sideGap_wohzc","option":"picker-button__option_wohzc"};
9
+ var styles = {"container":"picker-button__container_9ecqi","optionsPopover":"picker-button__optionsPopover_9ecqi","sideGap":"picker-button__sideGap_9ecqi","option":"picker-button__option_9ecqi"};
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_1pgx7","addonsContainer":"picker-button__addonsContainer_1pgx7","showControlIcon":"picker-button__showControlIcon_1pgx7","open":"picker-button__open_1pgx7","linkOpen":"picker-button__linkOpen_1pgx7"};
7
+ var styles = {"iconContainer":"picker-button__iconContainer_x24qp","addonsContainer":"picker-button__addonsContainer_x24qp","showControlIcon":"picker-button__showControlIcon_x24qp","open":"picker-button__open_x24qp","linkOpen":"picker-button__linkOpen_x24qp"};
8
8
  require('./index.css')
9
9
 
10
10
  var SIZE_TO_CLASSNAME_MAP = {
@@ -1,4 +1,4 @@
1
- /* hash: znrvb */
1
+ /* hash: 1y06d */
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 */
@@ -17,15 +17,15 @@
17
17
  } :root {
18
18
  } :root {
19
19
  --arrow-transform: rotate(180deg);
20
- } .picker-button__iconContainer_1pgx7 {
20
+ } .picker-button__iconContainer_x24qp {
21
21
  display: flex;
22
22
  transition: transform 0.15s ease-in-out;
23
- } .picker-button__addonsContainer_1pgx7 {
23
+ } .picker-button__addonsContainer_x24qp {
24
24
  display: flex
25
- } .picker-button__addonsContainer_1pgx7.picker-button__showControlIcon_1pgx7 {
25
+ } .picker-button__addonsContainer_x24qp.picker-button__showControlIcon_x24qp {
26
26
  margin-right: var(--gap-2xs);
27
- } .picker-button__open_1pgx7 {
27
+ } .picker-button__open_x24qp {
28
28
  transform: var(--arrow-transform);
29
- } .picker-button__linkOpen_1pgx7:not(:hover) {
29
+ } .picker-button__linkOpen_x24qp:not(:hover) {
30
30
  background-color: var(--color-light-transparent-default-hover);
31
31
  }
@@ -0,0 +1,4 @@
1
+ import { StatusBadgeIcon, StatusBadgeSizes, StatusBadgeViews } from "./index-09d2f9c9";
2
+ type IconMap = Record<StatusBadgeViews, Record<NonNullable<StatusBadgeSizes>, StatusBadgeIcon>>;
3
+ declare const ICON_MAP: IconMap;
4
+ export { IconMap, ICON_MAP };
@@ -0,0 +1,38 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ type StatusBadgeViews = "positive-checkmark" | "negative-cross" | "negative-alert" | "negative-block" | "attention-alert" | "neutral-information" | "neutral-operation" | "neutral-cross";
4
+ type StatusBadgeSizes = 16 | 20 | 24 | 32 | 40;
5
+ type StatusBadgeIcon = React.FC<React.SVGProps<SVGSVGElement>>;
6
+ type StatusBadgeCustomIcon = Partial<Record<StatusBadgeViews, Partial<Record<StatusBadgeSizes, StatusBadgeIcon>>>>;
7
+ type StatusBadgeProps = {
8
+ /**
9
+ * Дополнительный класс
10
+ */
11
+ className?: string;
12
+ /**
13
+ * Размер компонента
14
+ * @default 24
15
+ */
16
+ size?: StatusBadgeSizes;
17
+ /**
18
+ * Набор цветов для компонента
19
+ */
20
+ colors?: "default" | "inverted";
21
+ /**
22
+ * Вид бейджа.
23
+ */
24
+ view: StatusBadgeViews;
25
+ /**
26
+ * Идентификатор для систем автоматизированного тестирования
27
+ */
28
+ dataTestId?: string;
29
+ /**
30
+ * Кастомные иконки
31
+ */
32
+ customIcons?: StatusBadgeCustomIcon;
33
+ };
34
+ declare const StatusBadge: ({ className, dataTestId, size, view, colors, customIcons }: StatusBadgeProps) => React.JSX.Element;
35
+ declare const useStatusBadgeIcon: (view: StatusBadgeViews, size: StatusBadgeSizes, customIcons?: StatusBadgeCustomIcon) => {
36
+ Icon: StatusBadgeIcon;
37
+ };
38
+ export { StatusBadgeProps, StatusBadge, useStatusBadgeIcon, StatusBadgeViews, StatusBadgeSizes, StatusBadgeIcon, StatusBadgeCustomIcon };
@@ -62,5 +62,6 @@ declare function preventDefault(e: React.UIEvent): void;
62
62
  declare const dom: {
63
63
  preventDefault: typeof preventDefault;
64
64
  };
65
- export { isClient, os, getDataTestId, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
65
+ declare const exhaustiveCheck: (value: never) => never;
66
+ export { isClient, os, getDataTestId, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom, exhaustiveCheck };
66
67
  export * from "./browser-a216f694";
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: x2cxl */
1
+ /* hash: fccjv */
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 */
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 */
@@ -16,13 +16,13 @@
16
16
  --gap-m: 16px;
17
17
  } :root {
18
18
  } :root {
19
- } .picker-button__container_wohzc {
19
+ } .picker-button__container_9ecqi {
20
20
  min-width: auto;
21
- } .cc-picker-button.picker-button__optionsPopover_wohzc.picker-button__sideGap_wohzc {
21
+ } .cc-picker-button.picker-button__optionsPopover_9ecqi.picker-button__sideGap_9ecqi {
22
22
  padding: 0 var(--gap-xs);
23
- } .cc-picker-button .picker-button__option_wohzc {
23
+ } .cc-picker-button .picker-button__option_9ecqi {
24
24
  padding: 0 var(--gap-m)
25
- } .cc-picker-button .picker-button__option_wohzc:before {
25
+ } .cc-picker-button .picker-button__option_9ecqi:before {
26
26
  /* Удаляем разделители у опций выпадающего списка. */
27
27
  display: none;
28
28
  }
@@ -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_1jn3b","icon":"picker-button__icon_1jn3b","content":"picker-button__content_1jn3b"};
5
+ var styles = {"container":"picker-button__container_g1kh7","icon":"picker-button__icon_g1kh7","content":"picker-button__content_g1kh7"};
6
6
  require('./index.css')
7
7
 
8
8
  var Option = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: hgcqe */
1
+ /* hash: 155u9 */
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 */
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 */
@@ -15,13 +15,13 @@
15
15
  --gap-s: 12px;
16
16
  } :root {
17
17
  } :root {
18
- } .picker-button__container_1jn3b {
18
+ } .picker-button__container_g1kh7 {
19
19
  display: flex;
20
20
  align-items: center;
21
- } .picker-button__icon_1jn3b {
21
+ } .picker-button__icon_g1kh7 {
22
22
  display: flex;
23
23
  margin-right: var(--gap-s);
24
- } .picker-button__content_1jn3b {
24
+ } .picker-button__content_g1kh7 {
25
25
  overflow: hidden;
26
26
  flex: 1;
27
27
  text-overflow: ellipsis;
@@ -19,6 +19,10 @@ type SkeletonProps = {
19
19
  * Дополнительные инлайн стили
20
20
  */
21
21
  style?: React.CSSProperties;
22
+ /**
23
+ * Включает размытие фона
24
+ */
25
+ allowBackdropBlur?: boolean;
22
26
  /**
23
27
  * Идентификатор для систем автоматизированного тестирования
24
28
  */
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
13
13
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
14
14
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
15
15
 
16
- var styles = {"iconContainer":"picker-button__iconContainer_1pgx7","addonsContainer":"picker-button__addonsContainer_1pgx7","showControlIcon":"picker-button__showControlIcon_1pgx7","open":"picker-button__open_1pgx7","linkOpen":"picker-button__linkOpen_1pgx7"};
16
+ var styles = {"iconContainer":"picker-button__iconContainer_x24qp","addonsContainer":"picker-button__addonsContainer_x24qp","showControlIcon":"picker-button__showControlIcon_x24qp","open":"picker-button__open_x24qp","linkOpen":"picker-button__linkOpen_x24qp"};
17
17
  require('./index.css')
18
18
 
19
19
  var SIZE_TO_CLASSNAME_MAP = {
package/field/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: znrvb */
1
+ /* hash: 1y06d */
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 */
@@ -17,15 +17,15 @@
17
17
  } :root {
18
18
  } :root {
19
19
  --arrow-transform: rotate(180deg);
20
- } .picker-button__iconContainer_1pgx7 {
20
+ } .picker-button__iconContainer_x24qp {
21
21
  display: flex;
22
22
  transition: transform 0.15s ease-in-out;
23
- } .picker-button__addonsContainer_1pgx7 {
23
+ } .picker-button__addonsContainer_x24qp {
24
24
  display: flex
25
- } .picker-button__addonsContainer_1pgx7.picker-button__showControlIcon_1pgx7 {
25
+ } .picker-button__addonsContainer_x24qp.picker-button__showControlIcon_x24qp {
26
26
  margin-right: var(--gap-2xs);
27
- } .picker-button__open_1pgx7 {
27
+ } .picker-button__open_x24qp {
28
28
  transform: var(--arrow-transform);
29
- } .picker-button__linkOpen_1pgx7:not(:hover) {
29
+ } .picker-button__linkOpen_x24qp:not(:hover) {
30
30
  background-color: var(--color-light-transparent-default-hover);
31
31
  }
@@ -0,0 +1,4 @@
1
+ import { StatusBadgeIcon, StatusBadgeSizes, StatusBadgeViews } from "./index-09d2f9c9";
2
+ type IconMap = Record<StatusBadgeViews, Record<NonNullable<StatusBadgeSizes>, StatusBadgeIcon>>;
3
+ declare const ICON_MAP: IconMap;
4
+ export { IconMap, ICON_MAP };
@@ -0,0 +1,38 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ type StatusBadgeViews = "positive-checkmark" | "negative-cross" | "negative-alert" | "negative-block" | "attention-alert" | "neutral-information" | "neutral-operation" | "neutral-cross";
4
+ type StatusBadgeSizes = 16 | 20 | 24 | 32 | 40;
5
+ type StatusBadgeIcon = React.FC<React.SVGProps<SVGSVGElement>>;
6
+ type StatusBadgeCustomIcon = Partial<Record<StatusBadgeViews, Partial<Record<StatusBadgeSizes, StatusBadgeIcon>>>>;
7
+ type StatusBadgeProps = {
8
+ /**
9
+ * Дополнительный класс
10
+ */
11
+ className?: string;
12
+ /**
13
+ * Размер компонента
14
+ * @default 24
15
+ */
16
+ size?: StatusBadgeSizes;
17
+ /**
18
+ * Набор цветов для компонента
19
+ */
20
+ colors?: "default" | "inverted";
21
+ /**
22
+ * Вид бейджа.
23
+ */
24
+ view: StatusBadgeViews;
25
+ /**
26
+ * Идентификатор для систем автоматизированного тестирования
27
+ */
28
+ dataTestId?: string;
29
+ /**
30
+ * Кастомные иконки
31
+ */
32
+ customIcons?: StatusBadgeCustomIcon;
33
+ };
34
+ declare const StatusBadge: ({ className, dataTestId, size, view, colors, customIcons }: StatusBadgeProps) => React.JSX.Element;
35
+ declare const useStatusBadgeIcon: (view: StatusBadgeViews, size: StatusBadgeSizes, customIcons?: StatusBadgeCustomIcon) => {
36
+ Icon: StatusBadgeIcon;
37
+ };
38
+ export { StatusBadgeProps, StatusBadge, useStatusBadgeIcon, StatusBadgeViews, StatusBadgeSizes, StatusBadgeIcon, StatusBadgeCustomIcon };
@@ -62,5 +62,6 @@ declare function preventDefault(e: React.UIEvent): void;
62
62
  declare const dom: {
63
63
  preventDefault: typeof preventDefault;
64
64
  };
65
- export { isClient, os, getDataTestId, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
65
+ declare const exhaustiveCheck: (value: never) => never;
66
+ export { isClient, os, getDataTestId, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom, exhaustiveCheck };
66
67
  export * from "./browser-a216f694";
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: x2cxl */
1
+ /* hash: fccjv */
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 */
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 */
@@ -16,13 +16,13 @@
16
16
  --gap-m: 16px;
17
17
  } :root {
18
18
  } :root {
19
- } .picker-button__container_wohzc {
19
+ } .picker-button__container_9ecqi {
20
20
  min-width: auto;
21
- } .cc-picker-button.picker-button__optionsPopover_wohzc.picker-button__sideGap_wohzc {
21
+ } .cc-picker-button.picker-button__optionsPopover_9ecqi.picker-button__sideGap_9ecqi {
22
22
  padding: 0 var(--gap-xs);
23
- } .cc-picker-button .picker-button__option_wohzc {
23
+ } .cc-picker-button .picker-button__option_9ecqi {
24
24
  padding: 0 var(--gap-m)
25
- } .cc-picker-button .picker-button__option_wohzc:before {
25
+ } .cc-picker-button .picker-button__option_9ecqi:before {
26
26
  /* Удаляем разделители у опций выпадающего списка. */
27
27
  display: none;
28
28
  }
@@ -2,30 +2,6 @@
2
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
- type StatusBadgeProps = {
6
- /**
7
- * Дополнительный класс
8
- */
9
- className?: string;
10
- /**
11
- * Размер компонента
12
- * @default 24
13
- */
14
- size?: 16 | 20 | 24 | 32 | 40;
15
- /**
16
- * Набор цветов для компонента
17
- */
18
- colors?: "default" | "inverted";
19
- /**
20
- * Вид бейджа.
21
- */
22
- view: "positive-checkmark" | "negative-cross" | "negative-alert" | "negative-block" | "attention-alert" | "neutral-information" | "neutral-operation" | "neutral-cross";
23
- /**
24
- * Идентификатор для систем автоматизированного тестирования
25
- */
26
- dataTestId?: string;
27
- };
28
- declare const StatusBadge: ({ className, dataTestId, size, view, colors }: StatusBadgeProps) => React.JSX.Element;
29
5
  interface ClearButtonProps {
30
6
  disabled?: boolean;
31
7
  onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
@@ -312,4 +288,4 @@ declare const BaseInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAtt
312
288
  */
313
289
  disableUserInput?: boolean | undefined;
314
290
  } & React.RefAttributes<HTMLInputElement>>;
315
- export { StatusBadgeProps, StatusBadge, ClearButton, BaseInputProps, BaseInput };
291
+ export { ClearButton, BaseInputProps, BaseInput };
@@ -5,7 +5,7 @@ import { BaseSelect, OptionsList, Optgroup } from '@alfalab/core-components-sele
5
5
  import { Field } from '../field/Component.js';
6
6
  import { Option } from '../option/Component.js';
7
7
 
8
- const styles = {"container":"picker-button__container_wohzc","optionsPopover":"picker-button__optionsPopover_wohzc","sideGap":"picker-button__sideGap_wohzc","option":"picker-button__option_wohzc"};
8
+ const styles = {"container":"picker-button__container_9ecqi","optionsPopover":"picker-button__optionsPopover_9ecqi","sideGap":"picker-button__sideGap_9ecqi","option":"picker-button__option_9ecqi"};
9
9
  require('./../index.css')
10
10
 
11
11
  const SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { Button } from '@alfalab/core-components-button/modern';
4
4
  import { getIcon } from '../utils/index.js';
5
5
 
6
- const styles = {"iconContainer":"picker-button__iconContainer_1pgx7","addonsContainer":"picker-button__addonsContainer_1pgx7","showControlIcon":"picker-button__showControlIcon_1pgx7","open":"picker-button__open_1pgx7","linkOpen":"picker-button__linkOpen_1pgx7"};
6
+ const styles = {"iconContainer":"picker-button__iconContainer_x24qp","addonsContainer":"picker-button__addonsContainer_x24qp","showControlIcon":"picker-button__showControlIcon_x24qp","open":"picker-button__open_x24qp","linkOpen":"picker-button__linkOpen_x24qp"};
7
7
  require('./index.css')
8
8
 
9
9
  const SIZE_TO_CLASSNAME_MAP = {
@@ -1,4 +1,4 @@
1
- /* hash: znrvb */
1
+ /* hash: 1y06d */
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 */
@@ -17,15 +17,15 @@
17
17
  } :root {
18
18
  } :root {
19
19
  --arrow-transform: rotate(180deg);
20
- } .picker-button__iconContainer_1pgx7 {
20
+ } .picker-button__iconContainer_x24qp {
21
21
  display: flex;
22
22
  transition: transform 0.15s ease-in-out;
23
- } .picker-button__addonsContainer_1pgx7 {
23
+ } .picker-button__addonsContainer_x24qp {
24
24
  display: flex
25
- } .picker-button__addonsContainer_1pgx7.picker-button__showControlIcon_1pgx7 {
25
+ } .picker-button__addonsContainer_x24qp.picker-button__showControlIcon_x24qp {
26
26
  margin-right: var(--gap-2xs);
27
- } .picker-button__open_1pgx7 {
27
+ } .picker-button__open_x24qp {
28
28
  transform: var(--arrow-transform);
29
- } .picker-button__linkOpen_1pgx7:not(:hover) {
29
+ } .picker-button__linkOpen_x24qp:not(:hover) {
30
30
  background-color: var(--color-light-transparent-default-hover);
31
31
  }
@@ -0,0 +1,4 @@
1
+ import { StatusBadgeIcon, StatusBadgeSizes, StatusBadgeViews } from "./index-09d2f9c9";
2
+ type IconMap = Record<StatusBadgeViews, Record<NonNullable<StatusBadgeSizes>, StatusBadgeIcon>>;
3
+ declare const ICON_MAP: IconMap;
4
+ export { IconMap, ICON_MAP };
@@ -0,0 +1,38 @@
1
+ /// <reference types="react" />
2
+ import React from "react";
3
+ type StatusBadgeViews = "positive-checkmark" | "negative-cross" | "negative-alert" | "negative-block" | "attention-alert" | "neutral-information" | "neutral-operation" | "neutral-cross";
4
+ type StatusBadgeSizes = 16 | 20 | 24 | 32 | 40;
5
+ type StatusBadgeIcon = React.FC<React.SVGProps<SVGSVGElement>>;
6
+ type StatusBadgeCustomIcon = Partial<Record<StatusBadgeViews, Partial<Record<StatusBadgeSizes, StatusBadgeIcon>>>>;
7
+ type StatusBadgeProps = {
8
+ /**
9
+ * Дополнительный класс
10
+ */
11
+ className?: string;
12
+ /**
13
+ * Размер компонента
14
+ * @default 24
15
+ */
16
+ size?: StatusBadgeSizes;
17
+ /**
18
+ * Набор цветов для компонента
19
+ */
20
+ colors?: "default" | "inverted";
21
+ /**
22
+ * Вид бейджа.
23
+ */
24
+ view: StatusBadgeViews;
25
+ /**
26
+ * Идентификатор для систем автоматизированного тестирования
27
+ */
28
+ dataTestId?: string;
29
+ /**
30
+ * Кастомные иконки
31
+ */
32
+ customIcons?: StatusBadgeCustomIcon;
33
+ };
34
+ declare const StatusBadge: ({ className, dataTestId, size, view, colors, customIcons }: StatusBadgeProps) => React.JSX.Element;
35
+ declare const useStatusBadgeIcon: (view: StatusBadgeViews, size: StatusBadgeSizes, customIcons?: StatusBadgeCustomIcon) => {
36
+ Icon: StatusBadgeIcon;
37
+ };
38
+ export { StatusBadgeProps, StatusBadge, useStatusBadgeIcon, StatusBadgeViews, StatusBadgeSizes, StatusBadgeIcon, StatusBadgeCustomIcon };
@@ -62,5 +62,6 @@ declare function preventDefault(e: React.UIEvent): void;
62
62
  declare const dom: {
63
63
  preventDefault: typeof preventDefault;
64
64
  };
65
- export { isClient, os, getDataTestId, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom };
65
+ declare const exhaustiveCheck: (value: never) => never;
66
+ export { isClient, os, getDataTestId, createPaddingStyle, easingFns, fnUtils, maskUtils, hooks, dom, exhaustiveCheck };
66
67
  export * from "./browser-a216f694";
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: x2cxl */
1
+ /* hash: fccjv */
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 */
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 */
@@ -16,13 +16,13 @@
16
16
  --gap-m: 16px;
17
17
  } :root {
18
18
  } :root {
19
- } .picker-button__container_wohzc {
19
+ } .picker-button__container_9ecqi {
20
20
  min-width: auto;
21
- } .cc-picker-button.picker-button__optionsPopover_wohzc.picker-button__sideGap_wohzc {
21
+ } .cc-picker-button.picker-button__optionsPopover_9ecqi.picker-button__sideGap_9ecqi {
22
22
  padding: 0 var(--gap-xs);
23
- } .cc-picker-button .picker-button__option_wohzc {
23
+ } .cc-picker-button .picker-button__option_9ecqi {
24
24
  padding: 0 var(--gap-m)
25
- } .cc-picker-button .picker-button__option_wohzc:before {
25
+ } .cc-picker-button .picker-button__option_9ecqi:before {
26
26
  /* Удаляем разделители у опций выпадающего списка. */
27
27
  display: none;
28
28
  }
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { Option as Option$1 } from '@alfalab/core-components-select/modern/shared';
3
3
 
4
- const styles = {"container":"picker-button__container_1jn3b","icon":"picker-button__icon_1jn3b","content":"picker-button__content_1jn3b"};
4
+ const styles = {"container":"picker-button__container_g1kh7","icon":"picker-button__icon_g1kh7","content":"picker-button__content_g1kh7"};
5
5
  require('./index.css')
6
6
 
7
7
  const Option = ({ option, children, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: hgcqe */
1
+ /* hash: 155u9 */
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 */
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 */
@@ -15,13 +15,13 @@
15
15
  --gap-s: 12px;
16
16
  } :root {
17
17
  } :root {
18
- } .picker-button__container_1jn3b {
18
+ } .picker-button__container_g1kh7 {
19
19
  display: flex;
20
20
  align-items: center;
21
- } .picker-button__icon_1jn3b {
21
+ } .picker-button__icon_g1kh7 {
22
22
  display: flex;
23
23
  margin-right: var(--gap-s);
24
- } .picker-button__content_1jn3b {
24
+ } .picker-button__content_g1kh7 {
25
25
  overflow: hidden;
26
26
  flex: 1;
27
27
  text-overflow: ellipsis;
@@ -19,6 +19,10 @@ type SkeletonProps = {
19
19
  * Дополнительные инлайн стили
20
20
  */
21
21
  style?: React.CSSProperties;
22
+ /**
23
+ * Включает размытие фона
24
+ */
25
+ allowBackdropBlur?: boolean;
22
26
  /**
23
27
  * Идентификатор для систем автоматизированного тестирования
24
28
  */
@@ -10,7 +10,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
10
10
 
11
11
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
12
12
 
13
- var styles = {"container":"picker-button__container_1jn3b","icon":"picker-button__icon_1jn3b","content":"picker-button__content_1jn3b"};
13
+ var styles = {"container":"picker-button__container_g1kh7","icon":"picker-button__icon_g1kh7","content":"picker-button__content_g1kh7"};
14
14
  require('./index.css')
15
15
 
16
16
  var Option = function (_a) {
package/option/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: hgcqe */
1
+ /* hash: 155u9 */
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 */
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 */
@@ -15,13 +15,13 @@
15
15
  --gap-s: 12px;
16
16
  } :root {
17
17
  } :root {
18
- } .picker-button__container_1jn3b {
18
+ } .picker-button__container_g1kh7 {
19
19
  display: flex;
20
20
  align-items: center;
21
- } .picker-button__icon_1jn3b {
21
+ } .picker-button__icon_g1kh7 {
22
22
  display: flex;
23
23
  margin-right: var(--gap-s);
24
- } .picker-button__content_1jn3b {
24
+ } .picker-button__content_g1kh7 {
25
25
  overflow: hidden;
26
26
  flex: 1;
27
27
  text-overflow: ellipsis;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-picker-button",
3
- "version": "11.7.0",
3
+ "version": "11.7.1",
4
4
  "description": "Picker button component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,8 +15,8 @@
15
15
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-button": "^11.4.2",
19
- "@alfalab/core-components-select": "^17.4.3",
18
+ "@alfalab/core-components-button": "^11.4.3",
19
+ "@alfalab/core-components-select": "^17.4.4",
20
20
  "@alfalab/core-components-popover": "^6.2.1",
21
21
  "@alfalab/hooks": "^1.13.0",
22
22
  "@alfalab/icons-glyph": "^2.139.0",
@@ -19,6 +19,10 @@ type SkeletonProps = {
19
19
  * Дополнительные инлайн стили
20
20
  */
21
21
  style?: React.CSSProperties;
22
+ /**
23
+ * Включает размытие фона
24
+ */
25
+ allowBackdropBlur?: boolean;
22
26
  /**
23
27
  * Идентификатор для систем автоматизированного тестирования
24
28
  */