@salutejs/plasma-new-hope 0.389.0-dev.1 → 0.390.0-dev.0

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 (326) hide show
  1. package/dist/css/cjs/components/BottomSheet/BottomSheet.css +8 -8
  2. package/dist/css/cjs/components/BottomSheet/BottomSheet.js +7 -5
  3. package/dist/css/cjs/components/BottomSheet/BottomSheet.styles.js +5 -5
  4. package/dist/css/cjs/components/BottomSheet/{BottomSheet.styles_1d26yjd.css → BottomSheet.styles_i1yfau.css} +1 -1
  5. package/dist/css/cjs/components/BottomSheet/BottomSheet.tokens.js +1 -0
  6. package/dist/css/cjs/components/BottomSheet/hooks/useBottomSheetDrag.js +4 -1
  7. package/dist/css/cjs/components/BottomSheet/utils/index.js +0 -5
  8. package/dist/css/cjs/components/Editable/Editable.css +5 -5
  9. package/dist/css/cjs/components/Editable/Editable.js +19 -3
  10. package/dist/css/cjs/components/Editable/Editable.styles.js +2 -2
  11. package/dist/css/cjs/components/Editable/Editable.styles_1ts4ksj.css +4 -0
  12. package/dist/css/cjs/components/Editable/Editable.tokens.js +5 -1
  13. package/dist/css/cjs/components/Editable/variations/_size/base.js +1 -1
  14. package/dist/css/cjs/components/Editable/variations/_size/base_60mm8z.css +1 -0
  15. package/dist/css/cjs/components/Editable/variations/_view/base.js +1 -1
  16. package/dist/css/cjs/components/Editable/variations/_view/base_fulhkl.css +1 -0
  17. package/dist/css/cjs/components/Pagination/Pagination.css +13 -12
  18. package/dist/css/cjs/components/Pagination/Pagination.js +35 -19
  19. package/dist/css/cjs/components/Pagination/Pagination.styles.js +8 -2
  20. package/dist/css/cjs/components/Pagination/{Pagination.styles_6rozng.css → Pagination.styles_1af8kwt.css} +2 -1
  21. package/dist/css/cjs/components/Pagination/Pagination.tokens.js +3 -1
  22. package/dist/css/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.css +3 -3
  23. package/dist/css/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.js +49 -18
  24. package/dist/css/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.js +1 -1
  25. package/dist/css/cjs/components/Pagination/ui/PaginationQuickJumpToPage/{PaginationQuickJumpToPage.styles_1rsjxrs.css → PaginationQuickJumpToPage.styles_7bgblc.css} +1 -1
  26. package/dist/css/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +1 -1
  27. package/dist/css/cjs/components/Pagination/utils/index.js +2 -0
  28. package/dist/css/cjs/components/Wheel/Wheel.css +22 -0
  29. package/dist/css/cjs/components/Wheel/Wheel.js +109 -0
  30. package/dist/css/cjs/components/Wheel/Wheel.styles.js +138 -0
  31. package/dist/css/cjs/components/Wheel/Wheel.styles_vgli5z.css +16 -0
  32. package/dist/css/cjs/components/Wheel/Wheel.tokens.js +79 -0
  33. package/dist/css/cjs/components/Wheel/hooks/useStaticTextAfter.js +58 -0
  34. package/dist/css/cjs/components/Wheel/hooks/useWheelAnimation.js +219 -0
  35. package/dist/css/cjs/components/Wheel/hooks/useWheelInteraction.js +178 -0
  36. package/dist/css/cjs/components/Wheel/ui/WheelColumn.css +18 -0
  37. package/dist/css/cjs/components/Wheel/ui/WheelColumn.js +166 -0
  38. package/dist/css/cjs/components/Wheel/ui/WheelColumnWidth.js +40 -0
  39. package/dist/css/cjs/components/Wheel/ui/WheelItem.css +16 -0
  40. package/dist/css/cjs/components/Wheel/ui/WheelItem.js +62 -0
  41. package/dist/css/cjs/components/Wheel/ui/WheelItemContent.js +26 -0
  42. package/dist/css/cjs/components/Wheel/utils.js +39 -0
  43. package/dist/css/cjs/components/Wheel/variations/_disabled/base.js +8 -0
  44. package/dist/css/cjs/components/Wheel/variations/_disabled/base_r9b0ts.css +1 -0
  45. package/dist/css/cjs/components/Wheel/variations/_size/base.js +8 -0
  46. package/dist/css/cjs/components/Wheel/variations/_size/base_x642ct.css +1 -0
  47. package/dist/css/cjs/components/Wheel/variations/_view/base.js +8 -0
  48. package/dist/css/cjs/components/Wheel/variations/_view/base_9e3071.css +1 -0
  49. package/dist/css/cjs/index.css +47 -25
  50. package/dist/css/cjs/index.js +8 -0
  51. package/dist/css/cjs/utils/getPanelZIndex.js +10 -0
  52. package/dist/css/es/components/BottomSheet/BottomSheet.css +8 -8
  53. package/dist/css/es/components/BottomSheet/BottomSheet.js +6 -4
  54. package/dist/css/es/components/BottomSheet/BottomSheet.styles.js +5 -5
  55. package/dist/css/es/components/BottomSheet/{BottomSheet.styles_1d26yjd.css → BottomSheet.styles_i1yfau.css} +1 -1
  56. package/dist/css/es/components/BottomSheet/BottomSheet.tokens.js +1 -0
  57. package/dist/css/es/components/BottomSheet/hooks/useBottomSheetDrag.js +4 -1
  58. package/dist/css/es/components/BottomSheet/utils/index.js +1 -5
  59. package/dist/css/es/components/Editable/Editable.css +5 -5
  60. package/dist/css/es/components/Editable/Editable.js +19 -4
  61. package/dist/css/es/components/Editable/Editable.styles.js +2 -2
  62. package/dist/css/es/components/Editable/Editable.styles_1ts4ksj.css +4 -0
  63. package/dist/css/es/components/Editable/Editable.tokens.js +5 -1
  64. package/dist/css/es/components/Editable/variations/_size/base.js +1 -1
  65. package/dist/css/es/components/Editable/variations/_size/base_60mm8z.css +1 -0
  66. package/dist/css/es/components/Editable/variations/_view/base.js +1 -1
  67. package/dist/css/es/components/Editable/variations/_view/base_fulhkl.css +1 -0
  68. package/dist/css/es/components/Pagination/Pagination.css +13 -12
  69. package/dist/css/es/components/Pagination/Pagination.js +36 -20
  70. package/dist/css/es/components/Pagination/Pagination.styles.js +8 -3
  71. package/dist/css/es/components/Pagination/{Pagination.styles_6rozng.css → Pagination.styles_1af8kwt.css} +2 -1
  72. package/dist/css/es/components/Pagination/Pagination.tokens.js +3 -1
  73. package/dist/css/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.css +3 -3
  74. package/dist/css/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.js +50 -19
  75. package/dist/css/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.js +1 -1
  76. package/dist/css/es/components/Pagination/ui/PaginationQuickJumpToPage/{PaginationQuickJumpToPage.styles_1rsjxrs.css → PaginationQuickJumpToPage.styles_7bgblc.css} +1 -1
  77. package/dist/css/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +1 -1
  78. package/dist/css/es/components/Pagination/utils/index.js +2 -0
  79. package/dist/css/es/components/Wheel/Wheel.css +22 -0
  80. package/dist/css/es/components/Wheel/Wheel.js +99 -0
  81. package/dist/css/es/components/Wheel/Wheel.styles.js +119 -0
  82. package/dist/css/es/components/Wheel/Wheel.styles_vgli5z.css +16 -0
  83. package/dist/css/es/components/Wheel/Wheel.tokens.js +73 -0
  84. package/dist/css/es/components/Wheel/hooks/useStaticTextAfter.js +54 -0
  85. package/dist/css/es/components/Wheel/hooks/useWheelAnimation.js +215 -0
  86. package/dist/css/es/components/Wheel/hooks/useWheelInteraction.js +174 -0
  87. package/dist/css/es/components/Wheel/ui/WheelColumn.css +18 -0
  88. package/dist/css/es/components/Wheel/ui/WheelColumn.js +157 -0
  89. package/dist/css/es/components/Wheel/ui/WheelColumnWidth.js +32 -0
  90. package/dist/css/es/components/Wheel/ui/WheelItem.css +16 -0
  91. package/dist/css/es/components/Wheel/ui/WheelItem.js +54 -0
  92. package/dist/css/es/components/Wheel/ui/WheelItemContent.js +18 -0
  93. package/dist/css/es/components/Wheel/utils.js +32 -0
  94. package/dist/css/es/components/Wheel/variations/_disabled/base.js +4 -0
  95. package/dist/css/es/components/Wheel/variations/_disabled/base_r9b0ts.css +1 -0
  96. package/dist/css/es/components/Wheel/variations/_size/base.js +4 -0
  97. package/dist/css/es/components/Wheel/variations/_size/base_x642ct.css +1 -0
  98. package/dist/css/es/components/Wheel/variations/_view/base.js +4 -0
  99. package/dist/css/es/components/Wheel/variations/_view/base_9e3071.css +1 -0
  100. package/dist/css/es/index.css +47 -25
  101. package/dist/css/es/index.js +3 -0
  102. package/dist/css/es/utils/getPanelZIndex.js +6 -0
  103. package/dist/emotion/cjs/components/BottomSheet/BottomSheet.js +4 -5
  104. package/dist/emotion/cjs/components/BottomSheet/BottomSheet.styles.js +9 -9
  105. package/dist/emotion/cjs/components/BottomSheet/BottomSheet.tokens.js +1 -0
  106. package/dist/emotion/cjs/components/BottomSheet/hooks/useBottomSheetDrag.js +4 -1
  107. package/dist/emotion/cjs/components/BottomSheet/utils/index.js +0 -7
  108. package/dist/emotion/cjs/components/Editable/Editable.js +21 -3
  109. package/dist/emotion/cjs/components/Editable/Editable.styles.js +5 -5
  110. package/dist/emotion/cjs/components/Editable/Editable.tokens.js +5 -1
  111. package/dist/emotion/cjs/components/Editable/variations/_size/base.js +1 -1
  112. package/dist/emotion/cjs/components/Editable/variations/_view/base.js +1 -1
  113. package/dist/emotion/cjs/components/Pagination/Pagination.js +31 -19
  114. package/dist/emotion/cjs/components/Pagination/Pagination.styles.js +16 -9
  115. package/dist/emotion/cjs/components/Pagination/Pagination.tokens.js +3 -1
  116. package/dist/emotion/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.js +40 -15
  117. package/dist/emotion/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.js +4 -4
  118. package/dist/emotion/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +1 -1
  119. package/dist/emotion/cjs/components/Pagination/utils/index.js +2 -0
  120. package/dist/emotion/cjs/components/Wheel/Wheel.js +136 -0
  121. package/dist/emotion/cjs/components/Wheel/Wheel.styles.js +137 -0
  122. package/dist/emotion/cjs/components/Wheel/Wheel.tokens.js +92 -0
  123. package/dist/emotion/cjs/components/Wheel/Wheel.types.js +4 -0
  124. package/dist/emotion/cjs/components/Wheel/hooks/useStaticTextAfter.js +63 -0
  125. package/dist/emotion/cjs/components/Wheel/hooks/useWheelAnimation.js +207 -0
  126. package/dist/emotion/cjs/components/Wheel/hooks/useWheelInteraction.js +165 -0
  127. package/dist/emotion/cjs/components/Wheel/index.js +26 -0
  128. package/dist/emotion/cjs/components/Wheel/ui/WheelColumn.js +186 -0
  129. package/dist/emotion/cjs/components/Wheel/ui/WheelColumnWidth.js +70 -0
  130. package/dist/emotion/cjs/components/Wheel/ui/WheelItem.js +88 -0
  131. package/dist/emotion/cjs/components/Wheel/ui/WheelItemContent.js +60 -0
  132. package/dist/emotion/cjs/components/Wheel/utils.js +43 -0
  133. package/dist/emotion/cjs/components/Wheel/variations/_disabled/base.js +14 -0
  134. package/dist/emotion/cjs/components/Wheel/variations/_size/base.js +12 -0
  135. package/dist/emotion/cjs/components/Wheel/variations/_view/base.js +13 -0
  136. package/dist/emotion/cjs/index.js +1 -0
  137. package/dist/emotion/cjs/utils/getPanelZIndex.js +14 -0
  138. package/dist/emotion/cjs/utils/index.js +4 -0
  139. package/dist/emotion/es/components/BottomSheet/BottomSheet.js +4 -5
  140. package/dist/emotion/es/components/BottomSheet/BottomSheet.styles.js +9 -9
  141. package/dist/emotion/es/components/BottomSheet/BottomSheet.tokens.js +1 -0
  142. package/dist/emotion/es/components/BottomSheet/hooks/useBottomSheetDrag.js +4 -1
  143. package/dist/emotion/es/components/BottomSheet/utils/index.js +0 -4
  144. package/dist/emotion/es/components/Editable/Editable.js +16 -3
  145. package/dist/emotion/es/components/Editable/Editable.styles.js +5 -5
  146. package/dist/emotion/es/components/Editable/Editable.tokens.js +5 -1
  147. package/dist/emotion/es/components/Editable/variations/_size/base.js +1 -1
  148. package/dist/emotion/es/components/Editable/variations/_view/base.js +1 -1
  149. package/dist/emotion/es/components/Pagination/Pagination.js +32 -20
  150. package/dist/emotion/es/components/Pagination/Pagination.styles.js +13 -9
  151. package/dist/emotion/es/components/Pagination/Pagination.tokens.js +3 -1
  152. package/dist/emotion/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.js +40 -15
  153. package/dist/emotion/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.js +4 -4
  154. package/dist/emotion/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +1 -1
  155. package/dist/emotion/es/components/Pagination/utils/index.js +2 -0
  156. package/dist/emotion/es/components/Wheel/Wheel.js +72 -0
  157. package/dist/emotion/es/components/Wheel/Wheel.styles.js +73 -0
  158. package/dist/emotion/es/components/Wheel/Wheel.tokens.js +71 -0
  159. package/dist/emotion/es/components/Wheel/Wheel.types.js +3 -0
  160. package/dist/emotion/es/components/Wheel/hooks/useStaticTextAfter.js +53 -0
  161. package/dist/emotion/es/components/Wheel/hooks/useWheelAnimation.js +197 -0
  162. package/dist/emotion/es/components/Wheel/hooks/useWheelInteraction.js +155 -0
  163. package/dist/emotion/es/components/Wheel/index.js +2 -0
  164. package/dist/emotion/es/components/Wheel/ui/WheelColumn.js +130 -0
  165. package/dist/emotion/es/components/Wheel/ui/WheelColumnWidth.js +19 -0
  166. package/dist/emotion/es/components/Wheel/ui/WheelItem.js +37 -0
  167. package/dist/emotion/es/components/Wheel/ui/WheelItemContent.js +9 -0
  168. package/dist/emotion/es/components/Wheel/utils.js +19 -0
  169. package/dist/emotion/es/components/Wheel/variations/_disabled/base.js +4 -0
  170. package/dist/emotion/es/components/Wheel/variations/_size/base.js +2 -0
  171. package/dist/emotion/es/components/Wheel/variations/_view/base.js +3 -0
  172. package/dist/emotion/es/index.js +1 -0
  173. package/dist/emotion/es/utils/getPanelZIndex.js +4 -0
  174. package/dist/emotion/es/utils/index.js +1 -0
  175. package/dist/styled-components/cjs/components/BottomSheet/BottomSheet.js +4 -5
  176. package/dist/styled-components/cjs/components/BottomSheet/BottomSheet.styles.js +12 -10
  177. package/dist/styled-components/cjs/components/BottomSheet/BottomSheet.tokens.js +1 -0
  178. package/dist/styled-components/cjs/components/BottomSheet/hooks/useBottomSheetDrag.js +4 -1
  179. package/dist/styled-components/cjs/components/BottomSheet/utils/index.js +0 -7
  180. package/dist/styled-components/cjs/components/Editable/Editable.js +21 -3
  181. package/dist/styled-components/cjs/components/Editable/Editable.styles.js +18 -9
  182. package/dist/styled-components/cjs/components/Editable/Editable.tokens.js +5 -1
  183. package/dist/styled-components/cjs/components/Editable/variations/_size/base.js +7 -1
  184. package/dist/styled-components/cjs/components/Editable/variations/_view/base.js +5 -3
  185. package/dist/styled-components/cjs/components/Pagination/Pagination.js +31 -19
  186. package/dist/styled-components/cjs/components/Pagination/Pagination.styles.js +19 -9
  187. package/dist/styled-components/cjs/components/Pagination/Pagination.tokens.js +3 -1
  188. package/dist/styled-components/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.js +40 -15
  189. package/dist/styled-components/cjs/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.js +6 -5
  190. package/dist/styled-components/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +1 -1
  191. package/dist/styled-components/cjs/components/Pagination/utils/index.js +2 -0
  192. package/dist/styled-components/cjs/components/Wheel/Wheel.js +136 -0
  193. package/dist/styled-components/cjs/components/Wheel/Wheel.styles.js +320 -0
  194. package/dist/styled-components/cjs/components/Wheel/Wheel.tokens.js +92 -0
  195. package/dist/styled-components/cjs/components/Wheel/Wheel.types.js +4 -0
  196. package/dist/styled-components/cjs/components/Wheel/hooks/useStaticTextAfter.js +63 -0
  197. package/dist/styled-components/cjs/components/Wheel/hooks/useWheelAnimation.js +207 -0
  198. package/dist/styled-components/cjs/components/Wheel/hooks/useWheelInteraction.js +165 -0
  199. package/dist/styled-components/cjs/components/Wheel/index.js +26 -0
  200. package/dist/styled-components/cjs/components/Wheel/ui/WheelColumn.js +186 -0
  201. package/dist/styled-components/cjs/components/Wheel/ui/WheelColumnWidth.js +70 -0
  202. package/dist/styled-components/cjs/components/Wheel/ui/WheelItem.js +88 -0
  203. package/dist/styled-components/cjs/components/Wheel/ui/WheelItemContent.js +60 -0
  204. package/dist/styled-components/cjs/components/Wheel/utils.js +43 -0
  205. package/dist/styled-components/cjs/components/Wheel/variations/_disabled/base.js +28 -0
  206. package/dist/styled-components/cjs/components/Wheel/variations/_size/base.js +14 -0
  207. package/dist/styled-components/cjs/components/Wheel/variations/_view/base.js +26 -0
  208. package/dist/styled-components/cjs/index.js +1 -0
  209. package/dist/styled-components/cjs/utils/getPanelZIndex.js +14 -0
  210. package/dist/styled-components/cjs/utils/index.js +4 -0
  211. package/dist/styled-components/es/components/BottomSheet/BottomSheet.js +4 -5
  212. package/dist/styled-components/es/components/BottomSheet/BottomSheet.styles.js +12 -10
  213. package/dist/styled-components/es/components/BottomSheet/BottomSheet.tokens.js +1 -0
  214. package/dist/styled-components/es/components/BottomSheet/hooks/useBottomSheetDrag.js +4 -1
  215. package/dist/styled-components/es/components/BottomSheet/utils/index.js +0 -4
  216. package/dist/styled-components/es/components/Editable/Editable.js +16 -3
  217. package/dist/styled-components/es/components/Editable/Editable.styles.js +18 -9
  218. package/dist/styled-components/es/components/Editable/Editable.tokens.js +5 -1
  219. package/dist/styled-components/es/components/Editable/variations/_size/base.js +7 -1
  220. package/dist/styled-components/es/components/Editable/variations/_view/base.js +5 -3
  221. package/dist/styled-components/es/components/Pagination/Pagination.js +32 -20
  222. package/dist/styled-components/es/components/Pagination/Pagination.styles.js +16 -9
  223. package/dist/styled-components/es/components/Pagination/Pagination.tokens.js +3 -1
  224. package/dist/styled-components/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.js +40 -15
  225. package/dist/styled-components/es/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.styles.js +6 -5
  226. package/dist/styled-components/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.js +1 -1
  227. package/dist/styled-components/es/components/Pagination/utils/index.js +2 -0
  228. package/dist/styled-components/es/components/Wheel/Wheel.js +72 -0
  229. package/dist/styled-components/es/components/Wheel/Wheel.styles.js +220 -0
  230. package/dist/styled-components/es/components/Wheel/Wheel.tokens.js +71 -0
  231. package/dist/styled-components/es/components/Wheel/Wheel.types.js +3 -0
  232. package/dist/styled-components/es/components/Wheel/hooks/useStaticTextAfter.js +53 -0
  233. package/dist/styled-components/es/components/Wheel/hooks/useWheelAnimation.js +197 -0
  234. package/dist/styled-components/es/components/Wheel/hooks/useWheelInteraction.js +155 -0
  235. package/dist/styled-components/es/components/Wheel/index.js +2 -0
  236. package/dist/styled-components/es/components/Wheel/ui/WheelColumn.js +130 -0
  237. package/dist/styled-components/es/components/Wheel/ui/WheelColumnWidth.js +19 -0
  238. package/dist/styled-components/es/components/Wheel/ui/WheelItem.js +37 -0
  239. package/dist/styled-components/es/components/Wheel/ui/WheelItemContent.js +9 -0
  240. package/dist/styled-components/es/components/Wheel/utils.js +19 -0
  241. package/dist/styled-components/es/components/Wheel/variations/_disabled/base.js +18 -0
  242. package/dist/styled-components/es/components/Wheel/variations/_size/base.js +4 -0
  243. package/dist/styled-components/es/components/Wheel/variations/_view/base.js +16 -0
  244. package/dist/styled-components/es/index.js +1 -0
  245. package/dist/styled-components/es/utils/getPanelZIndex.js +4 -0
  246. package/dist/styled-components/es/utils/index.js +1 -0
  247. package/package.json +3 -3
  248. package/types/components/BottomSheet/BottomSheet.d.ts.map +1 -1
  249. package/types/components/BottomSheet/BottomSheet.styles.d.ts.map +1 -1
  250. package/types/components/BottomSheet/BottomSheet.tokens.d.ts +1 -0
  251. package/types/components/BottomSheet/BottomSheet.tokens.d.ts.map +1 -1
  252. package/types/components/BottomSheet/BottomSheet.types.d.ts +6 -0
  253. package/types/components/BottomSheet/BottomSheet.types.d.ts.map +1 -1
  254. package/types/components/BottomSheet/hooks/useBottomSheetDrag.d.ts.map +1 -1
  255. package/types/components/BottomSheet/utils/index.d.ts +0 -2
  256. package/types/components/BottomSheet/utils/index.d.ts.map +1 -1
  257. package/types/components/Editable/Editable.d.ts.map +1 -1
  258. package/types/components/Editable/Editable.styles.d.ts.map +1 -1
  259. package/types/components/Editable/Editable.tokens.d.ts +4 -0
  260. package/types/components/Editable/Editable.tokens.d.ts.map +1 -1
  261. package/types/components/Editable/Editable.types.d.ts +4 -0
  262. package/types/components/Editable/Editable.types.d.ts.map +1 -1
  263. package/types/components/Editable/variations/_size/base.d.ts.map +1 -1
  264. package/types/components/Editable/variations/_view/base.d.ts.map +1 -1
  265. package/types/components/Pagination/Pagination.d.ts.map +1 -1
  266. package/types/components/Pagination/Pagination.styles.d.ts +1 -0
  267. package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
  268. package/types/components/Pagination/Pagination.tokens.d.ts +4 -0
  269. package/types/components/Pagination/Pagination.tokens.d.ts.map +1 -1
  270. package/types/components/Pagination/Pagination.types.d.ts +10 -0
  271. package/types/components/Pagination/Pagination.types.d.ts.map +1 -1
  272. package/types/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.d.ts.map +1 -1
  273. package/types/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.types.d.ts +2 -0
  274. package/types/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.types.d.ts.map +1 -1
  275. package/types/components/Pagination/utils/index.d.ts +2 -0
  276. package/types/components/Pagination/utils/index.d.ts.map +1 -1
  277. package/types/components/Wheel/Wheel.d.ts +55 -0
  278. package/types/components/Wheel/Wheel.d.ts.map +1 -0
  279. package/types/components/Wheel/Wheel.styles.d.ts +25 -0
  280. package/types/components/Wheel/Wheel.styles.d.ts.map +1 -0
  281. package/types/components/Wheel/Wheel.tokens.d.ts +116 -0
  282. package/types/components/Wheel/Wheel.tokens.d.ts.map +1 -0
  283. package/types/components/Wheel/Wheel.types.d.ts +159 -0
  284. package/types/components/Wheel/Wheel.types.d.ts.map +1 -0
  285. package/types/components/Wheel/hooks/useStaticTextAfter.d.ts +7 -0
  286. package/types/components/Wheel/hooks/useStaticTextAfter.d.ts.map +1 -0
  287. package/types/components/Wheel/hooks/useWheelAnimation.d.ts +19 -0
  288. package/types/components/Wheel/hooks/useWheelAnimation.d.ts.map +1 -0
  289. package/types/components/Wheel/hooks/useWheelInteraction.d.ts +35 -0
  290. package/types/components/Wheel/hooks/useWheelInteraction.d.ts.map +1 -0
  291. package/types/components/Wheel/index.d.ts +4 -0
  292. package/types/components/Wheel/index.d.ts.map +1 -0
  293. package/types/components/Wheel/ui/WheelColumn.d.ts +13 -0
  294. package/types/components/Wheel/ui/WheelColumn.d.ts.map +1 -0
  295. package/types/components/Wheel/ui/WheelColumnWidth.d.ts +9 -0
  296. package/types/components/Wheel/ui/WheelColumnWidth.d.ts.map +1 -0
  297. package/types/components/Wheel/ui/WheelItem.d.ts +17 -0
  298. package/types/components/Wheel/ui/WheelItem.d.ts.map +1 -0
  299. package/types/components/Wheel/ui/WheelItemContent.d.ts +7 -0
  300. package/types/components/Wheel/ui/WheelItemContent.d.ts.map +1 -0
  301. package/types/components/Wheel/utils.d.ts +7 -0
  302. package/types/components/Wheel/utils.d.ts.map +1 -0
  303. package/types/components/Wheel/variations/_disabled/base.d.ts +2 -0
  304. package/types/components/Wheel/variations/_disabled/base.d.ts.map +1 -0
  305. package/types/components/Wheel/variations/_size/base.d.ts +2 -0
  306. package/types/components/Wheel/variations/_size/base.d.ts.map +1 -0
  307. package/types/components/Wheel/variations/_view/base.d.ts +2 -0
  308. package/types/components/Wheel/variations/_view/base.d.ts.map +1 -0
  309. package/types/examples/components/Editable/Editable.config.d.ts.map +1 -1
  310. package/types/examples/components/Pagination/Pagination.config.d.ts.map +1 -1
  311. package/types/examples/components/Wheel/Wheel.config.d.ts +29 -0
  312. package/types/examples/components/Wheel/Wheel.config.d.ts.map +1 -0
  313. package/types/examples/components/Wheel/Wheel.d.ts +46 -0
  314. package/types/examples/components/Wheel/Wheel.d.ts.map +1 -0
  315. package/types/index.d.ts +1 -0
  316. package/types/index.d.ts.map +1 -1
  317. package/types/utils/getPanelZIndex.d.ts +3 -0
  318. package/types/utils/getPanelZIndex.d.ts.map +1 -0
  319. package/types/utils/index.d.ts +1 -0
  320. package/types/utils/index.d.ts.map +1 -1
  321. package/dist/css/cjs/components/Editable/Editable.styles_z2slj0.css +0 -4
  322. package/dist/css/cjs/components/Editable/variations/_size/base_1xzgyr1.css +0 -1
  323. package/dist/css/cjs/components/Editable/variations/_view/base_xbahf.css +0 -1
  324. package/dist/css/es/components/Editable/Editable.styles_z2slj0.css +0 -4
  325. package/dist/css/es/components/Editable/variations/_size/base_1xzgyr1.css +0 -1
  326. package/dist/css/es/components/Editable/variations/_view/base_xbahf.css +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;CAqBnB,CAAC;AAEF,eAAO,MAAM,MAAM;IACf,2BAA2B;;IAE3B,uBAAuB;;IAEvB,uBAAuB;;IAEvB,2BAA2B;;IAG3B,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,2BAA2B;;IAG3B,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAGvB,uBAAuB;;IAGvB,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAG3B,6EAA6E;;IAE7E,2EAA2E;;IAE3E,4EAA4E;;IAE5E,6EAA6E;;IAE7E,gFAAgF;;IAEhF,6EAA6E;;IAG7E,uBAAuB;;IAEvB,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,u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AA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,uBAAuB;;IAGvB,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAG3B,uBAAuB;;IAEvB,uBAAuB;;IAEvB,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,uBAAuB;;IAEvB,2BAA2B;;IAE3B,2BAA2B;;IAG3B,2BAA2B;;IAE3B,2BAA2B;;CAE9B,CAAC"}
