@alfalab/core-components 48.21.0-beta.6 → 48.21.0-beta.7

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 (637) hide show
  1. package/calendar/Component.responsive.js +1 -1
  2. package/calendar/{calendarMonthOnlyView-76b66eef.js → calendarMonthOnlyView-a5bcfc2c.js} +9 -23
  3. package/calendar/components/calendar-mobile/Component.js +1 -1
  4. package/calendar/components/calendar-mobile/calendarMonthOnlyView.js +1 -2
  5. package/calendar/components/calendar-mobile/index.d.ts +1 -1
  6. package/calendar/components/calendar-mobile/index.js +1 -1
  7. package/calendar/cssm/Component.responsive.js +1 -1
  8. package/calendar/cssm/components/calendar-mobile/calendarMonthOnlyView.js +9 -23
  9. package/calendar/cssm/typings.d.ts +1 -6
  10. package/calendar/esm/Component.responsive.js +2 -2
  11. package/calendar/esm/{calendarMonthOnlyView-8575391d.js → calendarMonthOnlyView-5140c059.js} +10 -22
  12. package/calendar/esm/components/calendar-mobile/Component.js +1 -1
  13. package/calendar/esm/components/calendar-mobile/calendarMonthOnlyView.js +2 -2
  14. package/calendar/esm/components/calendar-mobile/index.d.ts +1 -1
  15. package/calendar/esm/components/calendar-mobile/index.js +1 -1
  16. package/calendar/esm/index.js +1 -1
  17. package/calendar/esm/mobile/index.js +1 -1
  18. package/calendar/esm/typings.d.ts +1 -6
  19. package/calendar/mobile/index.js +1 -1
  20. package/calendar/modern/Component.responsive.js +2 -2
  21. package/calendar/modern/{calendarMonthOnlyView-96281715.js → calendarMonthOnlyView-5e2d1063.js} +14 -27
  22. package/calendar/modern/components/calendar-mobile/Component.js +1 -1
  23. package/calendar/modern/components/calendar-mobile/calendarMonthOnlyView.js +2 -2
  24. package/calendar/modern/components/calendar-mobile/index.d.ts +1 -1
  25. package/calendar/modern/components/calendar-mobile/index.js +1 -1
  26. package/calendar/modern/index.js +1 -1
  27. package/calendar/modern/mobile/index.js +1 -1
  28. package/calendar/modern/typings.d.ts +1 -6
  29. package/calendar/moderncssm/Component.responsive.js +1 -1
  30. package/calendar/moderncssm/components/calendar-mobile/calendarMonthOnlyView.js +14 -27
  31. package/calendar/moderncssm/typings.d.ts +1 -6
  32. package/calendar/typings.d.ts +1 -6
  33. package/calendar-range/esm/Component.js +1 -1
  34. package/calendar-range/esm/index.js +1 -1
  35. package/calendar-range/esm/views/popover.js +1 -1
  36. package/calendar-range/esm/views/static.js +1 -1
  37. package/calendar-range/modern/Component.js +1 -1
  38. package/calendar-range/modern/index.js +1 -1
  39. package/calendar-range/modern/views/popover.js +1 -1
  40. package/calendar-range/modern/views/static.js +1 -1
  41. package/calendar-range/views/popover.js +1 -1
  42. package/calendar-range/views/static.js +1 -1
  43. package/confirmation/components/screens/initial/component.js +1 -1
  44. package/confirmation/components/screens/initial/countdown-section.js +1 -1
  45. package/confirmation/esm/component.responsive.js +1 -1
  46. package/confirmation/esm/components/base-confirmation/component.js +1 -1
  47. package/confirmation/esm/components/base-confirmation/index.js +1 -1
  48. package/confirmation/esm/components/index.js +1 -1
  49. package/confirmation/esm/components/screens/index.js +1 -1
  50. package/confirmation/esm/components/screens/initial/component.js +1 -1
  51. package/confirmation/esm/components/screens/initial/countdown-section.js +1 -1
  52. package/confirmation/esm/components/screens/initial/index.js +1 -1
  53. package/confirmation/esm/desktop/component.desktop.js +1 -1
  54. package/confirmation/esm/desktop/index.js +1 -1
  55. package/confirmation/esm/index.js +1 -1
  56. package/confirmation/esm/mobile/component.mobile.js +1 -1
  57. package/confirmation/esm/mobile/index.js +1 -1
  58. package/confirmation/esm/shared/index.js +1 -1
  59. package/confirmation/modern/component.responsive.js +1 -1
  60. package/confirmation/modern/components/base-confirmation/component.js +1 -1
  61. package/confirmation/modern/components/base-confirmation/index.js +1 -1
  62. package/confirmation/modern/components/index.js +1 -1
  63. package/confirmation/modern/components/screens/index.js +1 -1
  64. package/confirmation/modern/components/screens/initial/component.js +1 -1
  65. package/confirmation/modern/components/screens/initial/countdown-section.js +1 -1
  66. package/confirmation/modern/components/screens/initial/index.js +1 -1
  67. package/confirmation/modern/desktop/component.desktop.js +1 -1
  68. package/confirmation/modern/desktop/index.js +1 -1
  69. package/confirmation/modern/index.js +1 -1
  70. package/confirmation/modern/mobile/component.mobile.js +1 -1
  71. package/confirmation/modern/mobile/index.js +1 -1
  72. package/confirmation/modern/shared/index.js +1 -1
  73. package/gallery/components/image-viewer/component.js +1 -1
  74. package/gallery/components/image-viewer/hooks.js +1 -1
  75. package/gallery/components/image-viewer/single.js +1 -1
  76. package/gallery/components/image-viewer/slide.js +1 -1
  77. package/gallery/esm/Component.js +1 -1
  78. package/gallery/esm/components/image-viewer/component.js +1 -1
  79. package/gallery/esm/components/image-viewer/hooks.js +1 -1
  80. package/gallery/esm/components/image-viewer/index.js +1 -1
  81. package/gallery/esm/components/image-viewer/single.js +1 -1
  82. package/gallery/esm/components/image-viewer/slide.js +1 -1
  83. package/gallery/esm/components/index.js +1 -1
  84. package/gallery/esm/index.js +1 -1
  85. package/gallery/modern/Component.js +1 -1
  86. package/gallery/modern/components/image-viewer/component.js +1 -1
  87. package/gallery/modern/components/image-viewer/hooks.js +1 -1
  88. package/gallery/modern/components/image-viewer/index.js +1 -1
  89. package/gallery/modern/components/image-viewer/single.js +1 -1
  90. package/gallery/modern/components/image-viewer/slide.js +1 -1
  91. package/gallery/modern/components/index.js +1 -1
  92. package/gallery/modern/index.js +1 -1
  93. package/international-phone-input/components/base-international-phone-input/Component.js +1 -1
  94. package/international-phone-input/components/country-select/Component.js +11 -5
  95. package/international-phone-input/components/country-select/index.css +7 -3
  96. package/international-phone-input/components/select-field/component.js +2 -11
  97. package/international-phone-input/consts.d.ts +12 -1
  98. package/international-phone-input/consts.js +12 -0
  99. package/international-phone-input/cssm/components/base-international-phone-input/Component.js +1 -1
  100. package/international-phone-input/cssm/components/country-select/Component.js +10 -4
  101. package/international-phone-input/cssm/components/country-select/index.module.css +7 -3
  102. package/international-phone-input/cssm/components/select-field/component.js +2 -11
  103. package/international-phone-input/cssm/consts.d.ts +12 -1
  104. package/international-phone-input/cssm/consts.js +12 -0
  105. package/international-phone-input/cssm/typings-d515b24c.d.ts +1 -5
  106. package/international-phone-input/esm/Component.responsive.js +1 -1
  107. package/international-phone-input/esm/components/base-international-phone-input/Component.js +2 -2
  108. package/international-phone-input/esm/components/base-international-phone-input/index.js +1 -1
  109. package/international-phone-input/esm/components/country-select/Component.js +10 -6
  110. package/international-phone-input/esm/components/country-select/index.css +7 -3
  111. package/international-phone-input/esm/components/country-select/index.js +2 -1
  112. package/international-phone-input/esm/components/select-field/component.js +1 -10
  113. package/international-phone-input/esm/components/select-field/index.js +1 -0
  114. package/international-phone-input/esm/consts.d.ts +12 -1
  115. package/international-phone-input/esm/consts.js +12 -1
  116. package/international-phone-input/esm/desktop/Component.desktop.js +1 -1
  117. package/international-phone-input/esm/desktop/index.js +1 -1
  118. package/international-phone-input/esm/index.js +1 -1
  119. package/international-phone-input/esm/mobile/Component.mobile.js +1 -1
  120. package/international-phone-input/esm/mobile/index.js +1 -1
  121. package/international-phone-input/esm/typings-d515b24c.d.ts +1 -5
  122. package/international-phone-input/modern/Component.responsive.js +1 -1
  123. package/international-phone-input/modern/components/base-international-phone-input/Component.js +2 -2
  124. package/international-phone-input/modern/components/base-international-phone-input/index.js +1 -1
  125. package/international-phone-input/modern/components/country-select/Component.js +10 -6
  126. package/international-phone-input/modern/components/country-select/index.css +7 -3
  127. package/international-phone-input/modern/components/country-select/index.js +2 -1
  128. package/international-phone-input/modern/components/select-field/component.js +1 -10
  129. package/international-phone-input/modern/components/select-field/index.js +1 -0
  130. package/international-phone-input/modern/consts.d.ts +12 -1
  131. package/international-phone-input/modern/consts.js +12 -1
  132. package/international-phone-input/modern/desktop/Component.desktop.js +1 -1
  133. package/international-phone-input/modern/desktop/index.js +1 -1
  134. package/international-phone-input/modern/index.js +1 -1
  135. package/international-phone-input/modern/mobile/Component.mobile.js +1 -1
  136. package/international-phone-input/modern/mobile/index.js +1 -1
  137. package/international-phone-input/modern/typings-d515b24c.d.ts +1 -5
  138. package/international-phone-input/moderncssm/Component.responsive.js +1 -1
  139. package/international-phone-input/moderncssm/components/base-international-phone-input/Component.js +2 -2
  140. package/international-phone-input/moderncssm/components/base-international-phone-input/index.js +1 -1
  141. package/international-phone-input/moderncssm/components/country-select/Component.js +9 -5
  142. package/international-phone-input/moderncssm/components/country-select/index.js +2 -1
  143. package/international-phone-input/moderncssm/components/country-select/index.module.css +5 -1
  144. package/international-phone-input/moderncssm/components/select-field/component.js +1 -10
  145. package/international-phone-input/moderncssm/components/select-field/index.js +1 -0
  146. package/international-phone-input/moderncssm/consts.d.ts +12 -1
  147. package/international-phone-input/moderncssm/consts.js +12 -1
  148. package/international-phone-input/moderncssm/desktop/Component.desktop.js +1 -1
  149. package/international-phone-input/moderncssm/desktop/index.js +1 -1
  150. package/international-phone-input/moderncssm/index.js +1 -1
  151. package/international-phone-input/moderncssm/mobile/Component.mobile.js +1 -1
  152. package/international-phone-input/moderncssm/mobile/index.js +1 -1
  153. package/international-phone-input/moderncssm/typings-d515b24c.d.ts +1 -5
  154. package/international-phone-input/typings-d515b24c.d.ts +1 -5
  155. package/list/Component.js +1 -1
  156. package/list/components/item/Component.js +1 -1
  157. package/list/components/item/index.d.ts +1 -1
  158. package/list/components/item/index.js +1 -1
  159. package/list/esm/Component.js +1 -1
  160. package/list/esm/components/item/Component.js +1 -1
  161. package/list/esm/components/item/index.d.ts +1 -1
  162. package/list/esm/components/item/index.js +1 -1
  163. package/list/esm/index.js +1 -1
  164. package/list/index.js +1 -1
  165. package/list/modern/Component.js +1 -1
  166. package/list/modern/components/item/Component.js +1 -1
  167. package/list/modern/components/item/index.d.ts +1 -1
  168. package/list/modern/components/item/index.js +1 -1
  169. package/list/modern/index.js +1 -1
  170. package/modal/components/controls/Component.js +1 -1
  171. package/modal/components/footer/Component.js +1 -1
  172. package/modal/esm/Component.responsive.js +1 -1
  173. package/modal/esm/components/controls/Component.js +1 -1
  174. package/modal/esm/components/controls/index.js +1 -1
  175. package/modal/esm/components/footer/Component.js +1 -1
  176. package/modal/esm/desktop/Component.desktop.js +1 -1
  177. package/modal/esm/desktop/index.js +1 -1
  178. package/modal/esm/index.js +1 -1
  179. package/modal/esm/mobile/Component.mobile.js +1 -1
  180. package/modal/esm/mobile/index.js +1 -1
  181. package/modal/modern/Component.responsive.js +1 -1
  182. package/modal/modern/components/controls/Component.js +1 -1
  183. package/modal/modern/components/controls/index.js +1 -1
  184. package/modal/modern/components/footer/Component.js +1 -1
  185. package/modal/modern/desktop/Component.desktop.js +1 -1
  186. package/modal/modern/desktop/index.js +1 -1
  187. package/modal/modern/index.js +1 -1
  188. package/modal/modern/mobile/Component.mobile.js +1 -1
  189. package/modal/modern/mobile/index.js +1 -1
  190. package/navigation-bar-private/components/closer/Component.d.ts +0 -5
  191. package/navigation-bar-private/components/closer/Component.js +3 -15
  192. package/navigation-bar-private/components/closer/index.css +18 -3
  193. package/navigation-bar-private/cssm/components/closer/Component.d.ts +0 -5
  194. package/navigation-bar-private/cssm/components/closer/Component.js +2 -12
  195. package/navigation-bar-private/cssm/components/closer/index.module.css +18 -3
  196. package/navigation-bar-private/esm/components/closer/Component.d.ts +0 -5
  197. package/navigation-bar-private/esm/components/closer/Component.js +3 -15
  198. package/navigation-bar-private/esm/components/closer/index.css +18 -3
  199. package/navigation-bar-private/modern/components/closer/Component.d.ts +0 -5
  200. package/navigation-bar-private/modern/components/closer/Component.js +3 -15
  201. package/navigation-bar-private/modern/components/closer/index.css +18 -3
  202. package/navigation-bar-private/moderncssm/Component.js +0 -2
  203. package/navigation-bar-private/moderncssm/components/closer/Component.d.ts +0 -5
  204. package/navigation-bar-private/moderncssm/components/closer/Component.js +2 -10
  205. package/navigation-bar-private/moderncssm/components/closer/index.js +0 -2
  206. package/navigation-bar-private/moderncssm/components/closer/index.module.css +14 -3
  207. package/navigation-bar-private/moderncssm/index.js +0 -2
  208. package/navigation-bar-private/moderncssm/shared/index.js +0 -2
  209. package/package.json +1 -1
  210. package/picker-button/cssm/typings-d515b24c.d.ts +1 -5
  211. package/picker-button/esm/typings-d515b24c.d.ts +1 -5
  212. package/picker-button/modern/typings-d515b24c.d.ts +1 -5
  213. package/picker-button/moderncssm/typings-d515b24c.d.ts +1 -5
  214. package/picker-button/typings-d515b24c.d.ts +1 -5
  215. package/pure-cell/component-fb05ccb7.d.ts +5 -5
  216. package/pure-cell/component.js +1 -1
  217. package/pure-cell/components/addon/component.js +1 -1
  218. package/pure-cell/components/addon/index.d.ts +1 -1
  219. package/pure-cell/components/addon/index.js +1 -1
  220. package/pure-cell/components/amount/component.js +1 -1
  221. package/pure-cell/components/amount/index.d.ts +1 -1
  222. package/pure-cell/components/amount/index.js +1 -1
  223. package/pure-cell/components/amount-title/component.js +1 -1
  224. package/pure-cell/components/amount-title/index.d.ts +1 -1
  225. package/pure-cell/components/amount-title/index.js +1 -1
  226. package/pure-cell/components/category/component.js +1 -1
  227. package/pure-cell/components/category/index.d.ts +1 -1
  228. package/pure-cell/components/category/index.js +1 -1
  229. package/pure-cell/components/content/component.js +1 -1
  230. package/pure-cell/components/content/index.d.ts +1 -1
  231. package/pure-cell/components/content/index.js +1 -1
  232. package/pure-cell/components/footer/component.js +1 -1
  233. package/pure-cell/components/footer/index.d.ts +1 -1
  234. package/pure-cell/components/footer/index.js +1 -1
  235. package/pure-cell/components/footer-button/component.js +1 -1
  236. package/pure-cell/components/footer-button/index.d.ts +1 -1
  237. package/pure-cell/components/footer-button/index.js +1 -1
  238. package/pure-cell/components/footer-text/component.js +1 -1
  239. package/pure-cell/components/footer-text/index.d.ts +1 -1
  240. package/pure-cell/components/footer-text/index.js +1 -1
  241. package/pure-cell/components/graphics/component.js +1 -1
  242. package/pure-cell/components/graphics/index.d.ts +1 -1
  243. package/pure-cell/components/graphics/index.js +1 -1
  244. package/pure-cell/components/main/component.js +1 -1
  245. package/pure-cell/components/main/index.d.ts +1 -1
  246. package/pure-cell/components/main/index.js +1 -1
  247. package/pure-cell/components/text/component.js +1 -1
  248. package/pure-cell/components/text/index.d.ts +1 -1
  249. package/pure-cell/components/text/index.js +1 -1
  250. package/pure-cell/esm/component.js +1 -1
  251. package/pure-cell/esm/components/addon/component.js +1 -1
  252. package/pure-cell/esm/components/addon/index.d.ts +1 -1
  253. package/pure-cell/esm/components/addon/index.js +1 -1
  254. package/pure-cell/esm/components/amount/component.js +1 -1
  255. package/pure-cell/esm/components/amount/index.d.ts +1 -1
  256. package/pure-cell/esm/components/amount/index.js +1 -1
  257. package/pure-cell/esm/components/amount-title/component.js +1 -1
  258. package/pure-cell/esm/components/amount-title/index.d.ts +1 -1
  259. package/pure-cell/esm/components/amount-title/index.js +1 -1
  260. package/pure-cell/esm/components/category/component.js +1 -1
  261. package/pure-cell/esm/components/category/index.d.ts +1 -1
  262. package/pure-cell/esm/components/category/index.js +1 -1
  263. package/pure-cell/esm/components/content/component.js +1 -1
  264. package/pure-cell/esm/components/content/index.d.ts +1 -1
  265. package/pure-cell/esm/components/content/index.js +1 -1
  266. package/pure-cell/esm/components/footer/component.js +1 -1
  267. package/pure-cell/esm/components/footer/index.d.ts +1 -1
  268. package/pure-cell/esm/components/footer/index.js +1 -1
  269. package/pure-cell/esm/components/footer-button/component.js +1 -1
  270. package/pure-cell/esm/components/footer-button/index.d.ts +1 -1
  271. package/pure-cell/esm/components/footer-button/index.js +1 -1
  272. package/pure-cell/esm/components/footer-text/component.js +1 -1
  273. package/pure-cell/esm/components/footer-text/index.d.ts +1 -1
  274. package/pure-cell/esm/components/footer-text/index.js +1 -1
  275. package/pure-cell/esm/components/graphics/component.js +1 -1
  276. package/pure-cell/esm/components/graphics/index.d.ts +1 -1
  277. package/pure-cell/esm/components/graphics/index.js +1 -1
  278. package/pure-cell/esm/components/main/component.js +1 -1
  279. package/pure-cell/esm/components/main/index.d.ts +1 -1
  280. package/pure-cell/esm/components/main/index.js +1 -1
  281. package/pure-cell/esm/components/text/component.js +1 -1
  282. package/pure-cell/esm/components/text/index.d.ts +1 -1
  283. package/pure-cell/esm/components/text/index.js +1 -1
  284. package/pure-cell/esm/index.js +1 -1
  285. package/pure-cell/index.js +1 -1
  286. package/pure-cell/modern/component.js +1 -1
  287. package/pure-cell/modern/components/addon/component.js +1 -1
  288. package/pure-cell/modern/components/addon/index.d.ts +1 -1
  289. package/pure-cell/modern/components/addon/index.js +1 -1
  290. package/pure-cell/modern/components/amount/component.js +1 -1
  291. package/pure-cell/modern/components/amount/index.d.ts +1 -1
  292. package/pure-cell/modern/components/amount/index.js +1 -1
  293. package/pure-cell/modern/components/amount-title/component.js +1 -1
  294. package/pure-cell/modern/components/amount-title/index.d.ts +1 -1
  295. package/pure-cell/modern/components/amount-title/index.js +1 -1
  296. package/pure-cell/modern/components/category/component.js +1 -1
  297. package/pure-cell/modern/components/category/index.d.ts +1 -1
  298. package/pure-cell/modern/components/category/index.js +1 -1
  299. package/pure-cell/modern/components/content/component.js +1 -1
  300. package/pure-cell/modern/components/content/index.d.ts +1 -1
  301. package/pure-cell/modern/components/content/index.js +1 -1
  302. package/pure-cell/modern/components/footer/component.js +1 -1
  303. package/pure-cell/modern/components/footer/index.d.ts +1 -1
  304. package/pure-cell/modern/components/footer/index.js +1 -1
  305. package/pure-cell/modern/components/footer-button/component.js +1 -1
  306. package/pure-cell/modern/components/footer-button/index.d.ts +1 -1
  307. package/pure-cell/modern/components/footer-button/index.js +1 -1
  308. package/pure-cell/modern/components/footer-text/component.js +1 -1
  309. package/pure-cell/modern/components/footer-text/index.d.ts +1 -1
  310. package/pure-cell/modern/components/footer-text/index.js +1 -1
  311. package/pure-cell/modern/components/graphics/component.js +1 -1
  312. package/pure-cell/modern/components/graphics/index.d.ts +1 -1
  313. package/pure-cell/modern/components/graphics/index.js +1 -1
  314. package/pure-cell/modern/components/main/component.js +1 -1
  315. package/pure-cell/modern/components/main/index.d.ts +1 -1
  316. package/pure-cell/modern/components/main/index.js +1 -1
  317. package/pure-cell/modern/components/text/component.js +1 -1
  318. package/pure-cell/modern/components/text/index.d.ts +1 -1
  319. package/pure-cell/modern/components/text/index.js +1 -1
  320. package/pure-cell/modern/index.js +1 -1
  321. package/select/components/base-option/Component.js +5 -4
  322. package/select/components/base-option/index.css +7 -2
  323. package/select/components/base-select/Component.js +4 -3
  324. package/select/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
  325. package/select/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
  326. package/select/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
  327. package/select/components/base-select/index.css +7 -2
  328. package/select/components/search/Component.js +1 -1
  329. package/select/components/search/index.css +6 -1
  330. package/select/cssm/components/base-option/Component.js +4 -3
  331. package/select/cssm/components/base-option/index.module.css +7 -2
  332. package/select/cssm/components/base-select/Component.js +2 -1
  333. package/select/cssm/components/base-select/index.module.css +7 -2
  334. package/select/cssm/components/search/index.module.css +6 -1
  335. package/select/{hook-ef45b601.js → cssm/hook-bb149630.js} +3 -3
  336. package/select/cssm/mobile/Component.mobile.js +1 -1
  337. package/select/cssm/presets/index.js +1 -1
  338. package/select/cssm/presets/useSelectWithApply/hook.js +1 -1
  339. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  340. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +3 -2
  341. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +5 -2
  342. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css +6 -2
  343. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +2 -0
  344. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +6 -2
  345. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/header/index.module.css +7 -3
  346. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  347. package/select/cssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  348. package/select/cssm/shared/index.js +1 -1
  349. package/select/esm/Component.responsive.js +4 -4
  350. package/select/esm/components/base-option/Component.js +5 -4
  351. package/select/esm/components/base-option/index.css +7 -2
  352. package/select/esm/components/base-option/index.js +1 -0
  353. package/select/esm/components/base-select/Component.js +4 -3
  354. package/select/esm/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
  355. package/select/esm/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
  356. package/select/esm/components/base-select/components/list-mobile/list-mobile.js +1 -1
  357. package/select/esm/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
  358. package/select/esm/components/base-select/index.css +7 -2
  359. package/select/esm/components/base-select/index.js +3 -2
  360. package/select/esm/components/index.js +3 -3
  361. package/select/esm/components/search/Component.js +1 -1
  362. package/select/esm/components/search/index.css +6 -1
  363. package/select/esm/desktop/Component.desktop.js +3 -3
  364. package/select/esm/desktop/index.js +3 -3
  365. package/select/esm/{hook-99851882.js → hook-90470cc5.js} +3 -3
  366. package/select/esm/index.js +4 -4
  367. package/select/esm/{list-popover-desktop-d69b4d3b.js → list-popover-desktop-dd5afbab.js} +1 -1
  368. package/select/esm/mobile/Component.mobile.js +4 -4
  369. package/select/esm/mobile/Component.modal.mobile.js +4 -4
  370. package/select/esm/mobile/index.js +4 -4
  371. package/select/esm/presets/index.js +1 -1
  372. package/select/esm/presets/useSelectWithApply/hook.js +1 -1
  373. package/select/esm/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  374. package/select/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +3 -2
  375. package/select/esm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +5 -3
  376. package/select/esm/presets/useSelectWithApply/options-list-with-apply/footer/index.css +6 -2
  377. package/select/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +2 -0
  378. package/select/esm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +7 -3
  379. package/select/esm/presets/useSelectWithApply/options-list-with-apply/header/index.css +7 -3
  380. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  381. package/select/esm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  382. package/select/esm/shared/index.js +3 -3
  383. package/select/{cssm/hook-928265a3.js → hook-62b57f5c.js} +3 -3
  384. package/select/{list-popover-desktop-9b282f32.js → list-popover-desktop-08c1b71a.js} +1 -1
  385. package/select/mobile/Component.mobile.js +1 -1
  386. package/select/modern/Component.responsive.js +4 -4
  387. package/select/modern/components/base-option/Component.js +4 -3
  388. package/select/modern/components/base-option/index.css +7 -2
  389. package/select/modern/components/base-option/index.js +1 -0
  390. package/select/modern/components/base-select/Component.js +4 -3
  391. package/select/modern/components/base-select/components/list-desktop/list-popover-desktop.js +1 -1
  392. package/select/modern/components/base-select/components/list-mobile/list-bottom-sheet-mobile.js +1 -1
  393. package/select/modern/components/base-select/components/list-mobile/list-mobile.js +1 -1
  394. package/select/modern/components/base-select/components/list-mobile/list-modal-mobile.js +1 -1
  395. package/select/modern/components/base-select/index.css +7 -2
  396. package/select/modern/components/base-select/index.js +3 -2
  397. package/select/modern/components/index.js +3 -3
  398. package/select/modern/components/search/Component.js +1 -1
  399. package/select/modern/components/search/index.css +6 -1
  400. package/select/modern/desktop/Component.desktop.js +3 -3
  401. package/select/modern/desktop/index.js +3 -3
  402. package/select/modern/{hook-3f21c631.js → hook-d837219f.js} +3 -3
  403. package/select/modern/index.js +4 -4
  404. package/select/modern/{list-popover-desktop-e03140fe.js → list-popover-desktop-e615c25f.js} +1 -1
  405. package/select/modern/mobile/Component.mobile.js +4 -4
  406. package/select/modern/mobile/Component.modal.mobile.js +4 -4
  407. package/select/modern/mobile/index.js +4 -4
  408. package/select/modern/presets/index.js +1 -1
  409. package/select/modern/presets/useSelectWithApply/hook.js +1 -1
  410. package/select/modern/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  411. package/select/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +3 -2
  412. package/select/modern/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +5 -3
  413. package/select/modern/presets/useSelectWithApply/options-list-with-apply/footer/index.css +6 -2
  414. package/select/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +2 -0
  415. package/select/modern/presets/useSelectWithApply/options-list-with-apply/header/Component.js +6 -2
  416. package/select/modern/presets/useSelectWithApply/options-list-with-apply/header/index.css +7 -3
  417. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  418. package/select/modern/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  419. package/select/modern/shared/index.js +3 -3
  420. package/select/moderncssm/Component.responsive.js +2 -2
  421. package/select/moderncssm/components/base-option/Component.js +3 -2
  422. package/select/moderncssm/components/base-option/index.js +1 -0
  423. package/select/moderncssm/components/base-option/index.module.css +7 -0
  424. package/select/moderncssm/components/base-select/Component.js +2 -1
  425. package/select/moderncssm/components/base-select/index.js +1 -0
  426. package/select/moderncssm/components/base-select/index.module.css +4 -0
  427. package/select/moderncssm/components/index.js +1 -1
  428. package/select/moderncssm/components/search/index.module.css +3 -0
  429. package/select/moderncssm/desktop/Component.desktop.js +1 -1
  430. package/select/moderncssm/desktop/index.js +1 -1
  431. package/select/moderncssm/{hook-0c8b8277.js → hook-fc2403e7.js} +3 -3
  432. package/select/moderncssm/index.js +2 -2
  433. package/select/moderncssm/mobile/Component.mobile.js +2 -2
  434. package/select/moderncssm/mobile/Component.modal.mobile.js +2 -2
  435. package/select/moderncssm/mobile/index.js +2 -2
  436. package/select/moderncssm/presets/index.js +1 -1
  437. package/select/moderncssm/presets/useSelectWithApply/hook.js +1 -1
  438. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/Component.js +2 -2
  439. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +3 -2
  440. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +4 -2
  441. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/footer/index.module.css +3 -0
  442. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +2 -0
  443. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/header/Component.js +5 -1
  444. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/header/index.module.css +5 -1
  445. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  446. package/select/moderncssm/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  447. package/select/moderncssm/shared/index.js +1 -1
  448. package/select/presets/index.js +1 -1
  449. package/select/presets/useSelectWithApply/hook.js +1 -1
  450. package/select/presets/useSelectWithApply/options-list-with-apply/Component.js +1 -1
  451. package/select/presets/useSelectWithApply/options-list-with-apply/footer/Component.d.ts +3 -2
  452. package/select/presets/useSelectWithApply/options-list-with-apply/footer/Component.js +6 -3
  453. package/select/presets/useSelectWithApply/options-list-with-apply/footer/index.css +6 -2
  454. package/select/presets/useSelectWithApply/options-list-with-apply/header/Component.d.ts +2 -0
  455. package/select/presets/useSelectWithApply/options-list-with-apply/header/Component.js +7 -3
  456. package/select/presets/useSelectWithApply/options-list-with-apply/header/index.css +7 -3
  457. package/select/presets/useSelectWithApply/options-list-with-apply/index.d.ts +1 -1
  458. package/select/presets/useSelectWithApply/options-list-with-apply/index.js +1 -1
  459. package/select/shared/index.js +1 -1
  460. package/side-panel/components/controls/Component.js +1 -1
  461. package/side-panel/components/footer/Component.js +1 -1
  462. package/side-panel/esm/Component.responsive.js +1 -1
  463. package/side-panel/esm/components/controls/Component.js +1 -1
  464. package/side-panel/esm/components/controls/index.js +1 -1
  465. package/side-panel/esm/components/footer/Component.desktop.js +1 -1
  466. package/side-panel/esm/components/footer/Component.js +1 -1
  467. package/side-panel/esm/components/footer/Component.mobile.js +1 -1
  468. package/side-panel/esm/desktop/Component.desktop.js +1 -1
  469. package/side-panel/esm/desktop/index.js +1 -1
  470. package/side-panel/esm/index.js +1 -1
  471. package/side-panel/esm/mobile/Component.mobile.js +1 -1
  472. package/side-panel/esm/mobile/index.js +1 -1
  473. package/side-panel/modern/Component.responsive.js +1 -1
  474. package/side-panel/modern/components/controls/Component.js +1 -1
  475. package/side-panel/modern/components/controls/index.js +1 -1
  476. package/side-panel/modern/components/footer/Component.desktop.js +1 -1
  477. package/side-panel/modern/components/footer/Component.js +1 -1
  478. package/side-panel/modern/components/footer/Component.mobile.js +1 -1
  479. package/side-panel/modern/desktop/Component.desktop.js +1 -1
  480. package/side-panel/modern/desktop/index.js +1 -1
  481. package/side-panel/modern/index.js +1 -1
  482. package/side-panel/modern/mobile/Component.mobile.js +1 -1
  483. package/side-panel/modern/mobile/index.js +1 -1
  484. package/skeleton/Component.js +2 -2
  485. package/skeleton/cssm/Component.js +1 -1
  486. package/skeleton/cssm/index.module.css +0 -2
  487. package/skeleton/esm/Component.js +2 -2
  488. package/skeleton/esm/index.css +0 -2
  489. package/skeleton/index.css +0 -2
  490. package/skeleton/modern/Component.js +2 -2
  491. package/skeleton/modern/index.css +0 -2
  492. package/skeleton/moderncssm/Component.js +1 -1
  493. package/skeleton/moderncssm/index.module.css +0 -6
  494. package/themes/compiled/mobile-dark-bluetint.css +4 -4
  495. package/typography/esm/component.js +2 -2
  496. package/typography/esm/index.js +2 -2
  497. package/typography/esm/text/component.js +1 -1
  498. package/typography/esm/text/index.js +1 -1
  499. package/typography/esm/title/component.js +1 -1
  500. package/typography/esm/title/index.js +2 -2
  501. package/typography/esm/title-mobile/component.js +2 -2
  502. package/typography/esm/title-mobile/index.js +2 -2
  503. package/typography/esm/title-responsive/component.js +2 -2
  504. package/typography/esm/title-responsive/index.js +2 -2
  505. package/typography/modern/component.js +2 -2
  506. package/typography/modern/index.js +2 -2
  507. package/typography/modern/text/component.js +1 -1
  508. package/typography/modern/text/index.js +1 -1
  509. package/typography/modern/title/component.js +1 -1
  510. package/typography/modern/title/index.js +2 -2
  511. package/typography/modern/title-mobile/component.js +2 -2
  512. package/typography/modern/title-mobile/index.js +2 -2
  513. package/typography/modern/title-responsive/component.js +2 -2
  514. package/typography/modern/title-responsive/index.js +2 -2
  515. package/typography/text/component.js +1 -1
  516. package/typography/title/component.js +1 -1
  517. package/typography/title/index.js +1 -1
  518. package/typography/title-mobile/component.js +1 -1
  519. package/universal-date-input/cssm/index-5712fce2.d.ts +0 -5
  520. package/universal-date-input/cssm/index-63dec22f.d.ts +1 -1
  521. package/universal-date-input/cssm/{typings-ebe70d06.d.ts → typings-5684a67d.d.ts} +1 -6
  522. package/universal-date-input/cssm/useCalendar-ebe70d06.d.ts +1 -1
  523. package/universal-date-input/cssm/utils-5712fce2.d.ts +1 -1
  524. package/universal-date-input/esm/index-5712fce2.d.ts +0 -5
  525. package/universal-date-input/esm/index-63dec22f.d.ts +1 -1
  526. package/universal-date-input/esm/{typings-ebe70d06.d.ts → typings-5684a67d.d.ts} +1 -6
  527. package/universal-date-input/esm/useCalendar-ebe70d06.d.ts +1 -1
  528. package/universal-date-input/esm/utils-5712fce2.d.ts +1 -1
  529. package/universal-date-input/index-5712fce2.d.ts +0 -5
  530. package/universal-date-input/index-63dec22f.d.ts +1 -1
  531. package/universal-date-input/modern/index-5712fce2.d.ts +0 -5
  532. package/universal-date-input/modern/index-63dec22f.d.ts +1 -1
  533. package/universal-date-input/modern/{typings-ebe70d06.d.ts → typings-5684a67d.d.ts} +1 -6
  534. package/universal-date-input/modern/useCalendar-ebe70d06.d.ts +1 -1
  535. package/universal-date-input/modern/utils-5712fce2.d.ts +1 -1
  536. package/universal-date-input/moderncssm/index-5712fce2.d.ts +0 -5
  537. package/universal-date-input/moderncssm/index-63dec22f.d.ts +1 -1
  538. package/universal-date-input/moderncssm/{typings-ebe70d06.d.ts → typings-5684a67d.d.ts} +1 -6
  539. package/universal-date-input/moderncssm/useCalendar-ebe70d06.d.ts +1 -1
  540. package/universal-date-input/moderncssm/utils-5712fce2.d.ts +1 -1
  541. package/universal-date-input/typings-5684a67d.d.ts +23 -0
  542. package/universal-date-input/useCalendar-ebe70d06.d.ts +1 -1
  543. package/universal-date-input/utils-5712fce2.d.ts +1 -1
  544. package/universal-modal/components/header/desktop/Component.desktop.js +1 -1
  545. package/universal-modal/components/header/mobile/Component.mobile.js +1 -1
  546. package/universal-modal/cssm/desktop/components/buttons/cross-button/cross-button.module.css +4 -5
  547. package/universal-modal/desktop/components/buttons/cross-button/cross-button.css +4 -5
  548. package/universal-modal/esm/Component.responsive.js +1 -1
  549. package/universal-modal/esm/components/header/desktop/Component.desktop.js +1 -1
  550. package/universal-modal/esm/components/header/index.js +1 -1
  551. package/universal-modal/esm/components/header/mobile/Component.mobile.js +1 -1
  552. package/universal-modal/esm/components/header/responsive/Component.responsive.js +1 -1
  553. package/universal-modal/esm/desktop/Component.desktop.js +1 -1
  554. package/universal-modal/esm/desktop/components/buttons/cross-button/cross-button.css +4 -5
  555. package/universal-modal/esm/desktop/index.js +1 -1
  556. package/universal-modal/esm/index.js +1 -1
  557. package/universal-modal/esm/mobile/Component.mobile.js +1 -1
  558. package/universal-modal/esm/mobile/index.js +1 -1
  559. package/universal-modal/modern/Component.responsive.js +1 -1
  560. package/universal-modal/modern/components/header/desktop/Component.desktop.js +1 -1
  561. package/universal-modal/modern/components/header/index.js +1 -1
  562. package/universal-modal/modern/components/header/mobile/Component.mobile.js +1 -1
  563. package/universal-modal/modern/components/header/responsive/Component.responsive.js +1 -1
  564. package/universal-modal/modern/desktop/Component.desktop.js +1 -1
  565. package/universal-modal/modern/desktop/components/buttons/cross-button/cross-button.css +4 -5
  566. package/universal-modal/modern/desktop/index.js +1 -1
  567. package/universal-modal/modern/index.js +1 -1
  568. package/universal-modal/modern/mobile/Component.mobile.js +1 -1
  569. package/universal-modal/modern/mobile/index.js +1 -1
  570. package/universal-modal/moderncssm/desktop/components/buttons/cross-button/cross-button.module.css +2 -4
  571. package/navigation-bar-private/components/closer/default.css +0 -50
  572. package/navigation-bar-private/components/closer/inverted.css +0 -51
  573. package/navigation-bar-private/cssm/components/closer/default.module.css +0 -49
  574. package/navigation-bar-private/cssm/components/closer/inverted.module.css +0 -50
  575. package/navigation-bar-private/esm/components/closer/default.css +0 -50
  576. package/navigation-bar-private/esm/components/closer/inverted.css +0 -51
  577. package/navigation-bar-private/modern/components/closer/default.css +0 -50
  578. package/navigation-bar-private/modern/components/closer/inverted.css +0 -51
  579. package/navigation-bar-private/moderncssm/components/closer/default.module.css +0 -18
  580. package/navigation-bar-private/moderncssm/components/closer/inverted.module.css +0 -20
  581. package/universal-date-input/typings-ebe70d06.d.ts +0 -28
  582. /package/calendar/{calendarMonthOnlyView-76b66eef.d.ts → calendarMonthOnlyView-a5bcfc2c.d.ts} +0 -0
  583. /package/calendar/esm/{calendarMonthOnlyView-8575391d.d.ts → calendarMonthOnlyView-5140c059.d.ts} +0 -0
  584. /package/calendar/modern/{calendarMonthOnlyView-96281715.d.ts → calendarMonthOnlyView-5e2d1063.d.ts} +0 -0
  585. /package/calendar-range/esm/{index.module-9812f07f.js → index.module-1425aba7.js} +0 -0
  586. /package/calendar-range/{index.module-d8573280.js → index.module-8dc9cad2.js} +0 -0
  587. /package/calendar-range/modern/{index.module-85078057.js → index.module-b54b4802.js} +0 -0
  588. /package/confirmation/{countdown-section-dd025f3e.d.ts → countdown-section-b41e29b5.d.ts} +0 -0
  589. /package/confirmation/{countdown-section-dd025f3e.js → countdown-section-b41e29b5.js} +0 -0
  590. /package/confirmation/esm/{countdown-section-2c71fa7c.d.ts → countdown-section-c682b9b2.d.ts} +0 -0
  591. /package/confirmation/esm/{countdown-section-2c71fa7c.js → countdown-section-c682b9b2.js} +0 -0
  592. /package/confirmation/modern/{countdown-section-20dcb204.d.ts → countdown-section-a36d9e1d.d.ts} +0 -0
  593. /package/confirmation/modern/{countdown-section-20dcb204.js → countdown-section-a36d9e1d.js} +0 -0
  594. /package/gallery/esm/{hooks-3c0218fd.d.ts → hooks-9297a156.d.ts} +0 -0
  595. /package/gallery/esm/{hooks-3c0218fd.js → hooks-9297a156.js} +0 -0
  596. /package/gallery/{hooks-76002eed.d.ts → hooks-63939a41.d.ts} +0 -0
  597. /package/gallery/{hooks-76002eed.js → hooks-63939a41.js} +0 -0
  598. /package/gallery/modern/{hooks-53f26eb0.d.ts → hooks-4237cffb.d.ts} +0 -0
  599. /package/gallery/modern/{hooks-53f26eb0.js → hooks-4237cffb.js} +0 -0
  600. /package/list/{Component-8a46cf45.d.ts → Component-c91392a4.d.ts} +0 -0
  601. /package/list/{Component-8a46cf45.js → Component-c91392a4.js} +0 -0
  602. /package/list/esm/{Component-ae9327ce.d.ts → Component-95e47678.d.ts} +0 -0
  603. /package/list/esm/{Component-ae9327ce.js → Component-95e47678.js} +0 -0
  604. /package/list/modern/{Component-c7086493.d.ts → Component-c4d321ef.d.ts} +0 -0
  605. /package/list/modern/{Component-c7086493.js → Component-c4d321ef.js} +0 -0
  606. /package/modal/esm/{layout.module-284050a3.js → layout.module-88c350fe.js} +0 -0
  607. /package/modal/{layout.module-7e07d8c8.js → layout.module-191d7eff.js} +0 -0
  608. /package/modal/modern/{layout.module-f996b1f4.js → layout.module-9df0f639.js} +0 -0
  609. /package/pure-cell/{component-333042c1.d.ts → component-b6a27d0b.d.ts} +0 -0
  610. /package/pure-cell/{component-333042c1.js → component-b6a27d0b.js} +0 -0
  611. /package/pure-cell/esm/{component-69ecb66e.d.ts → component-1327917f.d.ts} +0 -0
  612. /package/pure-cell/esm/{component-69ecb66e.js → component-1327917f.js} +0 -0
  613. /package/pure-cell/modern/{component-5ed1dd37.d.ts → component-1c682f9d.d.ts} +0 -0
  614. /package/pure-cell/modern/{component-5ed1dd37.js → component-1c682f9d.js} +0 -0
  615. /package/select/cssm/{hook-928265a3.d.ts → hook-bb149630.d.ts} +0 -0
  616. /package/select/esm/{hook-99851882.d.ts → hook-90470cc5.d.ts} +0 -0
  617. /package/select/esm/{list-popover-desktop-d69b4d3b.d.ts → list-popover-desktop-dd5afbab.d.ts} +0 -0
  618. /package/select/esm/{mobile.module-53bb5743.js → mobile.module-bed8012e.js} +0 -0
  619. /package/select/{hook-ef45b601.d.ts → hook-62b57f5c.d.ts} +0 -0
  620. /package/select/{list-popover-desktop-9b282f32.d.ts → list-popover-desktop-08c1b71a.d.ts} +0 -0
  621. /package/select/{mobile.module-29d7f3db.js → mobile.module-3a578806.js} +0 -0
  622. /package/select/modern/{hook-3f21c631.d.ts → hook-d837219f.d.ts} +0 -0
  623. /package/select/modern/{list-popover-desktop-e03140fe.d.ts → list-popover-desktop-e615c25f.d.ts} +0 -0
  624. /package/select/modern/{mobile.module-26de034b.js → mobile.module-aeca1625.js} +0 -0
  625. /package/select/moderncssm/{hook-0c8b8277.d.ts → hook-fc2403e7.d.ts} +0 -0
  626. /package/side-panel/esm/{layout.module-9f5195fe.js → layout.module-59d8fe29.js} +0 -0
  627. /package/side-panel/{layout.module-2d71b862.js → layout.module-8fe6bb9a.js} +0 -0
  628. /package/side-panel/modern/{layout.module-43ff826c.js → layout.module-4bec6b36.js} +0 -0
  629. /package/typography/{colors.module-04be230e.js → colors.module-a72fdfab.js} +0 -0
  630. /package/typography/{common.module-ccbfde56.js → common.module-536693bd.js} +0 -0
  631. /package/typography/esm/{colors.module-955617dc.js → colors.module-3c025306.js} +0 -0
  632. /package/typography/esm/{common.module-b2640559.js → common.module-94979543.js} +0 -0
  633. /package/typography/modern/{colors.module-4014a95b.js → colors.module-28b61493.js} +0 -0
  634. /package/typography/modern/{common.module-b972d968.js → common.module-f77c1a26.js} +0 -0
  635. /package/universal-modal/esm/{index.module-a7ff1816.js → index.module-1246dc84.js} +0 -0
  636. /package/universal-modal/{index.module-7ad5a0ef.js → index.module-8b898c3b.js} +0 -0
  637. /package/universal-modal/modern/{index.module-c46261c1.js → index.module-a2ae370a.js} +0 -0
