@alfalab/core-components-custom-picker-button 2.0.15 → 2.1.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 (239) hide show
  1. package/Component.desktop.d.ts +1 -1
  2. package/Component.mobile.d.ts +1 -9
  3. package/Component.responsive.d.ts +4 -7
  4. package/cssm/Component.desktop.d.ts +1 -1
  5. package/cssm/Component.mobile.d.ts +1 -1
  6. package/cssm/Component.responsive.d.ts +4 -7
  7. package/cssm/{desktop.d.ts → desktop/index.d.ts} +1 -1
  8. package/cssm/{desktop.js → desktop/index.js} +3 -3
  9. package/cssm/field/Component.d.ts +2 -1
  10. package/{esm/mobile.d.ts → cssm/mobile/index.d.ts} +1 -1
  11. package/cssm/{mobile.js → mobile/index.js} +3 -3
  12. package/{desktop.d.ts → desktop/index.d.ts} +1 -1
  13. package/{desktop.js → desktop/index.js} +2 -2
  14. package/desktop/package.json +3 -0
  15. package/esm/Component.desktop.d.ts +1 -1
  16. package/esm/Component.mobile.d.ts +1 -1
  17. package/esm/Component.responsive.d.ts +4 -7
  18. package/esm/{desktop.d.ts → desktop/index.d.ts} +1 -1
  19. package/esm/{desktop.js → desktop/index.js} +2 -2
  20. package/esm/field/Component.d.ts +2 -1
  21. package/esm/field/Component.js +1 -1
  22. package/esm/field/index.css +5 -5
  23. package/{mobile.d.ts → esm/mobile/index.d.ts} +1 -1
  24. package/esm/{mobile.js → mobile/index.js} +2 -2
  25. package/field/Component.d.ts +2 -1
  26. package/field/Component.js +1 -1
  27. package/field/index.css +5 -5
  28. package/{cssm/mobile.d.ts → mobile/index.d.ts} +1 -1
  29. package/{mobile.js → mobile/index.js} +2 -2
  30. package/mobile/package.json +3 -0
  31. package/modern/Component.desktop.d.ts +1 -1
  32. package/modern/Component.mobile.d.ts +1 -1
  33. package/modern/Component.responsive.d.ts +4 -7
  34. package/modern/{desktop.d.ts → desktop/index.d.ts} +1 -1
  35. package/modern/{desktop.js → desktop/index.js} +2 -2
  36. package/modern/field/Component.d.ts +2 -1
  37. package/modern/field/Component.js +1 -1
  38. package/modern/field/index.css +5 -5
  39. package/modern/{mobile.d.ts → mobile/index.d.ts} +1 -1
  40. package/modern/{mobile.js → mobile/index.js} +2 -2
  41. package/package.json +4 -4
  42. package/src/Component.responsive.tsx +6 -8
  43. package/src/{desktop.ts → desktop/index.ts} +1 -1
  44. package/src/desktop/package.json +3 -0
  45. package/src/{mobile.ts → mobile/index.ts} +1 -1
  46. package/src/mobile/package.json +3 -0
  47. package/Component-0f4b9bed.d.ts +0 -5
  48. package/Component-10db897e.d.ts +0 -296
  49. package/Component-4cd3936b.d.ts +0 -12
  50. package/Component-72dda473.d.ts +0 -53
  51. package/Component-aed0af6e.d.ts +0 -11
  52. package/Component-bdb4c6b9.d.ts +0 -12
  53. package/Component-c76d6398.d.ts +0 -5
  54. package/Component-ebda875c.d.ts +0 -101
  55. package/Component-f12ee135.d.ts +0 -72
  56. package/Component.desktop-0aa4e915.d.ts +0 -5
  57. package/Component.desktop-4cd3936b.d.ts +0 -49
  58. package/Component.desktop-785df74d.d.ts +0 -6
  59. package/Component.mobile-16b1285a.d.ts +0 -5
  60. package/Component.mobile-96988a65.d.ts +0 -6
  61. package/Component.mobile-d7e9f69d.d.ts +0 -6
  62. package/Component.mobile-f1f15074.d.ts +0 -34
  63. package/Component.mobile-f28cbba0.d.ts +0 -41
  64. package/Component.responsive-0aa4e915.d.ts +0 -5
  65. package/Component.responsive-d7e9f69d.d.ts +0 -26
  66. package/Context-bdb4c6b9.d.ts +0 -4
  67. package/ResponsiveContext-baf4875b.d.ts +0 -5
  68. package/consts-f777ba1a.d.ts +0 -2
  69. package/cssm/Component-0f4b9bed.d.ts +0 -22
  70. package/cssm/Component-10db897e.d.ts +0 -72
  71. package/cssm/Component-4cd3936b.d.ts +0 -12
  72. package/cssm/Component-69921c40.d.ts +0 -184
  73. package/cssm/Component-72dda473.d.ts +0 -53
  74. package/cssm/Component-89f0cb07.d.ts +0 -38
  75. package/cssm/Component-8b2c2707.d.ts +0 -12
  76. package/cssm/Component-bdb4c6b9.d.ts +0 -12
  77. package/cssm/Component-c76d6398.d.ts +0 -5
  78. package/cssm/Component-ebda875c.d.ts +0 -12
  79. package/cssm/Component.desktop-0aa4e915.d.ts +0 -5
  80. package/cssm/Component.desktop-785df74d.d.ts +0 -6
  81. package/cssm/Component.mobile-16b1285a.d.ts +0 -5
  82. package/cssm/Component.mobile-d446ae02.d.ts +0 -23
  83. package/cssm/Component.mobile-d7e9f69d.d.ts +0 -6
  84. package/cssm/Component.mobile-f1f15074.d.ts +0 -34
  85. package/cssm/Component.mobile-f28cbba0.d.ts +0 -41
  86. package/cssm/Component.modal.mobile-0f4b9bed.d.ts +0 -60
  87. package/cssm/Context-bdb4c6b9.d.ts +0 -4
  88. package/cssm/ResponsiveContext-baf4875b.d.ts +0 -5
  89. package/cssm/component-10db897e.d.ts +0 -44
  90. package/cssm/consts-f777ba1a.d.ts +0 -2
  91. package/cssm/desktop-89f0cb07.d.ts +0 -2
  92. package/cssm/desktop-d446ae02.d.ts +0 -39
  93. package/cssm/hook-8abfea97.d.ts +0 -90
  94. package/cssm/index-10db897e.d.ts +0 -50
  95. package/cssm/index-136acbb1.d.ts +0 -28
  96. package/cssm/index-72dda473.d.ts +0 -12
  97. package/cssm/index-8b2c2707.d.ts +0 -6
  98. package/cssm/index-bdb4c6b9.d.ts +0 -2
  99. package/cssm/index-c44170fe.d.ts +0 -18
  100. package/cssm/index-c76d6398.d.ts +0 -2
  101. package/cssm/index-df3978fd.d.ts +0 -4
  102. package/cssm/index-ebda875c.d.ts +0 -37
  103. package/cssm/index-f12ee135.d.ts +0 -3
  104. package/cssm/mobile-89f0cb07.d.ts +0 -2
  105. package/cssm/mobile-d7e9f69d.d.ts +0 -2
  106. package/cssm/shared-4cd3936b.d.ts +0 -66
  107. package/cssm/types-1b036d4b.d.ts +0 -13
  108. package/cssm/types-1c79e231.d.ts +0 -113
  109. package/cssm/types-4480ac4f.d.ts +0 -3
  110. package/cssm/types-67a2d8af.d.ts +0 -276
  111. package/cssm/typings-0f4b9bed.d.ts +0 -576
  112. package/cssm/typings-89f0cb07.d.ts +0 -93
  113. package/cssm/typings-bdb4c6b9.d.ts +0 -52
  114. package/cssm/useSkeleton-ebda875c.d.ts +0 -12
  115. package/cssm/utils-0f4b9bed.d.ts +0 -41
  116. package/cssm/utils-1574ad8b.d.ts +0 -29
  117. package/cssm/utils-49cc3c24.d.ts +0 -8
  118. package/desktop-69921c40.d.ts +0 -2
  119. package/desktop-d446ae02.d.ts +0 -2
  120. package/esm/Component-0f4b9bed.d.ts +0 -22
  121. package/esm/Component-10db897e.d.ts +0 -72
  122. package/esm/Component-4cd3936b.d.ts +0 -12
  123. package/esm/Component-69921c40.d.ts +0 -184
  124. package/esm/Component-72dda473.d.ts +0 -53
  125. package/esm/Component-89f0cb07.d.ts +0 -38
  126. package/esm/Component-8b2c2707.d.ts +0 -12
  127. package/esm/Component-bdb4c6b9.d.ts +0 -12
  128. package/esm/Component-c76d6398.d.ts +0 -5
  129. package/esm/Component-ebda875c.d.ts +0 -12
  130. package/esm/Component.desktop-0aa4e915.d.ts +0 -5
  131. package/esm/Component.desktop-785df74d.d.ts +0 -6
  132. package/esm/Component.mobile-16b1285a.d.ts +0 -5
  133. package/esm/Component.mobile-d446ae02.d.ts +0 -23
  134. package/esm/Component.mobile-d7e9f69d.d.ts +0 -6
  135. package/esm/Component.mobile-f1f15074.d.ts +0 -34
  136. package/esm/Component.mobile-f28cbba0.d.ts +0 -41
  137. package/esm/Component.modal.mobile-0f4b9bed.d.ts +0 -60
  138. package/esm/Context-bdb4c6b9.d.ts +0 -4
  139. package/esm/ResponsiveContext-baf4875b.d.ts +0 -5
  140. package/esm/component-10db897e.d.ts +0 -44
  141. package/esm/consts-f777ba1a.d.ts +0 -2
  142. package/esm/desktop-89f0cb07.d.ts +0 -2
  143. package/esm/desktop-d446ae02.d.ts +0 -39
  144. package/esm/hook-8abfea97.d.ts +0 -90
  145. package/esm/index-10db897e.d.ts +0 -50
  146. package/esm/index-136acbb1.d.ts +0 -28
  147. package/esm/index-72dda473.d.ts +0 -12
  148. package/esm/index-8b2c2707.d.ts +0 -6
  149. package/esm/index-bdb4c6b9.d.ts +0 -2
  150. package/esm/index-c44170fe.d.ts +0 -18
  151. package/esm/index-c76d6398.d.ts +0 -2
  152. package/esm/index-df3978fd.d.ts +0 -4
  153. package/esm/index-ebda875c.d.ts +0 -37
  154. package/esm/index-f12ee135.d.ts +0 -3
  155. package/esm/mobile-89f0cb07.d.ts +0 -2
  156. package/esm/mobile-d7e9f69d.d.ts +0 -2
  157. package/esm/shared-4cd3936b.d.ts +0 -66
  158. package/esm/types-1b036d4b.d.ts +0 -13
  159. package/esm/types-1c79e231.d.ts +0 -113
  160. package/esm/types-4480ac4f.d.ts +0 -3
  161. package/esm/types-67a2d8af.d.ts +0 -276
  162. package/esm/typings-0f4b9bed.d.ts +0 -576
  163. package/esm/typings-89f0cb07.d.ts +0 -93
  164. package/esm/typings-bdb4c6b9.d.ts +0 -52
  165. package/esm/useSkeleton-ebda875c.d.ts +0 -12
  166. package/esm/utils-0f4b9bed.d.ts +0 -41
  167. package/esm/utils-1574ad8b.d.ts +0 -29
  168. package/esm/utils-49cc3c24.d.ts +0 -8
  169. package/hook-8abfea97.d.ts +0 -90
  170. package/hook-ebda875c.d.ts +0 -48
  171. package/index-10db897e.d.ts +0 -50
  172. package/index-136acbb1.d.ts +0 -28
  173. package/index-72dda473.d.ts +0 -12
  174. package/index-89f0cb07.d.ts +0 -2
  175. package/index-bdb4c6b9.d.ts +0 -180
  176. package/index-c44170fe.d.ts +0 -3
  177. package/index-c76d6398.d.ts +0 -2
  178. package/index-df3978fd.d.ts +0 -4
  179. package/index-ebda875c.d.ts +0 -219
  180. package/index-f12ee135.d.ts +0 -324
  181. package/mobile-96988a65.d.ts +0 -2
  182. package/modern/Component-0f4b9bed.d.ts +0 -22
  183. package/modern/Component-10db897e.d.ts +0 -72
  184. package/modern/Component-4cd3936b.d.ts +0 -12
  185. package/modern/Component-69921c40.d.ts +0 -184
  186. package/modern/Component-72dda473.d.ts +0 -53
  187. package/modern/Component-89f0cb07.d.ts +0 -38
  188. package/modern/Component-8b2c2707.d.ts +0 -12
  189. package/modern/Component-bdb4c6b9.d.ts +0 -12
  190. package/modern/Component-c76d6398.d.ts +0 -5
  191. package/modern/Component-ebda875c.d.ts +0 -12
  192. package/modern/Component.desktop-0aa4e915.d.ts +0 -5
  193. package/modern/Component.desktop-785df74d.d.ts +0 -6
  194. package/modern/Component.mobile-16b1285a.d.ts +0 -5
  195. package/modern/Component.mobile-d446ae02.d.ts +0 -23
  196. package/modern/Component.mobile-d7e9f69d.d.ts +0 -6
  197. package/modern/Component.mobile-f1f15074.d.ts +0 -34
  198. package/modern/Component.mobile-f28cbba0.d.ts +0 -41
  199. package/modern/Component.modal.mobile-0f4b9bed.d.ts +0 -60
  200. package/modern/Context-bdb4c6b9.d.ts +0 -4
  201. package/modern/ResponsiveContext-baf4875b.d.ts +0 -5
  202. package/modern/component-10db897e.d.ts +0 -44
  203. package/modern/consts-f777ba1a.d.ts +0 -2
  204. package/modern/desktop-89f0cb07.d.ts +0 -2
  205. package/modern/desktop-d446ae02.d.ts +0 -39
  206. package/modern/hook-8abfea97.d.ts +0 -90
  207. package/modern/index-10db897e.d.ts +0 -50
  208. package/modern/index-136acbb1.d.ts +0 -28
  209. package/modern/index-72dda473.d.ts +0 -12
  210. package/modern/index-8b2c2707.d.ts +0 -6
  211. package/modern/index-bdb4c6b9.d.ts +0 -2
  212. package/modern/index-c44170fe.d.ts +0 -18
  213. package/modern/index-c76d6398.d.ts +0 -2
  214. package/modern/index-df3978fd.d.ts +0 -4
  215. package/modern/index-ebda875c.d.ts +0 -37
  216. package/modern/index-f12ee135.d.ts +0 -3
  217. package/modern/mobile-89f0cb07.d.ts +0 -2
  218. package/modern/mobile-d7e9f69d.d.ts +0 -2
  219. package/modern/shared-4cd3936b.d.ts +0 -66
  220. package/modern/types-1b036d4b.d.ts +0 -13
  221. package/modern/types-1c79e231.d.ts +0 -113
  222. package/modern/types-4480ac4f.d.ts +0 -3
  223. package/modern/types-67a2d8af.d.ts +0 -276
  224. package/modern/typings-0f4b9bed.d.ts +0 -576
  225. package/modern/typings-89f0cb07.d.ts +0 -93
  226. package/modern/typings-bdb4c6b9.d.ts +0 -52
  227. package/modern/useSkeleton-ebda875c.d.ts +0 -12
  228. package/modern/utils-0f4b9bed.d.ts +0 -41
  229. package/modern/utils-1574ad8b.d.ts +0 -29
  230. package/modern/utils-49cc3c24.d.ts +0 -8
  231. package/shared-4cd3936b.d.ts +0 -7
  232. package/types-1b036d4b.d.ts +0 -13
  233. package/types-1c79e231.d.ts +0 -113
  234. package/types-4480ac4f.d.ts +0 -3
  235. package/typings-0f4b9bed.d.ts +0 -576
  236. package/typings-89f0cb07.d.ts +0 -93
  237. package/typings-bdb4c6b9.d.ts +0 -52
  238. package/useSkeleton-1b036d4b.d.ts +0 -12
  239. package/utils-0f4b9bed.d.ts +0 -41
