@alfalab/core-components-picker-button 11.12.2 → 11.12.4

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 (121) hide show
  1. package/@alfalab/icons-glyph/package.json +14 -0
  2. package/Component-11f20b2e.d.ts +1 -1
  3. package/{Component-4bf4de6f.d.ts → Component-7f86a3f9.d.ts} +1 -1
  4. package/Component-c44170fe.d.ts +1 -0
  5. package/Component.responsive.d.ts +9 -1
  6. package/Component.responsive.js +4 -8
  7. package/{esm/ResponsiveContext-d6bfd5b7.d.ts → ResponsiveContext-4b7234ef.d.ts} +1 -1
  8. package/component-03d088c4.d.ts +10 -2
  9. package/component-8bdd19d3.d.ts +2 -2
  10. package/cssm/Component-11f20b2e.d.ts +1 -1
  11. package/{esm/Component-4bf4de6f.d.ts → cssm/Component-7f86a3f9.d.ts} +1 -1
  12. package/cssm/Component-c44170fe.d.ts +1 -0
  13. package/cssm/Component.responsive.d.ts +9 -1
  14. package/cssm/Component.responsive.js +4 -8
  15. package/{ResponsiveContext-d6bfd5b7.d.ts → cssm/ResponsiveContext-4b7234ef.d.ts} +1 -1
  16. package/cssm/component-03d088c4.d.ts +10 -2
  17. package/cssm/component-8bdd19d3.d.ts +2 -2
  18. package/cssm/desktop/Component.desktop.d.ts +1 -1
  19. package/cssm/field/Component.d.ts +1 -1
  20. package/cssm/index-03d088c4.d.ts +2 -2
  21. package/cssm/index-281accb7.d.ts +2 -2
  22. package/cssm/index-c44170fe.d.ts +6 -0
  23. package/cssm/mobile/Component.mobile.js +1 -2
  24. package/cssm/transformSize-ebda875c.d.ts +1 -1
  25. package/{modern/typings-d6bfd5b7.d.ts → cssm/typings-4b7234ef.d.ts} +5 -0
  26. package/cssm/{typings-4bf4de6f.d.ts → typings-7f86a3f9.d.ts} +17 -5
  27. package/cssm/utils-34f6b81b.d.ts +1 -1
  28. package/desktop/Component.desktop.d.ts +1 -1
  29. package/desktop/Component.desktop.js +1 -1
  30. package/esm/Component-11f20b2e.d.ts +1 -1
  31. package/{cssm/Component-4bf4de6f.d.ts → esm/Component-7f86a3f9.d.ts} +1 -1
  32. package/esm/Component-c44170fe.d.ts +1 -0
  33. package/esm/Component.responsive.d.ts +9 -1
  34. package/esm/Component.responsive.js +4 -8
  35. package/{modern/ResponsiveContext-d6bfd5b7.d.ts → esm/ResponsiveContext-4b7234ef.d.ts} +1 -1
  36. package/esm/component-03d088c4.d.ts +10 -2
  37. package/esm/component-8bdd19d3.d.ts +2 -2
  38. package/esm/desktop/Component.desktop.d.ts +1 -1
  39. package/esm/desktop/Component.desktop.js +1 -1
  40. package/esm/field/Component.d.ts +1 -1
  41. package/esm/field/Component.js +1 -1
  42. package/esm/field/index.css +6 -6
  43. package/esm/index-03d088c4.d.ts +2 -2
  44. package/esm/index-281accb7.d.ts +2 -2
  45. package/esm/index-c44170fe.d.ts +6 -0
  46. package/esm/index.css +5 -5
  47. package/esm/mobile/Component.mobile.js +1 -2
  48. package/esm/option/Component.js +1 -1
  49. package/esm/option/index.css +4 -4
  50. package/esm/transformSize-ebda875c.d.ts +1 -1
  51. package/{cssm/typings-d6bfd5b7.d.ts → esm/typings-4b7234ef.d.ts} +5 -0
  52. package/esm/{typings-4bf4de6f.d.ts → typings-7f86a3f9.d.ts} +17 -5
  53. package/esm/utils-34f6b81b.d.ts +1 -1
  54. package/field/Component.d.ts +1 -1
  55. package/field/Component.js +1 -1
  56. package/field/index.css +6 -6
  57. package/index-03d088c4.d.ts +2 -2
  58. package/index-281accb7.d.ts +2 -2
  59. package/index-c44170fe.d.ts +6 -0
  60. package/index.css +5 -5
  61. package/mobile/Component.mobile.js +1 -2
  62. package/modern/Component-11f20b2e.d.ts +1 -1
  63. package/modern/{Component-4bf4de6f.d.ts → Component-7f86a3f9.d.ts} +1 -1
  64. package/modern/Component-c44170fe.d.ts +1 -0
  65. package/modern/Component.responsive.d.ts +9 -1
  66. package/modern/Component.responsive.js +4 -8
  67. package/{cssm/ResponsiveContext-d6bfd5b7.d.ts → modern/ResponsiveContext-4b7234ef.d.ts} +1 -1
  68. package/modern/component-03d088c4.d.ts +10 -2
  69. package/modern/component-8bdd19d3.d.ts +2 -2
  70. package/modern/desktop/Component.desktop.d.ts +1 -1
  71. package/modern/desktop/Component.desktop.js +1 -1
  72. package/modern/field/Component.d.ts +1 -1
  73. package/modern/field/Component.js +1 -1
  74. package/modern/field/index.css +6 -6
  75. package/modern/index-03d088c4.d.ts +2 -2
  76. package/modern/index-281accb7.d.ts +2 -2
  77. package/modern/index-c44170fe.d.ts +6 -0
  78. package/modern/index.css +5 -5
  79. package/modern/mobile/Component.mobile.js +1 -2
  80. package/modern/option/Component.js +1 -1
  81. package/modern/option/index.css +4 -4
  82. package/modern/transformSize-ebda875c.d.ts +1 -1
  83. package/{moderncssm/typings-d6bfd5b7.d.ts → modern/typings-4b7234ef.d.ts} +5 -0
  84. package/modern/{typings-4bf4de6f.d.ts → typings-7f86a3f9.d.ts} +17 -5
  85. package/modern/utils-34f6b81b.d.ts +1 -1
  86. package/moderncssm/Component-11f20b2e.d.ts +1 -1
  87. package/moderncssm/Component-7f86a3f9.d.ts +5 -0
  88. package/moderncssm/Component-c44170fe.d.ts +1 -0
  89. package/moderncssm/Component.responsive.d.ts +9 -1
  90. package/moderncssm/Component.responsive.js +4 -8
  91. package/moderncssm/ResponsiveContext-4b7234ef.d.ts +5 -0
  92. package/moderncssm/component-03d088c4.d.ts +10 -2
  93. package/moderncssm/component-8bdd19d3.d.ts +2 -2
  94. package/moderncssm/desktop/Component.desktop.d.ts +1 -1
  95. package/moderncssm/field/Component.d.ts +1 -1
  96. package/moderncssm/index-03d088c4.d.ts +2 -2
  97. package/moderncssm/index-281accb7.d.ts +2 -2
  98. package/moderncssm/index-c44170fe.d.ts +6 -0
  99. package/moderncssm/mobile/Component.mobile.js +1 -2
  100. package/moderncssm/transformSize-ebda875c.d.ts +1 -1
  101. package/{esm/typings-d6bfd5b7.d.ts → moderncssm/typings-4b7234ef.d.ts} +5 -0
  102. package/moderncssm/{typings-4bf4de6f.d.ts → typings-7f86a3f9.d.ts} +17 -5
  103. package/moderncssm/utils-34f6b81b.d.ts +1 -1
  104. package/option/Component.js +1 -1
  105. package/option/index.css +4 -4
  106. package/package.json +6 -5
  107. package/src/Component.responsive.tsx +10 -11
  108. package/src/mobile/Component.mobile.tsx +1 -2
  109. package/transformSize-ebda875c.d.ts +1 -1
  110. package/typings-4b7234ef.d.ts +67 -0
  111. package/typings-7f86a3f9.d.ts +1445 -0
  112. package/utils-34f6b81b.d.ts +1 -1
  113. package/cssm/index-3109f463.d.ts +0 -66
  114. package/esm/index-3109f463.d.ts +0 -66
  115. package/index-3109f463.d.ts +0 -66
  116. package/modern/index-3109f463.d.ts +0 -66
  117. package/moderncssm/Component-4bf4de6f.d.ts +0 -5
  118. package/moderncssm/ResponsiveContext-d6bfd5b7.d.ts +0 -5
  119. package/moderncssm/index-3109f463.d.ts +0 -66
  120. package/typings-4bf4de6f.d.ts +0 -1433
  121. package/typings-d6bfd5b7.d.ts +0 -62