@@ -13,9 +13,9 @@ import '../utils/index.js';
13
13
  import '../consts.js';
14
14
  import '../data/country-data.js';
15
15
  import '../components/country-select/Component.js';
16
+ import 'classnames';
16
17
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
17
18
  import '../components/flag-icon/component.js';
18
- import 'classnames';
19
19
  import '../components/flag-icon/flagSprite.js';
20
20
  import '../components/select-field/component.js';
21
21
  import '@alfalab/hooks';
@@ -14,9 +14,9 @@ import '../utils/index.js';
14
14
  import '../consts.js';
15
15
  import '../data/country-data.js';
16
16
  import '../components/country-select/Component.js';
17
+ import 'classnames';
17
18
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
18
19
  import '../components/flag-icon/component.js';
19
- import 'classnames';
20
20
  import '../components/flag-icon/flagSprite.js';
21
21
  import '../components/select-field/component.js';
22
22
  import '@alfalab/hooks';
@@ -16,9 +16,9 @@ import '../../shared/esm';
16
16
  import './utils/index.js';
17
17
  import './consts.js';
18
18
  import './components/country-select/Component.js';
19
+ import 'classnames';
19
20
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
20
21
  import './components/flag-icon/component.js';
21
- import 'classnames';
22
22
  import './components/flag-icon/flagSprite.js';