@@ -1,184 +0,0 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { FC, ForwardRefExoticComponent, RefAttributes, HTMLAttributes } from "react";
4
- import { TextElementType, TextSkeletonProps } from "./types-1b036d4b";
5
- declare const colors: readonly [
6
- "tertiary",
7
- "disabled",
8
- "accent",
9
- "primary",
10
- "attention",
11
- "positive",
12
- "secondary",
13
- "tertiary-inverted",
14
- "primary-inverted",
15
- "secondary-inverted",
16
- "link",
17
- "negative",
18
- "static-primary-light",
19
- "static-secondary-light",
20
- "static-tertiary-light",
21
- "static-primary-dark",
22
- "static-secondary-dark",
23
- "static-tertiary-dark",
24
- "static-accent"
25
- ];
26
- type Color = (typeof colors)[number];
27
- type NativeProps = HTMLAttributes<HTMLSpanElement>;
28
- type TextBaseProps = {
29
- /**
30
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/tokens-assets-типографика--docs)
31
- */
32
- view?: "primary-large" | "primary-medium" | "primary-small" | "secondary-large" | "secondary-medium" | "secondary-small" | "component" | "caps";
33
- /**
34
- * Цвет текста
35
- */
36
- color?: Color;
37
- /**
38
- * Толщина шрифта
39
- */
40
- weight?: "regular" | "medium" | "bold";
41
- /**
42
- * Делает цифры моноширинными
43
- */
44
- monospaceNumbers?: boolean;
45
- /**
46
- * HTML тег
47
- */
48
- tag?: "span" | "div";
49
- /**
50
- * Css-класс для стилизации (native prop)
51
- */
52
- className?: string;
53
- /**
54
- * Id компонента для тестов
55
- */
56
- dataTestId?: string;
57
- /**
58
- * Контент (native prop)
59
- */
60
- children?: React.ReactNode;
61
- /**
62
- * Добавляет отступы к тэгу 'p'
63
- */
64
- defaultMargins?: never;
65
- /**
66
- * Количество строк (не поддерживает IE)
67
- */
68
- rowLimit?: 1 | 2 | 3;
69
- /**
70
- * Показать скелетон
71
- */
72
- showSkeleton?: boolean;
73
- /**
74
- * Пропы для скелетона
75
- */
76
- skeletonProps?: TextSkeletonProps;
77
- };
78
- type TextPTagProps = Omit<TextBaseProps, "tag" | "defaultMargins"> & {
79
- tag?: "p";
80
- defaultMargins?: boolean;
81
- };
82
- type TextProps = Omit<NativeProps, "color"> & (TextBaseProps | TextPTagProps);
83
- type NativeProps$0 = HTMLAttributes<HTMLHeadingElement>;
84
- type TitleProps = Omit<NativeProps$0, "color"> & {
85
- /**
86
- * HTML тег
87
- */
88
- tag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "div";
89
- /**
90
- * [Вариант начертания](https://core-ds.github.io/core-components/master/?path=/docs/guidelines-typography--page)
91
- */
92
- view?: "xlarge" | "large" | "medium" | "small" | "xsmall";
93
- /**
94
- * Цвет текста
95
- */
96
- color?: Color;
97
- /**
98
- * Толщина шрифта
99
- */
100
- weight?: "regular" | "medium" | "bold";
101
- /**
102
- * Шрифт текста
103
- */
104
- font?: "styrene" | "system";
105
- /**
106
- * Добавляет отступы
107
- */
108
- defaultMargins?: boolean;
109
- /**
110
- * Css-класс для стилизации (native prop)
111
- */
112
- className?: string;
113
- /**
114
- * Id компонента для тестов
115
- */
116
- dataTestId?: string;
117
- /**
118
- * Контент (native prop)
119
- */
120
- children?: React.ReactNode;
121
- /**
122
- * Количество строк (не поддерживает IE)
123
- */
124
- rowLimit?: 1 | 2 | 3;
125
- /**
126
- * Показать скелетон
127
- */
128
- showSkeleton?: boolean;
129
- /**
130
- * Пропы для скелетона
131
- */
132
- skeletonProps?: TextSkeletonProps;
133
- };
134
- type TitleMobileProps = Omit<TitleProps, "defaultMargins">;
135
- declare const Typography: {
136
- Title: FC<TitleProps>;
137
- Text: ForwardRefExoticComponent<TextProps & RefAttributes<TextElementType>>;
138
- TitleResponsive: FC<TitleProps>;
139
- TitleMobile: FC<TitleMobileProps>;
140
- };
141
- declare const typographyPresets: {
142
- mobile: {
143
- list: {
144
- text: {
145
- primary: {
146
- tag: string;
147
- view: string;
148
- };
149
- secondary: {
150
- tag: string;
151
- color: string;
152
- view: string;
153
- };
154
- };
155
- };
156
- };
157
- };
158
- declare const TitleResponsive: FC<TitleProps>;
159
- interface BackArrowAddonProps extends React.HTMLAttributes<HTMLButtonElement> {
160
- /**
161
- * Текст после иконки
162
- */
163
- text?: string;
164
- /**
165
- * Дополнительный класс
166
- */
167
- className?: string;
168
- /**
169
- * Вид компонента
170
- */
171
- view: 'mobile' | 'desktop';
172
- /**
173
- * Прозрачность текста
174
- */
175
- textOpacity?: number;
176
- /**
177
- * Обработчик клика
178
- */
179
- onClick?: () => void;
180
- }
181
- declare const BackArrowAddon: React.FC<BackArrowAddonProps>;
182
- export { Typography, typographyPresets, TitleResponsive, BackArrowAddonProps, BackArrowAddon };
183
- export type { TitleProps, TextProps, Color };
184
- export * from "./useSkeleton-ebda875c";
@@ -1,53 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { BackgroundColorType, GraphicColorType } from "./index-72dda473";
4
- type IconColorType = Extract<GraphicColorType, 'positive' | 'attention' | 'link' | 'negative' | 'tertiary' | 'secondary' | 'primary'>;
5
- type BadgeProps = {
6
- /**
7
- * Дополнительный класс
8
- */
9
- className?: string;
10
- /**
11
- * Вид компонента
12
- */
13
- view: 'icon' | 'count';
14
- /**
15
- * Размер компонента (только для view=icon)
16
- * //deprecated(используйте height для view=count )
17
- */
18
- size?: 's' | 'm' | 'l' | 'xl';
19
- /**
20
- * Видимость белой обводки вокруг иконки
21
- */
22
- visibleIconOutline?: boolean;
23
- /**
24
- * Видимость цветной обводки вокруг иконки (только для view=icon)
25
- */
26
- visibleColorOutline?: boolean;
27
- /**
28
- * Контент компонента
29
- */
30
- content?: React.ReactElement | number;
31
- /**
32
- * Высота компонента, min = 16; max = 48 (только для view=count)
33
- */
34
- height?: number;
35
- /**
36
- * Цветовое оформление бейджа при view='count'
37
- */
38
- color?: Extract<BackgroundColorType, 'accent' | 'primary' | 'specialbg-secondary-transparent'>;
39
- /**
40
- * Цветовое оформление бейджа при view='icon'
41
- */
42
- iconColor?: IconColorType;
43
- /**
44
- * Цвет подложки под иконкой
45
- */
46
- iconUnderlayColor?: Extract<GraphicColorType, 'primary' | 'static-light'>;
47
- /**
48
- * Идентификатор для систем автоматизированного тестирования
49
- */
50
- dataTestId?: string;
51
- };
52
- declare const Badge: ({ className, size, view, visibleIconOutline, visibleColorOutline, content, height, iconColor, color, iconUnderlayColor, dataTestId, }: BadgeProps) => React.JSX.Element;
53
- export { IconColorType, BadgeProps, Badge };
@@ -1,38 +0,0 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { FC } from "react";
4
- import { CommonButtonProps, PrivateButtonProps } from "./typings-89f0cb07";
5
- type SpinnerProps = {
6
- /**
7
- * Управление видимостью компонента
8
- */
9
- visible?: boolean;
10
- /**
11
- * Размер компонента
12
- */
13
- size?: "xs" | "s" | "m";
14
- /**
15
- * Дополнительный класс
16
- */
17
- className?: string;
18
- /**
19
- * Идентификатор компонента в DOM
20
- */
21
- id?: string;
22
- /**
23
- * Идентификатор для систем автоматизированного тестирования
24
- */
25
- dataTestId?: string;
26
- /**
27
- * Палитра, в контексте которой используется спиннер
28
- */
29
- colors?: "default" | "inverted";
30
- };
31
- declare const Spinner: FC<SpinnerProps>;
32
- /**
33
- * Минимальное время отображения лоадера - 500мс,
34
- * чтобы при быстрых ответах от сервера кнопка не «моргала».
35
- */
36
- declare const LOADER_MIN_DISPLAY_INTERVAL = 500;
37
- declare const BaseButton: React.ForwardRefExoticComponent<(CommonButtonProps & PrivateButtonProps) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
38
- export { SpinnerProps, Spinner, LOADER_MIN_DISPLAY_INTERVAL, BaseButton };
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { ButtonProps } from "./index-8b2c2707";
4
- import { FieldProps as BaseFieldProps } from "./typings-0f4b9bed";
5
- import { PickerButtonSize, PickerButtonVariant } from "./types-4480ac4f";
6
- type FieldProps = Omit<BaseFieldProps, 'size' | 'hint' | 'success' | 'error' | 'placeholder'> & ButtonProps & {
7
- buttonSize?: PickerButtonSize;
8
- buttonVariant?: PickerButtonVariant;
9
- showArrow?: boolean;
10
- };
11
- declare const Field: ({ buttonSize, buttonVariant, view, label, open, multiple, rightAddons, Arrow, innerProps, className, selected, selectedMultiple, setSelectedItems, toggleMenu, valueRenderer, showArrow, labelView, ...restProps }: FieldProps) => React.JSX.Element;
12
- export { Field };
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { View } from "./typings-bdb4c6b9";
4
- declare const Modal: React.ForwardRefExoticComponent<import("./index-bdb4c6b9").BaseModalProps & {
5
- size?: "s" | "m" | "l" | "xl" | "fullscreen" | undefined;
6
- fullscreen?: boolean | undefined;
7
- fixedPosition?: boolean | undefined;
8
- hasCloser?: boolean | undefined;
9
- } & {
10
- view: View;
11
- } & React.RefAttributes<HTMLDivElement>>;
12
- export { Modal };
@@ -1,5 +0,0 @@
1
- import { FC } from 'react';
2
- import { NavigationBarProps } from "./index-c76d6398";
3
- type HeaderProps = Omit<NavigationBarProps, 'size' | 'view' | 'parentRef'>;
4
- declare const Header: FC<HeaderProps>;
5
- export { HeaderProps, Header };
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- /// <reference types="react-transition-group" />
3
- import React from 'react';
4
- import { CheckboxProps } from "./index-ebda875c";
5
- type HeaderProps = {
6
- checked?: boolean;
7
- indeterminate?: boolean;
8
- onChange?: CheckboxProps['onChange'];
9
- mobile?: boolean;
10
- };
11
- declare const Header: React.FC<HeaderProps>;
12
- export { HeaderProps, Header };
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { CommonButtonProps } from "./typings-89f0cb07";
4
- declare const ButtonDesktop: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
5
- export { ButtonDesktop };
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { BaseFormControlProps } from "./index-c44170fe";
4
- type FormControlDesktopProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
5
- declare const FormControlDesktop: React.ForwardRefExoticComponent<FormControlDesktopProps & React.RefAttributes<HTMLDivElement>>;
6
- export { FormControlDesktopProps, FormControlDesktop };
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { CommonButtonProps } from "./typings-89f0cb07";
4
- declare const ButtonMobile: React.ForwardRefExoticComponent<CommonButtonProps & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
5
- export { ButtonMobile };
@@ -1,23 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { AdditionalMobileProps } from "./shared-4cd3936b";
4
- import { PickerButtonDesktopProps } from "./desktop-d446ae02";
5
- type PickerButtonMobileProps = Omit<PickerButtonDesktopProps, 'OptionsList' | 'Checkmark' | 'onScroll'> & AdditionalMobileProps & {
6
- /**
7
- * Контрольная точка для кнопки, с нее начинается desktop версия
8
- * @default 1024
9
- */
10
- breakpoint?: number;
11
- };
12
- declare const PickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "onScroll" | "OptionsList" | "Checkmark"> & AdditionalMobileProps & {
13
- /**
14
- * Контрольная точка для кнопки, с нее начинается desktop версия
15
- * @default 1024
16
- */
17
- breakpoint?: number | undefined;
18
- } & React.RefAttributes<HTMLInputElement>>;
19
- export { SelectMobile } from "./Component.mobile-f28cbba0";
20
- export { SelectModalMobile } from "./Component.modal.mobile-0f4b9bed";
21
- export type { SelectMobileProps } from "./Component.mobile-f28cbba0";
22
- export type { SelectModalMobileProps } from "./Component.modal.mobile-0f4b9bed";
23
- export { PickerButtonMobileProps, PickerButtonMobile };
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { BaseFormControlProps } from "./index-c44170fe";
4
- type FormControlMobileProps = Omit<BaseFormControlProps, 'styles' | 'colorStyles'>;
5
- declare const FormControlMobile: React.ForwardRefExoticComponent<FormControlMobileProps & React.RefAttributes<HTMLDivElement>>;
6
- export { FormControlMobileProps, FormControlMobile };
@@ -1,34 +0,0 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { FC, ReactNode } from "react";
4
- import { ContentProps, ModalMobileProps } from "./typings-bdb4c6b9";
5
- declare const Content: FC<ContentProps>;
6
- type FooterProps = {
7
- /**
8
- * Контент футера
9
- */
10
- children?: ReactNode;
11
- /**
12
- * Дополнительный класс
13
- */
14
- className?: string;
15
- /**
16
- * Фиксирует футер
17
- */
18
- sticky?: boolean;
19
- /**
20
- * Выравнивание элементов футера
21
- */
22
- layout?: "start" | "center" | "space-between" | "column";
23
- /**
24
- * Отступы между элементами футера
25
- */
26
- gap?: 16 | 24 | 32;
27
- };
28
- declare const Footer: FC<FooterProps>;
29
- declare const ModalMobile: React.ForwardRefExoticComponent<ModalMobileProps & React.RefAttributes<HTMLDivElement>> & {
30
- Content: React.FC<import("./typings-bdb4c6b9").ContentProps>;
31
- Header: React.FC<import("./Component-c76d6398").HeaderProps>;
32
- Footer: React.FC<FooterProps>;
33
- };
34
- export { Content, FooterProps, Footer, ModalMobile };
@@ -1,41 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { ReactNode } from "react";
4
- import { BottomSheetProps } from "./index-f12ee135";
5
- import { UseSelectWithApplyProps } from "./hook-8abfea97";
6
- import { BaseSelectProps } from "./typings-0f4b9bed";
7
- type AdditionalMobileProps = {
8
- /**
9
- * Футер
10
- * @deprecated Используйте bottomSheetProps.actionButton
11
- */
12
- footer?: ReactNode;
13
- /**
14
- * Будет ли свайпаться шторка
15
- * @deprecated Используйте bottomSheetProps.swipeable
16
- */
17
- swipeable?: boolean;
18
- /**
19
- * Дополнительные пропсы шторки
20
- */
21
- bottomSheetProps?: Partial<BottomSheetProps>;
22
- /**
23
- * Показывать кнопку очистки
24
- */
25
- showClear?: UseSelectWithApplyProps['showClear'];
26
- /**
27
- * Показывать пункт "Выбрать все"
28
- */
29
- showSelectAll?: UseSelectWithApplyProps['showSelectAll'];
30
- /**
31
- * Показывать пункт "Выбрать все" в заголовке списка
32
- */
33
- showHeaderWithSelectAll?: UseSelectWithApplyProps['showHeaderWithSelectAll'];
34
- /**
35
- * Использовать ли хук useSelectWithApply
36
- */
37
- useWithApplyHook?: boolean;
38
- };
39
- type SelectMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & AdditionalMobileProps;
40
- declare const SelectMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & AdditionalMobileProps & React.RefAttributes<unknown>>;
41
- export { AdditionalMobileProps, SelectMobileProps, SelectMobile };
@@ -1,60 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { ModalMobile } from "./Component.mobile-f1f15074";
4
- import { UseSelectWithApplyProps } from "./hook-8abfea97";
5
- import { BaseSelectProps } from "./typings-0f4b9bed";
6
- type SelectModalMobileProps = Omit<BaseSelectProps, 'Checkmark' | 'onScroll'> & {
7
- /**
8
- * Показывать кнопку очистки
9
- */
10
- showClear?: UseSelectWithApplyProps['showClear'];
11
- /**
12
- * Показывать пункт "Выбрать все"
13
- */
14
- showSelectAll?: UseSelectWithApplyProps['showSelectAll'];
15
- /**
16
- * Дополнительные пропсы шапки модалки
17
- */
18
- modalHeaderProps?: Partial<React.ComponentProps<typeof ModalMobile.Header>>;
19
- /**
20
- * Дополнительные пропсы модалки
21
- */
22
- modalProps?: Partial<React.ComponentProps<typeof ModalMobile>>;
23
- /**
24
- * Дополнительные пропсы футера модалки
25
- */
26
- modalFooterProps?: Partial<React.ComponentProps<typeof ModalMobile.Footer>>;
27
- showHeaderWithSelectAll?: UseSelectWithApplyProps['showHeaderWithSelectAll'];
28
- /**
29
- * Использовать ли хук useSelectWithApply
30
- */
31
- useWithApplyHook?: boolean;
32
- };
33
- declare const SelectModalMobile: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "onScroll" | "Checkmark"> & {
34
- /**
35
- * Показывать кнопку очистки
36
- */
37
- showClear?: UseSelectWithApplyProps['showClear'];
38
- /**
39
- * Показывать пункт "Выбрать все"
40
- */
41
- showSelectAll?: UseSelectWithApplyProps['showSelectAll'];
42
- /**
43
- * Дополнительные пропсы шапки модалки
44
- */
45
- modalHeaderProps?: Partial<import("./Component-c76d6398").HeaderProps> | undefined;
46
- /**
47
- * Дополнительные пропсы модалки
48
- */
49
- modalProps?: Partial<import("./typings-bdb4c6b9").ModalMobileProps & React.RefAttributes<HTMLDivElement>> | undefined;
50
- /**
51
- * Дополнительные пропсы футера модалки
52
- */
53
- modalFooterProps?: Partial<import("./Component.mobile-f1f15074").FooterProps> | undefined;
54
- showHeaderWithSelectAll?: UseSelectWithApplyProps['showHeaderWithSelectAll'];
55
- /**
56
- * Использовать ли хук useSelectWithApply
57
- */
58
- useWithApplyHook?: boolean | undefined;
59
- } & React.RefAttributes<unknown>>;
60
- export { SelectModalMobileProps, SelectModalMobile };
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { BaseModalContext } from "./index-bdb4c6b9";
3
- declare const ModalContext: import("react").Context<BaseModalContext>;
4
- export { ModalContext };
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- import React from 'react';
3
- import { TResponsiveModalContext } from "./typings-bdb4c6b9";
4
- declare const ResponsiveContext: React.Context<TResponsiveModalContext>;
5
- export { ResponsiveContext };
@@ -1,44 +0,0 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { FC, ReactNode, RefObject } from "react";
4
- import { NavigationBarProps } from "./index-c76d6398";
5
- import { SwipeableHandlers } from "react-swipeable";
6
- import { BackdropProps } from "./index-ebda875c";
7
- import { BottomSheetProps } from "./types-67a2d8af";
8
- type FooterProps = {
9
- /**
10
- * Контент футера
11
- */
12
- children?: ReactNode;
13
- /**
14
- * Фиксирует футер
15
- */
16
- sticky?: boolean;
17
- /**
18
- * Дополнительный класс
19
- */
20
- className?: string;
21
- };
22
- declare const Footer: FC<FooterProps>;
23
- type HeaderProps = Omit<NavigationBarProps, "view" | "size"> & {
24
- headerRef: RefObject<HTMLDivElement>;
25
- headerOffset: number;
26
- };
27
- declare const Header: FC<HeaderProps>;
28
- type SwipeableBackdropProps = BackdropProps & {
29
- /**
30
- * Прозрачность бэкдропа
31
- */
32
- opacity?: number;
33
- /**
34
- * Обработчики свайпа
35
- */
36
- handlers?: SwipeableHandlers;
37
- /**
38
- * Время анимации opacity
39
- */
40
- opacityTimeout?: number;
41
- };
42
- declare const SwipeableBackdrop: FC<SwipeableBackdropProps>;
43
- declare const BottomSheet: React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>>;
44
- export { FooterProps, Footer, HeaderProps, Header, SwipeableBackdropProps, SwipeableBackdrop, BottomSheet };
@@ -1,2 +0,0 @@
1
- declare const DEFAULT_VISIBLE_OPTIONS = 5;
2
- export { DEFAULT_VISIBLE_OPTIONS };
@@ -1,2 +0,0 @@
1
- export { ButtonDesktop } from "./Component.desktop-0aa4e915";
2
- export type { CommonButtonProps as ButtonDesktopProps } from "./typings-89f0cb07";
@@ -1,39 +0,0 @@
1
- /// <reference types="react" />
2
- import React from "react";
3
- import { FC, SVGProps } from "react";
4
- import { ButtonProps } from "./index-8b2c2707";
5
- import { BaseSelectProps } from "./shared-4cd3936b";
6
- import { PickerButtonSize, PickerButtonVariant } from "./types-4480ac4f";
7
- type PickerButtonDesktopProps = Omit<BaseSelectProps, "placeholder" | "Arrow" | "autocomplete" | "size" | "onFocus" | "selected" | "closeOnSelect" | "multiple" | "hint" | "allowUnselect" | "options" | "searchProps" | "showSearch" | "Search"> & Pick<ButtonProps, "view" | "loading" | "leftAddons" | "rightAddons"> & {
8
- options: Array<BaseSelectProps["options"][0] & {
9
- /**
10
- * Иконка, отображающаяся слева от текстового представления пункта
11
- */
12
- icon?: FC<SVGProps<SVGSVGElement>>;
13
- }>;
14
- /**
15
- * Размер кнопки
16
- */
17
- size?: PickerButtonSize;
18
- /**
19
- * Тип кнопки
20
- */
21
- variant?: PickerButtonVariant;
22
- /**
23
- * Показывать стрелку
24
- * @default true
25
- */
26
- showArrow?: boolean;
27
- };
28
- declare const PickerButtonDesktop: React.ForwardRefExoticComponent<Omit<BaseSelectProps, "size" | "placeholder" | "onFocus" | "selected" | "multiple" | "hint" | "options" | "autocomplete" | "allowUnselect" | "closeOnSelect" | "searchProps" | "showSearch" | "Arrow" | "Search"> & Pick<ButtonProps, "view" | "leftAddons" | "rightAddons" | "loading"> & {
29
- options: Array<BaseSelectProps["options"][0] & {
30
- /**
31
- * Иконка, отображающаяся слева от текстового представления пункта
32
- */
33
- icon?: FC<SVGProps<SVGSVGElement>>;
34
- }>;
35
- size?: PickerButtonSize | undefined;
36
- variant?: PickerButtonVariant | undefined;
37
- showArrow?: boolean | undefined;
38
- } & React.RefAttributes<HTMLInputElement>>;
39
- export { PickerButtonDesktopProps, PickerButtonDesktop };