@alfalab/core-components-picker-button 11.0.0 → 11.0.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 (83) hide show
  1. package/{Component-89a3cf4c.d.ts → Component-50136800.d.ts} +1 -1
  2. package/Component-5e1b8383.d.ts +1 -1
  3. package/{cssm/Component-e81c389f.d.ts → Component-c76d6398.d.ts} +1 -1
  4. package/Component.desktop.js +1 -1
  5. package/Component.mobile-f1f15074.d.ts +1 -1
  6. package/Component.modal.mobile-5e1b8383.d.ts +1 -1
  7. package/{cssm/component-89a3cf4c.d.ts → component-50136800.d.ts} +2 -2
  8. package/createPaddingStyle-72dda473.d.ts +5 -0
  9. package/{esm/Component-89a3cf4c.d.ts → cssm/Component-50136800.d.ts} +1 -1
  10. package/cssm/Component-5e1b8383.d.ts +1 -1
  11. package/{Component-e81c389f.d.ts → cssm/Component-c76d6398.d.ts} +1 -1
  12. package/cssm/Component.mobile-f1f15074.d.ts +1 -1
  13. package/cssm/Component.modal.mobile-5e1b8383.d.ts +1 -1
  14. package/{esm/component-89a3cf4c.d.ts → cssm/component-50136800.d.ts} +2 -2
  15. package/cssm/createPaddingStyle-72dda473.d.ts +5 -0
  16. package/cssm/index-50136800.d.ts +8 -0
  17. package/{esm/index-425c8522.d.ts → cssm/index-72dda473.d.ts} +7 -1
  18. package/cssm/index-c76d6398.d.ts +2 -0
  19. package/cssm/index-ebda875c.d.ts +1 -1
  20. package/cssm/index-f12ee135.d.ts +2 -2
  21. package/cssm/{types-425c8522.d.ts → types-72dda473.d.ts} +2 -2
  22. package/{modern/Component-89a3cf4c.d.ts → esm/Component-50136800.d.ts} +1 -1
  23. package/esm/Component-5e1b8383.d.ts +1 -1
  24. package/esm/{Component-e81c389f.d.ts → Component-c76d6398.d.ts} +1 -1
  25. package/esm/Component.desktop.js +1 -1
  26. package/esm/Component.mobile-f1f15074.d.ts +1 -1
  27. package/esm/Component.modal.mobile-5e1b8383.d.ts +1 -1
  28. package/{component-89a3cf4c.d.ts → esm/component-50136800.d.ts} +2 -2
  29. package/esm/createPaddingStyle-72dda473.d.ts +5 -0
  30. package/esm/field/Component.js +1 -1
  31. package/esm/field/index.css +5 -5
  32. package/esm/index-50136800.d.ts +8 -0
  33. package/{cssm/index-425c8522.d.ts → esm/index-72dda473.d.ts} +7 -1
  34. package/esm/index-c76d6398.d.ts +2 -0
  35. package/esm/index-ebda875c.d.ts +1 -1
  36. package/esm/index-f12ee135.d.ts +2 -2
  37. package/esm/index.css +5 -5
  38. package/esm/option/Component.js +1 -1
  39. package/esm/option/index.css +4 -4
  40. package/esm/{types-425c8522.d.ts → types-72dda473.d.ts} +2 -2
  41. package/field/Component.js +1 -1
  42. package/field/index.css +5 -5
  43. package/index-50136800.d.ts +8 -0
  44. package/{index-425c8522.d.ts → index-72dda473.d.ts} +7 -1
  45. package/index-c76d6398.d.ts +2 -0
  46. package/index-ebda875c.d.ts +1 -1
  47. package/index-f12ee135.d.ts +2 -2
  48. package/index.css +5 -5
  49. package/{cssm/Component-89a3cf4c.d.ts → modern/Component-50136800.d.ts} +1 -1
  50. package/modern/Component-5e1b8383.d.ts +1 -1
  51. package/modern/{Component-e81c389f.d.ts → Component-c76d6398.d.ts} +1 -1
  52. package/modern/Component.desktop.js +1 -1
  53. package/modern/Component.mobile-f1f15074.d.ts +1 -1
  54. package/modern/Component.modal.mobile-5e1b8383.d.ts +1 -1
  55. package/modern/{component-89a3cf4c.d.ts → component-50136800.d.ts} +2 -2
  56. package/modern/createPaddingStyle-72dda473.d.ts +5 -0
  57. package/modern/field/Component.js +1 -1
  58. package/modern/field/index.css +5 -5
  59. package/modern/index-50136800.d.ts +8 -0
  60. package/modern/{index-425c8522.d.ts → index-72dda473.d.ts} +7 -1
  61. package/modern/index-c76d6398.d.ts +2 -0
  62. package/modern/index-ebda875c.d.ts +1 -1
  63. package/modern/index-f12ee135.d.ts +2 -2
  64. package/modern/index.css +5 -5
  65. package/modern/option/Component.js +1 -1
  66. package/modern/option/index.css +4 -4
  67. package/modern/{types-425c8522.d.ts → types-72dda473.d.ts} +2 -2
  68. package/option/Component.js +1 -1
  69. package/option/index.css +4 -4
  70. package/package.json +3 -3
  71. package/{types-425c8522.d.ts → types-72dda473.d.ts} +2 -2
  72. package/cssm/index-89a3cf4c.d.ts +0 -3
  73. package/cssm/index-e81c389f.d.ts +0 -3
  74. package/esm/index-89a3cf4c.d.ts +0 -3
  75. package/esm/index-e81c389f.d.ts +0 -3
  76. package/index-89a3cf4c.d.ts +0 -3
  77. package/index-e81c389f.d.ts +0 -3
  78. package/modern/index-89a3cf4c.d.ts +0 -3
  79. package/modern/index-e81c389f.d.ts +0 -3
  80. /package/cssm/{types-ebda875c.d.ts → types-83e2bd9e.d.ts} +0 -0
  81. /package/esm/{types-ebda875c.d.ts → types-83e2bd9e.d.ts} +0 -0
  82. /package/modern/{types-ebda875c.d.ts → types-83e2bd9e.d.ts} +0 -0
  83. /package/{types-ebda875c.d.ts → types-83e2bd9e.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { NavigationBarProps } from "./types-ebda875c";
3
+ import { NavigationBarProps } from "./types-83e2bd9e";
4
4
  declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export * from "./Component-63dec22f";
6
6
  export { NavigationBar };
@@ -61,7 +61,7 @@ declare const BaseSelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectP
61
61
  /**
62
62
  * Дополнительные пропсы шапки модалки
63
63
  */
64
- modalHeaderProps?: Partial<import("./Component-e81c389f").HeaderProps> | undefined;
64
+ modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
65
65
  /**
66
66
  * Дополнительные пропсы футера модалки
67
67
  */
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { NavigationBarProps } from "./index-e81c389f";
2
+ import { NavigationBarProps } from "./index-c76d6398";
3
3
  type HeaderProps = Omit<NavigationBarProps, 'size' | 'view' | 'parentRef'>;
4
4
  declare const Header: FC<HeaderProps>;
5
5
  export { HeaderProps, Header };
@@ -20,7 +20,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
20
20
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
21
21
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
22
22
 
23
- var styles = {"container":"picker-button__container_1dqr7","optionsPopover":"picker-button__optionsPopover_1dqr7","sideGap":"picker-button__sideGap_1dqr7","option":"picker-button__option_1dqr7"};
23
+ var styles = {"container":"picker-button__container_1bvhf","optionsPopover":"picker-button__optionsPopover_1bvhf","sideGap":"picker-button__sideGap_1bvhf","option":"picker-button__option_1bvhf"};
24
24
  require('./index.css')
25
25
 
26
26
  var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
@@ -28,7 +28,7 @@ type FooterProps = {
28
28
  declare const Footer: FC<FooterProps>;
29
29
  declare const ModalMobile: React.ForwardRefExoticComponent<ModalMobileProps & React.RefAttributes<HTMLDivElement>> & {
30
30
  Content: React.FC<import("./typings-bdb4c6b9").ContentProps>;
31
- Header: React.FC<import("./Component-e81c389f").HeaderProps>;
31
+ Header: React.FC<import("./Component-c76d6398").HeaderProps>;
32
32
  Footer: React.FC<FooterProps>;
33
33
  };
34
34
  export { Content, FooterProps, Footer, ModalMobile };
@@ -42,7 +42,7 @@ declare const SelectModalMobile: React.ForwardRefExoticComponent<Omit<BaseSelect
42
42
  /**
43
43
  * Дополнительные пропсы шапки модалки
44
44
  */
45
- modalHeaderProps?: Partial<import("./Component-e81c389f").HeaderProps> | undefined;
45
+ modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
46
46
  /**
47
47
  * Дополнительные пропсы модалки
48
48
  */
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC, ReactNode, RefObject } from "react";
4
- import { NavigationBarProps } from "./index-e81c389f";
4
+ import { NavigationBarProps } from "./index-c76d6398";
5
5
  import { SwipeableHandlers } from "react-swipeable";
6
6
  import { BackdropProps } from "./index-ebda875c";
7
- import { BottomSheetProps } from "./types-425c8522";
7
+ import { BottomSheetProps } from "./types-72dda473";
8
8
  type FooterProps = {
9
9
  /**
10
10
  * Контент футера
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { PaddingType } from "./index-72dda473";
4
+ declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
5
+ export { createPaddingStyle };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { NavigationBarProps } from "./types-ebda875c";
3
+ import { NavigationBarProps } from "./types-83e2bd9e";
4
4
  declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export * from "./Component-63dec22f";
6
6
  export { NavigationBar };
@@ -61,7 +61,7 @@ declare const BaseSelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectP
61
61
  /**
62
62
  * Дополнительные пропсы шапки модалки
63
63
  */
64
- modalHeaderProps?: Partial<import("./Component-e81c389f").HeaderProps> | undefined;
64
+ modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
65
65
  /**
66
66
  * Дополнительные пропсы футера модалки
67
67
  */
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { NavigationBarProps } from "./index-e81c389f";
2
+ import { NavigationBarProps } from "./index-c76d6398";
3
3
  type HeaderProps = Omit<NavigationBarProps, 'size' | 'view' | 'parentRef'>;
4
4
  declare const Header: FC<HeaderProps>;
5
5
  export { HeaderProps, Header };
@@ -28,7 +28,7 @@ type FooterProps = {
28
28
  declare const Footer: FC<FooterProps>;
29
29
  declare const ModalMobile: React.ForwardRefExoticComponent<ModalMobileProps & React.RefAttributes<HTMLDivElement>> & {
30
30
  Content: React.FC<import("./typings-bdb4c6b9").ContentProps>;
31
- Header: React.FC<import("./Component-e81c389f").HeaderProps>;
31
+ Header: React.FC<import("./Component-c76d6398").HeaderProps>;
32
32
  Footer: React.FC<FooterProps>;
33
33
  };
34
34
  export { Content, FooterProps, Footer, ModalMobile };
@@ -42,7 +42,7 @@ declare const SelectModalMobile: React.ForwardRefExoticComponent<Omit<BaseSelect
42
42
  /**
43
43
  * Дополнительные пропсы шапки модалки
44
44
  */
45
- modalHeaderProps?: Partial<import("./Component-e81c389f").HeaderProps> | undefined;
45
+ modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
46
46
  /**
47
47
  * Дополнительные пропсы модалки
48
48
  */
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC, ReactNode, RefObject } from "react";
4
- import { NavigationBarProps } from "./index-e81c389f";
4
+ import { NavigationBarProps } from "./index-c76d6398";
5
5
  import { SwipeableHandlers } from "react-swipeable";
6
6
  import { BackdropProps } from "./index-ebda875c";
7
- import { BottomSheetProps } from "./types-425c8522";
7
+ import { BottomSheetProps } from "./types-72dda473";
8
8
  type FooterProps = {
9
9
  /**
10
10
  * Контент футера
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { PaddingType } from "./index-72dda473";
4
+ declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
5
+ export { createPaddingStyle };
@@ -0,0 +1,8 @@
1
+ declare const isClient: () => boolean;
2
+ declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
3
+ declare function easeInOutQuad(x: number): number;
4
+ declare const easingFns: {
5
+ easeInOutQuad: typeof easeInOutQuad;
6
+ };
7
+ export { isClient, getDataTestId, easingFns };
8
+ export * from "./createPaddingStyle-72dda473";
@@ -3,4 +3,10 @@ type BorderColorType = 'accent' | 'key' | 'key-inverted' | 'link' | 'primary' |
3
3
  type GraphicColorType = 'accent' | 'link' | 'attention' | 'positive' | 'negative' | 'primary' | 'primary-inverted' | 'secondary' | 'secondary-inverted' | 'tertiary' | 'tertiary-inverted' | 'quaternary' | 'quaternary-inverted' | 'static-light' | 'static-accent' | 'static-dark';
4
4
  type ShadowType = 'shadow-xs' | 'shadow-s' | 'shadow-m' | 'shadow-l' | 'shadow-xl' | 'shadow-xs-hard' | 'shadow-s-hard' | 'shadow-m-hard' | 'shadow-l-hard' | 'shadow-xl-hard' | 'shadow-xs-up' | 'shadow-s-up' | 'shadow-m-up' | 'shadow-l-up' | 'shadow-xl-up' | 'shadow-xs-hard-up' | 'shadow-s-hard-up' | 'shadow-m-hard-up' | 'shadow-l-hard-up' | 'shadow-xl-hard-up';
5
5
  type GapType = '3xs' | '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl';
6
- export { BackgroundColorType, BorderColorType, GraphicColorType, ShadowType, GapType };
6
+ type PaddingType = number | string | {
7
+ top?: number;
8
+ right?: number;
9
+ bottom?: number;
10
+ left?: number;
11
+ };
12
+ export { BackgroundColorType, BorderColorType, GraphicColorType, ShadowType, GapType, PaddingType };
@@ -0,0 +1,2 @@
1
+ export * from "./Component-50136800";
2
+ export type { NavigationBarProps } from "./types-83e2bd9e";
@@ -71,7 +71,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
71
71
  icon: ElementType<{
72
72
  className?: string;
73
73
  }> | ReactElement;
74
- view?: "primary" | "secondary" | "tertiary" | "transparent" | "negative" | undefined;
74
+ view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
75
75
  size?: "s" | "xs" | "xxs" | undefined;
76
76
  className?: string | undefined;
77
77
  alignIcon?: "center" | "right" | "left" | undefined;
@@ -1,3 +1,3 @@
1
- export * from "./component-89a3cf4c";
2
- export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-425c8522";
1
+ export * from "./component-50136800";
2
+ export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-72dda473";
3
3
  export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-49cc3c24";
@@ -2,8 +2,8 @@
2
2
  import { HTMLAttributes, ReactNode, RefObject } from 'react';
3
3
  import { TransitionProps } from 'react-transition-group/Transition';
4
4
  import { BaseModalProps } from "./index-bdb4c6b9";
5
- import { NavigationBarProps } from "./index-e81c389f";
6
- import { BackgroundColorType } from "./index-425c8522";
5
+ import { NavigationBarProps } from "./index-c76d6398";
6
+ import { BackgroundColorType } from "./index-72dda473";
7
7
  type BottomSheetTitleAlign = 'center' | 'left';
8
8
  type BottomSheetProps = {
9
9
  /**
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { NavigationBarProps } from "./types-ebda875c";
3
+ import { NavigationBarProps } from "./types-83e2bd9e";
4
4
  declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export * from "./Component-63dec22f";
6
6
  export { NavigationBar };
@@ -61,7 +61,7 @@ declare const BaseSelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectP
61
61
  /**
62
62
  * Дополнительные пропсы шапки модалки
63
63
  */
64
- modalHeaderProps?: Partial<import("./Component-e81c389f").HeaderProps> | undefined;
64
+ modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
65
65
  /**
66
66
  * Дополнительные пропсы футера модалки
67
67
  */
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { NavigationBarProps } from "./index-e81c389f";
2
+ import { NavigationBarProps } from "./index-c76d6398";
3
3
  type HeaderProps = Omit<NavigationBarProps, 'size' | 'view' | 'parentRef'>;
4
4
  declare const Header: FC<HeaderProps>;
5
5
  export { HeaderProps, Header };
@@ -11,7 +11,7 @@ import '@alfalab/icons-glyph/ChevronDownMIcon';
11
11
  import '@alfalab/icons-glyph/MoreMIcon';
12
12
  import '@alfalab/icons-glyph/MoreSIcon';
13
13
 
14
- var styles = {"container":"picker-button__container_1dqr7","optionsPopover":"picker-button__optionsPopover_1dqr7","sideGap":"picker-button__sideGap_1dqr7","option":"picker-button__option_1dqr7"};
14
+ var styles = {"container":"picker-button__container_1bvhf","optionsPopover":"picker-button__optionsPopover_1bvhf","sideGap":"picker-button__sideGap_1bvhf","option":"picker-button__option_1bvhf"};
15
15
  require('./index.css')
16
16
 
17
17
  var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
@@ -28,7 +28,7 @@ type FooterProps = {
28
28
  declare const Footer: FC<FooterProps>;
29
29
  declare const ModalMobile: React.ForwardRefExoticComponent<ModalMobileProps & React.RefAttributes<HTMLDivElement>> & {
30
30
  Content: React.FC<import("./typings-bdb4c6b9").ContentProps>;
31
- Header: React.FC<import("./Component-e81c389f").HeaderProps>;
31
+ Header: React.FC<import("./Component-c76d6398").HeaderProps>;
32
32
  Footer: React.FC<FooterProps>;
33
33
  };
34
34
  export { Content, FooterProps, Footer, ModalMobile };
@@ -42,7 +42,7 @@ declare const SelectModalMobile: React.ForwardRefExoticComponent<Omit<BaseSelect
42
42
  /**
43
43
  * Дополнительные пропсы шапки модалки
44
44
  */
45
- modalHeaderProps?: Partial<import("./Component-e81c389f").HeaderProps> | undefined;
45
+ modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
46
46
  /**
47
47
  * Дополнительные пропсы модалки
48
48
  */
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC, ReactNode, RefObject } from "react";
4
- import { NavigationBarProps } from "./index-e81c389f";
4
+ import { NavigationBarProps } from "./index-c76d6398";
5
5
  import { SwipeableHandlers } from "react-swipeable";
6
6
  import { BackdropProps } from "./index-ebda875c";
7
- import { BottomSheetProps } from "./types-425c8522";
7
+ import { BottomSheetProps } from "./types-72dda473";
8
8
  type FooterProps = {
9
9
  /**
10
10
  * Контент футера
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { PaddingType } from "./index-72dda473";
4
+ declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
5
+ export { createPaddingStyle };
@@ -8,7 +8,7 @@ import '@alfalab/icons-glyph/ChevronDownMIcon';
8
8
  import '@alfalab/icons-glyph/MoreMIcon';
9
9
  import '@alfalab/icons-glyph/MoreSIcon';
10
10
 
11
- var styles = {"iconContainer":"picker-button__iconContainer_z7q5q","addonsContainer":"picker-button__addonsContainer_z7q5q","showControlIcon":"picker-button__showControlIcon_z7q5q","open":"picker-button__open_z7q5q"};
11
+ var styles = {"iconContainer":"picker-button__iconContainer_1tzr7","addonsContainer":"picker-button__addonsContainer_1tzr7","showControlIcon":"picker-button__showControlIcon_1tzr7","open":"picker-button__open_1tzr7"};
12
12
  require('./index.css')
13
13
 
14
14
  var Field = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1vxxg */
1
+ /* hash: 11ls2 */
2
2
  :root {
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
  } :root {
17
17
  } :root {
18
18
  --arrow-transform: rotate(180deg);
19
- } .picker-button__iconContainer_z7q5q {
19
+ } .picker-button__iconContainer_1tzr7 {
20
20
  display: flex;
21
21
  transition: transform 0.15s ease-in-out;
22
- } .picker-button__addonsContainer_z7q5q {
22
+ } .picker-button__addonsContainer_1tzr7 {
23
23
  display: flex
24
- } .picker-button__addonsContainer_z7q5q.picker-button__showControlIcon_z7q5q {
24
+ } .picker-button__addonsContainer_1tzr7.picker-button__showControlIcon_1tzr7 {
25
25
  margin-right: var(--gap-2xs);
26
- } .picker-button__open_z7q5q {
26
+ } .picker-button__open_1tzr7 {
27
27
  transform: var(--arrow-transform);
28
28
  }
@@ -0,0 +1,8 @@
1
+ declare const isClient: () => boolean;
2
+ declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
3
+ declare function easeInOutQuad(x: number): number;
4
+ declare const easingFns: {
5
+ easeInOutQuad: typeof easeInOutQuad;
6
+ };
7
+ export { isClient, getDataTestId, easingFns };
8
+ export * from "./createPaddingStyle-72dda473";
@@ -3,4 +3,10 @@ type BorderColorType = 'accent' | 'key' | 'key-inverted' | 'link' | 'primary' |
3
3
  type GraphicColorType = 'accent' | 'link' | 'attention' | 'positive' | 'negative' | 'primary' | 'primary-inverted' | 'secondary' | 'secondary-inverted' | 'tertiary' | 'tertiary-inverted' | 'quaternary' | 'quaternary-inverted' | 'static-light' | 'static-accent' | 'static-dark';
4
4
  type ShadowType = 'shadow-xs' | 'shadow-s' | 'shadow-m' | 'shadow-l' | 'shadow-xl' | 'shadow-xs-hard' | 'shadow-s-hard' | 'shadow-m-hard' | 'shadow-l-hard' | 'shadow-xl-hard' | 'shadow-xs-up' | 'shadow-s-up' | 'shadow-m-up' | 'shadow-l-up' | 'shadow-xl-up' | 'shadow-xs-hard-up' | 'shadow-s-hard-up' | 'shadow-m-hard-up' | 'shadow-l-hard-up' | 'shadow-xl-hard-up';
5
5
  type GapType = '3xs' | '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl';
6
- export { BackgroundColorType, BorderColorType, GraphicColorType, ShadowType, GapType };
6
+ type PaddingType = number | string | {
7
+ top?: number;
8
+ right?: number;
9
+ bottom?: number;
10
+ left?: number;
11
+ };
12
+ export { BackgroundColorType, BorderColorType, GraphicColorType, ShadowType, GapType, PaddingType };
@@ -0,0 +1,2 @@
1
+ export * from "./Component-50136800";
2
+ export type { NavigationBarProps } from "./types-83e2bd9e";
@@ -71,7 +71,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
71
71
  icon: ElementType<{
72
72
  className?: string;
73
73
  }> | ReactElement;
74
- view?: "primary" | "secondary" | "tertiary" | "transparent" | "negative" | undefined;
74
+ view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
75
75
  size?: "s" | "xs" | "xxs" | undefined;
76
76
  className?: string | undefined;
77
77
  alignIcon?: "center" | "right" | "left" | undefined;
@@ -1,3 +1,3 @@
1
- export * from "./component-89a3cf4c";
2
- export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-425c8522";
1
+ export * from "./component-50136800";
2
+ export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-72dda473";
3
3
  export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-49cc3c24";
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 5cg11 */
1
+ /* hash: 158ll */
2
2
  :root {
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_1dqr7 {
19
+ } .picker-button__container_1bvhf {
20
20
  min-width: auto;
21
- } .cc-picker-button.picker-button__optionsPopover_1dqr7.picker-button__sideGap_1dqr7 {
21
+ } .cc-picker-button.picker-button__optionsPopover_1bvhf.picker-button__sideGap_1bvhf {
22
22
  padding: 0 var(--gap-xs);
23
- } .cc-picker-button .picker-button__option_1dqr7 {
23
+ } .cc-picker-button .picker-button__option_1bvhf {
24
24
  padding: 0 var(--gap-m)
25
- } .cc-picker-button .picker-button__option_1dqr7:before {
25
+ } .cc-picker-button .picker-button__option_1bvhf: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_n5ay9","icon":"picker-button__icon_n5ay9","content":"picker-button__content_n5ay9"};
5
+ var styles = {"container":"picker-button__container_y5v6g","icon":"picker-button__icon_y5v6g","content":"picker-button__content_y5v6g"};
6
6
  require('./index.css')
7
7
 
8
8
  var Option = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1g853 */
1
+ /* hash: jecxe */
2
2
  :root {
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_n5ay9 {
18
+ } .picker-button__container_y5v6g {
19
19
  display: flex;
20
20
  align-items: center;
21
- } .picker-button__icon_n5ay9 {
21
+ } .picker-button__icon_y5v6g {
22
22
  display: flex;
23
23
  margin-right: var(--gap-s);
24
- } .picker-button__content_n5ay9 {
24
+ } .picker-button__content_y5v6g {
25
25
  overflow: hidden;
26
26
  flex: 1;
27
27
  text-overflow: ellipsis;
@@ -2,8 +2,8 @@
2
2
  import { HTMLAttributes, ReactNode, RefObject } from 'react';
3
3
  import { TransitionProps } from 'react-transition-group/Transition';
4
4
  import { BaseModalProps } from "./index-bdb4c6b9";
5
- import { NavigationBarProps } from "./index-e81c389f";
6
- import { BackgroundColorType } from "./index-425c8522";
5
+ import { NavigationBarProps } from "./index-c76d6398";
6
+ import { BackgroundColorType } from "./index-72dda473";
7
7
  type BottomSheetTitleAlign = 'center' | 'left';
8
8
  type BottomSheetProps = {
9
9
  /**
@@ -17,7 +17,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
17
17
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
18
18
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
19
19
 
20
- var styles = {"iconContainer":"picker-button__iconContainer_z7q5q","addonsContainer":"picker-button__addonsContainer_z7q5q","showControlIcon":"picker-button__showControlIcon_z7q5q","open":"picker-button__open_z7q5q"};
20
+ var styles = {"iconContainer":"picker-button__iconContainer_1tzr7","addonsContainer":"picker-button__addonsContainer_1tzr7","showControlIcon":"picker-button__showControlIcon_1tzr7","open":"picker-button__open_1tzr7"};
21
21
  require('./index.css')
22
22
 
23
23
  var Field = function (_a) {
package/field/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1vxxg */
1
+ /* hash: 11ls2 */
2
2
  :root {
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
  } :root {
17
17
  } :root {
18
18
  --arrow-transform: rotate(180deg);
19
- } .picker-button__iconContainer_z7q5q {
19
+ } .picker-button__iconContainer_1tzr7 {
20
20
  display: flex;
21
21
  transition: transform 0.15s ease-in-out;
22
- } .picker-button__addonsContainer_z7q5q {
22
+ } .picker-button__addonsContainer_1tzr7 {
23
23
  display: flex
24
- } .picker-button__addonsContainer_z7q5q.picker-button__showControlIcon_z7q5q {
24
+ } .picker-button__addonsContainer_1tzr7.picker-button__showControlIcon_1tzr7 {
25
25
  margin-right: var(--gap-2xs);
26
- } .picker-button__open_z7q5q {
26
+ } .picker-button__open_1tzr7 {
27
27
  transform: var(--arrow-transform);
28
28
  }
@@ -0,0 +1,8 @@
1
+ declare const isClient: () => boolean;
2
+ declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
3
+ declare function easeInOutQuad(x: number): number;
4
+ declare const easingFns: {
5
+ easeInOutQuad: typeof easeInOutQuad;
6
+ };
7
+ export { isClient, getDataTestId, easingFns };
8
+ export * from "./createPaddingStyle-72dda473";
@@ -3,4 +3,10 @@ type BorderColorType = 'accent' | 'key' | 'key-inverted' | 'link' | 'primary' |
3
3
  type GraphicColorType = 'accent' | 'link' | 'attention' | 'positive' | 'negative' | 'primary' | 'primary-inverted' | 'secondary' | 'secondary-inverted' | 'tertiary' | 'tertiary-inverted' | 'quaternary' | 'quaternary-inverted' | 'static-light' | 'static-accent' | 'static-dark';
4
4
  type ShadowType = 'shadow-xs' | 'shadow-s' | 'shadow-m' | 'shadow-l' | 'shadow-xl' | 'shadow-xs-hard' | 'shadow-s-hard' | 'shadow-m-hard' | 'shadow-l-hard' | 'shadow-xl-hard' | 'shadow-xs-up' | 'shadow-s-up' | 'shadow-m-up' | 'shadow-l-up' | 'shadow-xl-up' | 'shadow-xs-hard-up' | 'shadow-s-hard-up' | 'shadow-m-hard-up' | 'shadow-l-hard-up' | 'shadow-xl-hard-up';
5
5
  type GapType = '3xs' | '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl';
6
- export { BackgroundColorType, BorderColorType, GraphicColorType, ShadowType, GapType };
6
+ type PaddingType = number | string | {
7
+ top?: number;
8
+ right?: number;
9
+ bottom?: number;
10
+ left?: number;
11
+ };
12
+ export { BackgroundColorType, BorderColorType, GraphicColorType, ShadowType, GapType, PaddingType };
@@ -0,0 +1,2 @@
1
+ export * from "./Component-50136800";
2
+ export type { NavigationBarProps } from "./types-83e2bd9e";
@@ -71,7 +71,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
71
71
  icon: ElementType<{
72
72
  className?: string;
73
73
  }> | ReactElement;
74
- view?: "primary" | "secondary" | "tertiary" | "transparent" | "negative" | undefined;
74
+ view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
75
75
  size?: "s" | "xs" | "xxs" | undefined;
76
76
  className?: string | undefined;
77
77
  alignIcon?: "center" | "right" | "left" | undefined;
@@ -1,3 +1,3 @@
1
- export * from "./component-89a3cf4c";
2
- export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-425c8522";
1
+ export * from "./component-50136800";
2
+ export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-72dda473";
3
3
  export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-49cc3c24";
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 5cg11 */
1
+ /* hash: 158ll */
2
2
  :root {
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_1dqr7 {
19
+ } .picker-button__container_1bvhf {
20
20
  min-width: auto;
21
- } .cc-picker-button.picker-button__optionsPopover_1dqr7.picker-button__sideGap_1dqr7 {
21
+ } .cc-picker-button.picker-button__optionsPopover_1bvhf.picker-button__sideGap_1bvhf {
22
22
  padding: 0 var(--gap-xs);
23
- } .cc-picker-button .picker-button__option_1dqr7 {
23
+ } .cc-picker-button .picker-button__option_1bvhf {
24
24
  padding: 0 var(--gap-m)
25
- } .cc-picker-button .picker-button__option_1dqr7:before {
25
+ } .cc-picker-button .picker-button__option_1bvhf:before {
26
26
  /* Удаляем разделители у опций выпадающего списка. */
27
27
  display: none;
28
28
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { NavigationBarProps } from "./types-ebda875c";
3
+ import { NavigationBarProps } from "./types-83e2bd9e";
4
4
  declare const NavigationBar: React.ForwardRefExoticComponent<NavigationBarProps & React.RefAttributes<HTMLDivElement>>;
5
5
  export * from "./Component-63dec22f";
6
6
  export { NavigationBar };
@@ -61,7 +61,7 @@ declare const BaseSelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectP
61
61
  /**
62
62
  * Дополнительные пропсы шапки модалки
63
63
  */
64
- modalHeaderProps?: Partial<import("./Component-e81c389f").HeaderProps> | undefined;
64
+ modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
65
65
  /**
66
66
  * Дополнительные пропсы футера модалки
67
67
  */
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { NavigationBarProps } from "./index-e81c389f";
2
+ import { NavigationBarProps } from "./index-c76d6398";
3
3
  type HeaderProps = Omit<NavigationBarProps, 'size' | 'view' | 'parentRef'>;
4
4
  declare const Header: FC<HeaderProps>;
5
5
  export { HeaderProps, Header };
@@ -10,7 +10,7 @@ import '@alfalab/icons-glyph/ChevronDownMIcon';
10
10
  import '@alfalab/icons-glyph/MoreMIcon';
11
11
  import '@alfalab/icons-glyph/MoreSIcon';
12
12
 
13
- const styles = {"container":"picker-button__container_1dqr7","optionsPopover":"picker-button__optionsPopover_1dqr7","sideGap":"picker-button__sideGap_1dqr7","option":"picker-button__option_1dqr7"};
13
+ const styles = {"container":"picker-button__container_1bvhf","optionsPopover":"picker-button__optionsPopover_1bvhf","sideGap":"picker-button__sideGap_1bvhf","option":"picker-button__option_1bvhf"};
14
14
  require('./index.css')
15
15
 
16
16
  const SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
@@ -28,7 +28,7 @@ type FooterProps = {
28
28
  declare const Footer: FC<FooterProps>;
29
29
  declare const ModalMobile: React.ForwardRefExoticComponent<ModalMobileProps & React.RefAttributes<HTMLDivElement>> & {
30
30
  Content: React.FC<import("./typings-bdb4c6b9").ContentProps>;
31
- Header: React.FC<import("./Component-e81c389f").HeaderProps>;
31
+ Header: React.FC<import("./Component-c76d6398").HeaderProps>;
32
32
  Footer: React.FC<FooterProps>;
33
33
  };
34
34
  export { Content, FooterProps, Footer, ModalMobile };
@@ -42,7 +42,7 @@ declare const SelectModalMobile: React.ForwardRefExoticComponent<Omit<BaseSelect
42
42
  /**
43
43
  * Дополнительные пропсы шапки модалки
44
44
  */
45
- modalHeaderProps?: Partial<import("./Component-e81c389f").HeaderProps> | undefined;
45
+ modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
46
46
  /**
47
47
  * Дополнительные пропсы модалки
48
48
  */
@@ -1,10 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import React from "react";
3
3
  import { FC, ReactNode, RefObject } from "react";
4
- import { NavigationBarProps } from "./index-e81c389f";
4
+ import { NavigationBarProps } from "./index-c76d6398";
5
5
  import { SwipeableHandlers } from "react-swipeable";
6
6
  import { BackdropProps } from "./index-ebda875c";
7
- import { BottomSheetProps } from "./types-425c8522";
7
+ import { BottomSheetProps } from "./types-72dda473";
8
8
  type FooterProps = {
9
9
  /**
10
10
  * Контент футера
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import React from 'react';
3
+ import { PaddingType } from "./index-72dda473";
4
+ declare function createPaddingStyle(padding?: PaddingType): undefined | React.CSSProperties;
5
+ export { createPaddingStyle };
@@ -7,7 +7,7 @@ import '@alfalab/icons-glyph/ChevronDownMIcon';
7
7
  import '@alfalab/icons-glyph/MoreMIcon';
8
8
  import '@alfalab/icons-glyph/MoreSIcon';
9
9
 
10
- const styles = {"iconContainer":"picker-button__iconContainer_z7q5q","addonsContainer":"picker-button__addonsContainer_z7q5q","showControlIcon":"picker-button__showControlIcon_z7q5q","open":"picker-button__open_z7q5q"};
10
+ const styles = {"iconContainer":"picker-button__iconContainer_1tzr7","addonsContainer":"picker-button__addonsContainer_1tzr7","showControlIcon":"picker-button__showControlIcon_1tzr7","open":"picker-button__open_1tzr7"};
11
11
  require('./index.css')
12
12
 
13
13
  const Field = ({ buttonSize = 'm', buttonVariant = 'default', view, label, open, multiple, rightAddons, Arrow, innerProps, className, selected, selectedMultiple, setSelectedItems, toggleMenu, valueRenderer, showArrow = true, labelView, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1vxxg */
1
+ /* hash: 11ls2 */
2
2
  :root {
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
  } :root {
17
17
  } :root {
18
18
  --arrow-transform: rotate(180deg);
19
- } .picker-button__iconContainer_z7q5q {
19
+ } .picker-button__iconContainer_1tzr7 {
20
20
  display: flex;
21
21
  transition: transform 0.15s ease-in-out;
22
- } .picker-button__addonsContainer_z7q5q {
22
+ } .picker-button__addonsContainer_1tzr7 {
23
23
  display: flex
24
- } .picker-button__addonsContainer_z7q5q.picker-button__showControlIcon_z7q5q {
24
+ } .picker-button__addonsContainer_1tzr7.picker-button__showControlIcon_1tzr7 {
25
25
  margin-right: var(--gap-2xs);
26
- } .picker-button__open_z7q5q {
26
+ } .picker-button__open_1tzr7 {
27
27
  transform: var(--arrow-transform);
28
28
  }
@@ -0,0 +1,8 @@
1
+ declare const isClient: () => boolean;
2
+ declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
3
+ declare function easeInOutQuad(x: number): number;
4
+ declare const easingFns: {
5
+ easeInOutQuad: typeof easeInOutQuad;
6
+ };
7
+ export { isClient, getDataTestId, easingFns };
8
+ export * from "./createPaddingStyle-72dda473";
@@ -3,4 +3,10 @@ type BorderColorType = 'accent' | 'key' | 'key-inverted' | 'link' | 'primary' |
3
3
  type GraphicColorType = 'accent' | 'link' | 'attention' | 'positive' | 'negative' | 'primary' | 'primary-inverted' | 'secondary' | 'secondary-inverted' | 'tertiary' | 'tertiary-inverted' | 'quaternary' | 'quaternary-inverted' | 'static-light' | 'static-accent' | 'static-dark';
4
4
  type ShadowType = 'shadow-xs' | 'shadow-s' | 'shadow-m' | 'shadow-l' | 'shadow-xl' | 'shadow-xs-hard' | 'shadow-s-hard' | 'shadow-m-hard' | 'shadow-l-hard' | 'shadow-xl-hard' | 'shadow-xs-up' | 'shadow-s-up' | 'shadow-m-up' | 'shadow-l-up' | 'shadow-xl-up' | 'shadow-xs-hard-up' | 'shadow-s-hard-up' | 'shadow-m-hard-up' | 'shadow-l-hard-up' | 'shadow-xl-hard-up';
5
5
  type GapType = '3xs' | '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl';
6
- export { BackgroundColorType, BorderColorType, GraphicColorType, ShadowType, GapType };
6
+ type PaddingType = number | string | {
7
+ top?: number;
8
+ right?: number;
9
+ bottom?: number;
10
+ left?: number;
11
+ };
12
+ export { BackgroundColorType, BorderColorType, GraphicColorType, ShadowType, GapType, PaddingType };
@@ -0,0 +1,2 @@
1
+ export * from "./Component-50136800";
2
+ export type { NavigationBarProps } from "./types-83e2bd9e";
@@ -71,7 +71,7 @@ declare const IconButton: React.ForwardRefExoticComponent<{
71
71
  icon: ElementType<{
72
72
  className?: string;
73
73
  }> | ReactElement;
74
- view?: "primary" | "secondary" | "tertiary" | "transparent" | "negative" | undefined;
74
+ view?: "primary" | "secondary" | "tertiary" | "negative" | "transparent" | undefined;
75
75
  size?: "s" | "xs" | "xxs" | undefined;
76
76
  className?: string | undefined;
77
77
  alignIcon?: "center" | "right" | "left" | undefined;
@@ -1,3 +1,3 @@
1
- export * from "./component-89a3cf4c";
2
- export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-425c8522";
1
+ export * from "./component-50136800";
2
+ export type { BottomSheetProps, BottomSheetTitleAlign } from "./types-72dda473";
3
3
  export { CLOSE_OFFSET, HEADER_OFFSET } from "./utils-49cc3c24";
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 5cg11 */
1
+ /* hash: 158ll */
2
2
  :root {
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_1dqr7 {
19
+ } .picker-button__container_1bvhf {
20
20
  min-width: auto;
21
- } .cc-picker-button.picker-button__optionsPopover_1dqr7.picker-button__sideGap_1dqr7 {
21
+ } .cc-picker-button.picker-button__optionsPopover_1bvhf.picker-button__sideGap_1bvhf {
22
22
  padding: 0 var(--gap-xs);
23
- } .cc-picker-button .picker-button__option_1dqr7 {
23
+ } .cc-picker-button .picker-button__option_1bvhf {
24
24
  padding: 0 var(--gap-m)
25
- } .cc-picker-button .picker-button__option_1dqr7:before {
25
+ } .cc-picker-button .picker-button__option_1bvhf: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_n5ay9","icon":"picker-button__icon_n5ay9","content":"picker-button__content_n5ay9"};
4
+ const styles = {"container":"picker-button__container_y5v6g","icon":"picker-button__icon_y5v6g","content":"picker-button__content_y5v6g"};
5
5
  require('./index.css')
6
6
 
7
7
  const Option = ({ option, children, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1g853 */
1
+ /* hash: jecxe */
2
2
  :root {
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_n5ay9 {
18
+ } .picker-button__container_y5v6g {
19
19
  display: flex;
20
20
  align-items: center;
21
- } .picker-button__icon_n5ay9 {
21
+ } .picker-button__icon_y5v6g {
22
22
  display: flex;
23
23
  margin-right: var(--gap-s);
24
- } .picker-button__content_n5ay9 {
24
+ } .picker-button__content_y5v6g {
25
25
  overflow: hidden;
26
26
  flex: 1;
27
27
  text-overflow: ellipsis;
@@ -2,8 +2,8 @@
2
2
  import { HTMLAttributes, ReactNode, RefObject } from 'react';
3
3
  import { TransitionProps } from 'react-transition-group/Transition';
4
4
  import { BaseModalProps } from "./index-bdb4c6b9";
5
- import { NavigationBarProps } from "./index-e81c389f";
6
- import { BackgroundColorType } from "./index-425c8522";
5
+ import { NavigationBarProps } from "./index-c76d6398";
6
+ import { BackgroundColorType } from "./index-72dda473";
7
7
  type BottomSheetTitleAlign = 'center' | 'left';
8
8
  type BottomSheetProps = {
9
9
  /**
@@ -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_n5ay9","icon":"picker-button__icon_n5ay9","content":"picker-button__content_n5ay9"};
13
+ var styles = {"container":"picker-button__container_y5v6g","icon":"picker-button__icon_y5v6g","content":"picker-button__content_y5v6g"};
14
14
  require('./index.css')
15
15
 
16
16
  var Option = function (_a) {
package/option/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1g853 */
1
+ /* hash: jecxe */
2
2
  :root {
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_n5ay9 {
18
+ } .picker-button__container_y5v6g {
19
19
  display: flex;
20
20
  align-items: center;
21
- } .picker-button__icon_n5ay9 {
21
+ } .picker-button__icon_y5v6g {
22
22
  display: flex;
23
23
  margin-right: var(--gap-s);
24
- } .picker-button__content_n5ay9 {
24
+ } .picker-button__content_y5v6g {
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.0.0",
3
+ "version": "11.0.1",
4
4
  "description": "Picker button component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -39,8 +39,8 @@
39
39
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
40
40
  },
41
41
  "dependencies": {
42
- "@alfalab/core-components-button": "^9.0.0",
43
- "@alfalab/core-components-select": "^15.0.0",
42
+ "@alfalab/core-components-button": "^9.0.1",
43
+ "@alfalab/core-components-select": "^15.0.1",
44
44
  "@alfalab/hooks": "^1.13.0",
45
45
  "@alfalab/icons-glyph": "^2.108.0",
46
46
  "classnames": "^2.3.1",
@@ -2,8 +2,8 @@
2
2
  import { HTMLAttributes, ReactNode, RefObject } from 'react';
3
3
  import { TransitionProps } from 'react-transition-group/Transition';
4
4
  import { BaseModalProps } from "./index-bdb4c6b9";
5
- import { NavigationBarProps } from "./index-e81c389f";
6
- import { BackgroundColorType } from "./index-425c8522";
5
+ import { NavigationBarProps } from "./index-c76d6398";
6
+ import { BackgroundColorType } from "./index-72dda473";
7
7
  type BottomSheetTitleAlign = 'center' | 'left';
8
8
  type BottomSheetProps = {
9
9
  /**
@@ -1,3 +0,0 @@
1
- declare const isClient: () => boolean;
2
- declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
3
- export { isClient, getDataTestId };
@@ -1,3 +0,0 @@
1
- export * from "./Component-89a3cf4c";
2
- export * from "./index-ebda875c";
3
- export type { NavigationBarProps } from "./types-ebda875c";
@@ -1,3 +0,0 @@
1
- declare const isClient: () => boolean;
2
- declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
3
- export { isClient, getDataTestId };
@@ -1,3 +0,0 @@
1
- export * from "./Component-89a3cf4c";
2
- export * from "./index-ebda875c";
3
- export type { NavigationBarProps } from "./types-ebda875c";
@@ -1,3 +0,0 @@
1
- declare const isClient: () => boolean;
2
- declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
3
- export { isClient, getDataTestId };
@@ -1,3 +0,0 @@
1
- export * from "./Component-89a3cf4c";
2
- export * from "./index-ebda875c";
3
- export type { NavigationBarProps } from "./types-ebda875c";
@@ -1,3 +0,0 @@
1
- declare const isClient: () => boolean;
2
- declare const getDataTestId: (dataTestId?: string, element?: string) => string | undefined;
3
- export { isClient, getDataTestId };
@@ -1,3 +0,0 @@
1
- export * from "./Component-89a3cf4c";
2
- export * from "./index-ebda875c";
3
- export type { NavigationBarProps } from "./types-ebda875c";
File without changes