@@ -7,12 +7,16 @@ type TitleResponsiveProps = TitleProps & {
7
7
  * @default 1024
8
8
  */
9
9
  breakpoint?: number;
10
+ /**
11
+ * Версия, которая будет использоваться при серверном рендеринге
12
+ */
13
+ client?: 'desktop' | 'mobile';
10
14
  };
11
15
  declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
12
16
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
13
- view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
17
+ view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
14
18
  color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | undefined;
15
- weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
19
+ weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
16
20
  font?: "styrene" | "system" | undefined;
17
21
  defaultMargins?: boolean | undefined;
18
22
  className?: string | undefined;
@@ -28,5 +32,9 @@ declare const TitleResponsive: React.ForwardRefExoticComponent<Omit<React.HTMLAt
28
32
  * @default 1024
29
33
  */
30
34
  breakpoint?: number | undefined;
35
+ /**
36
+ * Версия, которая будет использоваться при серверном рендеринге
37
+ */
38
+ client?: "desktop" | "mobile" | undefined;
31
39
  } & React.RefAttributes<HTMLDivElement | HTMLHeadingElement>>;
32
40
  export { TitleResponsiveProps, TitleResponsive };
@@ -74,7 +74,7 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
74
74
  /**
75
75
  * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
76
76
  */