23
23
  import './components/select-field/component.js';
24
24
  import '@alfalab/hooks';
@@ -13,9 +13,9 @@ import '../utils/index.js';
13
13
  import '../consts.js';
14
14
  import '../data/country-data.js';
15
15
  import '../components/country-select/Component.js';
16
+ import 'classnames';
16
17
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
17
18
  import '../components/flag-icon/component.js';
18
- import 'classnames';
19
19
  import '../components/flag-icon/flagSprite.js';
20
20
  import '../components/select-field/component.js';
21
21
  import '@alfalab/hooks';
@@ -14,9 +14,9 @@ import '../utils/index.js';
14
14
  import '../consts.js';
15
15
  import '../data/country-data.js';
16
16
  import '../components/country-select/Component.js';
17
+ import 'classnames';
17
18
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
18
19
  import '../components/flag-icon/component.js';
19
- import 'classnames';
20
20
  import '../components/flag-icon/flagSprite.js';
21
21
  import '../components/select-field/component.js';
22
22
  import '@alfalab/hooks';
@@ -5,8 +5,8 @@ import { HTMLAttributes, ReactElement, ReactNode, RefObject, ButtonHTMLAttribute
5
5
  import { HandledEvents } from "react-swipeable/es/types";
6
6
  import { TransitionProps } from "react-transition-group/Transition";
7
7
  import { BaseModalProps, BaseModalContext } from "./index-11f20b2e";
8
- import { IconButtonProps, BaseFormControlProps, BackdropProps } from "./index-ebda875c";
9
8
  import { BackgroundColorType } from "./index-464d40a4";
9
+ import { BaseFormControlProps, BackdropProps } from "./index-ebda875c";
10
10
  import { ContentProps } from "./typings-4b7234ef";
11
11
  import { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
12
12
  import { CSSTransitionProps } from "react-transition-group/CSSTransition";
@@ -60,10 +60,6 @@ interface CloserProps extends ButtonHTMLAttributes<HTMLButtonElement> {
60
60
  * Иконка
61
61
  */
62
62
  icon?: ElementType;
63
- /**
64
- * Набор цветов для компонента
65
- */
66
- colors?: IconButtonProps["colors"];
67
63
  /**
68
64
  * Идентификатор для систем автоматизированного тестирования
69
65
  */
@@ -15,9 +15,9 @@ import './utils/index.js';
15
15
  import './consts.js';
16
16
  import './data/country-data.js';
17
17
  import './components/country-select/Component.js';
18
+ import 'classnames';
18
19
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
19
20
  import './components/flag-icon/component.js';
20
- import 'classnames';
21
21
  import './components/flag-icon/flagSprite.js';
22
22
  import './components/select-field/component.js';
23
23
  import '@alfalab/hooks';
@@ -8,9 +8,9 @@ import { initCountries, findCountry, filterPhones, createMaskOptions, getClear,
8
8
  import { CountrySelect } from '../country-select/Component.js';
9
9
  import '../../consts.js';
10
10
  import '../../data/country-data.js';
11
+ import 'classnames';
11
12
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
12
13
  import '../flag-icon/component.js';
13
- import 'classnames';
14
14
  import '../flag-icon/flagSprite.js';
15
15
  import '../select-field/component.js';
16
16
  import '@alfalab/hooks';
@@ -105,7 +105,7 @@ const BaseInternationalPhoneInput = forwardRef(({ clearableCountryCode: clearabl
105
105
  };
106
106
  const showPhoneSelect = Boolean(open || openProps);
107
107
  const showCountrySelect = Boolean(openCountry || countrySelectProps?.open);
108
- const renderCountrySelect = (compact = false) => (React.createElement(CountrySelect, { dataTestId: restProps?.dataTestId, ...countrySelectProps, view: view, SelectComponent: SelectComponent, disabled: disabled || countrySelectProps?.disabled, onChange: handleSelectCountry, country: country, countries: compact ? [] : countriesData, fieldWidth: inputWrapperRef.current?.getBoundingClientRect().width, onOpen: handleCountrySelectOpen, open: showCountrySelect }));
108
+ const renderCountrySelect = (compact = false) => (React.createElement(CountrySelect, { dataTestId: restProps?.dataTestId, ...countrySelectProps, view: view, SelectComponent: SelectComponent, disabled: disabled || countrySelectProps?.disabled, onChange: handleSelectCountry, country: country, countries: compact ? [] : countriesData, fieldWidth: inputWrapperRef.current?.getBoundingClientRect().width, onOpen: handleCountrySelectOpen, open: showCountrySelect, size: size }));
109
109
  const inputProps = {
110
110
  className: styles.component,
111
111
  ref: mergeRefs([maskRef, ref, inputRef]),
@@ -9,9 +9,9 @@ import '../../utils/index.js';
9
9
  import '../../consts.js';
10
10
  import '../../data/country-data.js';
11
11
  import '../country-select/Component.js';
12
+ import 'classnames';
12
13
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
13
14
  import '../flag-icon/component.js';
14
- import 'classnames';
15
15
  import '../flag-icon/flagSprite.js';
16
16
  import '../select-field/component.js';
17
17
  import '@alfalab/hooks';
@@ -1,24 +1,28 @@
1
1
  import React, { useMemo, useCallback } from 'react';
2
+ import cn from 'classnames';
2
3
  import { VirtualOptionsList, BaseOption } from '../../../../select/modern/shared';
3
4
  import { getDataTestId } from '../../../../shared/modern';
4
5
  import { WorldMagnifierMIcon } from '@alfalab/icons-glyph/WorldMagnifierMIcon';
6
+ import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
5
7
  import { FlagIcon } from '../flag-icon/component.js';
6
8
  import { EMPTY_COUNTRY_SELECT_FIELD, SelectField } from '../select-field/component.js';
7
- import 'classnames';
8
9
  import '../flag-icon/flagSprite.js';
9
10
  import 'react-merge-refs';
10
11
  import '@alfalab/hooks';
11
12
 
12
- const styles = {"component":"international-phone-input__component_rcew7","option":"international-phone-input__option_rcew7","flag":"international-phone-input__flag_rcew7","countryName":"international-phone-input__countryName_rcew7","dialCode":"international-phone-input__dialCode_rcew7","flagIconWrapper":"international-phone-input__flagIconWrapper_rcew7","emptyCountryIcon":"international-phone-input__emptyCountryIcon_rcew7"};
13
+ const styles = {"component":"international-phone-input__component_rcew7","option":"international-phone-input__option_rcew7","size-72":"international-phone-input__size-72_rcew7","flag":"international-phone-input__flag_rcew7","countryName":"international-phone-input__countryName_rcew7","dialCode":"international-phone-input__dialCode_rcew7","flagIconWrapper":"international-phone-input__flagIconWrapper_rcew7","emptyCountryIcon":"international-phone-input__emptyCountryIcon_rcew7"};
13
14
  require('./index.css');
14
15
 
15
- const CountrySelect = ({ hideCountrySelect, countries, country, dataTestId, fieldWidth, onChange, view = 'desktop', SelectComponent, ...restProps }) => {
16
+ const CountrySelect = ({ hideCountrySelect, countries, country, dataTestId, fieldWidth, onChange, view = 'desktop', SelectComponent, size, ...restProps }) => {
16
17
  const options = useMemo(() => countries?.map((areas) => {
17
18
  const { iso2, dialCode, name } = areas[0];
18
19
  return {
19
20
  key: iso2,
20
21
  value: areas[0],
21
- content: (React.createElement("span", { className: styles.option },
22
+ content: (React.createElement("span", { className: cn([
23
+ styles.option,
24
+ size && styles[SIZE_TO_CLASSNAME_MAP[size]],
25
+ ]) },
22
26
  React.createElement(FlagIcon, { country: iso2, className: styles.flag }),
23
27
  React.createElement("span", { className: styles.optionTextWrap },
24
28
  React.createElement("span", { className: styles.countryName }, name),
@@ -26,7 +30,7 @@ const CountrySelect = ({ hideCountrySelect, countries, country, dataTestId, fiel
26
30
  "+",
27
31
  dialCode)))),
28
32
  };
29
- }) || [], [countries]);
33
+ }) || [], [countries, size]);
30
34
  const renderOptionsList = useCallback((props) => (React.createElement("div", { style: { width: fieldWidth || 0 } },
31
35
  React.createElement(VirtualOptionsList, { ...props, optionsListWidth: 'field' }))), [fieldWidth]);
32
36
  const renderFlagIcon = () => (React.createElement("span", { className: styles.flagIconWrapper }, country?.iso2 ? (React.createElement(FlagIcon, { country: country.iso2 })) : (React.createElement(WorldMagnifierMIcon, { className: styles.emptyCountryIcon }))));
@@ -35,7 +39,7 @@ const CountrySelect = ({ hideCountrySelect, countries, country, dataTestId, fiel
35
39
  return (
36
40
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
37
41
  React.createElement("div", { className: styles.component, onClick: (event) => event.stopPropagation() },
38
- React.createElement(SelectComponent, { Option: BaseOption, ...restProps, dataTestId: getDataTestId(dataTestId, 'country-select'), options: options, selected: selected || EMPTY_COUNTRY_SELECT_FIELD, onChange: onChange, Field: SelectField, OptionsList: view === 'mobile' ? VirtualOptionsList : renderOptionsList, ...(view === 'mobile' && {
42
+ React.createElement(SelectComponent, { Option: BaseOption, size: size, ...restProps, dataTestId: getDataTestId(dataTestId, 'country-select'), options: options, selected: selected || EMPTY_COUNTRY_SELECT_FIELD, onChange: onChange, Field: SelectField, OptionsList: view === 'mobile' ? VirtualOptionsList : renderOptionsList, ...(view === 'mobile' && {
39
43
  bottomSheetProps: {
40
44
  title: 'Выберите страну',
41
45
  },
@@ -17,7 +17,8 @@
17
17
  /* новые значения, используйте их */
18
18
  } :root { /* deprecated */ /* deprecated */
19
19
  --gap-xs: 8px; /* deprecated */
20
- --gap-s: 12px; /* deprecated */ /* deprecated */ /* 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
+ --gap-s: 12px; /* deprecated */ /* deprecated */
21
+ --gap-m: 16px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
21
22
 
22
23
  /* новые значения, используйте их */
23
24
 
@@ -25,6 +26,7 @@
25
26
  /* stylelint-disable-next-line length-zero-no-unit */
26
27
  --gap-8: var(--gap-xs);
27
28
  --gap-12: var(--gap-s);
29
+ --gap-16: var(--gap-m);
28
30
  } :root {
29
31
  } :root {
30
32
  } /* сбрасывает синюю подсветку при нажатии */ .international-phone-input__component_rcew7 {
@@ -35,8 +37,10 @@
35
37
  } .international-phone-input__option_rcew7 {
36
38
  display: flex;
37
39
  align-items: flex-start;
38
- padding: var(--gap-12);
39
- } .international-phone-input__flag_rcew7 {
40
+ padding: var(--gap-12)
41
+ } .international-phone-input__option_rcew7.international-phone-input__size-72_rcew7 {
42
+ padding-left: var(--gap-16);
43
+ } .international-phone-input__flag_rcew7 {
40
44
  flex-shrink: 0;
41
45
  margin-right: var(--gap-8);
42
46
  } .international-phone-input__countryName_rcew7 {
@@ -1,10 +1,11 @@
1
1
  export { CountrySelect } from './Component.js';
2
2
  import 'react';
3
+ import 'classnames';
3
4
  import '../../../../select/modern/shared';
4
5
  import '../../../../shared/modern';
5
6
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
7
+ import '../../consts.js';
6
8
  import '../flag-icon/component.js';
7
- import 'classnames';
8
9
  import '../flag-icon/flagSprite.js';
9
10
  import '../select-field/component.js';
10
11
  import 'react-merge-refs';
@@ -3,6 +3,7 @@ import mergeRefs from 'react-merge-refs';
3
3
  import cn from 'classnames';
4
4
  import { useFocus } from '@alfalab/hooks';
5
5
  import { WorldMagnifierMIcon } from '@alfalab/icons-glyph/WorldMagnifierMIcon';
6
+ import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
6
7
  import { FlagIcon } from '../flag-icon/component.js';
7
8
  import '../flag-icon/flagSprite.js';
8
9
 
@@ -13,16 +14,6 @@ const EMPTY_COUNTRY_SELECT_FIELD = {
13
14
  value: 'EMPTY_COUNTRY_SELECT_VALUE',
14
15
  key: 'EMPTY_COUNTRY_SELECT_KEY',
15
16
  };
16
- const SIZE_TO_CLASSNAME_MAP = {
17
- s: 'size-48',
18
- m: 'size-56',
19
- l: 'size-64',
20
- xl: 'size-72',
21
- 48: 'size-48',
22
- 56: 'size-56',
23
- 64: 'size-64',
24
- 72: 'size-72',
25
- };
26
17
  const SelectField = ({ selected, Arrow, size, disabled, innerProps = {}, }) => {
27
18
  const wrapperRef = useRef(null);
28
19
  const [focusVisible] = useFocus(wrapperRef, 'keyboard');
@@ -4,5 +4,6 @@ import 'react-merge-refs';
4
4
  import 'classnames';
5
5
  import '@alfalab/hooks';
6
6
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
7
+ import '../../consts.js';
7
8
  import '../flag-icon/component.js';
8
9
  import '../flag-icon/flagSprite.js';
@@ -1,2 +1,13 @@
1
1
  declare const DEFAULT_PHONE_FORMAT = "... ... ... ... ...";
2
- export { DEFAULT_PHONE_FORMAT };
2
+ declare const SIZE_TO_CLASSNAME_MAP: {
3
+ s: string;
4
+ m: string;
5
+ l: string;
6
+ xl: string;
7
+ 40: string;
8
+ 48: string;
9
+ 56: string;
10
+ 64: string;
11
+ 72: string;
12
+ };
13
+ export { DEFAULT_PHONE_FORMAT, SIZE_TO_CLASSNAME_MAP };
@@ -1,3 +1,14 @@
1
1
  const DEFAULT_PHONE_FORMAT = '... ... ... ... ...';
2
+ const SIZE_TO_CLASSNAME_MAP = {
3
+ s: 'size-48',
4
+ m: 'size-56',
5
+ l: 'size-64',
6
+ xl: 'size-72',
7
+ 40: 'size-40',
8
+ 48: 'size-48',
9
+ 56: 'size-56',
10
+ 64: 'size-64',
11
+ 72: 'size-72',
12
+ };
2
13
 
3
- export { DEFAULT_PHONE_FORMAT };
14
+ export { DEFAULT_PHONE_FORMAT, SIZE_TO_CLASSNAME_MAP };
@@ -12,9 +12,9 @@ import '../utils/index.js';
12
12
  import '../consts.js';
13
13
  import '../data/country-data.js';
14
14
  import '../components/country-select/Component.js';
15
+ import 'classnames';
15
16
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
16
17
  import '../components/flag-icon/component.js';
17
- import 'classnames';
18
18
  import '../components/flag-icon/flagSprite.js';
19
19
  import '../components/select-field/component.js';
20
20
  import '@alfalab/hooks';
@@ -13,9 +13,9 @@ import '../utils/index.js';
13
13
  import '../consts.js';
14
14
  import '../data/country-data.js';
15
15
  import '../components/country-select/Component.js';
16
+ import 'classnames';
16
17
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
17
18
  import '../components/flag-icon/component.js';
18
- import 'classnames';
19
19
  import '../components/flag-icon/flagSprite.js';
20
20
  import '../components/select-field/component.js';
21
21
  import '@alfalab/hooks';
@@ -15,9 +15,9 @@ import '../../shared/modern';
15
15
  import './utils/index.js';
16
16
  import './consts.js';
17
17
  import './components/country-select/Component.js';
18
+ import 'classnames';
18
19
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
19
20
  import './components/flag-icon/component.js';
20
- import 'classnames';
21
21
  import './components/flag-icon/flagSprite.js';
22
22
  import './components/select-field/component.js';
23
23
  import '@alfalab/hooks';
@@ -12,9 +12,9 @@ import '../utils/index.js';
12
12
  import '../consts.js';
13
13
  import '../data/country-data.js';
14
14
  import '../components/country-select/Component.js';
15
+ import 'classnames';
15
16
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
16
17
  import '../components/flag-icon/component.js';
17
- import 'classnames';
18
18
  import '../components/flag-icon/flagSprite.js';
19
19
  import '../components/select-field/component.js';
20
20
  import '@alfalab/hooks';
@@ -13,9 +13,9 @@ import '../utils/index.js';
13
13
  import '../consts.js';
14
14
  import '../data/country-data.js';
15
15
  import '../components/country-select/Component.js';
16
+ import 'classnames';
16
17
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
17
18
  import '../components/flag-icon/component.js';
18
- import 'classnames';
19
19
  import '../components/flag-icon/flagSprite.js';
20
20
  import '../components/select-field/component.js';
21
21
  import '@alfalab/hooks';
@@ -5,8 +5,8 @@ import { HTMLAttributes, ReactElement, ReactNode, RefObject, ButtonHTMLAttribute
5
5
  import { HandledEvents } from "react-swipeable/es/types";
6
6
  import { TransitionProps } from "react-transition-group/Transition";
7
7
  import { BaseModalProps, BaseModalContext } from "./index-11f20b2e";
8
- import { IconButtonProps, BaseFormControlProps, BackdropProps } from "./index-ebda875c";
9
8
  import { BackgroundColorType } from "./index-464d40a4";
9
+ import { BaseFormControlProps, BackdropProps } from "./index-ebda875c";
10
10
  import { ContentProps } from "./typings-4b7234ef";
11
11
  import { ModalResponsiveProps as ModalProps } from "./typings-4b7234ef";
12
12
  import { CSSTransitionProps } from "react-transition-group/CSSTransition";
@@ -60,10 +60,6 @@ interface CloserProps extends ButtonHTMLAttributes<HTMLButtonElement> {
60
60
  * Иконка
61
61
  */
62
62
  icon?: ElementType;
63
- /**
64
- * Набор цветов для компонента
65
- */
66
- colors?: IconButtonProps["colors"];
67
63
  /**
68
64
  * Идентификатор для систем автоматизированного тестирования
69
65
  */
@@ -15,9 +15,9 @@ import './utils/index.js';
15
15
  import './consts.js';
16
16
  import './data/country-data.js';
17
17
  import './components/country-select/Component.js';
18
+ import 'classnames';
18
19
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
19
20
  import './components/flag-icon/component.js';
20
- import 'classnames';
21
21
  import './components/flag-icon/flagSprite.js';
22
22
  import './components/flag-icon/index.module.css';
23
23
  import './components/select-field/component.js';
@@ -9,9 +9,9 @@ import { CountrySelect } from '../country-select/Component.js';
9
9
  import styles from './index.module.css';
10
10
  import '../../consts.js';
11
11
  import '../../data/country-data.js';
12
+ import 'classnames';
12
13
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
13
14
  import '../flag-icon/component.js';
14
- import 'classnames';
15
15
  import '../flag-icon/flagSprite.js';
16
16
  import '../flag-icon/index.module.css';
17
17
  import '../select-field/component.js';
@@ -106,7 +106,7 @@ const BaseInternationalPhoneInput = forwardRef(({ clearableCountryCode: clearabl
106
106
  };
107
107
  const showPhoneSelect = Boolean(open || openProps);
108
108
  const showCountrySelect = Boolean(openCountry || countrySelectProps?.open);
109
- const renderCountrySelect = (compact = false) => (React.createElement(CountrySelect, { dataTestId: restProps?.dataTestId, ...countrySelectProps, view: view, SelectComponent: SelectComponent, disabled: disabled || countrySelectProps?.disabled, onChange: handleSelectCountry, country: country, countries: compact ? [] : countriesData, fieldWidth: inputWrapperRef.current?.getBoundingClientRect().width, onOpen: handleCountrySelectOpen, open: showCountrySelect }));
109
+ const renderCountrySelect = (compact = false) => (React.createElement(CountrySelect, { dataTestId: restProps?.dataTestId, ...countrySelectProps, view: view, SelectComponent: SelectComponent, disabled: disabled || countrySelectProps?.disabled, onChange: handleSelectCountry, country: country, countries: compact ? [] : countriesData, fieldWidth: inputWrapperRef.current?.getBoundingClientRect().width, onOpen: handleCountrySelectOpen, open: showCountrySelect, size: size }));
110
110
  const inputProps = {
111
111
  className: styles.component,
112
112
  ref: mergeRefs([maskRef, ref, inputRef]),
@@ -9,9 +9,9 @@ import '../../utils/index.js';
9
9
  import '../../consts.js';
10
10
  import '../../data/country-data.js';
11
11
  import '../country-select/Component.js';
12
+ import 'classnames';
12
13
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
13
14
  import '../flag-icon/component.js';
14
- import 'classnames';
15
15
  import '../flag-icon/flagSprite.js';
16
16
  import '../flag-icon/index.module.css';
17
17
  import '../select-field/component.js';
@@ -1,24 +1,28 @@
1
1
  import React, { useMemo, useCallback } from 'react';
2
+ import cn from 'classnames';
2
3
  import { VirtualOptionsList, BaseOption } from '../../../../select/moderncssm/shared';
3
4
  import { getDataTestId } from '../../../../shared/moderncssm';
4
5
  import { WorldMagnifierMIcon } from '@alfalab/icons-glyph/WorldMagnifierMIcon';
6
+ import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
5
7
  import { FlagIcon } from '../flag-icon/component.js';
6
8
  import { EMPTY_COUNTRY_SELECT_FIELD, SelectField } from '../select-field/component.js';
7
9
  import styles from './index.module.css';
8
- import 'classnames';
9
10
  import '../flag-icon/flagSprite.js';
10
11
  import '../flag-icon/index.module.css';
11
12
  import 'react-merge-refs';
12
13
  import '@alfalab/hooks';
13
14
  import '../select-field/index.module.css';
14
15
 
15
- const CountrySelect = ({ hideCountrySelect, countries, country, dataTestId, fieldWidth, onChange, view = 'desktop', SelectComponent, ...restProps }) => {
16
+ const CountrySelect = ({ hideCountrySelect, countries, country, dataTestId, fieldWidth, onChange, view = 'desktop', SelectComponent, size, ...restProps }) => {
16
17
  const options = useMemo(() => countries?.map((areas) => {
17
18
  const { iso2, dialCode, name } = areas[0];
18
19
  return {
19
20
  key: iso2,
20
21
  value: areas[0],
21
- content: (React.createElement("span", { className: styles.option },
22
+ content: (React.createElement("span", { className: cn([
23
+ styles.option,
24
+ size && styles[SIZE_TO_CLASSNAME_MAP[size]],
25
+ ]) },
22
26
  React.createElement(FlagIcon, { country: iso2, className: styles.flag }),
23
27
  React.createElement("span", { className: styles.optionTextWrap },
24
28
  React.createElement("span", { className: styles.countryName }, name),
@@ -26,7 +30,7 @@ const CountrySelect = ({ hideCountrySelect, countries, country, dataTestId, fiel
26
30
  "+",
27
31
  dialCode)))),
28
32
  };
29
- }) || [], [countries]);
33
+ }) || [], [countries, size]);
30
34
  const renderOptionsList = useCallback((props) => (React.createElement("div", { style: { width: fieldWidth || 0 } },
31
35
  React.createElement(VirtualOptionsList, { ...props, optionsListWidth: 'field' }))), [fieldWidth]);
32
36
  const renderFlagIcon = () => (React.createElement("span", { className: styles.flagIconWrapper }, country?.iso2 ? (React.createElement(FlagIcon, { country: country.iso2 })) : (React.createElement(WorldMagnifierMIcon, { className: styles.emptyCountryIcon }))));
@@ -35,7 +39,7 @@ const CountrySelect = ({ hideCountrySelect, countries, country, dataTestId, fiel
35
39
  return (
36
40
  // eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
37
41
  React.createElement("div", { className: styles.component, onClick: (event) => event.stopPropagation() },
38
- React.createElement(SelectComponent, { Option: BaseOption, ...restProps, dataTestId: getDataTestId(dataTestId, 'country-select'), options: options, selected: selected || EMPTY_COUNTRY_SELECT_FIELD, onChange: onChange, Field: SelectField, OptionsList: view === 'mobile' ? VirtualOptionsList : renderOptionsList, ...(view === 'mobile' && {
42
+ React.createElement(SelectComponent, { Option: BaseOption, size: size, ...restProps, dataTestId: getDataTestId(dataTestId, 'country-select'), options: options, selected: selected || EMPTY_COUNTRY_SELECT_FIELD, onChange: onChange, Field: SelectField, OptionsList: view === 'mobile' ? VirtualOptionsList : renderOptionsList, ...(view === 'mobile' && {
39
43
  bottomSheetProps: {
40
44
  title: 'Выберите страну',
41
45
  },
@@ -1,10 +1,11 @@
1
1
  export { CountrySelect } from './Component.js';
2
2
  import 'react';
3
+ import 'classnames';
3
4
  import '../../../../select/moderncssm/shared';
4
5
  import '../../../../shared/moderncssm';
5
6
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
7
+ import '../../consts.js';
6
8
  import '../flag-icon/component.js';
7
- import 'classnames';
8
9
  import '../flag-icon/flagSprite.js';
9
10
  import '../flag-icon/index.module.css';
10
11
  import '../select-field/component.js';
@@ -11,9 +11,13 @@
11
11
  .option {
12
12
  display: flex;
13
13
  align-items: flex-start;
14
- padding: var(--gap-12);
14
+ padding: var(--gap-12)
15
15
  }
16
16
 
17
+ .option.size-72 {
18
+ padding-left: var(--gap-16);
19
+ }
20
+
17
21
  .flag {
18
22
  flex-shrink: 0;
19
23
  margin-right: var(--gap-8);
@@ -3,6 +3,7 @@ import mergeRefs from 'react-merge-refs';
3
3
  import cn from 'classnames';
4
4
  import { useFocus } from '@alfalab/hooks';
5
5
  import { WorldMagnifierMIcon } from '@alfalab/icons-glyph/WorldMagnifierMIcon';
6
+ import { SIZE_TO_CLASSNAME_MAP } from '../../consts.js';
6
7
  import { FlagIcon } from '../flag-icon/component.js';
7
8
  import styles from './index.module.css';
8
9
  import '../flag-icon/flagSprite.js';
@@ -12,16 +13,6 @@ const EMPTY_COUNTRY_SELECT_FIELD = {
12
13
  value: 'EMPTY_COUNTRY_SELECT_VALUE',
13
14
  key: 'EMPTY_COUNTRY_SELECT_KEY',
14
15
  };
15
- const SIZE_TO_CLASSNAME_MAP = {
16
- s: 'size-48',
17
- m: 'size-56',
18
- l: 'size-64',
19
- xl: 'size-72',
20
- 48: 'size-48',
21
- 56: 'size-56',
22
- 64: 'size-64',
23
- 72: 'size-72',
24
- };
25
16
  const SelectField = ({ selected, Arrow, size, disabled, innerProps = {}, }) => {
26
17
  const wrapperRef = useRef(null);
27
18
  const [focusVisible] = useFocus(wrapperRef, 'keyboard');
@@ -4,6 +4,7 @@ import 'react-merge-refs';
4
4
  import 'classnames';
5
5
  import '@alfalab/hooks';
6
6
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
7
+ import '../../consts.js';
7
8
  import '../flag-icon/component.js';
8
9
  import '../flag-icon/flagSprite.js';
9
10
  import '../flag-icon/index.module.css';
@@ -1,2 +1,13 @@
1
1
  declare const DEFAULT_PHONE_FORMAT = "... ... ... ... ...";
2
- export { DEFAULT_PHONE_FORMAT };
2
+ declare const SIZE_TO_CLASSNAME_MAP: {
3
+ s: string;
4
+ m: string;
5
+ l: string;
6
+ xl: string;
7
+ 40: string;
8
+ 48: string;
9
+ 56: string;
10
+ 64: string;
11
+ 72: string;
12
+ };
13
+ export { DEFAULT_PHONE_FORMAT, SIZE_TO_CLASSNAME_MAP };
@@ -1,3 +1,14 @@
1
1
  const DEFAULT_PHONE_FORMAT = '... ... ... ... ...';
2
+ const SIZE_TO_CLASSNAME_MAP = {
3
+ s: 'size-48',
4
+ m: 'size-56',
5
+ l: 'size-64',
6
+ xl: 'size-72',
7
+ 40: 'size-40',
8
+ 48: 'size-48',
9
+ 56: 'size-56',
10
+ 64: 'size-64',
11
+ 72: 'size-72',
12
+ };
2
13
 
3
- export { DEFAULT_PHONE_FORMAT };
14
+ export { DEFAULT_PHONE_FORMAT, SIZE_TO_CLASSNAME_MAP };
@@ -12,9 +12,9 @@ import '../utils/index.js';
12
12
  import '../consts.js';
13
13
  import '../data/country-data.js';
14
14
  import '../components/country-select/Component.js';
15
+ import 'classnames';
15
16
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
16
17
  import '../components/flag-icon/component.js';
17
- import 'classnames';
18
18
  import '../components/flag-icon/flagSprite.js';
19
19
  import '../components/flag-icon/index.module.css';
20
20
  import '../components/select-field/component.js';
@@ -13,9 +13,9 @@ import '../utils/index.js';
13
13
  import '../consts.js';
14
14
  import '../data/country-data.js';
15
15
  import '../components/country-select/Component.js';
16
+ import 'classnames';
16
17
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
17
18
  import '../components/flag-icon/component.js';
18
- import 'classnames';
19
19
  import '../components/flag-icon/flagSprite.js';
20
20
  import '../components/flag-icon/index.module.css';
21
21
  import '../components/select-field/component.js';
@@ -15,9 +15,9 @@ import '../../shared/moderncssm';
15
15
  import './utils/index.js';
16
16
  import './consts.js';
17
17
  import './components/country-select/Component.js';
18
+ import 'classnames';
18
19
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
19
20
  import './components/flag-icon/component.js';
20
- import 'classnames';
21
21
  import './components/flag-icon/flagSprite.js';
22
22
  import './components/flag-icon/index.module.css';
23
23
  import './components/select-field/component.js';
@@ -12,9 +12,9 @@ import '../utils/index.js';
12
12
  import '../consts.js';
13
13
  import '../data/country-data.js';
14
14
  import '../components/country-select/Component.js';
15
+ import 'classnames';
15
16
  import '@alfalab/icons-glyph/WorldMagnifierMIcon';
16
17
  import '../components/flag-icon/component.js';
17
- import 'classnames';
18
18
  import '../components/flag-icon/flagSprite.js';
19
19
  import '../components/flag-icon/index.module.css';
20
20
  import '../components/select-field/component.js';