@@ -27,6 +27,11 @@ export type CustomPaginationProps = {
27
27
  * Размер
28
28
  */
29
29
  size?: string;
30
+ /**
31
+ * Показывать номера страниц.
32
+ * @default true
33
+ */
34
+ hasPageRange?: boolean;
30
35
  /**
31
36
  * Количество страниц
32
37
  */
@@ -43,6 +48,11 @@ export type CustomPaginationProps = {
43
48
  * Выбор страницы через Input
44
49
  */
45
50
  hasQuickJump?: boolean;
51
+ /**
52
+ * Показывать общее число страниц рядом с полем быстрого перехода.
53
+ * @default false
54
+ */
55
+ hasTotalPages?: boolean;
46
56
  /**
47
57
  * Выбор количества результатов на странице
48
58
  */
@@ -1 +1 @@
1
- {"version":3,"file":"Pagination.types.d.ts","sourceRoot":"","sources":["../../../src/components/Pagination/Pagination.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAElF,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAKjF,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,CAAC;AAEpD,MAAM,MAAM,qBAAqB,GAAG;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAA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AAK,IAAI,CAAC;IAC7D;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC5D;;OAEG;IACH,iBAAiB,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C;;OAEG;IACH,oBAAoB,CAAC,EAAE,CAAC,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;CACrD,CAAC;AAEF,MAAM,WAAW,eACb,SAAQ,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,GAAG,cAAc,CAAC,EACrE,OAAO,EACP,qBAAqB;CAAG"}
@@ -1 +1 @@
1
- {"version":3,"file":"PaginationQuickJumpToPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAA4B,MAAM,OAAO,CAAC;AAI1D,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAOxF,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CA0CxE,CAAC"}
1
+ {"version":3,"file":"PaginationQuickJumpToPage.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,EAAE,EAA4B,MAAM,OAAO,CAAC;AAK1D,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAC;AAOxF,eAAO,MAAM,yBAAyB,EAAE,EAAE,CAAC,8BAA8B,CA+ExE,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import type { HTMLAttributes, FocusEvent } from 'react';
2
2
  export type PaginationQuickJumpToPageRoot = {
3
3
  prevPageValue?: number;
4
+ totalPages?: number;
5
+ hasTotalPages?: boolean;
4
6
  placeholderQuickJump?: string;
5
7
  textQuickJump?: string;
6
8
  onChangeValue?: (page?: number) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"PaginationQuickJumpToPage.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,6BAA6B,GAAG;IAIxC,aAAa,CAAC,EAAE,MAAM,CAAC;IAIvB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAK9B,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,aAAa,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC7D;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC/D,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,6BAA6B,CAAC"}
1
+ {"version":3,"file":"PaginationQuickJumpToPage.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationQuickJumpToPage/PaginationQuickJumpToPage.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAExD,MAAM,MAAM,6BAA6B,GAAG;IAIxC,aAAa,CAAC,EAAE,MAAM,CAAC;IAIvB,UAAU,CAAC,EAAE,MAAM,CAAC;IAIpB,aAAa,CAAC,EAAE,OAAO,CAAC;IAIxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAK9B,aAAa,CAAC,EAAE,MAAM,CAAC;IAKvB,aAAa,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC;;OAEG;IACH,gBAAgB,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;IAC7D;;OAEG;IACH,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC;CAC/D,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,6BAA6B,CAAC"}
@@ -9,6 +9,8 @@ export declare const defaultValues: {
9
9
  disabledPages: never[];
10
10
  hasQuickJump: boolean;
11
11
  hasPerPage: boolean;
12
+ hasPageRange: boolean;
13
+ hasTotalPages: boolean;
12
14
  perPageList: number[];
13
15
  isCommonButtonStyles: boolean;
14
16
  placeholderQuickJump: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AA2B3E,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;CAezB,CAAC;AAEF,eAAO,MAAM,WAAW,WACZ,MAAM,UACN,MAAM,UACN,YAAY,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KACpD,MAAM,EAAE,EA8CV,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Pagination/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AA2B3E,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;CAiBzB,CAAC;AAEF,eAAO,MAAM,WAAW,WACZ,MAAM,UACN,MAAM,UACN,YAAY,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,KACpD,MAAM,EAAE,EA8CV,CAAC"}
@@ -0,0 +1,55 @@
1
+ import React from 'react';
2
+ import type { RootPropsOmitOnChangeAndDefaultValue } from '../../engines';
3
+ import type { WheelProps } from './Wheel.types';
4
+ export declare const wheelRoot: (Root: RootPropsOmitOnChangeAndDefaultValue<HTMLDivElement, Omit<WheelProps, "columns" | "value">>) => React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "children" | "defaultValue"> & {
5
+ columns: import("./Wheel.types").WheelColumns<import("./Wheel.types").WheelValue<Record<string, import("./Wheel.types").WheelItemValue>>>;
6
+ width?: React.CSSProperties["width"];
7
+ value: import("./Wheel.types").WheelValue<Record<string, import("./Wheel.types").WheelItemValue>>;
8
+ onChange?: ((value: import("./Wheel.types").WheelValue<Record<string, import("./Wheel.types").WheelItemValue>>, column: string) => void) | undefined;
9
+ disabled?: boolean;
10
+ hasControls?: boolean;
11
+ visibleItemsCount?: 3 | 5;
12
+ animated?: boolean;
13
+ textAfterMode?: "dynamic" | "static";
14
+ align?: import("./Wheel.types").WheelAlignment;
15
+ separator?: import("./Wheel.types").WheelSeparator;
16
+ size?: string;
17
+ view?: string;
18
+ } & React.RefAttributes<HTMLDivElement>>;
19
+ export declare const wheelConfig: {
20
+ name: string;
21
+ tag: string;
22
+ layout: (Root: RootPropsOmitOnChangeAndDefaultValue<HTMLDivElement, Omit<WheelProps, "columns" | "value">>) => React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "children" | "defaultValue"> & {
23
+ columns: import("./Wheel.types").WheelColumns<import("./Wheel.types").WheelValue<Record<string, import("./Wheel.types").WheelItemValue>>>;
24
+ width?: React.CSSProperties["width"];
25
+ value: import("./Wheel.types").WheelValue<Record<string, import("./Wheel.types").WheelItemValue>>;
26
+ onChange?: ((value: import("./Wheel.types").WheelValue<Record<string, import("./Wheel.types").WheelItemValue>>, column: string) => void) | undefined;
27
+ disabled?: boolean;
28
+ hasControls?: boolean;
29
+ visibleItemsCount?: 3 | 5;
30
+ animated?: boolean;
31
+ textAfterMode?: "dynamic" | "static";
32
+ align?: import("./Wheel.types").WheelAlignment;
33
+ separator?: import("./Wheel.types").WheelSeparator;
34
+ size?: string;
35
+ view?: string;
36
+ } & React.RefAttributes<HTMLDivElement>>;
37
+ base: import("styled-components").FlattenSimpleInterpolation;
38
+ variations: {
39
+ size: {
40
+ css: import("styled-components").FlattenSimpleInterpolation;
41
+ };
42
+ view: {
43
+ css: import("styled-components").FlattenSimpleInterpolation;
44
+ };
45
+ disabled: {
46
+ css: import("styled-components").FlattenSimpleInterpolation;
47
+ attrs: boolean;
48
+ };
49
+ };
50
+ defaults: {
51
+ size: string;
52
+ view: string;
53
+ };
54
+ };
55
+ //# sourceMappingURL=Wheel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wheel.d.ts","sourceRoot":"","sources":["../../../src/components/Wheel/Wheel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+B,MAAM,OAAO,CAAC;AAEpD,OAAO,KAAK,EAAE,oCAAoC,EAAE,MAAM,aAAa,CAAC;AAExE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQhD,eAAO,MAAM,SAAS,SACZ,oCAAoC,CAAC,cAAc,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,CAAC,CAAC;;;;;;;;;;;;;;wCAwFhG,CAAC;AAEN,eAAO,MAAM,WAAW;;;mBA1Fd,oCAAoC,CAAC,cAAc,EAAE,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqGpG,CAAC"}
@@ -0,0 +1,25 @@
1
+ export declare const base: import("styled-components").FlattenSimpleInterpolation;
2
+ export declare const Column: import("styled-components").StyledComponent<"div", any, {
3
+ $fixedWidth: boolean;
4
+ }, never>;
5
+ export declare const ColumnContent: import("styled-components").StyledComponent<"div", any, {}, never>;
6
+ export declare const Items: import("styled-components").StyledComponent<"div", any, {}, never>;
7
+ export declare const ItemContent: import("styled-components").StyledComponent<"div", any, {}, never>;
8
+ export declare const ItemLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
9
+ export declare const Item: import("styled-components").StyledComponent<"div", any, {
10
+ $row?: number;
11
+ }, never>;
12
+ export declare const WidthMeasure: import("styled-components").StyledComponent<"div", any, {}, never>;
13
+ export declare const ValueWidthMeasure: import("styled-components").StyledComponent<"div", any, {}, never>;
14
+ export declare const LabelWidthMeasure: import("styled-components").StyledComponent<"div", any, {}, never>;
15
+ export declare const TextAfter: import("styled-components").StyledComponent<"span", any, {}, never>;
16
+ export declare const StaticTextAfterWrapper: import("styled-components").StyledComponent<"div", any, {
17
+ $row: number;
18
+ }, never>;
19
+ export declare const DescriptionWrapper: import("styled-components").StyledComponent<"div", any, {
20
+ $row: number;
21
+ }, never>;
22
+ export declare const Description: import("styled-components").StyledComponent<"div", any, {}, never>;
23
+ export declare const Control: import("styled-components").StyledComponent<"button", any, {}, never>;
24
+ export declare const Separator: import("styled-components").StyledComponent<"div", any, {}, never>;
25
+ //# sourceMappingURL=Wheel.styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wheel.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Wheel/Wheel.styles.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,wDAiBhB,CAAC;AAEF,eAAO,MAAM,MAAM;iBAA6B,OAAO;SA+BtD,CAAC;AAEF,eAAO,MAAM,aAAa,oEAIzB,CAAC;AAEF,eAAO,MAAM,KAAK,oEAmBjB,CAAC;AAEF,eAAO,MAAM,WAAW,oEAQvB,CAAC;AAEF,eAAO,MAAM,SAAS,oEAMrB,CAAC;AAWF,eAAO,MAAM,IAAI;WAAuB,MAAM;SAkE7C,CAAC;AAGF,eAAO,MAAM,YAAY,oEAYxB,CAAC;AAEF,eAAO,MAAM,iBAAiB,oEAI7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,oEAG7B,CAAC;AAEF,eAAO,MAAM,SAAS,qEAErB,CAAC;AAEF,eAAO,MAAM,sBAAsB;UAAsB,MAAM;SAmB9D,CAAC;AAEF,eAAO,MAAM,kBAAkB;UAAsB,MAAM;SAY1D,CAAC;AAEF,eAAO,MAAM,WAAW,oEAUvB,CAAC;AAEF,eAAO,MAAM,OAAO,uEAiBnB,CAAC;AAEF,eAAO,MAAM,SAAS,oEA0CrB,CAAC"}
@@ -0,0 +1,116 @@
1
+ export declare const classes: {
2
+ column: string;
3
+ disabled: string;
4
+ dots: string;
5
+ divider: string;
6
+ separator: string;
7
+ customSeparator: string;
8
+ previousControl: string;
9
+ hasDescription: string;
10
+ itemContent: string;
11
+ description: string;
12
+ staticTextAfter: string;
13
+ textAfter: string;
14
+ alignLeft: string;
15
+ alignRight: string;
16
+ alignMixed: string;
17
+ };
18
+ export declare const privateTokens: {
19
+ alignItems: string;
20
+ justifyItems: string;
21
+ textAlign: string;
22
+ itemContentDisplay: string;
23
+ staticValueWidth: string;
24
+ staticTextAfterPadding: string;
25
+ };
26
+ export declare const tokens: {
27
+ /** @styleType value */
28
+ animationDuration: string;
29
+ /** @styleType value */
30
+ animationEasing: string;
31
+ /** @styleType color */
32
+ color: string;
33
+ /** @styleType color */
34
+ textAfterColor: string;
35
+ /** @styleType color */
36
+ controlColor: string;
37
+ /** @styleType color */
38
+ dividerColor: string;
39
+ /** @styleType color */
40
+ focusColor: string;
41
+ /** @styleType color */
42
+ selectionBackgroundColor: string;
43
+ /** @styleType dimension */
44
+ selectionBorderRadius: string;
45
+ /** @styleType dimension */
46
+ selectionHeight: string;
47
+ /** @styleType float */
48
+ disabledOpacity: string;
49
+ /** @styleType float */
50
+ secondaryOpacity: string;
51
+ /** @styleType float */
52
+ tertiaryOpacity: string;
53
+ /** @styleType dimension */
54
+ columnGap: string;
55
+ /** @styleType dimension */
56
+ dotColumnGap: string;
57
+ /** @styleType dimension */
58
+ dividerColumnGap: string;
59
+ /** @styleType dimension */
60
+ itemGap: string;
61
+ /** @styleType dimension */
62
+ itemVerticalPadding: string;
63
+ /** @styleType dimension */
64
+ secondaryItemVerticalPadding: string;
65
+ /** @styleType dimension */
66
+ tertiaryItemVerticalPadding: string;
67
+ /** @styleType dimension */
68
+ descriptionGap: string;
69
+ /** @styleType dimension */
70
+ textAfterGap: string;
71
+ /** @styleType value */
72
+ itemContentDisplay: string;
73
+ /** @styleType dimension */
74
+ controlSize: string;
75
+ /** @styleType dimension */
76
+ controlGap: string;
77
+ /** @styleType dimension */
78
+ dotSize: string;
79
+ /** @styleType dimension */
80
+ dotGap: string;
81
+ /** @styleType dimension */
82
+ dotSeparatorWidth: string;
83
+ /** @styleType dimension */
84
+ separatorInlinePadding: string;
85
+ /** @styleType dimension */
86
+ dotOffset: string;
87
+ /** @styleType typography @styleProp labelStyle @stylePart fontFamily */
88
+ fontFamily: string;
89
+ /** @styleType typography @styleProp labelStyle @stylePart fontSize */
90
+ fontSize: string;
91
+ /** @styleType typography @styleProp labelStyle @stylePart fontStyle */
92
+ fontStyle: string;
93
+ /** @styleType typography @styleProp labelStyle @stylePart fontWeight */
94
+ fontWeight: string;
95
+ /** @styleType typography @styleProp labelStyle @stylePart letterSpacing */
96
+ letterSpacing: string;
97
+ /** @styleType typography @styleProp labelStyle @stylePart lineHeight */
98
+ lineHeight: string;
99
+ /** @styleType float */
100
+ secondaryScale: string;
101
+ /** @styleType float */
102
+ tertiaryScale: string;
103
+ /** @styleType typography @styleProp descriptionStyle @stylePart fontFamily */
104
+ descriptionFontFamily: string;
105
+ /** @styleType typography @styleProp descriptionStyle @stylePart fontSize */
106
+ descriptionFontSize: string;
107
+ /** @styleType typography @styleProp descriptionStyle @stylePart fontStyle */
108
+ descriptionFontStyle: string;
109
+ /** @styleType typography @styleProp descriptionStyle @stylePart fontWeight */
110
+ descriptionFontWeight: string;
111
+ /** @styleType typography @styleProp descriptionStyle @stylePart letterSpacing */
112
+ descriptionLetterSpacing: string;
113
+ /** @styleType typography @styleProp descriptionStyle @stylePart lineHeight */
114
+ descriptionLineHeight: string;
115
+ };
116
+ //# sourceMappingURL=Wheel.tokens.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wheel.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Wheel/Wheel.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;CAgBnB,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;CAOzB,CAAC;AAEF,eAAO,MAAM,MAAM;IACf,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,2BAA2B;;IAE3B,2BAA2B;;IAE3B,uBAAuB;;IAEvB,uBAAuB;;IAEvB,uBAAuB;;IAEvB,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,uBAAuB;;IAEvB,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,2BAA2B;;IAE3B,wEAAwE;;IAExE,sEAAsE;;IAEtE,uEAAuE;;IAEvE,wEAAwE;;IAExE,2EAA2E;;IAE3E,wEAAwE;;IAExE,uBAAuB;;IAEvB,uBAAuB;;IAEvB,8EAA8E;;IAE9E,4EAA4E;;IAE5E,6EAA6E;;IAE7E,8EAA8E;;IAE9E,iFAAiF;;IAEjF,8EAA8E;;CAEjF,CAAC"}
@@ -0,0 +1,159 @@
1
+ import type { CSSProperties, HTMLAttributes, ReactNode, ReactElement, Ref } from 'react';
2
+ export type WheelItemValue = string | number;
3
+ export type WheelAlignment = 'left' | 'center' | 'right' | 'mixed';
4
+ export type WheelSeparatorPreset = 'none' | 'dots' | 'divider';
5
+ /**
6
+ * ReactNode с подсказками предустановленных строковых вариантов в редакторе.
7
+ */
8
+ export type WheelSeparator = WheelSeparatorPreset | Exclude<ReactNode, string> | (string & {});
9
+ export type WheelValue<Value = Record<string, WheelItemValue>> = {
10
+ [Name in keyof Value]: WheelItemValue;
11
+ };
12
+ type NoInferValue<Value> = [Value][Value extends unknown ? 0 : never];
13
+ /**
14
+ * Состояние элемента относительно выбранной строки.
15
+ */
16
+ export type WheelItemState = {
17
+ selected: boolean;
18
+ /**
19
+ * Позиция относительно выбранной строки, включая скрытые строки для анимации.
20
+ * При visibleItemsCount=3 буферные позиции — ±2, при 5 — ±3.
21
+ */
22
+ offset: -3 | -2 | -1 | 0 | 1 | 2 | 3;
23
+ };
24
+ export type WheelItem<Value extends WheelItemValue = WheelItemValue> = {
25
+ /**
26
+ * Уникальное в пределах столбца значение.
27
+ */
28
+ value: Value;
29
+ disabled?: boolean;
30
+ } & ({
31
+ label: string | number;
32
+ textValue?: string;
33
+ } | {
34
+ label: ReactNode;
35
+ /**
36
+ * Текст для скринридера при использовании JSX.
37
+ */
38
+ textValue: string;
39
+ });
40
+ export type WheelColumn<Value extends WheelItemValue = WheelItemValue> = {
41
+ /**
42
+ * Доступное имя столбца.
43
+ */
44
+ label: string;
45
+ /**
46
+ * Элементы столбца.
47
+ */
48
+ items: readonly WheelItem<Value>[];
49
+ /**
50
+ * Ширина колонки: число в пикселях или CSS-размер.
51
+ * По умолчанию определяется самым широким элементом, включая textAfter и description.
52
+ * При заданной ширине Wheel автоматические колонки делят оставшееся пространство.
53
+ */
54
+ width?: CSSProperties['width'];
55
+ /**
56
+ * Общая неподвижная подпись колонки под выбранным значением.
57
+ */
58
+ description?: ReactNode;
59
+ /**
60
+ * Дополнительный контент после значения, например единица измерения.
61
+ * Способ отображения задаётся textAfterMode компонента Wheel.
62
+ */
63
+ textAfter?: ReactNode;
64
+ /**
65
+ * Столбец неактивен.
66
+ */
67
+ disabled?: boolean;
68
+ /**
69
+ * Зацикливание элементов этой колонки.
70
+ * @default false
71
+ */
72
+ loop?: boolean;
73
+ /**
74
+ * Контент строки.
75
+ */
76
+ renderItem?: (item: WheelItem<Value>, state: WheelItemState) => ReactNode;
77
+ };
78
+ /**
79
+ * Имя столбца определяет тип его опций и аргумента renderItem.
80
+ */
81
+ export type WheelColumns<Value extends WheelValue<Value>> = readonly {
82
+ [Name in Extract<keyof Value, string>]: WheelColumn<Value[Name]> & {
83
+ name: Name;
84
+ };
85
+ }[Extract<keyof Value, string>][];
86
+ export type WheelProps<Value extends WheelValue<Value> = WheelValue> = Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'defaultValue' | 'children'> & {
87
+ /**
88
+ * Колонки с элементами.
89
+ */
90
+ columns: WheelColumns<NoInferValue<Value>>;
91
+ /**
92
+ * Ширина контейнера колонок: число в пикселях или CSS-размер.
93
+ * По умолчанию определяется содержимым.
94
+ */
95
+ width?: CSSProperties['width'];
96
+ /**
97
+ * Управляемое значение. Все значения должны присутствовать в соответствующих столбцах.
98
+ */
99
+ value: Value;
100
+ /**
101
+ * Callback при изменении активного значения.
102
+ */
103
+ onChange?: (value: Value, column: Extract<keyof Value, string>) => void;
104
+ /**
105
+ * Компонент неактивен.
106
+ */
107
+ disabled?: boolean;
108
+ /**
109
+ * Отображение стрелок для перелистывания.
110
+ * @default true
111
+ */
112
+ hasControls?: boolean;
113
+ /**
114
+ * Количество видимых значений в каждой колонке, включая выбранное.
115
+ * @default 5
116
+ */
117
+ visibleItemsCount?: 3 | 5;
118
+ /**
119
+ * Плавное перелистывание. Учитывает prefers-reduced-motion.
120
+ * @default true
121
+ */
122
+ animated?: boolean;
123
+ /**
124
+ * dynamic — textAfter отображается и анимируется в каждой строке.
125
+ * static — одна неподвижная подпись рядом с выбранным значением,
126
+ * привязанная к самому широкому элементу колонки с симметричным запасом ширины.
127
+ * @default dynamic
128
+ */
129
+ textAfterMode?: 'dynamic' | 'static';
130
+ /**
131
+ * Выравнивание строк, подписей и стрелок в столбцах.
132
+ * mixed — первая колонка вправо, последняя влево, остальные по центру.
133
+ * Единственная колонка всегда по центру в mixed.
134
+ * @default center
135
+ */
136
+ align?: WheelAlignment;
137
+ /**
138
+ * Разделитель между колонками.
139
+ * Строки none, dots и divider зарезервированы. null и false скрывают разделитель.
140
+ * @default none
141
+ */
142
+ separator?: WheelSeparator;
143
+ /**
144
+ * Размер компонента.
145
+ */
146
+ size?: string;
147
+ /**
148
+ * Вид компонента.
149
+ */
150
+ view?: string;
151
+ };
152
+ /**
153
+ * Generic-сигнатура для обёрток, создаваемых через component(mergeConfig(...)).
154
+ */
155
+ export type WheelComponent = <Value extends WheelValue<Value>>(props: WheelProps<Value> & {
156
+ ref?: Ref<HTMLDivElement>;
157
+ }) => ReactElement | null;
158
+ export {};
159
+ //# sourceMappingURL=Wheel.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Wheel.types.d.ts","sourceRoot":"","sources":["../../../src/components/Wheel/Wheel.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEzF,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,MAAM,CAAC;AAC7C,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,OAAO,CAAC;AACnE,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAAC;AAC/D;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,oBAAoB,GAAG,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAC/F,MAAM,MAAM,UAAU,CAAC,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,IAAI;KAAG,IAAI,IAAI,MAAM,KAAK,GAAG,cAAc;CAAE,CAAC;AAG3G,KAAK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,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,KAAK,SAAS,UAAU,CAAC,KAAK,CAAC,EACzD,KAAK,EAAE,UAAU,CAAC,KAAK,CAAC,GAAG;IAAE,GAAG,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAA;CAAE,KACvD,YAAY,GAAG,IAAI,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { CSSProperties } from 'react';
2
+ export declare const useStaticTextAfter: (enabled: boolean) => {
3
+ valueRef: import("react").RefObject<HTMLDivElement>;
4
+ textAfterRef: import("react").RefObject<HTMLSpanElement>;
5
+ style: CSSProperties | undefined;
6
+ };
7
+ //# sourceMappingURL=useStaticTextAfter.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useStaticTextAfter.d.ts","sourceRoot":"","sources":["../../../../src/components/Wheel/hooks/useStaticTextAfter.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAK3C,eAAO,MAAM,kBAAkB,YAAa,OAAO;;;;CA6ClD,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type { MutableRefObject, RefObject } from 'react';
2
+ import type { WheelItem, WheelItemValue } from '../Wheel.types';
3
+ import type { SelectionIntent } from './useWheelInteraction';
4
+ type Options = {
5
+ viewportRef: RefObject<HTMLDivElement>;
6
+ intentRef: MutableRefObject<SelectionIntent | undefined>;
7
+ items: readonly WheelItem[];
8
+ value: WheelItemValue;
9
+ index: number;
10
+ loop: boolean;
11
+ animated: boolean;
12
+ visibleItemsCount: 3 | 5;
13
+ };
14
+ export declare const useWheelAnimation: ({ viewportRef, intentRef, items, value, index, loop, animated, visibleItemsCount, }: Options) => {
15
+ virtualIndex: number;
16
+ registerItem: (key: string, element: HTMLDivElement | null) => void;
17
+ };
18
+ export {};
19
+ //# sourceMappingURL=useWheelAnimation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useWheelAnimation.d.ts","sourceRoot":"","sources":["../../../../src/components/Wheel/hooks/useWheelAnimation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzD,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAIhE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAa7D,KAAK,OAAO,GAAG;IACX,WAAW,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACvC,SAAS,EAAE,gBAAgB,CAAC,eAAe,GAAG,SAAS,CAAC,CAAC;IACzD,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC;IAC5B,KAAK,EAAE,cAAc,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,CAAC,GAAG,CAAC,CAAC;CAC5B,CAAC;AAwDF,eAAO,MAAM,iBAAiB,wFAS3B,OAAO;;wBAciC,MAAM,WAAW,cAAc,GAAG,IAAI;CA8JhF,CAAC"}
@@ -0,0 +1,35 @@
1
+ import type { KeyboardEvent, PointerEvent, RefObject } from 'react';
2
+ import type { WheelItem, WheelItemValue } from '../Wheel.types';
3
+ export type SelectionIntent = {
4
+ value: WheelItemValue;
5
+ direction: number;
6
+ };
7
+ type Options = {
8
+ viewportRef: RefObject<HTMLDivElement>;
9
+ items: readonly WheelItem[];
10
+ value: WheelItemValue;
11
+ loop: boolean;
12
+ disabled?: boolean;
13
+ visibleItemsCount: 3 | 5;
14
+ onChange: (value: WheelItemValue) => void;
15
+ };
16
+ export declare const useWheelInteraction: ({ viewportRef, items, value, loop, disabled, visibleItemsCount, onChange, }: Options) => {
17
+ selectedIndex: number;
18
+ previousIndex: number;
19
+ nextIndex: number;
20
+ unavailable: boolean;
21
+ intentRef: import("react").MutableRefObject<SelectionIntent | undefined>;
22
+ select: (index: number, direction: number) => void;
23
+ onItemClick: (index: number, direction: number) => void;
24
+ viewportHandlers: {
25
+ onKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
26
+ onPointerDown: (event: PointerEvent<HTMLDivElement>) => void;
27
+ onPointerMove: (event: PointerEvent<HTMLDivElement>) => void;
28
+ onPointerUp: (event: PointerEvent<HTMLDivElement>) => void;
29
+ onPointerCancel: (event: PointerEvent<HTMLDivElement>) => void;
30
+ onLostPointerCapture: (event: PointerEvent<HTMLDivElement>) => void;
31
+ onPointerLeave: (event: PointerEvent<HTMLDivElement>) => void;
32
+ };
33
+ };
34
+ export {};
35
+ //# sourceMappingURL=useWheelInteraction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useWheelInteraction.d.ts","sourceRoot":"","sources":["../../../../src/components/Wheel/hooks/useWheelInteraction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEpE,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhE,MAAM,MAAM,eAAe,GAAG;IAAE,KAAK,EAAE,cAAc,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3E,KAAK,OAAO,GAAG;IACX,WAAW,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;IACvC,KAAK,EAAE,SAAS,SAAS,EAAE,CAAC;IAC5B,KAAK,EAAE,cAAc,CAAC;IACtB,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,CAAC,GAAG,CAAC,CAAC;IACzB,QAAQ,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CAC7C,CAAC;AAKF,eAAO,MAAM,mBAAmB,gFAQ7B,OAAO;;;;;;oBAWiB,MAAM,aAAa,MAAM;yBA8HpB,MAAM,aAAa,MAAM;;2BAvE3B,aAAa,CAAC,cAAc,CAAC;+BA4BzB,YAAY,CAAC,cAAc,CAAC;+BAU5B,YAAY,CAAC,cAAc,CAAC;6BAoB/B,YAAY,CAAC,cAAc,CAAC;iCAA5B,YAAY,CAAC,cAAc,CAAC;sCAA5B,YAAY,CAAC,cAAc,CAAC;gCAOxB,YAAY,CAAC,cAAc,CAAC;;CAkC9D,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { wheelRoot, wheelConfig } from './Wheel';
2
+ export { tokens as wheelTokens, classes as wheelClasses } from './Wheel.tokens';
3
+ export type { WheelProps, WheelAlignment, WheelSeparator, WheelSeparatorPreset, WheelComponent, WheelColumn, WheelColumns, WheelItem, WheelItemState, WheelItemValue, WheelValue, } from './Wheel.types';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Wheel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAChF,YAAY,EACR,UAAU,EACV,cAAc,EACd,cAAc,EACd,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,SAAS,EACT,cAAc,EACd,cAAc,EACd,UAAU,GACb,MAAM,eAAe,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { WheelColumn as WheelColumnProps, WheelItemValue, WheelProps } from '../Wheel.types';
2
+ type Props = WheelColumnProps & {
3
+ value: WheelItemValue;
4
+ hasControls: boolean;
5
+ visibleItemsCount: 3 | 5;
6
+ animated: boolean;
7
+ textAfterMode: NonNullable<WheelProps['textAfterMode']>;
8
+ reserveDescription: boolean;
9
+ onChange: (value: WheelItemValue) => void;
10
+ };
11
+ export declare const WheelColumn: ({ label, items, width, value, disabled, loop, hasControls, visibleItemsCount, animated, textAfterMode, reserveDescription, description, textAfter, renderItem, onChange, }: Props) => JSX.Element;
12
+ export {};
13
+ //# sourceMappingURL=WheelColumn.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WheelColumn.d.ts","sourceRoot":"","sources":["../../../../src/components/Wheel/ui/WheelColumn.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,IAAI,gBAAgB,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAoBlG,KAAK,KAAK,GAAG,gBAAgB,GAAG;IAC5B,KAAK,EAAE,cAAc,CAAC;IACtB,WAAW,EAAE,OAAO,CAAC;IACrB,iBAAiB,EAAE,CAAC,GAAG,CAAC,CAAC;IACzB,QAAQ,EAAE,OAAO,CAAC;IAClB,aAAa,EAAE,WAAW,CAAC,UAAU,CAAC,eAAe,CAAC,CAAC,CAAC;IACxD,kBAAkB,EAAE,OAAO,CAAC;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;CAC7C,CAAC;AAIF,eAAO,MAAM,WAAW,+KAgBrB,KAAK,gBAiIP,CAAC"}
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import type { Ref } from 'react';
3
+ import type { WheelColumn } from '../Wheel.types';
4
+ type Props = Pick<WheelColumn, 'items' | 'renderItem' | 'textAfter' | 'description'> & {
5
+ valueRef?: Ref<HTMLDivElement>;
6
+ };
7
+ export declare const WheelColumnWidth: React.MemoExoticComponent<({ items, renderItem, textAfter, description, valueRef }: Props) => JSX.Element>;
8
+ export {};
9
+ //# sourceMappingURL=WheelColumnWidth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WheelColumnWidth.d.ts","sourceRoot":"","sources":["../../../../src/components/Wheel/ui/WheelColumnWidth.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAe,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAKlD,KAAK,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,OAAO,GAAG,YAAY,GAAG,WAAW,GAAG,aAAa,CAAC,GAAG;IACnF,QAAQ,CAAC,EAAE,GAAG,CAAC,cAAc,CAAC,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,gBAAgB,sFAAkE,KAAK,iBAsBlG,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { WheelColumn, WheelItem as WheelItemData, WheelItemState } from '../Wheel.types';
2
+ type Props = Pick<WheelColumn, 'renderItem' | 'textAfter'> & {
3
+ id: string;
4
+ rowKey: number;
5
+ row?: number;
6
+ item?: WheelItemData;
7
+ itemIndex: number;
8
+ itemCount: number;
9
+ offset: WheelItemState['offset'];
10
+ buffer: boolean;
11
+ unavailable: boolean;
12
+ registerItem: (key: string, element: HTMLDivElement | null) => void;
13
+ onSelect: (index: number, direction: number) => void;
14
+ };
15
+ export declare const WheelItem: ({ id, rowKey, row, item, itemIndex, itemCount, offset, buffer, unavailable, textAfter, renderItem, registerItem, onSelect, }: Props) => JSX.Element;
16
+ export {};
17
+ //# sourceMappingURL=WheelItem.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WheelItem.d.ts","sourceRoot":"","sources":["../../../../src/components/Wheel/ui/WheelItem.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,IAAI,aAAa,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAM9F,KAAK,KAAK,GAAG,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,WAAW,CAAC,GAAG;IACzD,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IACjC,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,OAAO,CAAC;IACrB,YAAY,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAC;IACpE,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CACxD,CAAC;AAEF,eAAO,MAAM,SAAS,iIAcnB,KAAK,gBAkCP,CAAC"}
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { WheelColumn, WheelItem, WheelItemState } from '../Wheel.types';
3
+ export declare const WheelItemContent: React.ForwardRefExoticComponent<Pick<WheelColumn, "textAfter" | "renderItem"> & {
4
+ item?: WheelItem;
5
+ state: WheelItemState;
6
+ } & React.RefAttributes<HTMLDivElement>>;
7
+ //# sourceMappingURL=WheelItemContent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WheelItemContent.d.ts","sourceRoot":"","sources":["../../../../src/components/Wheel/ui/WheelItemContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAS7E,eAAO,MAAM,gBAAgB;WAJlB,SAAS;WACT,cAAc;wCAQvB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { WheelItem, WheelItemValue } from './Wheel.types';
2
+ export declare const normalizeIndex: (index: number, length: number) => number;
3
+ /** Поиск доступной опции ограничен длиной списка, включая зацикленные столбцы. */
4
+ export declare const findNextIndex: (items: readonly WheelItem[], index: number, direction: number, loop: boolean) => number;
5
+ export declare const getSelectedIndex: (items: readonly WheelItem[], value: WheelItemValue | undefined) => number;
6
+ export declare const getItemText: (item: WheelItem) => string;
7
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/Wheel/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/D,eAAO,MAAM,cAAc,UAAW,MAAM,UAAU,MAAM,WAAyC,CAAC;AAEtG,kFAAkF;AAClF,eAAO,MAAM,aAAa,UAAW,SAAS,SAAS,EAAE,SAAS,MAAM,aAAa,MAAM,QAAQ,OAAO,KAAG,MAc5G,CAAC;AAEF,eAAO,MAAM,gBAAgB,UAAW,SAAS,SAAS,EAAE,SAAS,cAAc,GAAG,SAAS,WAG9F,CAAC;AAEF,eAAO,MAAM,WAAW,SAAU,SAAS,WAAyC,CAAC"}