@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,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { PickerButtonDesktopProps } from "./desktop-d446ae02";
4
+ import { PickerButtonDesktopProps } from "@alfalab/core-components-picker-button/desktop";
5
5
  type CustomPickerButtonDesktopProps = Omit<PickerButtonDesktopProps, 'view' | 'colors'> & Pick<CustomButtonProps, 'backgroundColor' | 'contentColor' | 'stateType'>;
6
6
  declare const CustomPickerButtonDesktop: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & React.RefAttributes<HTMLInputElement>>;
7
7
  export { CustomPickerButtonDesktopProps, CustomPickerButtonDesktop };
@@ -1,15 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { AdditionalMobileProps } from "./shared-4cd3936b";
5
- import { PickerButtonDesktopProps } from "./desktop-d446ae02";
6
- type PickerButtonMobileProps = Omit<PickerButtonDesktopProps, "OptionsList" | "Checkmark" | "onScroll"> & AdditionalMobileProps & {
7
- /**
8
- * Контрольная точка для кнопки, с нее начинается desktop версия
9
- * @default 1024
10
- */
11
- breakpoint?: number;
12
- };
4
+ import { PickerButtonMobileProps } from "@alfalab/core-components-picker-button/mobile";
13
5
  type CustomPickerButtonMobileProps = Omit<PickerButtonMobileProps, 'view' | 'colors'> & Pick<CustomButtonProps, 'backgroundColor' | 'contentColor' | 'stateType'>;
14
6
  declare const CustomPickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonMobileProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & React.RefAttributes<HTMLInputElement>>;
15
7
  export { CustomPickerButtonMobileProps, CustomPickerButtonMobile };
@@ -1,22 +1,19 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { PickerButtonDesktopProps } from "./desktop-d446ae02";
5
- import { AdditionalMobileProps } from "./shared-4cd3936b";
3
+ import { AdditionalMobileProps, BottomSheetSelectMobileProps } from "@alfalab/core-components-select/shared";
6
4
  import { CustomPickerButtonDesktopProps } from "./Component.desktop";
