@alphakits/ui 2.0.1 → 2.0.3

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 (440) hide show
  1. package/dist/__internal/utils/getDataTestId.d.ts +1 -1
  2. package/dist/amount/component.d.ts +2 -2
  3. package/dist/amount/index.module.css +1 -1
  4. package/dist/amount/index.module.css.js +6 -6
  5. package/dist/amount-input/component.d.ts +2 -2
  6. package/dist/amount-input/index.module.css +1 -1
  7. package/dist/amount-input/index.module.css.js +10 -10
  8. package/dist/avatar/component.d.ts +1 -1
  9. package/dist/avatar/component.js +1 -1
  10. package/dist/avatar/component.js.map +1 -1
  11. package/dist/avatar/index.module.css +1 -1
  12. package/dist/avatar/index.module.css.js +6 -6
  13. package/dist/back-button/component.d.ts +1 -1
  14. package/dist/back-button/index.module.css +1 -1
  15. package/dist/back-button/index.module.css.js +1 -1
  16. package/dist/badge/component.js +18 -18
  17. package/dist/badge/component.js.map +1 -1
  18. package/dist/badge/index.module.css +1 -1
  19. package/dist/badge/index.module.css.js +32 -32
  20. package/dist/base-card/index.module.css +1 -1
  21. package/dist/base-card/index.module.css.js +26 -26
  22. package/dist/bottom-sheet/component.d.ts +1 -1
  23. package/dist/bottom-sheet/index.module.css +1 -1
  24. package/dist/bottom-sheet/index.module.css.js +2 -2
  25. package/dist/box/component.d.ts +1 -1
  26. package/dist/box/index.module.css +1 -1
  27. package/dist/box/index.module.css.js +36 -36
  28. package/dist/button/component.d.ts +3 -3
  29. package/dist/button/index.module.css +1 -1
  30. package/dist/button/index.module.css.js +40 -40
  31. package/dist/button-arrow/component.d.ts +2 -2
  32. package/dist/button-arrow/component.js +31 -21
  33. package/dist/button-arrow/component.js.map +1 -1
  34. package/dist/button-arrow/index.module.css +1 -1
  35. package/dist/button-arrow/index.module.css.js +10 -10
  36. package/dist/calendar/component.d.ts +2 -2
  37. package/dist/calendar/component.js +55 -49
  38. package/dist/calendar/component.js.map +1 -1
  39. package/dist/calendar/components/days-table/component.d.ts +1 -1
  40. package/dist/calendar/components/days-table/component.js +10 -10
  41. package/dist/calendar/components/days-table/component.js.map +1 -1
  42. package/dist/calendar/components/days-table/index.module.css +1 -1
  43. package/dist/calendar/components/days-table/index.module.css.js +54 -54
  44. package/dist/calendar/components/header/index.module.css +1 -1
  45. package/dist/calendar/components/header/index.module.css.js +12 -12
  46. package/dist/calendar/components/header//321/201omponent.d.ts +1 -1
  47. package/dist/calendar/components/header//321/201omponent.js +23 -23
  48. package/dist/calendar/components/header//321/201omponent.js.map +1 -1
  49. package/dist/calendar/components/months-table/index.module.css +1 -1
  50. package/dist/calendar/components/months-table/index.module.css.js +4 -4
  51. package/dist/calendar/components/months-table//321/201omponent.d.ts +1 -1
  52. package/dist/calendar/components/months-table//321/201omponent.js +1 -1
  53. package/dist/calendar/components/months-table//321/201omponent.js.map +1 -1
  54. package/dist/calendar/components/select-button/index.module.css +1 -1
  55. package/dist/calendar/components/select-button/index.module.css.js +8 -8
  56. package/dist/calendar/components/select-button//321/201omponent.d.ts +1 -1
  57. package/dist/calendar/components/years-table/index.module.css +1 -1
  58. package/dist/calendar/components/years-table/index.module.css.js +6 -6
  59. package/dist/calendar/components/years-table//321/201omponent.d.ts +1 -1
  60. package/dist/calendar/index.module.css +1 -1
  61. package/dist/calendar/index.module.css.js +5 -5
  62. package/dist/calendar/typings.d.ts +6 -6
  63. package/dist/calendar/use-calendar.d.ts +2 -2
  64. package/dist/calendar/use-period.d.ts +4 -4
  65. package/dist/calendar-input/component.d.ts +2 -2
  66. package/dist/calendar-input/index.module.css +1 -1
  67. package/dist/calendar-input/index.module.css.js +10 -10
  68. package/dist/card/images/index.module.css +1 -1
  69. package/dist/card/images/index.module.css.js +10 -10
  70. package/dist/card/index.module.css +1 -1
  71. package/dist/card/index.module.css.js +6 -6
  72. package/dist/cell/base/component.d.ts +1 -1
  73. package/dist/cell/base/index.module.css +1 -1
  74. package/dist/cell/base/index.module.css.js +10 -10
  75. package/dist/cell/pure/component.d.ts +2 -2
  76. package/dist/cell/pure/index.module.css +1 -1
  77. package/dist/cell/pure/index.module.css.js +22 -22
  78. package/dist/checkbox/component.d.ts +4 -4
  79. package/dist/checkbox/index.module.css +1 -1
  80. package/dist/checkbox/index.module.css.js +30 -30
  81. package/dist/checkbox-group/component.d.ts +2 -2
  82. package/dist/checkbox-group/index.module.css +1 -1
  83. package/dist/checkbox-group/index.module.css.js +1 -1
  84. package/dist/checkbox-lists/component.d.ts +2 -2
  85. package/dist/checkbox-lists/index.module.css +1 -1
  86. package/dist/checkbox-lists/index.module.css.js +6 -6
  87. package/dist/collapsable-row/component.d.ts +1 -1
  88. package/dist/collapsable-row/index.module.css +1 -1
  89. package/dist/collapsable-row/index.module.css.js +10 -10
  90. package/dist/collapse/component.d.ts +1 -1
  91. package/dist/collapse/component.js +4 -2
  92. package/dist/collapse/component.js.map +1 -1
  93. package/dist/collapse/index.module.css +1 -1
  94. package/dist/collapse/index.module.css.js +6 -6
  95. package/dist/copy-button/component.d.ts +1 -1
  96. package/dist/copy-button/index.module.css +1 -1
  97. package/dist/copy-button/index.module.css.js +2 -2
  98. package/dist/date-switcher/index.module.css +1 -1
  99. package/dist/date-switcher/index.module.css.js +8 -8
  100. package/dist/decorated-item/index.module.css +1 -1
  101. package/dist/decorated-item/index.module.css.js +2 -2
  102. package/dist/divider/component.d.ts +1 -1
  103. package/dist/divider/index.module.css +1 -1
  104. package/dist/divider/index.module.css.js +10 -10
  105. package/dist/dot/component.d.ts +1 -1
  106. package/dist/dot/index.module.css +1 -1
  107. package/dist/dot/index.module.css.js +20 -20
  108. package/dist/empty-page/component.d.ts +1 -1
  109. package/dist/empty-page/index.module.css +1 -1
  110. package/dist/empty-page/index.module.css.js +8 -8
  111. package/dist/flex/component.d.ts +1 -1
  112. package/dist/flex/index.module.css +1 -1
  113. package/dist/flex/index.module.css.js +38 -38
  114. package/dist/flex-columns/index.module.css +1 -1
  115. package/dist/flex-columns/index.module.css.js +2 -2
  116. package/dist/footer/index.module.css +1 -1
  117. package/dist/footer/index.module.css.js +20 -20
  118. package/dist/form/components/form-loading/index.module.css +1 -1
  119. package/dist/form/components/form-loading/index.module.css.js +10 -10
  120. package/dist/form/templates/base-form/index.d.ts +1 -1
  121. package/dist/form/templates/filters-form/index.d.ts +2 -2
  122. package/dist/form/templates/rest-form/form.d.ts +1 -1
  123. package/dist/form/templates/rest-form/index.d.ts +1 -1
  124. package/dist/form-control/component.d.ts +1 -1
  125. package/dist/form-control/index.module.css +1 -1
  126. package/dist/form-control/index.module.css.js +46 -46
  127. package/dist/grid/col/component.d.ts +1 -1
  128. package/dist/grid/col/index.module.css +1 -1
  129. package/dist/grid/col/index.module.css.js +512 -512
  130. package/dist/grid/gutters.module.css +1 -1
  131. package/dist/grid/gutters.module.css.js +45 -45
  132. package/dist/grid/row/component.d.ts +1 -1
  133. package/dist/grid/row/index.module.css +1 -1
  134. package/dist/grid/row/index.module.css.js +14 -14
  135. package/dist/grid/typings.d.ts +6 -6
  136. package/dist/header-search/component.d.ts +1 -1
  137. package/dist/header-search/index.module.css +1 -1
  138. package/dist/header-search/index.module.css.js +1 -1
  139. package/dist/hooks/use-crud-form-requests/index.d.ts +1 -1
  140. package/dist/hooks/useFocus/index.d.ts +1 -1
  141. package/dist/icon-button/component.d.ts +1 -1
  142. package/dist/icon-button/index.module.css +1 -1
  143. package/dist/icon-button/index.module.css.js +12 -12
  144. package/dist/image/image-base.d.ts +1 -1
  145. package/dist/image/index.module.css +1 -1
  146. package/dist/image/index.module.css.js +69 -69
  147. package/dist/image/types.d.ts +3 -3
  148. package/dist/image/use-image-render-component.d.ts +1 -1
  149. package/dist/image-gallery/component.d.ts +1 -1
  150. package/dist/image-uploader/component.d.ts +1 -1
  151. package/dist/image-uploader/index.module.css +1 -1
  152. package/dist/image-uploader/index.module.css.js +6 -6
  153. package/dist/index.js +254 -248
  154. package/dist/index.js.map +1 -1
  155. package/dist/info-block-header/index.module.css +1 -1
  156. package/dist/info-block-header/index.module.css.js +4 -4
  157. package/dist/info-block-item/index.module.css +1 -1
  158. package/dist/info-block-item/index.module.css.js +10 -10
  159. package/dist/info-block-wrapper/index.module.css +1 -1
  160. package/dist/info-block-wrapper/index.module.css.js +6 -6
  161. package/dist/input/component.d.ts +2 -2
  162. package/dist/input/index.module.css +1 -1
  163. package/dist/input/index.module.css.js +10 -10
  164. package/dist/input-autocomplete/autocomplete-field/index.d.ts +2 -2
  165. package/dist/input-autocomplete/autocomplete-field/index.js.map +1 -1
  166. package/dist/input-autocomplete/autocomplete-field/index.module.css +1 -1
  167. package/dist/input-autocomplete/autocomplete-field/index.module.css.js +1 -1
  168. package/dist/input-autocomplete/component.d.ts +3 -3
  169. package/dist/input-ghost/index.module.css +1 -1
  170. package/dist/input-ghost/index.module.css.js +12 -12
  171. package/dist/link/component.d.ts +2 -2
  172. package/dist/link/index.module.css +1 -1
  173. package/dist/link/index.module.css.js +23 -23
  174. package/dist/list-allert/component.d.ts +1 -1
  175. package/dist/list-allert/index.module.css +1 -1
  176. package/dist/list-allert/index.module.css.js +5 -5
  177. package/dist/loader/component.d.ts +1 -1
  178. package/dist/loader/index.module.css +1 -1
  179. package/dist/loader/index.module.css.js +1 -1
  180. package/dist/masked-input/component.d.ts +2 -2
  181. package/dist/masked-input/index.module.css +1 -1
  182. package/dist/masked-input/index.module.css.js +4 -4
  183. package/dist/menu/component.d.ts +2 -2
  184. package/dist/menu/components/content-header/index.d.ts +1 -1
  185. package/dist/menu/components/content-header/index.module.css +1 -1
  186. package/dist/menu/components/content-header/index.module.css.js +1 -1
  187. package/dist/menu/components/menu-avatar/index.d.ts +1 -1
  188. package/dist/menu/components/menu-avatar/index.module.css +1 -1
  189. package/dist/menu/components/menu-avatar/index.module.css.js +2 -2
  190. package/dist/menu/components/menu-back-button/index.d.ts +1 -1
  191. package/dist/menu/components/menu-back-button/index.module.css +1 -1
  192. package/dist/menu/components/menu-back-button/index.module.css.js +6 -6
  193. package/dist/menu/components/menu-button/index.module.css +1 -1
  194. package/dist/menu/components/menu-button/index.module.css.js +13 -13
  195. package/dist/menu/components/menu-buttons-list/index.d.ts +1 -1
  196. package/dist/menu/components/menu-buttons-list/index.module.css +1 -1
  197. package/dist/menu/components/menu-buttons-list/index.module.css.js +1 -1
  198. package/dist/menu/components/user-button/index.d.ts +1 -1
  199. package/dist/menu/components/user-button/index.module.css +1 -1
  200. package/dist/menu/components/user-button/index.module.css.js +4 -4
  201. package/dist/menu/index.module.css +1 -1
  202. package/dist/menu/index.module.css.js +12 -12
  203. package/dist/message/component.d.ts +1 -1
  204. package/dist/message/index.module.css +1 -1
  205. package/dist/message/index.module.css.js +6 -6
  206. package/dist/modal/components/modals/index.d.ts +1 -1
  207. package/dist/modal/components/modals/index.module.css +1 -1
  208. package/dist/modal/components/modals/index.module.css.js +16 -16
  209. package/dist/modal/components/modals/modal.d.ts +1 -1
  210. package/dist/modal/hooks/use-modal.d.ts +1 -1
  211. package/dist/modal/types.d.ts +6 -6
  212. package/dist/mq/component.d.ts +1 -1
  213. package/dist/mq/mq-list.d.ts +19 -0
  214. package/dist/mq/{mq.json.js → mq-list.js} +1 -1
  215. package/dist/mq/mq-list.js.map +1 -0
  216. package/dist/mq/utils.d.ts +2 -2
  217. package/dist/mq/utils.js +22 -15
  218. package/dist/mq/utils.js.map +1 -1
  219. package/dist/notification/component.d.ts +4 -4
  220. package/dist/notification/index.module.css +1 -1
  221. package/dist/notification/index.module.css.js +7 -7
  222. package/dist/page-container/component.d.ts +2 -2
  223. package/dist/page-container/index.module.css +1 -1
  224. package/dist/page-container/index.module.css.js +6 -6
  225. package/dist/page-loading/index.module.css +1 -1
  226. package/dist/page-loading/index.module.css.js +1 -1
  227. package/dist/page-with-controls/component.d.ts +3 -3
  228. package/dist/picker-button/common/labeled-button/index.d.ts +1 -1
  229. package/dist/picker-button/common/labeled-button/index.module.css +1 -1
  230. package/dist/picker-button/common/labeled-button/index.module.css.js +4 -4
  231. package/dist/picker-button/component.d.ts +3 -3
  232. package/dist/picker-button/field/Component.d.ts +2 -2
  233. package/dist/picker-button/field/Component.js.map +1 -1
  234. package/dist/picker-button/field/index.module.css +1 -1
  235. package/dist/picker-button/field/index.module.css.js +1 -1
  236. package/dist/picker-button/index.module.css +1 -1
  237. package/dist/picker-button/index.module.css.js +2 -2
  238. package/dist/popover/component.d.ts +5 -5
  239. package/dist/popover/component.js +108 -73
  240. package/dist/popover/component.js.map +1 -1
  241. package/dist/popover/index.module.css +1 -1
  242. package/dist/popover/index.module.css.js +6 -6
  243. package/dist/portal/component.d.ts +1 -1
  244. package/dist/progress-bar/component.d.ts +1 -1
  245. package/dist/progress-bar/index.module.css +1 -1
  246. package/dist/progress-bar/index.module.css.js +24 -24
  247. package/dist/progress-index/component.d.ts +1 -1
  248. package/dist/progress-index/index.module.css +1 -1
  249. package/dist/progress-index/index.module.css.js +1 -1
  250. package/dist/radio/component.d.ts +4 -4
  251. package/dist/radio/index.module.css +1 -1
  252. package/dist/radio/index.module.css.js +28 -28
  253. package/dist/radio-group/component.d.ts +1 -1
  254. package/dist/radio-group/index.module.css +1 -1
  255. package/dist/radio-group/index.module.css.js +14 -14
  256. package/dist/radio-groups/component.d.ts +2 -2
  257. package/dist/radio-groups/index.module.css +1 -1
  258. package/dist/radio-groups/index.module.css.js +6 -6
  259. package/dist/section-wrapper/index.module.css +1 -1
  260. package/dist/section-wrapper/index.module.css.js +4 -4
  261. package/dist/select/component.d.ts +2 -2
  262. package/dist/select/component.js +11 -11
  263. package/dist/select/component.js.map +1 -1
  264. package/dist/select/components/arrow/index.module.css +1 -1
  265. package/dist/select/components/arrow/index.module.css.js +4 -4
  266. package/dist/select/components/base-select/index.module.css +1 -1
  267. package/dist/select/components/base-select/index.module.css.js +5 -5
  268. package/dist/select/components/checkmark/index.module.css +1 -1
  269. package/dist/select/components/checkmark/index.module.css.js +2 -2
  270. package/dist/select/components/field/component.d.ts +2 -2
  271. package/dist/select/components/field/component.js +14 -14
  272. package/dist/select/components/field/component.js.map +1 -1
  273. package/dist/select/components/field/index.js +2 -2
  274. package/dist/select/components/field/index.module.css +1 -1
  275. package/dist/select/components/field/index.module.css.js +14 -14
  276. package/dist/select/components/index.js +8 -8
  277. package/dist/select/components/native-select/component.d.ts +1 -1
  278. package/dist/select/components/optgroup/index.module.css +1 -1
  279. package/dist/select/components/optgroup/index.module.css.js +6 -6
  280. package/dist/select/components/option/index.module.css +1 -1
  281. package/dist/select/components/option/index.module.css.js +18 -18
  282. package/dist/select/components/options-list/index.module.css +1 -1
  283. package/dist/select/components/options-list/index.module.css.js +8 -8
  284. package/dist/select/components/select-search/index.d.ts +3 -3
  285. package/dist/select/components/select-search/index.js +58 -73
  286. package/dist/select/components/select-search/index.js.map +1 -1
  287. package/dist/select/components/select-search/index.module.css +1 -1
  288. package/dist/select/components/select-search/index.module.css.js +2 -2
  289. package/dist/select/components/virtual-options-list/component.d.ts +1 -1
  290. package/dist/select/components/virtual-options-list/index.module.css +1 -1
  291. package/dist/select/components/virtual-options-list/index.module.css.js +8 -8
  292. package/dist/select/index.js +10 -10
  293. package/dist/select/presets/use-lazy-loading/index.d.ts +2 -2
  294. package/dist/select/presets/use-select-with-loading/hook.d.ts +1 -1
  295. package/dist/select/presets/use-select-with-loading/index.module.css +1 -1
  296. package/dist/select/presets/use-select-with-loading/index.module.css.js +2 -2
  297. package/dist/select/typings.d.ts +10 -10
  298. package/dist/select/utils.d.ts +5 -5
  299. package/dist/sidepanel/component.d.ts +2 -2
  300. package/dist/sidepanel/index.module.css +1 -1
  301. package/dist/sidepanel/index.module.css.js +10 -10
  302. package/dist/sidepanel-header/component.d.ts +2 -2
  303. package/dist/sidepanel-header/index.module.css +1 -1
  304. package/dist/sidepanel-header/index.module.css.js +12 -12
  305. package/dist/skeleton/component.d.ts +1 -1
  306. package/dist/skeleton/index.module.css +1 -1
  307. package/dist/skeleton/index.module.css.js +3 -3
  308. package/dist/space/component.d.ts +1 -1
  309. package/dist/space/index.module.css +1 -1
  310. package/dist/space/index.module.css.js +10 -10
  311. package/dist/space/utils.d.ts +3 -3
  312. package/dist/spinner/component.d.ts +1 -1
  313. package/dist/spinner/index.module.css +1 -1
  314. package/dist/spinner/index.module.css.js +21 -21
  315. package/dist/stack/component.d.ts +1 -1
  316. package/dist/status/component.d.ts +1 -1
  317. package/dist/status/index.module.css +1 -1
  318. package/dist/status/index.module.css.js +26 -26
  319. package/dist/stepped-progress-bar/components/step-bar.d.ts +2 -2
  320. package/dist/stepped-progress-bar/index.d.ts +2 -2
  321. package/dist/stepped-progress-bar/index.module.css +1 -1
  322. package/dist/stepped-progress-bar/index.module.css.js +24 -24
  323. package/dist/sticker/index.module.css +1 -1
  324. package/dist/sticker/index.module.css.js +6 -6
  325. package/dist/suffix-input/component.d.ts +2 -2
  326. package/dist/suffix-input/index.module.css +1 -1
  327. package/dist/suffix-input/index.module.css.js +10 -10
  328. package/dist/super-list-header/index.module.css +1 -1
  329. package/dist/super-list-header/index.module.css.js +10 -10
  330. package/dist/super-list-item/index.module.css +1 -1
  331. package/dist/super-list-item/index.module.css.js +9 -9
  332. package/dist/switch/component.d.ts +3 -3
  333. package/dist/switch/index.module.css +1 -1
  334. package/dist/switch/index.module.css.js +23 -23
  335. package/dist/table/columns.d.ts +1 -1
  336. package/dist/table/components/cell/component.d.ts +1 -1
  337. package/dist/table/components/cell/index.module.css +1 -1
  338. package/dist/table/components/cell/index.module.css.js +10 -10
  339. package/dist/table/components/cells/index.d.ts +2 -3
  340. package/dist/table/components/cells/index.js +45 -49
  341. package/dist/table/components/cells/index.js.map +1 -1
  342. package/dist/table/components/cells/index.module.css +1 -1
  343. package/dist/table/components/cells/index.module.css.js +18 -18
  344. package/dist/table/components/empty-list/index.module.css +1 -1
  345. package/dist/table/components/empty-list/index.module.css.js +2 -2
  346. package/dist/table/components/error/index.module.css +1 -1
  347. package/dist/table/components/error/index.module.css.js +2 -2
  348. package/dist/table/components/loading/index.d.ts +1 -1
  349. package/dist/table/components/loading/index.module.css +1 -1
  350. package/dist/table/components/loading/index.module.css.js +4 -4
  351. package/dist/table/components/pagination/index.d.ts +1 -1
  352. package/dist/table/components/pagination/index.module.css +1 -1
  353. package/dist/table/components/pagination/index.module.css.js +18 -18
  354. package/dist/table/components/table-header/index.d.ts +1 -1
  355. package/dist/table/components/table-header/index.module.css +1 -1
  356. package/dist/table/components/table-header/index.module.css.js +11 -11
  357. package/dist/table/hooks/use-table-data.d.ts +3 -3
  358. package/dist/table/index.module.css +1 -1
  359. package/dist/table/index.module.css.js +8 -8
  360. package/dist/table/table.d.ts +5 -10
  361. package/dist/table/table.js +110 -214
  362. package/dist/table/table.js.map +1 -1
  363. package/dist/table/types.d.ts +10 -10
  364. package/dist/table/utils/get-tags.d.ts +1 -1
  365. package/dist/table/utils/prepare-rows.d.ts +1 -1
  366. package/dist/table-status/component.d.ts +1 -1
  367. package/dist/table-status/index.module.css +1 -1
  368. package/dist/table-status/index.module.css.js +4 -4
  369. package/dist/tag/component.d.ts +1 -1
  370. package/dist/tag/index.module.css +1 -1
  371. package/dist/tag/index.module.css.js +15 -15
  372. package/dist/tags-list/component.d.ts +1 -1
  373. package/dist/tags-list/index.module.css +1 -1
  374. package/dist/tags-list/index.module.css.js +1 -1
  375. package/dist/textarea/component.d.ts +3 -3
  376. package/dist/textarea/component.js +63 -62
  377. package/dist/textarea/component.js.map +1 -1
  378. package/dist/textarea/index.module.css +1 -1
  379. package/dist/textarea/index.module.css.js +14 -14
  380. package/dist/theme-provider/component.d.ts +1 -1
  381. package/dist/theme-provider/default-themes.d.ts +3 -3
  382. package/dist/toast/component.d.ts +1 -1
  383. package/dist/toast/index.module.css +1 -1
  384. package/dist/toast/index.module.css.js +15 -15
  385. package/dist/toast-notifier/component.d.ts +1 -1
  386. package/dist/toast-notifier/index.module.css +1 -1
  387. package/dist/toast-notifier/index.module.css.js +10 -10
  388. package/dist/toast-plate/component.d.ts +2 -2
  389. package/dist/toast-plate/index.module.css +1 -1
  390. package/dist/toast-plate/index.module.css.js +29 -29
  391. package/dist/tooltip/component.d.ts +2 -2
  392. package/dist/tooltip/index.module.css +1 -1
  393. package/dist/tooltip/index.module.css.js +6 -6
  394. package/dist/typings/api.d.ts +7 -7
  395. package/dist/typography/colors.d.ts +1 -1
  396. package/dist/typography/colors.module.css +1 -1
  397. package/dist/typography/colors.module.css.js +23 -23
  398. package/dist/typography/text/component.d.ts +1 -1
  399. package/dist/typography/text/index.module.css +1 -1
  400. package/dist/typography/text/index.module.css.js +22 -22
  401. package/dist/typography/title/common.module.css +1 -1
  402. package/dist/typography/title/common.module.css.js +4 -4
  403. package/dist/typography/title/component.d.ts +2 -2
  404. package/dist/typography/title/index.module.css +1 -1
  405. package/dist/typography/title/index.module.css.js +17 -17
  406. package/dist/utils/data/currency-codes.d.ts +1 -1
  407. package/dist/utils/date/index.d.ts +1 -1
  408. package/dist/utils/debounce.d.ts +8 -0
  409. package/dist/utils/debounce.js +15 -0
  410. package/dist/utils/debounce.js.map +1 -0
  411. package/dist/utils/format-amount/util.d.ts +1 -1
  412. package/dist/utils/format-date/index.d.ts +1 -1
  413. package/dist/utils/get-currency-symbol/util.d.ts +2 -1
  414. package/dist/utils/get-service-error/index.d.ts +2 -2
  415. package/dist/utils/index.d.ts +3 -0
  416. package/dist/utils/index.js +43 -37
  417. package/dist/utils/index.js.map +1 -1
  418. package/dist/utils/safe-stringify.d.ts +2 -0
  419. package/dist/utils/safe-stringify.js +20 -0
  420. package/dist/utils/safe-stringify.js.map +1 -0
  421. package/dist/utils/string.d.ts +2 -0
  422. package/dist/utils/string.js +7 -0
  423. package/dist/utils/string.js.map +1 -0
  424. package/dist/welcome-layout/component.d.ts +1 -1
  425. package/dist/welcome-layout/index.module.css +1 -1
  426. package/dist/welcome-layout/index.module.css.js +13 -13
  427. package/dist/with-suffix/component.d.ts +2 -2
  428. package/dist/with-suffix/index.module.css +1 -1
  429. package/dist/with-suffix/index.module.css.js +14 -14
  430. package/package.json +5 -11
  431. package/dist/checkbox-lists/mock.d.ts +0 -81
  432. package/dist/checkbox-lists/mock.js +0 -208
  433. package/dist/checkbox-lists/mock.js.map +0 -1
  434. package/dist/collapsable-row/fixtures.d.ts +0 -99
  435. package/dist/collapsable-row/fixtures.js +0 -182
  436. package/dist/collapsable-row/fixtures.js.map +0 -1
  437. package/dist/mq/mq.json.js.map +0 -1
  438. package/dist/radio-groups/mock.d.ts +0 -9
  439. package/dist/radio-groups/mock.js +0 -83
  440. package/dist/radio-groups/mock.js.map +0 -1