77
- view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
77
+ view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
78
78
  /**
79
79
  * Цвет текста
80
80
  */
@@ -82,7 +82,7 @@ declare const TitleBase: React.ForwardRefExoticComponent<Omit<NativeProps, "colo
82
82
  /**
83
83
  * Толщина шрифта
84
84
  */
85
- weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
85
+ weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
86
86
  /**
87
87
  * Шрифт текста
88
88
  */
@@ -30,7 +30,7 @@ type PickerButtonDesktopProps = Omit<BaseSelectProps, 'placeholder' | 'Arrow' |
30
30
  */
31
31
  icon?: ComponentType<SVGProps<SVGSVGElement>>;
32
32
  };
33
- declare const PickerButtonDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "size" | "hint" | "placeholder" | "onFocus" | "selected" | "multiple" | "options" | "showSearch" | "searchProps" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "Arrow" | "Search"> & Pick<ButtonProps, "view" | "leftAddons" | "rightAddons" | "loading"> & {
33
+ declare const PickerButtonDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "size" | "multiple" | "hint" | "placeholder" | "onFocus" | "selected" | "options" | "showSearch" | "searchProps" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "Arrow" | "Search"> & Pick<ButtonProps, "view" | "leftAddons" | "rightAddons" | "loading"> & {
34
34
  options: Array<BaseSelectProps['options'][0] & {
35
35
  /**
36
36
  * Иконка, отображающаяся слева от текстового представления пункта
@@ -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_17xv8","optionsPopover":"picker-button__optionsPopover_17xv8","sideGap":"picker-button__sideGap_17xv8","option":"picker-button__option_17xv8"};
9
+ var styles = {"container":"picker-button__container_1n8ei","optionsPopover":"picker-button__optionsPopover_1n8ei","sideGap":"picker-button__sideGap_1n8ei","option":"picker-button__option_1n8ei"};
10
10
  require('./../index.css')
11
11
 
12
12
  var SIDE_POSITIONS = ['right', 'right-start', 'right-end', 'left', 'left-start', 'left-end'];
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ComponentType, SVGProps } from "react";
4
4
  import { ButtonProps } from "@alfalab/core-components-button";
5
- import { FieldProps as BaseFieldProps } from "../typings-4bf4de6f";
5
+ import { FieldProps as BaseFieldProps } from "../typings-7f86a3f9";
6
6
  import { PickerButtonSize, PickerButtonVariant } from "../types";
7
7
  type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
8
8
  buttonSize?: PickerButtonSize;
@@ -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_14u01","addonsContainer":"picker-button__addonsContainer_14u01","showControlIcon":"picker-button__showControlIcon_14u01","open":"picker-button__open_14u01","linkOpen":"picker-button__linkOpen_14u01"};
7
+ var styles = {"iconContainer":"picker-button__iconContainer_1eets","addonsContainer":"picker-button__addonsContainer_1eets","showControlIcon":"picker-button__showControlIcon_1eets","open":"picker-button__open_1eets","linkOpen":"picker-button__linkOpen_1eets"};
8
8
  require('./index.css')
9
9
 
10
10
  var SIZE_TO_CLASSNAME_MAP = {
@@ -1,4 +1,4 @@
1
- /* hash: tdvt6 */
1
+ /* hash: 6jafr */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-transparent-default-hover: rgba(38, 55, 88, 0.06); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -22,15 +22,15 @@
22
22
  } :root {
23
23
  } :root {
24
24
  --arrow-transform: rotate(180deg);
25
- } /* сбрасывает синюю подсветку при нажатии */ .picker-button__iconContainer_14u01 {
25
+ } /* сбрасывает синюю подсветку при нажатии */ .picker-button__iconContainer_1eets {
26
26
  display: flex;
27
27
  transition: transform 0.15s ease-in-out;
28
- } .picker-button__addonsContainer_14u01 {
28
+ } .picker-button__addonsContainer_1eets {
29
29
  display: flex
30
- } .picker-button__addonsContainer_14u01.picker-button__showControlIcon_14u01 {
30
+ } .picker-button__addonsContainer_1eets.picker-button__showControlIcon_1eets {
31
31
  margin-right: var(--gap-4);
32
- } .picker-button__open_14u01 {
32
+ } .picker-button__open_1eets {
33
33
  transform: var(--arrow-transform);
34
- } .picker-button__linkOpen_14u01:not(:hover) {
34
+ } .picker-button__linkOpen_1eets:not(:hover) {
35
35
  background-color: var(--color-light-transparent-default-hover);
36
36
  }
@@ -3,9 +3,9 @@ import React from 'react';
3
3
  import { TitleProps } from "./component-8bdd19d3";
4
4
  declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
5
5
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
6
- view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
6
+ view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
7
7
  color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | undefined;
8
- weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
8
+ weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
9
9
  font?: "styrene" | "system" | undefined;
10
10
  defaultMargins?: boolean | undefined;
11
11
  className?: string | undefined;
@@ -2,9 +2,9 @@
2
2
  import React from "react";
3
3
  declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
4
4
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
5
- view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
5
+ view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
6
6
  color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | undefined;
7
- weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
7
+ weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
8
8
  font?: "styrene" | "system" | undefined;
9
9
  defaultMargins?: boolean | undefined;
10
10
  className?: string | undefined;
@@ -7,13 +7,19 @@ type FormControlProps = Omit<BaseFormControlProps, "styles" | "colorStyles"> & {
7
7
  * @default 1024
8
8
  */
9
9
  breakpoint?: number;
10
+ /**
11
+ * Версия, которая будет использоваться при серверном рендеринге
12
+ */
13
+ client?: "desktop" | "mobile";
10
14
  /**
11
15
  * Значение по-умолчанию для хука useMatchMedia
16
+ * @deprecated Используйте client
12
17
  */
13
18
  defaultMatchMediaValue?: boolean | (() => boolean);
14
19
  };
15
20
  declare const FormControl: React.ForwardRefExoticComponent<Omit<BaseFormControlProps, "styles" | "colorStyles"> & {
16
21
  breakpoint?: number | undefined;
22
+ client?: "desktop" | "mobile" | undefined;
17
23
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
18
24
  } & React.RefAttributes<HTMLDivElement>>;
19
25
  export { FormControlProps, FormControl };
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1y3sw */
1
+ /* hash: 1wn04 */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -23,13 +23,13 @@
23
23
  --gap-16: var(--gap-m);
24
24
  } :root {
25
25
  } :root {
26
- } /* сбрасывает синюю подсветку при нажатии */ .picker-button__container_17xv8 {
26
+ } /* сбрасывает синюю подсветку при нажатии */ .picker-button__container_1n8ei {
27
27
  min-width: auto;
28
- } .cc-picker-button.picker-button__optionsPopover_17xv8.picker-button__sideGap_17xv8 {
28
+ } .cc-picker-button.picker-button__optionsPopover_1n8ei.picker-button__sideGap_1n8ei {
29
29
  padding: var(--gap-0) var(--gap-8);
30
- } .cc-picker-button .picker-button__option_17xv8 {
30
+ } .cc-picker-button .picker-button__option_1n8ei {
31
31
  padding: var(--gap-0) var(--gap-16)
32
- } .cc-picker-button .picker-button__option_17xv8:before {
32
+ } .cc-picker-button .picker-button__option_1n8ei:before {
33
33
  /* Удаляем разделители у опций выпадающего списка. */
34
34
  display: none;
35
35
  }
@@ -2,12 +2,11 @@ import { __rest, __assign } from 'tslib';
2
2
  import React, { forwardRef } from 'react';
3
3
  import { SelectMobile } from '@alfalab/core-components-select/esm/mobile';
4
4
  import { Optgroup } from '@alfalab/core-components-select/esm/shared';
5
- import { getComponentBreakpoint } from '@alfalab/core-components-shared/esm';
6
5
  import { Field } from '../field/Component.js';
7
6
  import { Option } from '../option/Component.js';
8
7
 
9
8
  var PickerButtonMobile = forwardRef(function (_a, ref) {
10
- var options = _a.options, label = _a.label, _b = _a.Option, Option$1 = _b === void 0 ? Option : _b, _c = _a.Optgroup, Optgroup$1 = _c === void 0 ? Optgroup : _c, view = _a.view, loading = _a.loading, _d = _a.variant, variant = _d === void 0 ? 'default' : _d, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, size = _a.size, bottomSheetProps = _a.bottomSheetProps, showArrow = _a.showArrow, _e = _a.Field, Field$1 = _e === void 0 ? Field : _e, _f = _a.fieldProps, fieldProps = _f === void 0 ? {} : _f, icon = _a.icon, _g = _a.breakpoint, breakpoint = _g === void 0 ? getComponentBreakpoint() : _g, restProps = __rest(_a, ["options", "label", "Option", "Optgroup", "view", "loading", "variant", "leftAddons", "rightAddons", "size", "bottomSheetProps", "showArrow", "Field", "fieldProps", "icon", "breakpoint"]);
9
+ var options = _a.options, label = _a.label, _b = _a.Option, Option$1 = _b === void 0 ? Option : _b, _c = _a.Optgroup, Optgroup$1 = _c === void 0 ? Optgroup : _c, view = _a.view, loading = _a.loading, _d = _a.variant, variant = _d === void 0 ? 'default' : _d, leftAddons = _a.leftAddons, rightAddons = _a.rightAddons, size = _a.size, bottomSheetProps = _a.bottomSheetProps, showArrow = _a.showArrow, _e = _a.Field, Field$1 = _e === void 0 ? Field : _e, _f = _a.fieldProps, fieldProps = _f === void 0 ? {} : _f, icon = _a.icon, breakpoint = _a.breakpoint, restProps = __rest(_a, ["options", "label", "Option", "Optgroup", "view", "loading", "variant", "leftAddons", "rightAddons", "size", "bottomSheetProps", "showArrow", "Field", "fieldProps", "icon", "breakpoint"]);
11
10
  var fieldDefaultProps = {
12
11
  view: view,
13
12
  loading: loading,
@@ -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_8fsbd","icon":"picker-button__icon_8fsbd","content":"picker-button__content_8fsbd"};
5
+ var styles = {"container":"picker-button__container_1169j","icon":"picker-button__icon_1169j","content":"picker-button__content_1169j"};
6
6
  require('./index.css')
7
7
 
8
8
  var Option = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: zdq6w */
1
+ /* hash: xwxfk */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -20,13 +20,13 @@
20
20
  --gap-12: var(--gap-s);
21
21
  } :root {
22
22
  } :root {
23
- } /* сбрасывает синюю подсветку при нажатии */ .picker-button__container_8fsbd {
23
+ } /* сбрасывает синюю подсветку при нажатии */ .picker-button__container_1169j {
24
24
  display: flex;
25
25
  align-items: center;
26
- } .picker-button__icon_8fsbd {
26
+ } .picker-button__icon_1169j {
27
27
  display: flex;
28
28
  margin-right: var(--gap-12);
29
- } .picker-button__content_8fsbd {
29
+ } .picker-button__content_1169j {
30
30
  overflow: hidden;
31
31
  flex: 1;
32
32
  text-overflow: ellipsis;
@@ -1,3 +1,3 @@
1
1
  import { IconButtonProps } from "./index-ebda875c";
2
- declare const transformSize: (size?: IconButtonProps['size']) => 24 | 48 | 32 | 40 | 56;
2
+ declare const transformSize: (size?: IconButtonProps['size']) => 24 | 48 | 40 | 32 | 56;
3
3
  export { transformSize };
@@ -34,8 +34,13 @@ type ModalResponsiveProps = ModalDesktopProps & {
34
34
  * @default 1024
35
35
  */
36
36
  breakpoint?: number;
37
+ /**
38
+ * Версия, которая будет использоваться при серверном рендеринге
39
+ */
40
+ client?: 'desktop' | 'mobile';
37
41
  /**
38
42
  * Значение по-умолчанию для хука useMatchMedia
43
+ * @deprecated Используйте client
39
44
  */
40
45
  defaultMatchMediaValue?: boolean | (() => boolean);
41
46
  };
@@ -11,8 +11,8 @@ import { Color } from "./colors-facf1d2a";
11
11
  import { TextElementType, TextSkeletonProps } from "./types-1328ead9";
12
12
  import { TitleProps } from "./index-03d088c4";
13
13
  import { TitleMobileProps } from "./index-281accb7";
14
- import { ContentProps } from "./typings-d6bfd5b7";
15
- import { ModalResponsiveProps as ModalProps } from "./typings-d6bfd5b7";
14
+ import { ContentProps } from "./typings-4b7234ef";
15
+ import { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
16
16
  import { FormControlProps } from "./index-c44170fe";
17
17
  import { PopoverProps } from "@alfalab/core-components-popover";
18
18
  import { UseSelectWithApplyProps } from "./field/Component";
@@ -466,13 +466,19 @@ type InputProps = Omit<BaseInputProps, "FormControlComponent"> & {
466
466
  * @default 1024
467
467
  */
468
468
  breakpoint?: number;
469
+ /**
470
+ * Версия, которая будет использоваться при серверном рендеринге
471
+ */
472
+ client?: "desktop" | "mobile";
469
473
  /**
470
474
  * Значение по-умолчанию для хука useMatchMedia
475
+ * @deprecated Используйте client
471
476
  */
472
477
  defaultMatchMediaValue?: boolean | (() => boolean);
473
478
  };
474
479
  declare const Input: React.ForwardRefExoticComponent<Omit<BaseInputProps, "FormControlComponent"> & {
475
480
  breakpoint?: number | undefined;
481
+ client?: "desktop" | "mobile" | undefined;
476
482
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
477
483
  } & React.RefAttributes<HTMLInputElement>>;
478
484
  type HeaderProps = Omit<NavigationBarPrivateProps, "size" | "view" | "parentRef">;
@@ -530,10 +536,11 @@ declare const ModalResponsive: React.ForwardRefExoticComponent<import("./index-1
530
536
  iOSLock?: boolean | undefined;
531
537
  } & {
532
538
  breakpoint?: number | undefined;
539
+ client?: "desktop" | "mobile" | undefined;
533
540
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
534
541
  } & React.RefAttributes<HTMLDivElement>> & {
535
542
  Header: React.FC<HeaderProps>;
536
- Content: React.FC<import("./typings-d6bfd5b7").ContentProps>;
543
+ Content: React.FC<import("./typings-4b7234ef").ContentProps>;
537
544
  Footer: React.FC<FooterProps>;
538
545
  Controls: React.FC<ControlsProps>;
539
546
  };
@@ -1404,8 +1411,13 @@ type SelectProps = BaseSelectProps & AdditionalMobileProps & ConditionalMobilePr
1404
1411
  * @default 1024
1405
1412
  */
1406
1413
  breakpoint?: number;
1414
+ /**
1415
+ * Версия, которая будет использоваться при серверном рендеринге
1416
+ */
1417
+ client?: 'desktop' | 'mobile';
1407
1418
  /**
1408
1419
  * Значение по-умолчанию для хука useMatchMedia
1420
+ * @deprecated Используйте client
1409
1421
  */
1410
1422
  defaultMatchMediaValue?: boolean | (() => boolean);
1411
1423
  };
@@ -1425,8 +1437,8 @@ type ClearButtonProps = {
1425
1437
  };
1426
1438
  export { BottomSheet, CLOSE_OFFSET, HEADER_OFFSET, InputProps, Input, ModalResponsive as Modal, ModalContext, getModalTestIds, FooterProps$0 as FooterProps, Footer$0 as Footer, HeaderProps$0 as HeaderProps, Header$0 as Header, SwipeableBackdropProps, SwipeableBackdrop, horizontalDirections, ShouldSkipSwipingParams, useVisibleViewportSize, Typography, typographyPresets, SwipeDirection, Content, AnyObject, OptionShape, GroupShape, BaseSelectChangePayload, BaseSelectProps, FieldProps, ArrowProps, OptionsListProps, OptgroupProps, OptionProps, CheckmarkProps, SearchProps, SelectFieldProps, AdditionalMobileProps, BottomSheetSelectMobileProps, ModalSelectMobileProps, SelectModalMobileProps, SelectMobileProps, SelectDesktopProps, SelectProps, ClearButtonProps };
1427
1439
  export type { BottomSheetProps, BottomSheetTitleAlign, HeaderProps as ModalHeaderProps, FooterProps as ModalFooterProps, TextProps };
1428
- export { ModalResponsiveProps as ModalProps } from "./typings-d6bfd5b7";
1429
- export type { ContentProps as ModalContentProps } from "./typings-d6bfd5b7";
1440
+ export { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
1441
+ export type { ContentProps as ModalContentProps } from "./typings-4b7234ef";
1430
1442
  export type { TitleProps } from "./index-03d088c4";
1431
1443
  export type { Color } from "./colors-facf1d2a";
1432
1444
  export * from "./Component.desktop-63dec22f";
@@ -1,5 +1,5 @@
1
1
  import { ReactNode, RefObject } from 'react';
2
- import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-4bf4de6f";
2
+ import { BaseSelectProps, GroupShape, OptionShape, OptionsListProps } from "./typings-7f86a3f9";
3
3
  declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
4
  declare const isOptionShape: (item: OptionShape | string | null) => item is OptionShape;
5
5
  declare const joinOptions: ({ selected, selectedMultiple, }: {
@@ -2,7 +2,7 @@
2
2
  import React from 'react';
3
3
  import { ComponentType, SVGProps } from "react";
4
4
  import { ButtonProps } from "@alfalab/core-components-button";
5
- import { FieldProps as BaseFieldProps } from "../typings-4bf4de6f";
5
+ import { FieldProps as BaseFieldProps } from "../typings-7f86a3f9";
6
6
  import { PickerButtonSize, PickerButtonVariant } from "../types";
7
7
  type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
8
8
  buttonSize?: PickerButtonSize;
@@ -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_14u01","addonsContainer":"picker-button__addonsContainer_14u01","showControlIcon":"picker-button__showControlIcon_14u01","open":"picker-button__open_14u01","linkOpen":"picker-button__linkOpen_14u01"};
16
+ var styles = {"iconContainer":"picker-button__iconContainer_1eets","addonsContainer":"picker-button__addonsContainer_1eets","showControlIcon":"picker-button__showControlIcon_1eets","open":"picker-button__open_1eets","linkOpen":"picker-button__linkOpen_1eets"};
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: tdvt6 */
1
+ /* hash: 6jafr */
2
2
  :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
3
3
  } /* deprecated */ :root {
4
4
  --color-light-transparent-default-hover: rgba(38, 55, 88, 0.06); /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -22,15 +22,15 @@
22
22
  } :root {
23
23
  } :root {
24
24
  --arrow-transform: rotate(180deg);
25
- } /* сбрасывает синюю подсветку при нажатии */ .picker-button__iconContainer_14u01 {
25
+ } /* сбрасывает синюю подсветку при нажатии */ .picker-button__iconContainer_1eets {
26
26
  display: flex;
27
27
  transition: transform 0.15s ease-in-out;
28
- } .picker-button__addonsContainer_14u01 {
28
+ } .picker-button__addonsContainer_1eets {
29
29
  display: flex
30
- } .picker-button__addonsContainer_14u01.picker-button__showControlIcon_14u01 {
30
+ } .picker-button__addonsContainer_1eets.picker-button__showControlIcon_1eets {
31
31
  margin-right: var(--gap-4);
32
- } .picker-button__open_14u01 {
32
+ } .picker-button__open_1eets {
33
33
  transform: var(--arrow-transform);
34
- } .picker-button__linkOpen_14u01:not(:hover) {
34
+ } .picker-button__linkOpen_1eets:not(:hover) {
35
35
  background-color: var(--color-light-transparent-default-hover);
36
36
  }
@@ -3,9 +3,9 @@ import React from 'react';
3
3
  import { TitleProps } from "./component-8bdd19d3";
4
4
  declare const Title: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
5
5
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
6
- view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
6
+ view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
7
7
  color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | undefined;
8
- weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
8
+ weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
9
9
  font?: "styrene" | "system" | undefined;
10
10
  defaultMargins?: boolean | undefined;
11
11
  className?: string | undefined;
@@ -2,9 +2,9 @@
2
2
  import React from "react";
3
3
  declare const TitleMobile: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> & {
4
4
  tag: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
5
- view?: "small" | "medium" | "xlarge" | "large" | "xsmall" | undefined;
5
+ view?: "small" | "medium" | "large" | "xlarge" | "xsmall" | undefined;
6
6
  color?: "link" | "accent" | "primary" | "primary-inverted" | "secondary" | "secondary-inverted" | "tertiary" | "tertiary-inverted" | "attention" | "positive" | "negative" | "static-accent" | "disabled" | "static-primary-light" | "static-secondary-light" | "static-tertiary-light" | "static-primary-dark" | "static-secondary-dark" | "static-tertiary-dark" | undefined;
7
- weight?: "bold" | "regular" | "medium" | "semibold" | undefined;
7
+ weight?: "bold" | "medium" | "regular" | "semibold" | undefined;
8
8
  font?: "styrene" | "system" | undefined;
9
9
  defaultMargins?: boolean | undefined;
10
10
  className?: string | undefined;
@@ -7,13 +7,19 @@ type FormControlProps = Omit<BaseFormControlProps, "styles" | "colorStyles"> & {
7
7
  * @default 1024
8
8
  */
9
9
  breakpoint?: number;
10
+ /**
11
+ * Версия, которая будет использоваться при серверном рендеринге
12
+ */
13
+ client?: "desktop" | "mobile";
10
14
  /**
11
15
  * Значение по-умолчанию для хука useMatchMedia
16
+ * @deprecated Используйте client
12
17
  */
13
18
  defaultMatchMediaValue?: boolean | (() => boolean);
14
19
  };
15
20
  declare const FormControl: React.ForwardRefExoticComponent<Omit<BaseFormControlProps, "styles" | "colorStyles"> & {
16
21
  breakpoint?: number | undefined;
22
+ client?: "desktop" | "mobile" | undefined;
17
23
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
18
24
  } & React.RefAttributes<HTMLDivElement>>;
19
25
  export { FormControlProps, FormControl };