7
- type PickerButtonMatchMedia = 'desktop' | 'mobile';
8
- type CustomPickerButtonResponsiveProps = CustomPickerButtonDesktopProps & AdditionalMobileProps & {
5
+ type CustomPickerButtonResponsiveProps = CustomPickerButtonDesktopProps & AdditionalMobileProps & BottomSheetSelectMobileProps & {
9
6
  /**
10
7
  * Контрольная точка, с нее начинается desktop версия
11
8
  * @default 1024
12
9
  */
13
10
  breakpoint?: number;
14
11
  };
15
- declare const CustomPickerButtonResponsive: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & AdditionalMobileProps & {
12
+ declare const CustomPickerButtonResponsive: React.ForwardRefExoticComponent<Omit<import("@alfalab/core-components-picker-button/src/Component.desktop").PickerButtonDesktopProps, "view" | "colors"> & Pick<import("packages/custom-button").CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & AdditionalMobileProps & BottomSheetSelectMobileProps & {
16
13
  /**
17
14
  * Контрольная точка, с нее начинается desktop версия
18
15
  * @default 1024
19
16
  */
20
17
  breakpoint?: number | undefined;
21
18
  } & React.RefAttributes<HTMLInputElement>>;
22
- export { PickerButtonMatchMedia, CustomPickerButtonResponsiveProps, CustomPickerButtonResponsive };
19
+ export { CustomPickerButtonResponsiveProps, CustomPickerButtonResponsive };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { PickerButtonDesktopProps } from "./desktop-d446ae02";
4
+ import { PickerButtonDesktopProps } from "@alfalab/core-components-picker-button/desktop";
5
5
  type CustomPickerButtonDesktopProps = Omit<PickerButtonDesktopProps, 'view' | 'colors'> & Pick<CustomButtonProps, 'backgroundColor' | 'contentColor' | 'stateType'>;
6
6
  declare const CustomPickerButtonDesktop: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & React.RefAttributes<HTMLInputElement>>;
7
7
  export { CustomPickerButtonDesktopProps, CustomPickerButtonDesktop };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { PickerButtonMobileProps } from "./Component.mobile-d446ae02";
4
+ import { PickerButtonMobileProps } from "@alfalab/core-components-picker-button/mobile";
5
5
  type CustomPickerButtonMobileProps = Omit<PickerButtonMobileProps, 'view' | 'colors'> & Pick<CustomButtonProps, 'backgroundColor' | 'contentColor' | 'stateType'>;
6
6
  declare const CustomPickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonMobileProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & React.RefAttributes<HTMLInputElement>>;
7
7
  export { CustomPickerButtonMobileProps, CustomPickerButtonMobile };
@@ -1,22 +1,19 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { PickerButtonDesktopProps } from "./desktop-d446ae02";
5
- import { AdditionalMobileProps } from "./shared-4cd3936b";
3
+ import { AdditionalMobileProps, BottomSheetSelectMobileProps } from "@alfalab/core-components-select/shared";
6
4
  import { CustomPickerButtonDesktopProps } from "./Component.desktop";
7
- type PickerButtonMatchMedia = 'desktop' | 'mobile';
8
- type CustomPickerButtonResponsiveProps = CustomPickerButtonDesktopProps & AdditionalMobileProps & {
5
+ type CustomPickerButtonResponsiveProps = CustomPickerButtonDesktopProps & AdditionalMobileProps & BottomSheetSelectMobileProps & {
9
6
  /**
10
7
  * Контрольная точка, с нее начинается desktop версия
11
8
  * @default 1024
12
9
  */
13
10
  breakpoint?: number;
14
11
  };
15
- declare const CustomPickerButtonResponsive: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & AdditionalMobileProps & {
12
+ declare const CustomPickerButtonResponsive: React.ForwardRefExoticComponent<Omit<import("@alfalab/core-components-picker-button/src/Component.desktop").PickerButtonDesktopProps, "view" | "colors"> & Pick<import("packages/custom-button").CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & AdditionalMobileProps & BottomSheetSelectMobileProps & {
16
13
  /**
17
14
  * Контрольная точка, с нее начинается desktop версия
18
15
  * @default 1024
19
16
  */
20
17
  breakpoint?: number | undefined;
21
18
  } & React.RefAttributes<HTMLInputElement>>;
22
- export { PickerButtonMatchMedia, CustomPickerButtonResponsiveProps, CustomPickerButtonResponsive };
19
+ export { CustomPickerButtonResponsiveProps, CustomPickerButtonResponsive };
@@ -1,2 +1,2 @@
1
- export { CustomPickerButtonDesktop, CustomPickerButtonDesktopProps } from "./Component.desktop";
1
+ export { CustomPickerButtonDesktop, CustomPickerButtonDesktopProps } from "../Component.desktop";
2
2
  export {};
@@ -2,15 +2,15 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Component_desktop = require('./Component.desktop.js');
5
+ var Component_desktop = require('../Component.desktop.js');
6
6
  require('tslib');
7
7
  require('react');
8
8
  require('@alfalab/core-components-picker-button/cssm/desktop');
9
- require('./field/Component.js');
9
+ require('../field/Component.js');
10
10
  require('classnames');
11
11
  require('@alfalab/core-components-custom-button/cssm');
12
12
  require('@alfalab/core-components-picker-button/cssm/shared');
13
- require('./field/index.module.css');
13
+ require('../field/index.module.css');
14
14
 
15
15
 
16
16
 
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { FieldProps as BaseFieldProps } from "../shared-4cd3936b";
4
+ import { PickerButtonSize, PickerButtonVariant } from "@alfalab/core-components-picker-button/shared";
5
+ import { FieldProps as BaseFieldProps } from "@alfalab/core-components-select/shared";
5
6
  type FieldProps = Pick<BaseFieldProps, 'open' | 'label' | 'innerProps'> & CustomButtonProps & {
6
7
  buttonSize?: PickerButtonSize;
7
8
  buttonVariant?: PickerButtonVariant;
@@ -1,2 +1,2 @@
1
- export { CustomPickerButtonMobile, CustomPickerButtonMobileProps } from "./Component.mobile";
1
+ export { CustomPickerButtonMobile, CustomPickerButtonMobileProps } from "../Component.mobile";
2
2
  export {};
@@ -2,15 +2,15 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Component_mobile = require('./Component.mobile.js');
5
+ var Component_mobile = require('../Component.mobile.js');
6
6
  require('tslib');
7
7
  require('react');
8
8
  require('@alfalab/core-components-picker-button/cssm/mobile');
9
- require('./field/Component.js');
9
+ require('../field/Component.js');
10
10
  require('classnames');
11
11
  require('@alfalab/core-components-custom-button/cssm');
12
12
  require('@alfalab/core-components-picker-button/cssm/shared');
13
- require('./field/index.module.css');
13
+ require('../field/index.module.css');
14
14
 
15
15
 
16
16
 
@@ -1,2 +1,2 @@
1
- export { CustomPickerButtonDesktop, CustomPickerButtonDesktopProps } from "./Component.desktop";
1
+ export { CustomPickerButtonDesktop, CustomPickerButtonDesktopProps } from "../Component.desktop";
2
2
  export {};
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Component_desktop = require('./Component.desktop.js');
5
+ var Component_desktop = require('../Component.desktop.js');
6
6
  require('tslib');
7
7
  require('react');
8
8
  require('@alfalab/core-components-picker-button/desktop');
9
- require('./field/Component.js');
9
+ require('../field/Component.js');
10
10
  require('classnames');
11
11
  require('@alfalab/core-components-custom-button');
12
12
  require('@alfalab/core-components-picker-button/shared');
@@ -0,0 +1,3 @@
1
+ {
2
+ "module": "../esm/desktop/index.js"
3
+ }
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { PickerButtonDesktopProps } from "./desktop-d446ae02";
4
+ import { PickerButtonDesktopProps } from "@alfalab/core-components-picker-button/desktop";
5
5
  type CustomPickerButtonDesktopProps = Omit<PickerButtonDesktopProps, 'view' | 'colors'> & Pick<CustomButtonProps, 'backgroundColor' | 'contentColor' | 'stateType'>;
6
6
  declare const CustomPickerButtonDesktop: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & React.RefAttributes<HTMLInputElement>>;
7
7
  export { CustomPickerButtonDesktopProps, CustomPickerButtonDesktop };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { PickerButtonMobileProps } from "./Component.mobile-d446ae02";
4
+ import { PickerButtonMobileProps } from "@alfalab/core-components-picker-button/mobile";
5
5
  type CustomPickerButtonMobileProps = Omit<PickerButtonMobileProps, 'view' | 'colors'> & Pick<CustomButtonProps, 'backgroundColor' | 'contentColor' | 'stateType'>;
6
6
  declare const CustomPickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonMobileProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & React.RefAttributes<HTMLInputElement>>;
7
7
  export { CustomPickerButtonMobileProps, CustomPickerButtonMobile };
@@ -1,22 +1,19 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { PickerButtonDesktopProps } from "./desktop-d446ae02";
5
- import { AdditionalMobileProps } from "./shared-4cd3936b";
3
+ import { AdditionalMobileProps, BottomSheetSelectMobileProps } from "@alfalab/core-components-select/shared";
6
4
  import { CustomPickerButtonDesktopProps } from "./Component.desktop";
7
- type PickerButtonMatchMedia = 'desktop' | 'mobile';
8
- type CustomPickerButtonResponsiveProps = CustomPickerButtonDesktopProps & AdditionalMobileProps & {
5
+ type CustomPickerButtonResponsiveProps = CustomPickerButtonDesktopProps & AdditionalMobileProps & BottomSheetSelectMobileProps & {
9
6
  /**
10
7
  * Контрольная точка, с нее начинается desktop версия
11
8
  * @default 1024
12
9
  */
13
10
  breakpoint?: number;
14
11
  };
15
- declare const CustomPickerButtonResponsive: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & AdditionalMobileProps & {
12
+ declare const CustomPickerButtonResponsive: React.ForwardRefExoticComponent<Omit<import("@alfalab/core-components-picker-button/src/Component.desktop").PickerButtonDesktopProps, "view" | "colors"> & Pick<import("packages/custom-button").CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & AdditionalMobileProps & BottomSheetSelectMobileProps & {
16
13
  /**
17
14
  * Контрольная точка, с нее начинается desktop версия
18
15
  * @default 1024
19
16
  */
20
17
  breakpoint?: number | undefined;
21
18
  } & React.RefAttributes<HTMLInputElement>>;
22
- export { PickerButtonMatchMedia, CustomPickerButtonResponsiveProps, CustomPickerButtonResponsive };
19
+ export { CustomPickerButtonResponsiveProps, CustomPickerButtonResponsive };
@@ -1,2 +1,2 @@
1
- export { CustomPickerButtonDesktop, CustomPickerButtonDesktopProps } from "./Component.desktop";
1
+ export { CustomPickerButtonDesktop, CustomPickerButtonDesktopProps } from "../Component.desktop";
2
2
  export {};
@@ -1,8 +1,8 @@
1
- export { CustomPickerButtonDesktop } from './Component.desktop.js';
1
+ export { CustomPickerButtonDesktop } from '../Component.desktop.js';
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import '@alfalab/core-components-picker-button/esm/desktop';
5
- import './field/Component.js';
5
+ import '../field/Component.js';
6
6
  import 'classnames';
7
7
  import '@alfalab/core-components-custom-button/esm';
8
8
  import '@alfalab/core-components-picker-button/esm/shared';
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { FieldProps as BaseFieldProps } from "../shared-4cd3936b";
4
+ import { PickerButtonSize, PickerButtonVariant } from "@alfalab/core-components-picker-button/shared";
5
+ import { FieldProps as BaseFieldProps } from "@alfalab/core-components-select/shared";
5
6
  type FieldProps = Pick<BaseFieldProps, 'open' | 'label' | 'innerProps'> & CustomButtonProps & {
6
7
  buttonSize?: PickerButtonSize;
7
8
  buttonVariant?: PickerButtonVariant;
@@ -4,7 +4,7 @@ import cn from 'classnames';
4
4
  import { CustomButton } from '@alfalab/core-components-custom-button/esm';
5
5
  import { getIcon } from '@alfalab/core-components-picker-button/esm/shared';
6
6
 
7
- var styles = {"iconContainer":"custom-picker-button__iconContainer_18w4g","addonsContainer":"custom-picker-button__addonsContainer_18w4g","showControlIcon":"custom-picker-button__showControlIcon_18w4g","open":"custom-picker-button__open_18w4g"};
7
+ var styles = {"iconContainer":"custom-picker-button__iconContainer_1gdpb","addonsContainer":"custom-picker-button__addonsContainer_1gdpb","showControlIcon":"custom-picker-button__showControlIcon_1gdpb","open":"custom-picker-button__open_1gdpb"};
8
8
  require('./index.css')
9
9
 
10
10
  var Field = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 316of */
1
+ /* hash: 6ye9u */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,13 +16,13 @@
16
16
  } :root {
17
17
  } :root {
18
18
  --arrow-transform: rotate(180deg);
19
- } .custom-picker-button__iconContainer_18w4g {
19
+ } .custom-picker-button__iconContainer_1gdpb {
20
20
  display: flex;
21
21
  transition: transform 0.15s ease-in-out;
22
- } .custom-picker-button__addonsContainer_18w4g {
22
+ } .custom-picker-button__addonsContainer_1gdpb {
23
23
  display: flex
24
- } .custom-picker-button__addonsContainer_18w4g.custom-picker-button__showControlIcon_18w4g {
24
+ } .custom-picker-button__addonsContainer_1gdpb.custom-picker-button__showControlIcon_1gdpb {
25
25
  margin-right: var(--gap-2xs);
26
- } .custom-picker-button__open_18w4g {
26
+ } .custom-picker-button__open_1gdpb {
27
27
  transform: var(--arrow-transform);
28
28
  }
@@ -1,2 +1,2 @@
1
- export { CustomPickerButtonMobile, CustomPickerButtonMobileProps } from "./Component.mobile";
1
+ export { CustomPickerButtonMobile, CustomPickerButtonMobileProps } from "../Component.mobile";
2
2
  export {};
@@ -1,8 +1,8 @@
1
- export { CustomPickerButtonMobile } from './Component.mobile.js';
1
+ export { CustomPickerButtonMobile } from '../Component.mobile.js';
2
2
  import 'tslib';
3
3
  import 'react';
4
4
  import '@alfalab/core-components-picker-button/esm/mobile';
5
- import './field/Component.js';
5
+ import '../field/Component.js';
6
6
  import 'classnames';
7
7
  import '@alfalab/core-components-custom-button/esm';
8
8
  import '@alfalab/core-components-picker-button/esm/shared';
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { FieldProps as BaseFieldProps } from "../shared-4cd3936b";
4
+ import { PickerButtonSize, PickerButtonVariant } from "@alfalab/core-components-picker-button/shared";
5
+ import { FieldProps as BaseFieldProps } from "@alfalab/core-components-select/shared";
5
6
  type FieldProps = Pick<BaseFieldProps, 'open' | 'label' | 'innerProps'> & CustomButtonProps & {
6
7
  buttonSize?: PickerButtonSize;
7
8
  buttonVariant?: PickerButtonVariant;
@@ -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":"custom-picker-button__iconContainer_18w4g","addonsContainer":"custom-picker-button__addonsContainer_18w4g","showControlIcon":"custom-picker-button__showControlIcon_18w4g","open":"custom-picker-button__open_18w4g"};
16
+ var styles = {"iconContainer":"custom-picker-button__iconContainer_1gdpb","addonsContainer":"custom-picker-button__addonsContainer_1gdpb","showControlIcon":"custom-picker-button__showControlIcon_1gdpb","open":"custom-picker-button__open_1gdpb"};
17
17
  require('./index.css')
18
18
 
19
19
  var Field = function (_a) {
package/field/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 316of */
1
+ /* hash: 6ye9u */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,13 +16,13 @@
16
16
  } :root {
17
17
  } :root {
18
18
  --arrow-transform: rotate(180deg);
19
- } .custom-picker-button__iconContainer_18w4g {
19
+ } .custom-picker-button__iconContainer_1gdpb {
20
20
  display: flex;
21
21
  transition: transform 0.15s ease-in-out;
22
- } .custom-picker-button__addonsContainer_18w4g {
22
+ } .custom-picker-button__addonsContainer_1gdpb {
23
23
  display: flex
24
- } .custom-picker-button__addonsContainer_18w4g.custom-picker-button__showControlIcon_18w4g {
24
+ } .custom-picker-button__addonsContainer_1gdpb.custom-picker-button__showControlIcon_1gdpb {
25
25
  margin-right: var(--gap-2xs);
26
- } .custom-picker-button__open_18w4g {
26
+ } .custom-picker-button__open_1gdpb {
27
27
  transform: var(--arrow-transform);
28
28
  }
@@ -1,2 +1,2 @@
1
- export { CustomPickerButtonMobile, CustomPickerButtonMobileProps } from "./Component.mobile";
1
+ export { CustomPickerButtonMobile, CustomPickerButtonMobileProps } from "../Component.mobile";
2
2
  export {};
@@ -2,11 +2,11 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var Component_mobile = require('./Component.mobile.js');
5
+ var Component_mobile = require('../Component.mobile.js');
6
6
  require('tslib');
7
7
  require('react');
8
8
  require('@alfalab/core-components-picker-button/mobile');
9
- require('./field/Component.js');
9
+ require('../field/Component.js');
10
10
  require('classnames');
11
11
  require('@alfalab/core-components-custom-button');
12
12
  require('@alfalab/core-components-picker-button/shared');
@@ -0,0 +1,3 @@
1
+ {
2
+ "module": "../esm/mobile/index.js"
3
+ }
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { PickerButtonDesktopProps } from "./desktop-d446ae02";
4
+ import { PickerButtonDesktopProps } from "@alfalab/core-components-picker-button/desktop";
5
5
  type CustomPickerButtonDesktopProps = Omit<PickerButtonDesktopProps, 'view' | 'colors'> & Pick<CustomButtonProps, 'backgroundColor' | 'contentColor' | 'stateType'>;
6
6
  declare const CustomPickerButtonDesktop: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & React.RefAttributes<HTMLInputElement>>;
7
7
  export { CustomPickerButtonDesktopProps, CustomPickerButtonDesktop };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { PickerButtonMobileProps } from "./Component.mobile-d446ae02";
4
+ import { PickerButtonMobileProps } from "@alfalab/core-components-picker-button/mobile";
5
5
  type CustomPickerButtonMobileProps = Omit<PickerButtonMobileProps, 'view' | 'colors'> & Pick<CustomButtonProps, 'backgroundColor' | 'contentColor' | 'stateType'>;
6
6
  declare const CustomPickerButtonMobile: React.ForwardRefExoticComponent<Omit<PickerButtonMobileProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & React.RefAttributes<HTMLInputElement>>;
7
7
  export { CustomPickerButtonMobileProps, CustomPickerButtonMobile };
@@ -1,22 +1,19 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
- import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { PickerButtonDesktopProps } from "./desktop-d446ae02";
5
- import { AdditionalMobileProps } from "./shared-4cd3936b";
3
+ import { AdditionalMobileProps, BottomSheetSelectMobileProps } from "@alfalab/core-components-select/shared";
6
4
  import { CustomPickerButtonDesktopProps } from "./Component.desktop";
7
- type PickerButtonMatchMedia = 'desktop' | 'mobile';
8
- type CustomPickerButtonResponsiveProps = CustomPickerButtonDesktopProps & AdditionalMobileProps & {
5
+ type CustomPickerButtonResponsiveProps = CustomPickerButtonDesktopProps & AdditionalMobileProps & BottomSheetSelectMobileProps & {
9
6
  /**
10
7
  * Контрольная точка, с нее начинается desktop версия
11
8
  * @default 1024
12
9
  */
13
10
  breakpoint?: number;
14
11
  };
15
- declare const CustomPickerButtonResponsive: React.ForwardRefExoticComponent<Omit<PickerButtonDesktopProps, "view" | "colors"> & Pick<CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & AdditionalMobileProps & {
12
+ declare const CustomPickerButtonResponsive: React.ForwardRefExoticComponent<Omit<import("@alfalab/core-components-picker-button/src/Component.desktop").PickerButtonDesktopProps, "view" | "colors"> & Pick<import("packages/custom-button").CustomButtonProps, "backgroundColor" | "contentColor" | "stateType"> & AdditionalMobileProps & BottomSheetSelectMobileProps & {
16
13
  /**
17
14
  * Контрольная точка, с нее начинается desktop версия
18
15
  * @default 1024
19
16
  */
20
17
  breakpoint?: number | undefined;
21
18
  } & React.RefAttributes<HTMLInputElement>>;
22
- export { PickerButtonMatchMedia, CustomPickerButtonResponsiveProps, CustomPickerButtonResponsive };
19
+ export { CustomPickerButtonResponsiveProps, CustomPickerButtonResponsive };
@@ -1,2 +1,2 @@
1
- export { CustomPickerButtonDesktop, CustomPickerButtonDesktopProps } from "./Component.desktop";
1
+ export { CustomPickerButtonDesktop, CustomPickerButtonDesktopProps } from "../Component.desktop";
2
2
  export {};
@@ -1,7 +1,7 @@
1
- export { CustomPickerButtonDesktop } from './Component.desktop.js';
1
+ export { CustomPickerButtonDesktop } from '../Component.desktop.js';
2
2
  import 'react';
3
3
  import '@alfalab/core-components-picker-button/modern/desktop';
4
- import './field/Component.js';
4
+ import '../field/Component.js';
5
5
  import 'classnames';
6
6
  import '@alfalab/core-components-custom-button/modern';
7
7
  import '@alfalab/core-components-picker-button/modern/shared';
@@ -1,7 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  import React from 'react';
3
3
  import { CustomButtonProps } from "@alfalab/core-components-custom-button";
4
- import { FieldProps as BaseFieldProps } from "../shared-4cd3936b";
4
+ import { PickerButtonSize, PickerButtonVariant } from "@alfalab/core-components-picker-button/shared";
5
+ import { FieldProps as BaseFieldProps } from "@alfalab/core-components-select/shared";
5
6
  type FieldProps = Pick<BaseFieldProps, 'open' | 'label' | 'innerProps'> & CustomButtonProps & {
6
7
  buttonSize?: PickerButtonSize;
7
8
  buttonVariant?: PickerButtonVariant;
@@ -3,7 +3,7 @@ import cn from 'classnames';
3
3
  import { CustomButton } from '@alfalab/core-components-custom-button/modern';
4
4
  import { getIcon } from '@alfalab/core-components-picker-button/modern/shared';
5
5
 
6
- const styles = {"iconContainer":"custom-picker-button__iconContainer_18w4g","addonsContainer":"custom-picker-button__addonsContainer_18w4g","showControlIcon":"custom-picker-button__showControlIcon_18w4g","open":"custom-picker-button__open_18w4g"};
6
+ const styles = {"iconContainer":"custom-picker-button__iconContainer_1gdpb","addonsContainer":"custom-picker-button__addonsContainer_1gdpb","showControlIcon":"custom-picker-button__showControlIcon_1gdpb","open":"custom-picker-button__open_1gdpb"};
7
7
  require('./index.css')
8
8
 
9
9
  const Field = ({ buttonSize = 'm', buttonVariant = 'default', backgroundColor, contentColor, stateType, label, open, rightAddons, innerProps, className, showArrow = true, ...restProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 316of */
1
+ /* hash: 6ye9u */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,13 +16,13 @@
16
16
  } :root {
17
17
  } :root {
18
18
  --arrow-transform: rotate(180deg);
19
- } .custom-picker-button__iconContainer_18w4g {
19
+ } .custom-picker-button__iconContainer_1gdpb {
20
20
  display: flex;
21
21
  transition: transform 0.15s ease-in-out;
22
- } .custom-picker-button__addonsContainer_18w4g {
22
+ } .custom-picker-button__addonsContainer_1gdpb {
23
23
  display: flex
24
- } .custom-picker-button__addonsContainer_18w4g.custom-picker-button__showControlIcon_18w4g {
24
+ } .custom-picker-button__addonsContainer_1gdpb.custom-picker-button__showControlIcon_1gdpb {
25
25
  margin-right: var(--gap-2xs);
26
- } .custom-picker-button__open_18w4g {
26
+ } .custom-picker-button__open_1gdpb {
27
27
  transform: var(--arrow-transform);
28
28
  }
@@ -1,2 +1,2 @@
1
- export { CustomPickerButtonMobile, CustomPickerButtonMobileProps } from "./Component.mobile";
1
+ export { CustomPickerButtonMobile, CustomPickerButtonMobileProps } from "../Component.mobile";
2
2
  export {};
@@ -1,7 +1,7 @@
1
- export { CustomPickerButtonMobile } from './Component.mobile.js';
1
+ export { CustomPickerButtonMobile } from '../Component.mobile.js';
2
2
  import 'react';
3
3
  import '@alfalab/core-components-picker-button/modern/mobile';
4
- import './field/Component.js';
4
+ import '../field/Component.js';
5
5
  import 'classnames';
6
6
  import '@alfalab/core-components-custom-button/modern';
7
7
  import '@alfalab/core-components-picker-button/modern/shared';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-custom-picker-button",
3
- "version": "2.0.15",
3
+ "version": "2.1.1",
4
4
  "description": "Custom picker button component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,10 +15,10 @@
15
15
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-picker-button": "^11.1.10",
19
- "@alfalab/core-components-custom-button": "^3.3.6",
18
+ "@alfalab/core-components-picker-button": "^11.3.0",
19
+ "@alfalab/core-components-custom-button": "^3.3.8",
20
20
  "@alfalab/core-components-mq": "^4.2.0",
21
- "@alfalab/core-components-select": "^15.2.3",
21
+ "@alfalab/core-components-select": "^16.0.0",
22
22
  "classnames": "^2.3.1",
23
23
  "tslib": "^2.4.0"
24
24
  }
@@ -1,19 +1,17 @@
1
1
  import React, { forwardRef } from 'react';
2
2
 
3
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
4
- import { CustomButtonProps } from '@alfalab/core-components-custom-button';
5
3
  import { useMatchMedia } from '@alfalab/core-components-mq';
6
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
7
- import type { PickerButtonDesktopProps } from '@alfalab/core-components-picker-button/desktop';
8
- import type { AdditionalMobileProps } from '@alfalab/core-components-select/shared';
4
+ import type {
5
+ AdditionalMobileProps,
6
+ BottomSheetSelectMobileProps,
7
+ } from '@alfalab/core-components-select/shared';
9
8
 
10
9
  import { CustomPickerButtonDesktop, CustomPickerButtonDesktopProps } from './Component.desktop';
11
10
  import { CustomPickerButtonMobile } from './Component.mobile';
12
11
 
13
- export type PickerButtonMatchMedia = 'desktop' | 'mobile';
14
-
15
12
  export type CustomPickerButtonResponsiveProps = CustomPickerButtonDesktopProps &
16
- AdditionalMobileProps & {
13
+ AdditionalMobileProps &
14
+ BottomSheetSelectMobileProps & {
17
15
  /**
18
16
  * Контрольная точка, с нее начинается desktop версия
19
17
  * @default 1024
@@ -1 +1 @@
1
- export { CustomPickerButtonDesktop, CustomPickerButtonDesktopProps } from './Component.desktop';
1
+ export { CustomPickerButtonDesktop, CustomPickerButtonDesktopProps } from '../Component.desktop';
@@ -0,0 +1,3 @@
1
+ {
2
+ "module": "../esm/desktop/index.js"
3
+ }
@@ -1 +1 @@
1
- export { CustomPickerButtonMobile, CustomPickerButtonMobileProps } from './Component.mobile';
1
+ export { CustomPickerButtonMobile, CustomPickerButtonMobileProps } from '../Component.mobile';