@@ -1,110 +1,95 @@
1
- import { jsxs as E, jsx as f } from "react/jsx-runtime";
2
- import d, { useEffect as g, useState as b, useRef as j, useCallback as a, useMemo as N } from "react";
3
- import { SearchS as P } from "@alphakits/icons";
1
+ import { jsxs as v, jsx as o } from "react/jsx-runtime";
2
+ import a, { useEffect as P, useState as h, useRef as b, useCallback as m, useMemo as j } from "react";
3
+ import E from "@alphakits/icons/dist/SearchS";
4
4
  import { useClickOutside as I } from "../../../hooks/useClickOutside/index.js";
5
5
  import "../../../toast-notifier/component.js";
6
- import { Input as _ } from "../../../input/component.js";
7
- import { BaseSelect as $ } from "../base-select/component.js";
8
- import { OptionsList as z } from "../options-list/component.js";
9
- import A from "./index.module.css.js";
10
- function B(t) {
11
- const o = /* @__PURE__ */ new WeakSet(), s = (r) => typeof Element != "undefined" && r instanceof Element, n = (r) => {
12
- if (!r || typeof r != "object") return !1;
13
- const e = r.$$typeof;
14
- return typeof e == "symbol" && String(e).includes("react.element");
15
- };
16
- return JSON.stringify(t, (r, e) => {
17
- if (!(s(e) || n(e))) {
18
- if (e && typeof e == "object") {
19
- if (o.has(e)) return;
20
- o.add(e);
21
- }
22
- return e;
23
- }
24
- });
25
- }
26
- const D = d.forwardRef(
27
- ({ inputProps: t, ...o }, s) => {
28
- const n = d.useRef(null), r = d.useRef(null);
29
- return g(() => {
30
- var e;
31
- (e = n.current) == null || e.focus();
32
- }, []), /* @__PURE__ */ E("div", { ref: s, children: [
33
- /* @__PURE__ */ f("div", { style: { padding: "5px 20px" }, children: /* @__PURE__ */ f(
34
- _,
6
+ import { safeStringify as z } from "../../../utils/safe-stringify.js";
7
+ import { Input as A } from "../../../input/component.js";
8
+ import { BaseSelect as B } from "../base-select/component.js";
9
+ import { OptionsList as F } from "../options-list/component.js";
10
+ import M from "./index.module.css.js";
11
+ const N = a.forwardRef(
12
+ ({ inputProps: t, ...i }, e) => {
13
+ const n = a.useRef(null), f = a.useRef(null);
14
+ return P(() => {
15
+ var c;
16
+ (c = n.current) == null || c.focus();
17
+ }, []), /* @__PURE__ */ v("div", { ref: e, children: [
18
+ /* @__PURE__ */ o("div", { style: { padding: "5px 20px" }, children: /* @__PURE__ */ o(
19
+ A,
35
20
  {
36
21
  size: "s",
37
- leftAddons: /* @__PURE__ */ f(P, {}),
22
+ leftAddons: /* @__PURE__ */ o(E, {}),
38
23
  ...t,
39
- fieldClassName: A.innerInput,
24
+ fieldClassName: M.innerInput,
40
25
  block: !0,
41
26
  ref: n
42
27
  }
43
28
  ) }),
44
- /* @__PURE__ */ f(z, { ...o, ref: r })
29
+ /* @__PURE__ */ o(F, { ...i, ref: f })
45
30
  ] });
46
31
  }
47
- ), Q = ({
32
+ ), V = ({
48
33
  options: t,
49
- searchType: o = "text",
50
- onChange: s,
34
+ searchType: i = "text",
35
+ onChange: e,
51
36
  selected: n = "",
52
- ...r
37
+ ...f
53
38
  }) => {
54
- const [e, u] = b(t), [y, S] = b(""), O = j(null), x = a(
55
- (L, { value: l }) => {
56
- S(l);
39
+ const [c, l] = h(t), [d, S] = h(""), x = b(null), L = m(
40
+ (O, { value: u }) => {
41
+ S(u);
57
42
  try {
58
- if (!l) return u(t);
59
- const p = String(l).toLowerCase(), R = t.reduce(
60
- (m, c) => m.concat(c.options ? c.options : [c]),
43
+ if (!u) return l(t);
44
+ const R = String(u).toLowerCase(), w = t.reduce(
45
+ (p, s) => p.concat(s.options ? s.options : [s]),
61
46
  []
62
- ), h = R.filter(({ key: m, value: c, content: C }) => B({ key: m, value: c, content: C }).toLowerCase().includes(p));
63
- return console.log(l, h, R), u(h);
64
- } catch (p) {
65
- return console.log(p), [];
47
+ ).filter(({ key: p, value: s, content: k }) => z({ key: p, value: s, content: k }).toLowerCase().includes(R));
48
+ return l(w);
49
+ } catch (R) {
50
+ return [];
66
51
  }
67
52
  },
68
53
  [t]
69
- ), i = a(() => {
70
- S(""), u(t);
71
- }, [t]), k = a(
72
- (L) => {
73
- s == null || s(L), i();
54
+ ), r = m(() => {
55
+ S(""), l(t);
56
+ }, [t]), y = m(
57
+ (O) => {
58
+ e == null || e(O), r();
74
59
  },
75
- [s, i]
60
+ [e, r]
76
61
  );
77
- I(O, i);
78
- const w = N(
62
+ I(x, r);
63
+ const C = j(
79
64
  () => ({
80
- ref: O,
65
+ ref: x,
81
66
  inputProps: {
82
- onChange: x,
83
- value: y,
84
- type: o,
67
+ onChange: L,
68
+ value: d,
69
+ type: i,
85
70
  clear: !0,
86
- onClear: i
71
+ onClear: r
87
72
  }
88
73
  }),
89
- [x, y, o, i]
74
+ [L, d, i, r]
90
75
  );
91
- return /* @__PURE__ */ f(
92
- $,
76
+ return /* @__PURE__ */ o(
77
+ B,
93
78
  {
94
- ...r,
79
+ ...f,
95
80
  selected: n,
96
- onChange: k,
81
+ onChange: y,
97
82
  showEmptyOptionsList: !0,
98
- OptionsList: D,
99
- filteredOptions: e,
83
+ OptionsList: N,
84
+ filteredOptions: c,
100
85
  options: t,
101
- optionsListProps: w
86
+ optionsListProps: C
102
87
  }
103
88
  );
104
89
  };
105
90
  export {
106
- D as CustomOptionsList,
107
- Q as SelectSearch,
108
- B as safeStringify
91
+ N as CustomOptionsList,
92
+ V as SelectSearch,
93
+ z as safeStringify
109
94
  };
110
95
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../src/select/components/select-search/index.tsx"],"sourcesContent":["import React, {\n useCallback, useEffect, useMemo, useRef, useState,\n} from 'react';\nimport { SearchS } from '@alphakits/icons';\nimport { useClickOutside } from 'src/hooks';\nimport { Input } from 'src/input';\nimport { SelectProps } from 'src/select/component';\nimport { OptionsListProps } from 'src/select/typings';\n\nimport { BaseSelect } from '../base-select';\nimport { OptionsList } from '../options-list';\n\nimport styles from './index.module.css';\n\nexport function safeStringify(obj: any): string {\n const seen = new WeakSet();\n\n const isDomNode = (v: any) =>\n typeof Element !== 'undefined' && v instanceof Element;\n\n const isReactElement = (v: any) => {\n if (!v || typeof v !== 'object') return false;\n // признак React-элемента: $$typeof = Symbol(react.element)\n const t = (v as any).$$typeof;\n\n return typeof t === 'symbol' && String(t).includes('react.element');\n };\n\n return JSON.stringify(obj, (_key, value) => {\n // вырезаем DOM и React-элементы сразу (там и живут циклы)\n if (isDomNode(value) || isReactElement(value)) return undefined;\n\n if (value && typeof value === 'object') {\n if (seen.has(value)) return undefined; // обрезаем цикл\n seen.add(value);\n }\n\n return value;\n });\n}\n\nexport const CustomOptionsList = React.forwardRef<HTMLDivElement, OptionsListProps>(\n ({ inputProps, ...props }, outerRef) => {\n const inputRef = React.useRef<HTMLInputElement>(null);\n const innerListRef = React.useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n inputRef.current?.focus();\n }, []);\n\n return (\n <div ref={ outerRef }>\n <div style={ { padding: '5px 20px' } }>\n <Input\n size=\"s\"\n leftAddons={ <SearchS /> }\n { ...inputProps }\n fieldClassName={ styles.innerInput }\n block={ true }\n ref={ inputRef }\n />\n </div>\n { /* отдельный ref для внутреннего списка — не делим один ref на два DOM-узла */ }\n <OptionsList { ...props } ref={ innerListRef } />\n </div>\n );\n },\n);\n\ntype SelectSearchProps = Omit<SelectProps, 'options'> & {\n options: any;\n searchType?: 'text' | 'number';\n};\n\nexport const SelectSearch = ({\n options,\n searchType = 'text',\n onChange,\n selected = '',\n ...restProps\n}: SelectSearchProps) => {\n const [filteredOptions, setFilteredOptions] = useState(options);\n const [searchText, setSearchText] = useState('');\n const listRef = useRef<HTMLDivElement>(null);\n\n const searchOptions = useCallback(\n (_e: any, { value }: { value: string }) => {\n setSearchText(value);\n\n try {\n if (!value) return setFilteredOptions(options);\n\n const text = String(value).toLowerCase();\n const data = options.reduce(\n (acc: any[], o: any) => acc.concat(o.options ? o.options : [o]),\n [],\n );\n\n const res = data.filter(({ key, value: val, content }: any) =>\n safeStringify({ key, value: val, content }).toLowerCase().includes(text));\n\n console.log(value, res, data);\n\n return setFilteredOptions(res);\n } catch (error) {\n // eslint-disable-next-line no-console\n console.log(error);\n\n return [];\n }\n },\n [options],\n );\n\n const handleClear = useCallback(() => {\n setSearchText('');\n setFilteredOptions(options);\n }, [options]);\n\n const handleSelect = useCallback(\n (payload: any) => {\n onChange?.(payload);\n handleClear();\n },\n [onChange, handleClear],\n );\n\n useClickOutside(listRef, handleClear);\n\n const memoOptionsListProps = useMemo(\n () => ({\n ref: listRef,\n inputProps: {\n onChange: searchOptions,\n value: searchText,\n type: searchType,\n clear: true,\n onClear: handleClear,\n },\n }),\n [searchOptions, searchText, searchType, handleClear],\n );\n\n return (\n <BaseSelect\n { ...restProps }\n selected={ selected }\n onChange={ handleSelect }\n showEmptyOptionsList={ true }\n OptionsList={ CustomOptionsList }\n filteredOptions={ filteredOptions }\n options={ options }\n optionsListProps={ memoOptionsListProps as any }\n />\n );\n};\n"],"names":["safeStringify","obj","seen","isDomNode","v","isReactElement","t","_key","value","CustomOptionsList","React","inputProps","props","outerRef","inputRef","innerListRef","useEffect","_a","jsxs","jsx","Input","SearchS","styles","OptionsList","SelectSearch","options","searchType","onChange","selected","restProps","filteredOptions","setFilteredOptions","useState","searchText","setSearchText","listRef","useRef","searchOptions","useCallback","_e","text","data","acc","o","res","key","val","content","error","handleClear","handleSelect","payload","useClickOutside","memoOptionsListProps","useMemo","BaseSelect"],"mappings":"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"}
1
+ {"version":3,"file":"index.js","sources":["../../../../src/select/components/select-search/index.tsx"],"sourcesContent":["import React, {\n useCallback, useEffect, useMemo, useRef, useState,\n} from 'react';\nimport SearchS from '@alphakits/icons/dist/SearchS';\nimport { useClickOutside } from 'src/hooks';\nimport { safeStringify } from 'src/utils/safe-stringify';\n\nexport { safeStringify };\nimport { Input } from 'src/input';\nimport { SelectProps } from 'src/select/component';\nimport { OptionsListProps } from 'src/select/typings';\n\nimport { BaseSelect } from '../base-select';\nimport { OptionsList } from '../options-list';\n\nimport styles from './index.module.css';\n\nexport const CustomOptionsList = React.forwardRef<HTMLDivElement, OptionsListProps>(\n ({ inputProps, ...props }, outerRef) => {\n const inputRef = React.useRef<HTMLInputElement>(null);\n const innerListRef = React.useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n inputRef.current?.focus();\n }, []);\n\n return (\n <div ref={ outerRef }>\n <div style={ { padding: '5px 20px' } }>\n <Input\n size=\"s\"\n leftAddons={ <SearchS /> }\n { ...inputProps }\n fieldClassName={ styles.innerInput }\n block={ true }\n ref={ inputRef }\n />\n </div>\n { /* отдельный ref для внутреннего списка — не делим один ref на два DOM-узла */ }\n <OptionsList { ...props } ref={ innerListRef } />\n </div>\n );\n },\n);\n\ntype SelectSearchProps = Omit<SelectProps, 'options'> & {\n options: any;\n searchType?: 'text' | 'number';\n};\n\nexport const SelectSearch = ({\n options,\n searchType = 'text',\n onChange,\n selected = '',\n ...restProps\n}: SelectSearchProps) => {\n const [filteredOptions, setFilteredOptions] = useState(options);\n const [searchText, setSearchText] = useState('');\n const listRef = useRef<HTMLDivElement>(null);\n\n const searchOptions = useCallback(\n (_e: any, { value }: { value: string }) => {\n setSearchText(value);\n\n try {\n if (!value) return setFilteredOptions(options);\n\n const text = String(value).toLowerCase();\n const data = options.reduce(\n (acc: any[], o: any) => acc.concat(o.options ? o.options : [o]),\n [],\n );\n\n const res = data.filter(({ key, value: val, content }: any) =>\n safeStringify({ key, value: val, content }).toLowerCase().includes(text));\n\n return setFilteredOptions(res);\n } catch (error) {\n return [];\n }\n },\n [options],\n );\n\n const handleClear = useCallback(() => {\n setSearchText('');\n setFilteredOptions(options);\n }, [options]);\n\n const handleSelect = useCallback(\n (payload: any) => {\n onChange?.(payload);\n handleClear();\n },\n [onChange, handleClear],\n );\n\n useClickOutside(listRef, handleClear);\n\n const memoOptionsListProps = useMemo(\n () => ({\n ref: listRef,\n inputProps: {\n onChange: searchOptions,\n value: searchText,\n type: searchType,\n clear: true,\n onClear: handleClear,\n },\n }),\n [searchOptions, searchText, searchType, handleClear],\n );\n\n return (\n <BaseSelect\n { ...restProps }\n selected={ selected }\n onChange={ handleSelect }\n showEmptyOptionsList={ true }\n OptionsList={ CustomOptionsList }\n filteredOptions={ filteredOptions }\n options={ options }\n optionsListProps={ memoOptionsListProps as any }\n />\n );\n};\n"],"names":["CustomOptionsList","React","inputProps","props","outerRef","inputRef","innerListRef","useEffect","_a","jsxs","jsx","Input","SearchS","styles","OptionsList","SelectSearch","options","searchType","onChange","selected","restProps","filteredOptions","setFilteredOptions","useState","searchText","setSearchText","listRef","useRef","searchOptions","useCallback","_e","value","text","res","acc","o","key","val","content","safeStringify","error","handleClear","handleSelect","payload","useClickOutside","memoOptionsListProps","useMemo","BaseSelect"],"mappings":"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"}
@@ -1 +1 @@
1
- .index-module_innerInput__THnfC{background-color:var(--color-bg-primary)!important;border-bottom:1px solid var(--color-border-primary)!important;min-height:40px!important;margin:0 -9px!important}.index-module_innerInput__THnfC:focus{background-color:red!important}.index-module_innerInput__THnfC:before{display:none!important}
1
+ .innerInput_THnf{background-color:var(--color-bg-primary)!important;border-bottom:1px solid var(--color-border-primary)!important;min-height:40px!important;margin:0 -9px!important}.innerInput_THnf:focus{background-color:red!important}.innerInput_THnf:before{display:none!important}
@@ -1,9 +1,9 @@
1
1
  import './index.module.css';
2
- const n = "index-module_innerInput__THnfC", e = {
2
+ const n = "innerInput_THnf", t = {
3
3
  innerInput: n
4
4
  };
5
5
  export {
6
- e as default,
6
+ t as default,
7
7
  n as innerInput
8
8
  };
9
9
  //# sourceMappingURL=index.module.css.js.map
@@ -1,5 +1,5 @@
1
1
  import { OptionsListProps } from '../../typings';
2
- export declare type VirtualOptionsList = OptionsListProps & {
2
+ export type VirtualOptionsList = OptionsListProps & {
3
3
  /**
4
4
  * Число отрисованных пунктов до\после видимого окна
5
5
  */
@@ -1 +1 @@
1
- :root{--select-error-color: var(--color-text-negative);--select-arrow-background: url(https://alfabank.st/icons/icon_chevron-for-select-down_m_black.svg);--select-arrow-hover-opacity: .7;--select-options-list-border-radius: 0 0 4px 4px;--select-options-list-box-shadow: var(--shadow-xs);--select-options-list-offset: 0;--select-options-list-top-padding: 0;--select-options-list-bottom-padding: 0;--select-options-list-empty-placeholder-color: var(--color-text-secondary);--select-option-divider-display: none;--select-option-divider-background: var(--color-border-primary);--select-option-left-padding: var(--gap-s);--select-option-right-padding: var(--gap-s);--select-option-l-left-padding: var(--gap-m);--select-option-l-right-padding: var(--gap-m);--select-option-background: var(--color-bg-primary);--select-option-selected-background: var(--color-bg-primary);--select-option-hover-background: var(--color-bg-secondary);--select-option-active-background: var(--color-bg-tertiary);--select-option-disabled-background: var(--color-bg-primary);--select-option-color: var(--color-text-primary);--select-option-selected-color: var(--color-text-primary);--select-option-hover-color: var(--color-text-primary);--select-option-active-color: var(--color-text-primary);--select-option-disabled-color: var(--color-text-secondary);--select-checkmark-margin: 0 var(--gap-xs) 0 0;--select-checkmark-size: 4px;--select-checkmark-order: 0;--select-checkmark-unselected-opacity: 0;--select-checkmark-background: var(--color-graphic-primary);--select-checkmark-border-radius: var(--border-radius-circle);--select-optgroup-color: var(--color-text-secondary);--select-optgroup-background: var(--color-bg-primary);--select-optgroup-left-padding: var(--gap-s);--select-optgroup-right-padding: var(--gap-s);--select-optgroup-l-left-padding: var(--gap-m);--select-optgroup-l-right-padding: var(--gap-m)}:root{--text-primary-color: var(--color-text-primary);--text-secondary-color: var(--color-text-secondary);--text-tertiary-color: var(--color-text-tertiary);--border-radius: 4px;--focus-color: var(--color-border-link);--font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif;--disabled-cursor: not-allowed;--arrow-transform: rotate(180deg)}.index-module_virtualOptionsList__2eWn8{overflow:auto;width:100%;outline:none;box-sizing:border-box;position:relative}.index-module_inner__6DZqj{position:relative;width:100%}.index-module_virtualRow__0huMi{position:absolute;top:0;left:0;width:100%}.index-module_virtualRow__0huMi:before{content:"";position:absolute;z-index:1;left:var(--select-option-left-padding);right:var(--select-option-right-padding);top:0;height:1px;background:var(--select-option-divider-background);display:var(--select-option-divider-display)}.index-module_virtualRow__0huMi:first-child:before{display:none}.index-module_highlighted__Uxj8l:before,.index-module_highlighted__Uxj8l+.index-module_virtualRow__0huMi:before{display:none}.index-module_emptyPlaceholder__ONTop{padding:var(--gap-m) var(--gap-s);color:var(--select-options-list-empty-placeholder-color)}.index-module_l__Z0I4S .index-module_emptyPlaceholder__ONTop,.index-module_xl__SNx-j .index-module_emptyPlaceholder__ONTop{padding:var(--gap-xl) var(--gap-m)}
1
+ :root{--select-error-color: var(--color-text-negative);--select-arrow-background: url(https://alfabank.st/icons/icon_chevron-for-select-down_m_black.svg);--select-arrow-hover-opacity: .7;--select-options-list-border-radius: 0 0 4px 4px;--select-options-list-box-shadow: var(--shadow-xs);--select-options-list-offset: 0;--select-options-list-top-padding: 0;--select-options-list-bottom-padding: 0;--select-options-list-empty-placeholder-color: var(--color-text-secondary);--select-option-divider-display: none;--select-option-divider-background: var(--color-border-primary);--select-option-left-padding: var(--gap-s);--select-option-right-padding: var(--gap-s);--select-option-l-left-padding: var(--gap-m);--select-option-l-right-padding: var(--gap-m);--select-option-background: var(--color-bg-primary);--select-option-selected-background: var(--color-bg-primary);--select-option-hover-background: var(--color-bg-secondary);--select-option-active-background: var(--color-bg-tertiary);--select-option-disabled-background: var(--color-bg-primary);--select-option-color: var(--color-text-primary);--select-option-selected-color: var(--color-text-primary);--select-option-hover-color: var(--color-text-primary);--select-option-active-color: var(--color-text-primary);--select-option-disabled-color: var(--color-text-secondary);--select-checkmark-margin: 0 var(--gap-xs) 0 0;--select-checkmark-size: 4px;--select-checkmark-order: 0;--select-checkmark-unselected-opacity: 0;--select-checkmark-background: var(--color-graphic-primary);--select-checkmark-border-radius: var(--border-radius-circle);--select-optgroup-color: var(--color-text-secondary);--select-optgroup-background: var(--color-bg-primary);--select-optgroup-left-padding: var(--gap-s);--select-optgroup-right-padding: var(--gap-s);--select-optgroup-l-left-padding: var(--gap-m);--select-optgroup-l-right-padding: var(--gap-m)}:root{--text-primary-color: var(--color-text-primary);--text-secondary-color: var(--color-text-secondary);--text-tertiary-color: var(--color-text-tertiary);--border-radius: 4px;--focus-color: var(--color-border-link);--font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, sans-serif;--disabled-cursor: not-allowed;--arrow-transform: rotate(180deg)}.virtualOptionsList_2eWn{overflow:auto;width:100%;outline:none;box-sizing:border-box;position:relative}.inner_6DZq{position:relative;width:100%}.virtualRow_0huM{position:absolute;top:0;left:0;width:100%}.virtualRow_0huM:before{content:"";position:absolute;z-index:1;left:var(--select-option-left-padding);right:var(--select-option-right-padding);top:0;height:1px;background:var(--select-option-divider-background);display:var(--select-option-divider-display)}.virtualRow_0huM:first-child:before{display:none}.highlighted_Uxj8:before,.highlighted_Uxj8+.virtualRow_0huM:before{display:none}.emptyPlaceholder_ONTo{padding:var(--gap-m) var(--gap-s);color:var(--select-options-list-empty-placeholder-color)}.l_Z0I4 .emptyPlaceholder_ONTo,.xl_SNx- .emptyPlaceholder_ONTo{padding:var(--gap-xl) var(--gap-m)}
@@ -1,21 +1,21 @@
1
1
  import './index.module.css';
2
- const e = "index-module_virtualOptionsList__2eWn8", l = "index-module_inner__6DZqj", i = "index-module_virtualRow__0huMi", t = "index-module_highlighted__Uxj8l", o = "index-module_emptyPlaceholder__ONTop", n = "index-module_l__Z0I4S", d = "index-module_xl__SNx-j", _ = {
3
- virtualOptionsList: e,
2
+ const t = "virtualOptionsList_2eWn", l = "inner_6DZq", i = "virtualRow_0huM", e = "highlighted_Uxj8", o = "emptyPlaceholder_ONTo", n = "l_Z0I4", s = "xl_SNx-", h = {
3
+ virtualOptionsList: t,
4
4
  inner: l,
5
5
  virtualRow: i,
6
- highlighted: t,
6
+ highlighted: e,
7
7
  emptyPlaceholder: o,
8
8
  l: n,
9
- xl: d
9
+ xl: s
10
10
  };
11
11
  export {
12
- _ as default,
12
+ h as default,
13
13
  o as emptyPlaceholder,
14
- t as highlighted,
14
+ e as highlighted,
15
15
  l as inner,
16
16
  n as l,
17
- e as virtualOptionsList,
17
+ t as virtualOptionsList,
18
18
  i as virtualRow,
19
- d as xl
19
+ s as xl
20
20
  };
21
21
  //# sourceMappingURL=index.module.css.js.map
@@ -1,22 +1,22 @@
1
- import { Select as t } from "./component.js";
1
+ import { Select as e } from "./component.js";
2
2
  import { Arrow as p } from "./components/arrow/component.js";
3
3
  import { BaseSelect as s } from "./components/base-select/component.js";
4
- import { Field as f } from "./components/field/component.js";
4
+ import { SelectField as f } from "./components/field/component.js";
5
5
  import { Optgroup as m } from "./components/optgroup/component.js";
6
- import { Option as a } from "./components/option/component.js";
7
- import { OptionsList as u } from "./components/options-list/component.js";
6
+ import { Option as l } from "./components/option/component.js";
7
+ import { OptionsList as c } from "./components/options-list/component.js";
8
8
  import { VirtualOptionsList as L } from "./components/virtual-options-list/component.js";
9
- import { useSelectWithLoading as S } from "./presets/use-select-with-loading/hook.js";
9
+ import { useSelectWithLoading as d } from "./presets/use-select-with-loading/hook.js";
10
10
  import { useLazyLoading as h } from "./presets/use-lazy-loading/index.js";
11
11
  import { convertToOptions as b, isGroup as j, isOptionShape as v, joinOptions as w, lastIndexOf as y, processOptions as z, useVisibleOptions as A } from "./utils.js";
12
12
  export {
13
13
  p as Arrow,
14
14
  s as BaseSelect,
15
- f as Field,
16
15
  m as Optgroup,
17
- a as Option,
18
- u as OptionsList,
19
- t as Select,
16
+ l as Option,
17
+ c as OptionsList,
18
+ e as Select,
19
+ f as SelectField,
20
20
  L as VirtualOptionsList,
21
21
  b as convertToOptions,
22
22
  j as isGroup,
@@ -25,7 +25,7 @@ export {
25
25
  y as lastIndexOf,
26
26
  z as processOptions,
27
27
  h as useLazyLoading,
28
- S as useSelectWithLoading,
28
+ d as useSelectWithLoading,
29
29
  A as useVisibleOptions
30
30
  };
31
31
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  import { default as React } from 'react';
2
2
  import { OptionShape } from '../../typings';
3
- declare type OptionsFetcherResponse = {
3
+ type OptionsFetcherResponse = {
4
4
  items: Array<{
5
5
  [x: string]: any;
6
6
  id: number | string;
@@ -13,7 +13,7 @@ declare type OptionsFetcherResponse = {
13
13
  currentPage: number;
14
14
  };
15
15
  };
16
- declare type UseLazyLoadingProps = {
16
+ type UseLazyLoadingProps = {
17
17
  /** Количество элементов на "странице" */
18
18
  limit?: number;
19
19
  /** Начальный номер "страницы" */
@@ -1,5 +1,5 @@
1
1
  import { BaseSelectProps, OptionShape } from '../../typings';
2
- declare type useSelectWithLoadingProps = {
2
+ type useSelectWithLoadingProps = {
3
3
  loading?: boolean;
4
4
  visibleOptions?: BaseSelectProps['visibleOptions'];
5
5
  };
@@ -1 +1 @@
1
- .index-module_skeleton__9Xlnt{position:absolute;top:50%;transform:translateY(-50%);height:16px;width:50%}
1
+ .skeleton_9Xln{position:absolute;top:50%;transform:translateY(-50%);height:16px;width:50%}
@@ -1,9 +1,9 @@
1
1
  import './index.module.css';
2
- const e = "index-module_skeleton__9Xlnt", t = {
2
+ const e = "skeleton_9Xln", s = {
3
3
  skeleton: e
4
4
  };
5
5
  export {
6
- t as default,
6
+ s as default,
7
7
  e as skeleton
8
8
  };
9
9
  //# sourceMappingURL=index.module.css.js.map
@@ -1,7 +1,7 @@
1
1
  import { AriaAttributes, FC, FocusEvent, MouseEvent, ReactElement, ReactNode, RefAttributes, UIEvent } from 'react';
2
2
  import { InputProps } from '../input';
3
3
  import { PopoverProps } from '../popover';
4
- export declare type OptionShape = {
4
+ export type OptionShape = {
5
5
  /**
6
6
  * Текстовое представление пункта
7
7
  */
@@ -23,7 +23,7 @@ export declare type OptionShape = {
23
23
  */
24
24
  value?: any;
25
25
  };
26
- export declare type GroupShape = {
26
+ export type GroupShape = {
27
27
  /**
28
28
  * Заголовок группы
29
29
  */
@@ -33,7 +33,7 @@ export declare type GroupShape = {
33
33
  */
34
34
  options: OptionShape[];
35
35
  };
36
- export declare type BaseSelectProps = {
36
+ export type BaseSelectProps = {
37
37
  filteredOptions?: any[];
38
38
  /**
39
39
  * Идентификатор для систем автоматизированного тестирования
@@ -181,7 +181,7 @@ export declare type BaseSelectProps = {
181
181
  /**
182
182
  * Компонент поля
183
183
  */
184
- Field?: FC<FieldProps>;
184
+ Field?: FC<SelectFieldProps>;
185
185
  /**
186
186
  * Пропсы, которые будут прокинуты в компонент поля
187
187
  */
@@ -246,7 +246,7 @@ export declare type BaseSelectProps = {
246
246
  */
247
247
  showEmptyOptionsList?: boolean;
248
248
  };
249
- export declare type FieldProps = {
249
+ export type SelectFieldProps = {
250
250
  /**
251
251
  * Дополнительный класс
252
252
  */
@@ -318,7 +318,7 @@ export declare type FieldProps = {
318
318
  */
319
319
  dataTestId?: string;
320
320
  };
321
- export declare type ArrowProps = {
321
+ export type ArrowProps = {
322
322
  /**
323
323
  * Дополнительный класс
324
324
  */
@@ -328,7 +328,7 @@ export declare type ArrowProps = {
328
328
  */
329
329
  open?: boolean;
330
330
  };
331
- export declare type OptionsListProps = {
331
+ export type OptionsListProps = {
332
332
  /**
333
333
  * Дополнительный класс
334
334
  */
@@ -393,7 +393,7 @@ export declare type OptionsListProps = {
393
393
  inputProps?: InputProps;
394
394
  toggleMenu: () => void;
395
395
  };
396
- export declare type OptgroupProps = {
396
+ export type OptgroupProps = {
397
397
  /**
398
398
  * Размер компонента
399
399
  */
@@ -407,7 +407,7 @@ export declare type OptgroupProps = {
407
407
  */
408
408
  children?: ReactNode;
409
409
  };
410
- export declare type OptionProps = {
410
+ export type OptionProps = {
411
411
  /**
412
412
  * Дополнительный класс
413
413
  */
@@ -455,7 +455,7 @@ export declare type OptionProps = {
455
455
  role?: string;
456
456
  } & RefAttributes<HTMLDivElement> & AriaAttributes;
457
457
  };
458
- export declare type CheckmarkProps = {
458
+ export type CheckmarkProps = {
459
459
  /**
460
460
  * Флаг, данный пункт выбран
461
461
  */
@@ -3,14 +3,14 @@ import { BaseSelectProps, GroupShape, OptionShape } from './typings';
3
3
  export declare const isGroup: (item: OptionShape | GroupShape) => item is GroupShape;
4
4
  export declare const isOptionShape: (item: OptionShape | string | number | null) => item is OptionShape;
5
5
  export declare const joinOptions: ({ selected, selectedMultiple, }: {
6
- selected?: OptionShape | undefined;
7
- selectedMultiple?: OptionShape[] | undefined;
6
+ selected?: OptionShape;
7
+ selectedMultiple?: OptionShape[];
8
8
  }) => ReactNode[] | null;
9
9
  export declare function processOptions(options: BaseSelectProps['options'], selected?: BaseSelectProps['selected']): {
10
10
  flatOptions: OptionShape[];
11
11
  selectedOptions: OptionShape[];
12
12
  };
13
- declare type useVisibleOptionsArgs = {
13
+ type useVisibleOptionsArgs = {
14
14
  /**
15
15
  * Количество видимых пунктов
16
16
  */
@@ -34,11 +34,11 @@ declare type useVisibleOptionsArgs = {
34
34
  };
35
35
  export declare function useVisibleOptions({ visibleOptions, listRef, styleTargetRef, open, invalidate, }: useVisibleOptionsArgs): void;
36
36
  export declare const lastIndexOf: <T>(array: T[], predicate: (item: T) => boolean) => number;
37
- export declare type OptionsType<T> = Array<{
37
+ export type OptionsType<T> = Array<{
38
38
  key: T;
39
39
  content: any;
40
40
  }>;
41
- declare type ConvertToOptions = <T extends {
41
+ type ConvertToOptions = <T extends {
42
42
  id: string | number;
43
43
  [field: string]: any;
44
44
  }>(data: T[], field?: string) => Array<{
@@ -1,13 +1,13 @@
1
1
  import { default as React } from 'react';
2
2
  import { TFunction } from '../modal';
3
- declare type Back = {
3
+ type Back = {
4
4
  back?: () => void;
5
5
  t: TFunction;
6
6
  } | {
7
7
  back?: never;
8
8
  t?: never;
9
9
  };
10
- export declare type SidepanelProps = {
10
+ export type SidepanelProps = {
11
11
  title?: string;
12
12
  loading?: boolean;
13
13
  subtitle?: string;
@@ -1 +1 @@
1
- .index-module_header__mPZ5T{position:sticky;top:0;z-index:998}.index-module_loader__AwSf2{padding:32px;box-sizing:border-box}.index-module_input__4qiE9{height:56px;width:100%;z-index:1000}.index-module_footer__gMIpz{backdrop-filter:saturate(200%) blur(6px);position:sticky;bottom:0;padding:16px 32px;z-index:99}.index-module_footer__gMIpz.index-module_noSticky__LgClY{position:relative;padding-bottom:32px}.index-module_content__3wIEH{padding:4px 32px 32px;flex:1}@media(max-width:823px){.index-module_content__3wIEH{padding:4px 16px 16px!important}.index-module_footer__gMIpz,.index-module_loader__AwSf2{padding:16px!important}}
1
+ .header_mPZ5{position:sticky;top:0;z-index:998}.loader_AwSf{padding:32px;box-sizing:border-box}.input_4qiE{height:56px;width:100%;z-index:1000}.footer_gMIp{backdrop-filter:saturate(200%) blur(6px);position:sticky;bottom:0;padding:16px 32px;z-index:99}.footer_gMIp.noSticky_LgCl{position:relative;padding-bottom:32px}.content_3wIE{padding:4px 32px 32px;flex:1}@media(max-width:823px){.content_3wIE{padding:4px 16px 16px!important}.footer_gMIp,.loader_AwSf{padding:16px!important}}
@@ -1,19 +1,19 @@
1
1
  import './index.module.css';
2
- const e = "index-module_header__mPZ5T", o = "index-module_loader__AwSf2", n = "index-module_input__4qiE9", t = "index-module_footer__gMIpz", d = "index-module_noSticky__LgClY", _ = "index-module_content__3wIEH", c = {
3
- header: e,
2
+ const t = "header_mPZ5", o = "loader_AwSf", n = "input_4qiE", e = "footer_gMIp", c = "noSticky_LgCl", r = "content_3wIE", s = {
3
+ header: t,
4
4
  loader: o,
5
5
  input: n,
6
- footer: t,
7
- noSticky: d,
8
- content: _
6
+ footer: e,
7
+ noSticky: c,
8
+ content: r
9
9
  };
10
10
  export {
11
- _ as content,
12
- c as default,
13
- t as footer,
14
- e as header,
11
+ r as content,
12
+ s as default,
13
+ e as footer,
14
+ t as header,
15
15
  n as input,
16
16
  o as loader,
17
- d as noSticky
17
+ c as noSticky
18
18
  };
19
19
  //# sourceMappingURL=index.module.css.js.map
@@ -1,13 +1,13 @@
1
1
  import { default as React } from 'react';
2
2
  import { TFunction } from '../modal';
3
- declare type Back = {
3
+ type Back = {
4
4
  back?: () => void;
5
5
  t: TFunction;
6
6
  } | {
7
7
  back?: never;
8
8
  t?: never;
9
9
  };
10
- export declare type SidepanelHeaderProps = {
10
+ export type SidepanelHeaderProps = {
11
11
  /**
12
12
  * Кастомный класс
13
13
  */
@@ -1 +1 @@
1
- .index-module_wrapper__QxqDy{padding:28px 32px 12px;background-color:var(--color-bg-primary);box-sizing:border-box}.index-module_heading__XGDyC{display:flex;justify-content:space-between;min-height:48px}.index-module_title__jwxcv,.index-module_bottomAddons__3yzd0{padding-bottom:8px;padding-top:8px}.index-module_rightAddons__aZFaJ{margin-right:48px;height:48px;display:flex;align-items:center}.index-module_noCloser__O7u0p{margin-right:0}@media(max-width:823px){.index-module_wrapper__QxqDy{padding:16px 16px 12px!important}}
1
+ .wrapper_QxqD{padding:28px 32px 12px;background-color:var(--color-bg-primary);box-sizing:border-box}.heading_XGDy{display:flex;justify-content:space-between;min-height:48px}.title_jwxc,.bottomAddons_3yzd{padding-bottom:8px;padding-top:8px}.rightAddons_aZFa{margin-right:48px;height:48px;display:flex;align-items:center}.noCloser_O7u0{margin-right:0}@media(max-width:823px){.wrapper_QxqD{padding:16px 16px 12px!important}}
@@ -1,19 +1,19 @@
1
1
  import './index.module.css';
2
- const o = "index-module_wrapper__QxqDy", d = "index-module_heading__XGDyC", e = "index-module_title__jwxcv", n = "index-module_bottomAddons__3yzd0", t = "index-module_rightAddons__aZFaJ", s = "index-module_noCloser__O7u0p", _ = {
2
+ const o = "wrapper_QxqD", t = "heading_XGDy", n = "title_jwxc", s = "bottomAddons_3yzd", d = "rightAddons_aZFa", e = "noCloser_O7u0", r = {
3
3
  wrapper: o,
4
- heading: d,
5
- title: e,
6
- bottomAddons: n,
7
- rightAddons: t,
8
- noCloser: s
4
+ heading: t,
5
+ title: n,
6
+ bottomAddons: s,
7
+ rightAddons: d,
8
+ noCloser: e
9
9
  };
10
10
  export {
11
- n as bottomAddons,
12
- _ as default,
13
- d as heading,
14
- s as noCloser,
15
- t as rightAddons,
16
- e as title,
11
+ s as bottomAddons,
12
+ r as default,
13
+ t as heading,
14
+ e as noCloser,
15
+ d as rightAddons,
16
+ n as title,
17
17
  o as wrapper
18
18
  };
19
19
  //# sourceMappingURL=index.module.css.js.map
@@ -1,5 +1,5 @@
1
1
  import { default as React } from 'react';
2
- export declare type SkeletonProps = {
2
+ export type SkeletonProps = {
3
3
  children?: React.ReactNode;
4
4
  /**
5
5
  * Флаг, явно задающий состояние, при котором контент закрывается прелоадером
@@ -1 +1 @@
1
- :root{--skeleton-background-filter: none;--skeleton-default-color: var(--color-bg-secondary)}.index-module_component__-McTc{position:relative;display:inline-block;border-radius:var(--gap-2xs);overflow:hidden}.index-module_component__-McTc>*{visibility:hidden}.index-module_component__-McTc:before{content:"";position:absolute;border-radius:var(--gap-2xs);inset:0;background:var(--skeleton-default-color);backdrop-filter:var(--skeleton-background-filter)}.index-module_animate__-bLCJ:after{content:"";position:absolute;top:0;left:0;width:500%;height:100%;transform:translate(-80%);animation-name:index-module_animation__jl9lA;animation-duration:2s;animation-iteration-count:infinite;animation-timing-function:linear;background:linear-gradient(to left,#0000,#0000 40%,#00000006,#0000 60%,#0000)}@keyframes index-module_animation__jl9lA{0%{transform:translate(-80%)}67%{transform:translate(0)}to{transform:translate(0)}}
1
+ :root{--skeleton-background-filter: none;--skeleton-default-color: var(--color-bg-secondary)}.component_-McT{position:relative;display:inline-block;border-radius:var(--gap-2xs);overflow:hidden}.component_-McT>*{visibility:hidden}.component_-McT:before{content:"";position:absolute;border-radius:var(--gap-2xs);inset:0;background:var(--skeleton-default-color);backdrop-filter:var(--skeleton-background-filter)}.animate_-bLC:after{content:"";position:absolute;top:0;left:0;width:500%;height:100%;transform:translate(-80%);animation-name:animation_jl9l;animation-duration:2s;animation-iteration-count:infinite;animation-timing-function:linear;background:linear-gradient(to left,#0000,#0000 40%,#00000006,#0000 60%,#0000)}@keyframes animation_jl9l{0%{transform:translate(-80%)}67%{transform:translate(0)}to{transform:translate(0)}}
@@ -1,10 +1,10 @@
1
1
  import './index.module.css';
2
- const n = "index-module_component__-McTc", e = "index-module_animate__-bLCJ", o = {
2
+ const n = "component_-McT", t = "animate_-bLC", o = {
3
3
  component: n,
4
- animate: e
4
+ animate: t
5
5
  };
6
6
  export {
7
- e as animate,
7
+ t as animate,
8
8
  n as component,
9
9
  o as default
10
10
  };