@salutejs/plasma-new-hope 0.344.0-canary.2402.20461160162.0 → 0.344.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 (324) hide show
  1. package/dist/css/cjs/components/DatePicker/DatePicker.tokens.js +7 -1
  2. package/dist/css/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
  3. package/dist/css/cjs/components/DatePicker/RangeDate/RangeDate.css +42 -14
  4. package/dist/css/cjs/components/DatePicker/RangeDate/RangeDate.js +2 -2
  5. package/dist/css/cjs/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
  6. package/dist/css/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +1 -1
  7. package/dist/css/cjs/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  8. package/dist/css/cjs/components/DatePicker/RangeDate/RangeDate.styles_1lsqv75.css +4 -0
  9. package/dist/css/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +42 -14
  10. package/dist/css/cjs/components/DatePicker/SingleDate/SingleDate.js +1 -1
  11. package/dist/css/cjs/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  12. package/dist/css/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  13. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.css +17 -15
  14. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.js +18 -9
  15. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.js.map +1 -1
  16. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.styles.js +35 -21
  17. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.styles.js.map +1 -1
  18. package/dist/css/{es/components/InformationWrapper/InformationWrapper.styles_1o4mbq5.css → cjs/components/InformationWrapper/InformationWrapper.styles_p99b7q.css} +2 -2
  19. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.tokens.js +6 -1
  20. package/dist/css/cjs/components/InformationWrapper/InformationWrapper.tokens.js.map +1 -1
  21. package/dist/css/cjs/components/InformationWrapper/ui/{Label/Label.css → Hint/Hint.css} +14 -14
  22. package/dist/css/cjs/components/InformationWrapper/variations/_read-only/base.js +9 -0
  23. package/dist/css/cjs/components/InformationWrapper/variations/_read-only/base.js.map +1 -0
  24. package/dist/css/cjs/components/InformationWrapper/variations/_read-only/base_of19k8.css +1 -0
  25. package/dist/css/cjs/components/InformationWrapper/variations/_size/base.js +1 -1
  26. package/dist/css/cjs/components/InformationWrapper/variations/_size/base.js.map +1 -1
  27. package/dist/css/cjs/components/InformationWrapper/variations/_size/base_192z4sg.css +1 -0
  28. package/dist/css/cjs/components/Range/Range.css +39 -11
  29. package/dist/css/cjs/components/Range/Range.js +147 -38
  30. package/dist/css/cjs/components/Range/Range.js.map +1 -1
  31. package/dist/css/cjs/components/Range/Range.styles.js +21 -39
  32. package/dist/css/cjs/components/Range/Range.styles.js.map +1 -1
  33. package/dist/css/cjs/components/Range/Range.styles_8ts4t3.css +7 -0
  34. package/dist/css/cjs/components/Range/Range.tokens.js +92 -32
  35. package/dist/css/cjs/components/Range/Range.tokens.js.map +1 -1
  36. package/dist/css/cjs/components/Range/ui/InformationWrapper/InformationWrapper.styles.js +22 -0
  37. package/dist/css/cjs/components/Range/ui/InformationWrapper/InformationWrapper.styles.js.map +1 -0
  38. package/dist/css/cjs/components/Range/ui/InformationWrapper/InformationWrapper.styles_13qfwt9.css +1 -0
  39. package/dist/css/cjs/components/Range/variations/_disabled/base.js +1 -1
  40. package/dist/css/cjs/components/Range/variations/_disabled/base_1cgs2ed.css +1 -0
  41. package/dist/css/cjs/components/Range/variations/_hint-size/base.js +9 -0
  42. package/dist/css/cjs/components/Range/variations/_hint-size/base.js.map +1 -0
  43. package/dist/css/cjs/components/Range/variations/_hint-size/base_x642ct.css +1 -0
  44. package/dist/css/cjs/components/Range/variations/_hint-view/base.js +9 -0
  45. package/dist/css/cjs/components/Range/variations/_hint-view/base.js.map +1 -0
  46. package/dist/css/cjs/components/Range/variations/_hint-view/base_x642ct.css +1 -0
  47. package/dist/css/cjs/components/Range/variations/_readonly/base.js +1 -1
  48. package/dist/css/cjs/components/Range/variations/_readonly/base.js.map +1 -1
  49. package/dist/css/cjs/components/Range/variations/_readonly/base_18ua98l.css +1 -0
  50. package/dist/css/cjs/components/Range/variations/_size/base.js +1 -1
  51. package/dist/css/cjs/components/Range/variations/_size/base.js.map +1 -1
  52. package/dist/css/cjs/components/Range/variations/_size/base_1u545tb.css +1 -0
  53. package/dist/css/cjs/components/Range/variations/_view/base.js +1 -1
  54. package/dist/css/cjs/components/Range/variations/_view/base.js.map +1 -1
  55. package/dist/css/cjs/components/Range/variations/_view/base_1s1elv3.css +1 -0
  56. package/dist/css/cjs/components/TextArea/TextArea.js +1 -1
  57. package/dist/css/cjs/components/TextArea/TextArea.js.map +1 -1
  58. package/dist/css/cjs/components/TextField/TextField.js +1 -1
  59. package/dist/css/cjs/components/TextField/TextField.js.map +1 -1
  60. package/dist/css/cjs/components/TimePicker/TimePicker.js +1 -1
  61. package/dist/css/cjs/components/TimePicker/TimePicker.js.map +1 -1
  62. package/dist/css/cjs/index.css +31 -30
  63. package/dist/css/es/components/DatePicker/DatePicker.tokens.js +7 -1
  64. package/dist/css/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
  65. package/dist/css/es/components/DatePicker/RangeDate/RangeDate.css +42 -14
  66. package/dist/css/es/components/DatePicker/RangeDate/RangeDate.js +2 -2
  67. package/dist/css/es/components/DatePicker/RangeDate/RangeDate.js.map +1 -1
  68. package/dist/css/es/components/DatePicker/RangeDate/RangeDate.styles.js +1 -1
  69. package/dist/css/es/components/DatePicker/RangeDate/RangeDate.styles.js.map +1 -1
  70. package/dist/css/es/components/DatePicker/RangeDate/RangeDate.styles_1lsqv75.css +4 -0
  71. package/dist/css/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +42 -14
  72. package/dist/css/es/components/DatePicker/SingleDate/SingleDate.js +1 -1
  73. package/dist/css/es/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  74. package/dist/css/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
  75. package/dist/css/es/components/InformationWrapper/InformationWrapper.css +17 -15
  76. package/dist/css/es/components/InformationWrapper/InformationWrapper.js +18 -9
  77. package/dist/css/es/components/InformationWrapper/InformationWrapper.js.map +1 -1
  78. package/dist/css/es/components/InformationWrapper/InformationWrapper.styles.js +35 -21
  79. package/dist/css/es/components/InformationWrapper/InformationWrapper.styles.js.map +1 -1
  80. package/dist/css/{cjs/components/InformationWrapper/InformationWrapper.styles_1o4mbq5.css → es/components/InformationWrapper/InformationWrapper.styles_p99b7q.css} +2 -2
  81. package/dist/css/es/components/InformationWrapper/InformationWrapper.tokens.js +6 -1
  82. package/dist/css/es/components/InformationWrapper/InformationWrapper.tokens.js.map +1 -1
  83. package/dist/css/es/components/InformationWrapper/ui/{Label/Label.css → Hint/Hint.css} +14 -14
  84. package/dist/css/es/components/InformationWrapper/variations/_read-only/base.js +5 -0
  85. package/dist/css/es/components/InformationWrapper/variations/_read-only/base.js.map +1 -0
  86. package/dist/css/es/components/InformationWrapper/variations/_read-only/base_of19k8.css +1 -0
  87. package/dist/css/es/components/InformationWrapper/variations/_size/base.js +1 -1
  88. package/dist/css/es/components/InformationWrapper/variations/_size/base.js.map +1 -1
  89. package/dist/css/es/components/InformationWrapper/variations/_size/base_192z4sg.css +1 -0
  90. package/dist/css/es/components/Range/Range.css +39 -11
  91. package/dist/css/es/components/Range/Range.js +150 -41
  92. package/dist/css/es/components/Range/Range.js.map +1 -1
  93. package/dist/css/es/components/Range/Range.styles.js +21 -36
  94. package/dist/css/es/components/Range/Range.styles.js.map +1 -1
  95. package/dist/css/es/components/Range/Range.styles_8ts4t3.css +7 -0
  96. package/dist/css/es/components/Range/Range.tokens.js +92 -32
  97. package/dist/css/es/components/Range/Range.tokens.js.map +1 -1
  98. package/dist/css/es/components/Range/ui/InformationWrapper/InformationWrapper.styles.js +18 -0
  99. package/dist/css/es/components/Range/ui/InformationWrapper/InformationWrapper.styles.js.map +1 -0
  100. package/dist/css/es/components/Range/ui/InformationWrapper/InformationWrapper.styles_13qfwt9.css +1 -0
  101. package/dist/css/es/components/Range/variations/_disabled/base.js +1 -1
  102. package/dist/css/es/components/Range/variations/_disabled/base_1cgs2ed.css +1 -0
  103. package/dist/css/es/components/Range/variations/_hint-size/base.js +5 -0
  104. package/dist/css/es/components/Range/variations/_hint-size/base.js.map +1 -0
  105. package/dist/css/es/components/Range/variations/_hint-size/base_x642ct.css +1 -0
  106. package/dist/css/es/components/Range/variations/_hint-view/base.js +5 -0
  107. package/dist/css/es/components/Range/variations/_hint-view/base.js.map +1 -0
  108. package/dist/css/es/components/Range/variations/_hint-view/base_x642ct.css +1 -0
  109. package/dist/css/es/components/Range/variations/_readonly/base.js +1 -1
  110. package/dist/css/es/components/Range/variations/_readonly/base.js.map +1 -1
  111. package/dist/css/es/components/Range/variations/_readonly/base_18ua98l.css +1 -0
  112. package/dist/css/es/components/Range/variations/_size/base.js +1 -1
  113. package/dist/css/es/components/Range/variations/_size/base.js.map +1 -1
  114. package/dist/css/es/components/Range/variations/_size/base_1u545tb.css +1 -0
  115. package/dist/css/es/components/Range/variations/_view/base.js +1 -1
  116. package/dist/css/es/components/Range/variations/_view/base.js.map +1 -1
  117. package/dist/css/es/components/Range/variations/_view/base_1s1elv3.css +1 -0
  118. package/dist/css/es/components/TextArea/TextArea.js +1 -1
  119. package/dist/css/es/components/TextArea/TextArea.js.map +1 -1
  120. package/dist/css/es/components/TextField/TextField.js +1 -1
  121. package/dist/css/es/components/TextField/TextField.js.map +1 -1
  122. package/dist/css/es/components/TimePicker/TimePicker.js +1 -1
  123. package/dist/css/es/components/TimePicker/TimePicker.js.map +1 -1
  124. package/dist/css/es/index.css +31 -30
  125. package/dist/emotion/cjs/components/DatePicker/DatePicker.tokens.js +9 -3
  126. package/dist/emotion/cjs/components/DatePicker/RangeDate/RangeDate.js +2 -2
  127. package/dist/emotion/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +7 -7
  128. package/dist/emotion/cjs/components/DatePicker/SingleDate/SingleDate.js +1 -1
  129. package/dist/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +7 -7
  130. package/dist/emotion/cjs/components/InformationWrapper/InformationWrapper.js +16 -7
  131. package/dist/emotion/cjs/components/InformationWrapper/InformationWrapper.styles.js +39 -33
  132. package/dist/emotion/cjs/components/InformationWrapper/InformationWrapper.tokens.js +6 -1
  133. package/dist/emotion/cjs/components/InformationWrapper/variations/_read-only/base.js +14 -0
  134. package/dist/emotion/cjs/components/InformationWrapper/variations/_size/base.js +1 -1
  135. package/dist/emotion/cjs/components/Range/Range.js +186 -33
  136. package/dist/emotion/cjs/components/Range/Range.styles.js +22 -43
  137. package/dist/emotion/cjs/components/Range/Range.tokens.js +90 -30
  138. package/dist/emotion/cjs/components/Range/ui/Hint/index.js +11 -0
  139. package/dist/emotion/cjs/components/Range/ui/InformationWrapper/InformationWrapper.styles.js +25 -0
  140. package/dist/emotion/cjs/components/Range/ui/InformationWrapper/index.js +11 -0
  141. package/dist/emotion/cjs/components/Range/ui/index.js +19 -0
  142. package/dist/emotion/cjs/components/Range/variations/_hint-size/base.js +12 -0
  143. package/dist/emotion/cjs/components/Range/variations/_hint-view/base.js +12 -0
  144. package/dist/emotion/cjs/components/Range/variations/_readonly/base.js +1 -1
  145. package/dist/emotion/cjs/components/Range/variations/_size/base.js +5 -1
  146. package/dist/emotion/cjs/components/Range/variations/_view/base.js +3 -2
  147. package/dist/emotion/cjs/components/TextArea/TextArea.js +2 -2
  148. package/dist/emotion/cjs/components/TextField/TextField.js +2 -2
  149. package/dist/emotion/cjs/components/TimePicker/TimePicker.js +1 -1
  150. package/dist/emotion/cjs/examples/components/Combobox/Combobox.js +0 -15
  151. package/dist/emotion/cjs/examples/components/DatePicker/DatePicker.config.js +9 -9
  152. package/dist/emotion/cjs/examples/components/Range/Range.clear.config.js +45 -0
  153. package/dist/emotion/cjs/examples/components/Range/Range.config.js +18 -9
  154. package/dist/emotion/cjs/examples/components/Range/Range.js +29 -5
  155. package/dist/emotion/es/components/DatePicker/DatePicker.tokens.js +9 -3
  156. package/dist/emotion/es/components/DatePicker/RangeDate/RangeDate.js +2 -2
  157. package/dist/emotion/es/components/DatePicker/RangeDate/RangeDate.styles.js +7 -7
  158. package/dist/emotion/es/components/DatePicker/SingleDate/SingleDate.js +1 -1
  159. package/dist/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +7 -7
  160. package/dist/emotion/es/components/InformationWrapper/InformationWrapper.js +12 -3
  161. package/dist/emotion/es/components/InformationWrapper/InformationWrapper.styles.js +39 -33
  162. package/dist/emotion/es/components/InformationWrapper/InformationWrapper.tokens.js +6 -1
  163. package/dist/emotion/es/components/InformationWrapper/variations/_read-only/base.js +4 -0
  164. package/dist/emotion/es/components/InformationWrapper/variations/_size/base.js +1 -1
  165. package/dist/emotion/es/components/Range/Range.js +184 -31
  166. package/dist/emotion/es/components/Range/Range.styles.js +19 -31
  167. package/dist/emotion/es/components/Range/Range.tokens.js +90 -30
  168. package/dist/emotion/es/components/Range/ui/Hint/index.js +1 -0
  169. package/dist/emotion/es/components/Range/ui/InformationWrapper/InformationWrapper.styles.js +10 -0
  170. package/dist/emotion/es/components/Range/ui/InformationWrapper/index.js +1 -0
  171. package/dist/emotion/es/components/Range/ui/index.js +2 -0
  172. package/dist/emotion/es/components/Range/variations/_hint-size/base.js +2 -0
  173. package/dist/emotion/es/components/Range/variations/_hint-view/base.js +2 -0
  174. package/dist/emotion/es/components/Range/variations/_readonly/base.js +2 -2
  175. package/dist/emotion/es/components/Range/variations/_size/base.js +6 -2
  176. package/dist/emotion/es/components/Range/variations/_view/base.js +4 -3
  177. package/dist/emotion/es/components/TextArea/TextArea.js +2 -2
  178. package/dist/emotion/es/components/TextField/TextField.js +2 -2
  179. package/dist/emotion/es/components/TimePicker/TimePicker.js +1 -1
  180. package/dist/emotion/es/examples/components/DatePicker/DatePicker.config.js +9 -9
  181. package/dist/emotion/es/examples/components/Range/Range.clear.config.js +35 -0
  182. package/dist/emotion/es/examples/components/Range/Range.config.js +18 -9
  183. package/dist/emotion/es/examples/components/Range/Range.js +16 -3
  184. package/dist/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +9 -3
  185. package/dist/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.js +2 -2
  186. package/dist/styled-components/cjs/components/DatePicker/RangeDate/RangeDate.styles.js +7 -6
  187. package/dist/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +1 -1
  188. package/dist/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +4 -4
  189. package/dist/styled-components/cjs/components/InformationWrapper/InformationWrapper.js +16 -7
  190. package/dist/styled-components/cjs/components/InformationWrapper/InformationWrapper.styles.js +27 -18
  191. package/dist/styled-components/cjs/components/InformationWrapper/InformationWrapper.tokens.js +6 -1
  192. package/dist/styled-components/cjs/components/InformationWrapper/variations/_read-only/base.js +28 -0
  193. package/dist/styled-components/cjs/components/InformationWrapper/variations/_size/base.js +1 -2
  194. package/dist/styled-components/cjs/components/Range/Range.js +186 -33
  195. package/dist/styled-components/cjs/components/Range/Range.styles.js +44 -62
  196. package/dist/styled-components/cjs/components/Range/Range.tokens.js +90 -30
  197. package/dist/styled-components/cjs/components/Range/ui/Hint/index.js +11 -0
  198. package/dist/styled-components/cjs/components/Range/ui/InformationWrapper/InformationWrapper.styles.js +159 -0
  199. package/dist/styled-components/cjs/components/Range/ui/InformationWrapper/index.js +11 -0
  200. package/dist/styled-components/cjs/components/Range/ui/index.js +19 -0
  201. package/dist/styled-components/cjs/components/Range/variations/_hint-size/base.js +14 -0
  202. package/dist/styled-components/cjs/components/Range/variations/_hint-view/base.js +14 -0
  203. package/dist/styled-components/cjs/components/Range/variations/_readonly/base.js +1 -5
  204. package/dist/styled-components/cjs/components/Range/variations/_size/base.js +16 -28
  205. package/dist/styled-components/cjs/components/Range/variations/_view/base.js +70 -10
  206. package/dist/styled-components/cjs/components/TextArea/TextArea.js +1 -1
  207. package/dist/styled-components/cjs/components/TextField/TextField.js +1 -1
  208. package/dist/styled-components/cjs/components/TimePicker/TimePicker.js +1 -1
  209. package/dist/styled-components/cjs/examples/components/DatePicker/DatePicker.config.js +28 -4
  210. package/dist/styled-components/cjs/examples/components/Range/Range.clear.config.js +457 -0
  211. package/dist/styled-components/cjs/examples/components/Range/Range.config.js +209 -79
  212. package/dist/styled-components/cjs/examples/components/Range/Range.js +29 -5
  213. package/dist/styled-components/es/components/DatePicker/DatePicker.tokens.js +9 -3
  214. package/dist/styled-components/es/components/DatePicker/RangeDate/RangeDate.js +2 -2
  215. package/dist/styled-components/es/components/DatePicker/RangeDate/RangeDate.styles.js +7 -6
  216. package/dist/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +1 -1
  217. package/dist/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +4 -4
  218. package/dist/styled-components/es/components/InformationWrapper/InformationWrapper.js +12 -3
  219. package/dist/styled-components/es/components/InformationWrapper/InformationWrapper.styles.js +27 -18
  220. package/dist/styled-components/es/components/InformationWrapper/InformationWrapper.tokens.js +6 -1
  221. package/dist/styled-components/es/components/InformationWrapper/variations/_read-only/base.js +18 -0
  222. package/dist/styled-components/es/components/InformationWrapper/variations/_size/base.js +1 -2
  223. package/dist/styled-components/es/components/Range/Range.js +184 -31
  224. package/dist/styled-components/es/components/Range/Range.styles.js +41 -50
  225. package/dist/styled-components/es/components/Range/Range.tokens.js +90 -30
  226. package/dist/styled-components/es/components/Range/ui/Hint/index.js +1 -0
  227. package/dist/styled-components/es/components/Range/ui/InformationWrapper/InformationWrapper.styles.js +144 -0
  228. package/dist/styled-components/es/components/Range/ui/InformationWrapper/index.js +1 -0
  229. package/dist/styled-components/es/components/Range/ui/index.js +2 -0
  230. package/dist/styled-components/es/components/Range/variations/_hint-size/base.js +4 -0
  231. package/dist/styled-components/es/components/Range/variations/_hint-view/base.js +4 -0
  232. package/dist/styled-components/es/components/Range/variations/_readonly/base.js +2 -6
  233. package/dist/styled-components/es/components/Range/variations/_size/base.js +17 -29
  234. package/dist/styled-components/es/components/Range/variations/_view/base.js +71 -11
  235. package/dist/styled-components/es/components/TextArea/TextArea.js +1 -1
  236. package/dist/styled-components/es/components/TextField/TextField.js +1 -1
  237. package/dist/styled-components/es/components/TimePicker/TimePicker.js +1 -1
  238. package/dist/styled-components/es/examples/components/Combobox/Combobox.js +7 -0
  239. package/dist/styled-components/es/examples/components/DatePicker/DatePicker.config.js +28 -4
  240. package/dist/styled-components/es/examples/components/Range/Range.clear.config.js +447 -0
  241. package/dist/styled-components/es/examples/components/Range/Range.config.js +209 -79
  242. package/dist/styled-components/es/examples/components/Range/Range.js +16 -3
  243. package/package.json +5 -5
  244. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  245. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  246. package/types/components/DatePicker/DatePicker.tokens.d.ts +7 -1
  247. package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
  248. package/types/components/DatePicker/RangeDate/RangeDate.d.ts +38 -10
  249. package/types/components/DatePicker/RangeDate/RangeDate.d.ts.map +1 -1
  250. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts +555 -3
  251. package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts.map +1 -1
  252. package/types/components/DatePicker/RangeDate/RangeDate.types.d.ts +1 -1
  253. package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +1 -1
  254. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  255. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +1 -1
  256. package/types/components/DateTimePicker/ui/Input/Input.styles.d.ts.map +1 -1
  257. package/types/components/InformationWrapper/InformationWrapper.d.ts +4 -0
  258. package/types/components/InformationWrapper/InformationWrapper.d.ts.map +1 -1
  259. package/types/components/InformationWrapper/InformationWrapper.styles.d.ts.map +1 -1
  260. package/types/components/InformationWrapper/InformationWrapper.tokens.d.ts +5 -0
  261. package/types/components/InformationWrapper/InformationWrapper.tokens.d.ts.map +1 -1
  262. package/types/components/InformationWrapper/InformationWrapper.types.d.ts +5 -0
  263. package/types/components/InformationWrapper/InformationWrapper.types.d.ts.map +1 -1
  264. package/types/components/InformationWrapper/variations/_read-only/base.d.ts +2 -0
  265. package/types/components/InformationWrapper/variations/_read-only/base.d.ts.map +1 -0
  266. package/types/components/InformationWrapper/variations/_size/base.d.ts.map +1 -1
  267. package/types/components/Range/Range.d.ts +11 -3
  268. package/types/components/Range/Range.d.ts.map +1 -1
  269. package/types/components/Range/Range.styles.d.ts +3 -6
  270. package/types/components/Range/Range.styles.d.ts.map +1 -1
  271. package/types/components/Range/Range.tokens.d.ts +73 -13
  272. package/types/components/Range/Range.tokens.d.ts.map +1 -1
  273. package/types/components/Range/Range.types.d.ts +95 -3
  274. package/types/components/Range/Range.types.d.ts.map +1 -1
  275. package/types/components/Range/ui/Hint/index.d.ts +2 -0
  276. package/types/components/Range/ui/Hint/index.d.ts.map +1 -0
  277. package/types/components/Range/ui/InformationWrapper/InformationWrapper.styles.d.ts +56 -0
  278. package/types/components/Range/ui/InformationWrapper/InformationWrapper.styles.d.ts.map +1 -0
  279. package/types/components/Range/ui/InformationWrapper/index.d.ts +2 -0
  280. package/types/components/Range/ui/InformationWrapper/index.d.ts.map +1 -0
  281. package/types/components/Range/ui/index.d.ts +3 -0
  282. package/types/components/Range/ui/index.d.ts.map +1 -0
  283. package/types/components/Range/variations/_hint-size/base.d.ts +2 -0
  284. package/types/components/Range/variations/_hint-size/base.d.ts.map +1 -0
  285. package/types/components/Range/variations/_hint-view/base.d.ts +2 -0
  286. package/types/components/Range/variations/_hint-view/base.d.ts.map +1 -0
  287. package/types/components/Range/variations/_readonly/base.d.ts.map +1 -1
  288. package/types/components/Range/variations/_size/base.d.ts.map +1 -1
  289. package/types/components/Range/variations/_view/base.d.ts.map +1 -1
  290. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  291. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  292. package/types/components/TextArea/TextArea.types.d.ts +1 -1
  293. package/types/components/TextField/TextField.types.d.ts +1 -1
  294. package/types/components/TimePicker/TimePicker.styles.d.ts.map +1 -1
  295. package/types/examples/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  296. package/types/examples/components/DatePicker/DatePicker.config.d.ts.map +1 -1
  297. package/types/examples/components/DatePicker/DatePicker.d.ts +19 -5
  298. package/types/examples/components/DatePicker/DatePicker.d.ts.map +1 -1
  299. package/types/examples/components/InformationWrapper/InformationWrapper.d.ts +2 -0
  300. package/types/examples/components/InformationWrapper/InformationWrapper.d.ts.map +1 -1
  301. package/types/examples/components/Mask/Mask.d.ts.map +1 -1
  302. package/types/examples/components/NumberFormat/NumberFormat.d.ts.map +1 -1
  303. package/types/examples/components/Range/Range.clear.config.d.ts +34 -0
  304. package/types/examples/components/Range/Range.clear.config.d.ts.map +1 -0
  305. package/types/examples/components/Range/Range.config.d.ts +9 -0
  306. package/types/examples/components/Range/Range.config.d.ts.map +1 -1
  307. package/types/examples/components/Range/Range.d.ts +2224 -7
  308. package/types/examples/components/Range/Range.d.ts.map +1 -1
  309. package/types/examples/components/TextArea/TextArea.d.ts.map +1 -1
  310. package/types/examples/components/TextField/TextField.d.ts.map +1 -1
  311. package/dist/css/cjs/components/DatePicker/RangeDate/RangeDate.styles_21hloy.css +0 -4
  312. package/dist/css/cjs/components/InformationWrapper/variations/_size/base_xg1ywk.css +0 -1
  313. package/dist/css/cjs/components/Range/Range.styles_it2utg.css +0 -10
  314. package/dist/css/cjs/components/Range/variations/_disabled/base_14rf606.css +0 -1
  315. package/dist/css/cjs/components/Range/variations/_readonly/base_sjb43y.css +0 -1
  316. package/dist/css/cjs/components/Range/variations/_size/base_13h9f8f.css +0 -1
  317. package/dist/css/cjs/components/Range/variations/_view/base_ems82y.css +0 -1
  318. package/dist/css/es/components/DatePicker/RangeDate/RangeDate.styles_21hloy.css +0 -4
  319. package/dist/css/es/components/InformationWrapper/variations/_size/base_xg1ywk.css +0 -1
  320. package/dist/css/es/components/Range/Range.styles_it2utg.css +0 -10
  321. package/dist/css/es/components/Range/variations/_disabled/base_14rf606.css +0 -1
  322. package/dist/css/es/components/Range/variations/_readonly/base_sjb43y.css +0 -1
  323. package/dist/css/es/components/Range/variations/_size/base_13h9f8f.css +0 -1
  324. package/dist/css/es/components/Range/variations/_view/base_ems82y.css +0 -1
@@ -1,6 +1,7 @@
1
1
  export var classes = {
2
2
  withoutLabel: 'info-wrapper-without-label',
3
- requiredAlignLeft: 'info-wrapper-required-align-left'
3
+ requiredAlignLeft: 'info-wrapper-required-align-left',
4
+ leftHelper: 'info-wrapper-left-helper'
4
5
  };
5
6
  export var tokens = {
6
7
  /** Токены для label */ indicatorWrapperGap: '--plasma-info-wrapper-indicator-wrapper-gap',
@@ -13,9 +14,11 @@ export var tokens = {
13
14
  labelLetterSpacing: '--plasma-info-wrapper-label-letter-spacing',
14
15
  labelLineHeight: '--plasma-info-wrapper-label-line-height',
15
16
  labelColor: '--plasma-info-wrapper-label-color',
17
+ labelColorReadOnly: '--plasma-info-wrapper-label-color-readonly',
16
18
  contentGap: '--plasma-info-wrapper-content-gap',
17
19
  titleCaptionOffset: '--plasma-info-wrapper-title-caption-offset',
18
20
  titleCaptionColor: '--plasma-info-wrapper-title-caption-color',
21
+ titleCaptionColorReadOnly: '--plasma-info-wrapper-title-caption-color-readonly',
19
22
  titleCaptionFontFamily: '--plasma-info-wrapper-title-caption-font-family',
20
23
  titleCaptionFontStyle: '--plasma-info-wrapper-title-caption-font-style',
21
24
  titleCaptionFontSize: '--plasma-info-wrapper-title-caption-font-size',
@@ -59,6 +62,8 @@ export var tokens = {
59
62
  /** Токены для optional */ optionalColor: '--plasma-info-wrapper-optional-color',
60
63
  /** Токены для подписей снизу */ leftHelperColor: '--plasma-info-wrapper-left-helper-color',
61
64
  rightHelperColor: '--plasma-info-wrapper-right-helper-color',
65
+ leftHelperColorReadOnly: '--plasma-info-wrapper-left-helper-color-readonly',
66
+ rightHelperColorReadOnly: '--plasma-info-wrapper-right-helper-color-readonly',
62
67
  helpersPadding: '--plasma-info-wrapper-helpers-padding-top',
63
68
  helpersGap: '--plasma-info-wrapper-helpers-gap',
64
69
  leftHelperFontFamily: '--plasma-info-wrapper-left-helper-font-family',
@@ -0,0 +1,4 @@
1
+ import { css } from "@emotion/react";
2
+ import { Label, LeftHelper, RightHelper, TitleCaption } from "../../InformationWrapper.styles";
3
+ import { tokens } from "../../InformationWrapper.tokens";
4
+ export var base = /*#__PURE__*/ css("&[readonly]{", Label, "{color:var(", tokens.labelColorReadOnly, ",var(", tokens.labelColor, "));}", TitleCaption, "{color:var(", tokens.titleCaptionColorReadOnly, ",var(", tokens.titleCaptionColor, "));}", LeftHelper, "{color:var(", tokens.leftHelperColorReadOnly, ",var(", tokens.leftHelperColor, "));}", RightHelper, "{color:var(", tokens.rightHelperColorReadOnly, ",var(", tokens.rightHelperColor, "));}}", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9JbmZvcm1hdGlvbldyYXBwZXIvdmFyaWF0aW9ucy9fcmVhZC1vbmx5L2Jhc2UudHMiLCJzb3VyY2VzIjpbInNyYy1lbW90aW9uL2NvbXBvbmVudHMvSW5mb3JtYXRpb25XcmFwcGVyL3ZhcmlhdGlvbnMvX3JlYWQtb25seS9iYXNlLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgTGFiZWwsIExlZnRIZWxwZXIsIFJpZ2h0SGVscGVyLCBUaXRsZUNhcHRpb24gfSBmcm9tICcuLi8uLi9JbmZvcm1hdGlvbldyYXBwZXIuc3R5bGVzJztcbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uL0luZm9ybWF0aW9uV3JhcHBlci50b2tlbnMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmW3JlYWRvbmx5XSB7XG4gICAgICAgICR7TGFiZWx9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMubGFiZWxDb2xvclJlYWRPbmx5fSwgdmFyKCR7dG9rZW5zLmxhYmVsQ29sb3J9KSk7XG4gICAgICAgIH1cblxuICAgICAgICAke1RpdGxlQ2FwdGlvbn0ge1xuICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy50aXRsZUNhcHRpb25Db2xvclJlYWRPbmx5fSwgdmFyKCR7dG9rZW5zLnRpdGxlQ2FwdGlvbkNvbG9yfSkpO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtMZWZ0SGVscGVyfSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmxlZnRIZWxwZXJDb2xvclJlYWRPbmx5fSwgdmFyKCR7dG9rZW5zLmxlZnRIZWxwZXJDb2xvcn0pKTtcbiAgICAgICAgfVxuXG4gICAgICAgICR7UmlnaHRIZWxwZXJ9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMucmlnaHRIZWxwZXJDb2xvclJlYWRPbmx5fSwgdmFyKCR7dG9rZW5zLnJpZ2h0SGVscGVyQ29sb3J9KSk7XG4gICAgICAgIH1cbiAgICB9XG5gO1xuIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUtvQiJ9 */");
@@ -1,4 +1,4 @@
1
1
  import { css } from "@emotion/react";
2
2
  import { Helpers, HintTargetWrapper, HintWrapper, Label, LeftHelper, OptionalText, RightHelper, TitleCaption } from "../../InformationWrapper.styles";
3
3
  import { tokens } from "../../InformationWrapper.tokens";
4
- export var base = /*#__PURE__*/ css(Label, ",", OptionalText, "{font-family:var(", tokens.labelFontFamily, ");font-size:var(", tokens.labelFontSize, ");font-style:var(", tokens.labelFontStyle, ");font-weight:var(", tokens.labelFontWeight, ");letter-spacing:var(", tokens.labelLetterSpacing, ");line-height:var(", tokens.labelLineHeight, ");}", HintWrapper, "{margin:var(", tokens.hintMargin, ");width:var(", tokens.hintTargetSize, ");height:var(", tokens.hintTargetSize, ");}", HintTargetWrapper, "{width:var(", tokens.hintTargetSize, ");height:var(", tokens.hintTargetSize, ");margin:var(", tokens.hintMargin, ");}", TitleCaption, "{font-family:var(", tokens.titleCaptionFontFamily, ");font-size:var(", tokens.titleCaptionFontSize, ");font-style:var(", tokens.titleCaptionFontStyle, ");font-weight:var(", tokens.titleCaptionFontWeight, ");letter-spacing:var(", tokens.titleCaptionLetterSpacing, ");line-height:var(", tokens.titleCaptionLineHeight, ");}", Helpers, "{padding:var(", tokens.helpersPadding, ");gap:var(", tokens.helpersGap, ");}", LeftHelper, "{font-family:var(", tokens.leftHelperFontFamily, ");font-size:var(", tokens.leftHelperFontSize, ");font-style:var(", tokens.leftHelperFontStyle, ");font-weight:var(", tokens.leftHelperFontWeight, ");letter-spacing:var(", tokens.leftHelperLetterSpacing, ");line-height:var(", tokens.leftHelperLineHeight, ");}", RightHelper, "{font-family:var(", tokens.rightHelperFontFamily, ");font-size:var(", tokens.rightHelperFontSize, ");font-style:var(", tokens.rightHelperFontStyle, ");font-weight:var(", tokens.rightHelperFontWeight, ");letter-spacing:var(", tokens.rightHelperLetterSpacing, ");line-height:var(", tokens.rightHelperLineHeight, ");}", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9JbmZvcm1hdGlvbldyYXBwZXIvdmFyaWF0aW9ucy9fc2l6ZS9iYXNlLnRzIiwic291cmNlcyI6WyJzcmMtZW1vdGlvbi9jb21wb25lbnRzL0luZm9ybWF0aW9uV3JhcHBlci92YXJpYXRpb25zL19zaXplL2Jhc2UudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1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ZWZ0SGVscGVyRm9udFNpemV9KTtcbiAgICAgICAgZm9udC1zdHlsZTogdmFyKCR7dG9rZW5zLmxlZnRIZWxwZXJGb250U3R5bGV9KTtcbiAgICAgICAgZm9udC13ZWlnaHQ6IHZhcigke3Rva2Vucy5sZWZ0SGVscGVyRm9udFdlaWdodH0pO1xuICAgICAgICBsZXR0ZXItc3BhY2luZzogdmFyKCR7dG9rZW5zLmxlZnRIZWxwZXJMZXR0ZXJTcGFjaW5nfSk7XG4gICAgICAgIGxpbmUtaGVpZ2h0OiB2YXIoJHt0b2tlbnMubGVmdEhlbHBlckxpbmVIZWlnaHR9KTtcbiAgICB9XG5cbiAgICAke1JpZ2h0SGVscGVyfSB7XG4gICAgICAgIGZvbnQtZmFtaWx5OiB2YXIoJHt0b2tlbnMucmlnaHRIZWxwZXJGb250RmFtaWx5fSk7XG4gICAgICAgIGZvbnQtc2l6ZTogdmFyKCR7dG9rZW5zLnJpZ2h0SGVscGVyRm9udFNpemV9KTtcbiAgICAgICAgZm9udC1zdHlsZTogdmFyKCR7dG9rZW5zLnJpZ2h0SGVscGVyRm9udFN0eWxlfSk7XG4gICAgICAgIGZvbnQtd2VpZ2h0OiB2YXIoJHt0b2tlbnMucmlnaHRIZWxwZXJGb250V2VpZ2h0fSk7XG4gICAgICAgIGxldHRlci1zcGFjaW5nOiB2YXIoJHt0b2tlbnMucmlnaHRIZWxwZXJMZXR0ZXJTcGFjaW5nfSk7XG4gICAgICAgIGxpbmUtaGVpZ2h0OiB2YXIoJHt0b2tlbnMucmlnaHRIZWxwZXJMaW5lSGVpZ2h0fSk7XG4gICAgfVxuYDtcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFjb0IifQ== */");
4
+ export var base = /*#__PURE__*/ css(Label, ",", OptionalText, "{font-family:var(", tokens.labelFontFamily, ");font-size:var(", tokens.labelFontSize, ");font-style:var(", tokens.labelFontStyle, ");font-weight:var(", tokens.labelFontWeight, ");letter-spacing:var(", tokens.labelLetterSpacing, ");line-height:var(", tokens.labelLineHeight, ");}", HintWrapper, "{margin:var(", tokens.hintMargin, ");width:var(", tokens.hintTargetSize, ");height:var(", tokens.hintTargetSize, ");}", HintTargetWrapper, "{width:var(", tokens.hintTargetSize, ");height:var(", tokens.hintTargetSize, ");}", TitleCaption, "{font-family:var(", tokens.titleCaptionFontFamily, ");font-size:var(", tokens.titleCaptionFontSize, ");font-style:var(", tokens.titleCaptionFontStyle, ");font-weight:var(", tokens.titleCaptionFontWeight, ");letter-spacing:var(", tokens.titleCaptionLetterSpacing, ");line-height:var(", tokens.titleCaptionLineHeight, ");}", Helpers, "{padding:var(", tokens.helpersPadding, ");gap:var(", tokens.helpersGap, ");}", LeftHelper, "{font-family:var(", tokens.leftHelperFontFamily, ");font-size:var(", tokens.leftHelperFontSize, ");font-style:var(", tokens.leftHelperFontStyle, ");font-weight:var(", tokens.leftHelperFontWeight, ");letter-spacing:var(", tokens.leftHelperLetterSpacing, ");line-height:var(", tokens.leftHelperLineHeight, ");}", RightHelper, "{font-family:var(", tokens.rightHelperFontFamily, ");font-size:var(", tokens.rightHelperFontSize, ");font-style:var(", tokens.rightHelperFontStyle, ");font-weight:var(", tokens.rightHelperFontWeight, ");letter-spacing:var(", tokens.rightHelperLetterSpacing, ");line-height:var(", tokens.rightHelperLineHeight, ");}", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9JbmZvcm1hdGlvbldyYXBwZXIvdmFyaWF0aW9ucy9fc2l6ZS9iYXNlLnRzIiwic291cmNlcyI6WyJzcmMtZW1vdGlvbi9jb21wb25lbnRzL0luZm9ybWF0aW9uV3JhcHBlci92YXJpYXRpb25zL19zaXplL2Jhc2UudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQge1xuICAgIEhlb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iB2YXIoJHt0b2tlbnMubGVmdEhlbHBlckZvbnRXZWlnaHR9KTtcbiAgICAgICAgbGV0dGVyLXNwYWNpbmc6IHZhcigke3Rva2Vucy5sZWZ0SGVscGVyTGV0dGVyU3BhY2luZ30pO1xuICAgICAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLmxlZnRIZWxwZXJMaW5lSGVpZ2h0fSk7XG4gICAgfVxuXG4gICAgJHtSaWdodEhlbHBlcn0ge1xuICAgICAgICBmb250LWZhbWlseTogdmFyKCR7dG9rZW5zLnJpZ2h0SGVscGVyRm9udEZhbWlseX0pO1xuICAgICAgICBmb250LXNpemU6IHZhcigke3Rva2Vucy5yaWdodEhlbHBlckZvbnRTaXplfSk7XG4gICAgICAgIGZvbnQtc3R5bGU6IHZhcigke3Rva2Vucy5yaWdodEhlbHBlckZvbnRTdHlsZX0pO1xuICAgICAgICBmb250LXdlaWdodDogdmFyKCR7dG9rZW5zLnJpZ2h0SGVscGVyRm9udFdlaWdodH0pO1xuICAgICAgICBsZXR0ZXItc3BhY2luZzogdmFyKCR7dG9rZW5zLnJpZ2h0SGVscGVyTGV0dGVyU3BhY2luZ30pO1xuICAgICAgICBsaW5lLWhlaWdodDogdmFyKCR7dG9rZW5zLnJpZ2h0SGVscGVyTGluZUhlaWdodH0pO1xuICAgIH1cbmA7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBY29CIn0= */");
@@ -1,3 +1,11 @@
1
+ function _array_like_to_array(arr, len) {
2
+ if (len == null || len > arr.length) len = arr.length;
3
+ for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
4
+ return arr2;
5
+ }
6
+ function _array_with_holes(arr) {
7
+ if (Array.isArray(arr)) return arr;
8
+ }
1
9
  function _define_property(obj, key, value) {
2
10
  if (key in obj) {
3
11
  Object.defineProperty(obj, key, {
@@ -11,6 +19,33 @@ function _define_property(obj, key, value) {
11
19
  }
12
20
  return obj;
13
21
  }
22
+ function _iterable_to_array_limit(arr, i) {
23
+ var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
24
+ if (_i == null) return;
25
+ var _arr = [];
26
+ var _n = true;
27
+ var _d = false;
28
+ var _s, _e;
29
+ try {
30
+ for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
31
+ _arr.push(_s.value);
32
+ if (i && _arr.length === i) break;
33
+ }
34
+ } catch (err) {
35
+ _d = true;
36
+ _e = err;
37
+ } finally{
38
+ try {
39
+ if (!_n && _i["return"] != null) _i["return"]();
40
+ } finally{
41
+ if (_d) throw _e;
42
+ }
43
+ }
44
+ return _arr;
45
+ }
46
+ function _non_iterable_rest() {
47
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
48
+ }
14
49
  function _object_spread(target) {
15
50
  for(var i = 1; i < arguments.length; i++){
16
51
  var source = arguments[i] != null ? arguments[i] : {};
@@ -53,29 +88,42 @@ function _object_without_properties_loose(source, excluded) {
53
88
  }
54
89
  return target;
55
90
  }
56
- import React, { forwardRef, useImperativeHandle, useMemo, useRef } from "react";
91
+ function _sliced_to_array(arr, i) {
92
+ return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
93
+ }
94
+ function _unsupported_iterable_to_array(o, minLen) {
95
+ if (!o) return;
96
+ if (typeof o === "string") return _array_like_to_array(o, minLen);
97
+ var n = Object.prototype.toString.call(o).slice(8, -1);
98
+ if (n === "Object" && o.constructor) n = o.constructor.name;
99
+ if (n === "Map" || n === "Set") return Array.from(n);
100
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
101
+ }
102
+ import React, { forwardRef, useImperativeHandle, useMemo, useRef, useState } from "react";
103
+ import { useOutsideClick } from "../../hooks";
104
+ import { useForkRef } from "@salutejs/plasma-core";
57
105
  import { cx } from "../../utils";
58
106
  import { base as sizeCSS } from "./variations/_size/base";
59
107
  import { base as viewCSS } from "./variations/_view/base";
108
+ import { base as hintViewCSS } from "./variations/_hint-view/base";
109
+ import { base as hintSizeCSS } from "./variations/_hint-size/base";
60
110
  import { base as disabledCSS } from "./variations/_disabled/base";
61
111
  import { base as readOnlyCSS } from "./variations/_readonly/base";
62
112
  import { getChangeHandler, getSearchHandler } from "./utils";
63
- import { ContentWrapper, LeftHelper, StyledContentLeft, StyledContentRight, StyledDivider, StyledIndicator, StyledIndicatorWrapper, StyledInput, StyledLabel, base } from "./Range.styles";
113
+ import { ContentWrapper, StyledContentLeft, StyledContentRight, StyledContentRightWrapper, StyledDivider, StyledInput, base } from "./Range.styles";
64
114
  import { classes } from "./Range.tokens";
115
+ import { HintComponent, InformationWrapperUI } from "./ui";
65
116
  export var rangeRoot = function(Root) {
66
117
  return /*#__PURE__*/ forwardRef(function(_param, ref) {
67
- var autoComplete = _param.autoComplete, label = _param.label, leftHelper = _param.leftHelper, contentLeft = _param.contentLeft, contentRight = _param.contentRight, view = _param.view, size = _param.size, _param_readOnly = _param.readOnly, readOnly = _param_readOnly === void 0 ? false : _param_readOnly, _param_disabled = _param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, _param_dividerVariant = _param.dividerVariant, dividerVariant = _param_dividerVariant === void 0 ? 'dash' : _param_dividerVariant, dividerIcon = _param.dividerIcon, firstValue = _param.firstValue, secondValue = _param.secondValue, firstValueError = _param.firstValueError, secondValueError = _param.secondValueError, firstValueSuccess = _param.firstValueSuccess, secondValueSuccess = _param.secondValueSuccess, firstPlaceholder = _param.firstPlaceholder, secondPlaceholder = _param.secondPlaceholder, firstTextfieldContentLeft = _param.firstTextfieldContentLeft, firstTextfieldContentRight = _param.firstTextfieldContentRight, secondTextfieldContentLeft = _param.secondTextfieldContentLeft, secondTextfieldContentRight = _param.secondTextfieldContentRight, firstTextfieldTextBefore = _param.firstTextfieldTextBefore, secondTextfieldTextBefore = _param.secondTextfieldTextBefore, firstTextfieldTextAfter = _param.firstTextfieldTextAfter, secondTextfieldTextAfter = _param.secondTextfieldTextAfter, required = _param.required, _param_requiredPlacement = _param.requiredPlacement, requiredPlacement = _param_requiredPlacement === void 0 ? 'right' : _param_requiredPlacement, _param_hasRequiredIndicator = _param.hasRequiredIndicator, hasRequiredIndicator = _param_hasRequiredIndicator === void 0 ? true : _param_hasRequiredIndicator, onChangeFirstValue = _param.onChangeFirstValue, onChangeSecondValue = _param.onChangeSecondValue, onSearchFirstValue = _param.onSearchFirstValue, onSearchSecondValue = _param.onSearchSecondValue, onFocusFirstTextfield = _param.onFocusFirstTextfield, onFocusSecondTextfield = _param.onFocusSecondTextfield, onBlurFirstTextfield = _param.onBlurFirstTextfield, onBlurSecondTextfield = _param.onBlurSecondTextfield, rest = _object_without_properties(_param, [
68
- "autoComplete",
69
- "label",
70
- "leftHelper",
71
- "contentLeft",
72
- "contentRight",
73
- "view",
74
- "size",
75
- "readOnly",
76
- "disabled",
77
- "dividerVariant",
78
- "dividerIcon",
118
+ var className = _param.className, // controlled
119
+ firstValue = _param.firstValue, secondValue = _param.secondValue, firstValueError = _param.firstValueError, secondValueError = _param.secondValueError, firstValueSuccess = _param.firstValueSuccess, secondValueSuccess = _param.secondValueSuccess, firstPlaceholder = _param.firstPlaceholder, secondPlaceholder = _param.secondPlaceholder, // variations
120
+ appearance = _param.appearance, hasClearDivider = _param.hasClearDivider, view = _param.view, size = _param.size, _param_readOnly = _param.readOnly, readOnly = _param_readOnly === void 0 ? false : _param_readOnly, _param_disabled = _param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, _param_required = _param.required, required = _param_required === void 0 ? false : _param_required, _param_requiredIndicatorPlacement = _param.requiredIndicatorPlacement, requiredIndicatorPlacement = _param_requiredIndicatorPlacement === void 0 ? 'right' : _param_requiredIndicatorPlacement, _param_hasRequiredIndicator = _param.hasRequiredIndicator, hasRequiredIndicator = _param_hasRequiredIndicator === void 0 ? false : _param_hasRequiredIndicator, _param_hintTrigger = _param.// hint
121
+ hintTrigger, hintTrigger = _param_hintTrigger === void 0 ? 'hover' : _param_hintTrigger, hintText = _param.hintText, _param_hintView = _param.hintView, hintView = _param_hintView === void 0 ? 'default' : _param_hintView, _param_hintSize = _param.hintSize, hintSize = _param_hintSize === void 0 ? 'm' : _param_hintSize, hintTargetIcon = _param.hintTargetIcon, _param_hintTargetPlacement = _param.hintTargetPlacement, hintTargetPlacement = _param_hintTargetPlacement === void 0 ? 'outer' : _param_hintTargetPlacement, _param_hintPlacement = _param.hintPlacement, hintPlacement = _param_hintPlacement === void 0 ? 'auto' : _param_hintPlacement, hintHasArrow = _param.hintHasArrow, _param_hintOffset = _param.hintOffset, hintOffset = _param_hintOffset === void 0 ? [
122
+ 0,
123
+ 0
124
+ ] : _param_hintOffset, hintWidth = _param.hintWidth, hintContentLeft = _param.hintContentLeft, // layout
125
+ label = _param.label, leftHelper = _param.leftHelper, titleCaption = _param.titleCaption, contentLeft = _param.contentLeft, contentRight = _param.contentRight, firstTextfieldContentLeft = _param.firstTextfieldContentLeft, firstTextfieldContentRight = _param.firstTextfieldContentRight, secondTextfieldContentLeft = _param.secondTextfieldContentLeft, secondTextfieldContentRight = _param.secondTextfieldContentRight, firstTextfieldTextBefore = _param.firstTextfieldTextBefore, secondTextfieldTextBefore = _param.secondTextfieldTextBefore, firstTextfieldTextAfter = _param.firstTextfieldTextAfter, secondTextfieldTextAfter = _param.secondTextfieldTextAfter, _param_dividerVariant = _param.dividerVariant, dividerVariant = _param_dividerVariant === void 0 ? 'dash' : _param_dividerVariant, dividerIcon = _param.dividerIcon, autoComplete = _param.autoComplete, onChangeFirstValue = _param.onChangeFirstValue, onChangeSecondValue = _param.onChangeSecondValue, onSearchFirstValue = _param.onSearchFirstValue, onSearchSecondValue = _param.onSearchSecondValue, onFocusFirstTextfield = _param.onFocusFirstTextfield, onFocusSecondTextfield = _param.onFocusSecondTextfield, onBlurFirstTextfield = _param.onBlurFirstTextfield, onBlurSecondTextfield = _param.onBlurSecondTextfield, rest = _object_without_properties(_param, [
126
+ "className",
79
127
  "firstValue",
80
128
  "secondValue",
81
129
  "firstValueError",
@@ -84,6 +132,31 @@ export var rangeRoot = function(Root) {
84
132
  "secondValueSuccess",
85
133
  "firstPlaceholder",
86
134
  "secondPlaceholder",
135
+ "appearance",
136
+ "hasClearDivider",
137
+ "view",
138
+ "size",
139
+ "readOnly",
140
+ "disabled",
141
+ "required",
142
+ "requiredIndicatorPlacement",
143
+ "hasRequiredIndicator",
144
+ "hintTrigger",
145
+ "hintText",
146
+ "hintView",
147
+ "hintSize",
148
+ "hintTargetIcon",
149
+ "hintTargetPlacement",
150
+ "hintPlacement",
151
+ "hintHasArrow",
152
+ "hintOffset",
153
+ "hintWidth",
154
+ "hintContentLeft",
155
+ "label",
156
+ "leftHelper",
157
+ "titleCaption",
158
+ "contentLeft",
159
+ "contentRight",
87
160
  "firstTextfieldContentLeft",
88
161
  "firstTextfieldContentRight",
89
162
  "secondTextfieldContentLeft",
@@ -92,9 +165,9 @@ export var rangeRoot = function(Root) {
92
165
  "secondTextfieldTextBefore",
93
166
  "firstTextfieldTextAfter",
94
167
  "secondTextfieldTextAfter",
95
- "required",
96
- "requiredPlacement",
97
- "hasRequiredIndicator",
168
+ "dividerVariant",
169
+ "dividerIcon",
170
+ "autoComplete",
98
171
  "onChangeFirstValue",
99
172
  "onChangeSecondValue",
100
173
  "onSearchFirstValue",
@@ -107,17 +180,50 @@ export var rangeRoot = function(Root) {
107
180
  var rangeRef = useRef(null);
108
181
  var firstTextFieldRef = useRef(null);
109
182
  var secondTextFieldRef = useRef(null);
110
- var requiredPlacementClass = requiredPlacement === 'right' ? classes.requiredAlignRight : undefined;
183
+ var hintRef = useRef(null);
184
+ var _useState = _sliced_to_array(useState(false), 2), isHintVisible = _useState[0], setIsHintVisible = _useState[1];
185
+ var noCaptionAndLabelClass = !label && !titleCaption ? classes.noCaptionAndLabel : undefined;
186
+ var clearClass = appearance === 'clear' ? classes.clear : undefined;
187
+ var clearDividerClass = hasClearDivider ? classes.clearDivider : undefined;
188
+ var clearOuterHintClass = clearClass && hintText && hintTargetPlacement === 'outer' ? classes.clearHasOuterHint : undefined;
111
189
  var rangeErrorClass = firstValueError && secondValueError ? classes.rangeError : undefined;
112
190
  var firstValueErrorClass = !rangeErrorClass && firstValueError ? classes.rangeValueError : undefined;
113
191
  var secondValueErrorClass = !rangeErrorClass && secondValueError ? classes.rangeValueError : undefined;
114
192
  var rangeSuccessClass = firstValueSuccess && secondValueSuccess ? classes.rangeSuccess : undefined;
115
193
  var firstValueSuccessClass = !rangeSuccessClass && firstValueSuccess ? classes.rangeValueSuccess : undefined;
116
194
  var secondValueSuccessClass = !rangeSuccessClass && secondValueSuccess ? classes.rangeValueSuccess : undefined;
195
+ var hintInnerRef = useRef(null);
196
+ var hintForkRef = useForkRef(hintRef, hintInnerRef);
117
197
  var handleChangeFirstValue = getChangeHandler(onChangeFirstValue, disabled, readOnly);
118
198
  var handleChangeSecondValue = getChangeHandler(onChangeSecondValue, disabled, readOnly);
119
199
  var handleSearchFirstValue = getSearchHandler(onSearchFirstValue, disabled, readOnly);
120
200
  var handleSearchSecondValue = getSearchHandler(onSearchSecondValue, disabled, readOnly);
201
+ var handleHintShow = function() {
202
+ if (disabled) {
203
+ return;
204
+ }
205
+ setIsHintVisible(true);
206
+ };
207
+ var handleHintHide = function() {
208
+ return setIsHintVisible(false);
209
+ };
210
+ var handleHintClick = function(event) {
211
+ var _hintInnerRef_current;
212
+ if (!hintText || hintTrigger !== 'click' || disabled) {
213
+ return;
214
+ }
215
+ event.stopPropagation();
216
+ var targetIsPopover = event.target === hintInnerRef.current;
217
+ var rootHasTarget = (_hintInnerRef_current = hintInnerRef.current) === null || _hintInnerRef_current === void 0 ? void 0 : _hintInnerRef_current.contains(event.target);
218
+ if (!targetIsPopover && !rootHasTarget) {
219
+ setIsHintVisible(true);
220
+ }
221
+ };
222
+ useOutsideClick(function() {
223
+ setIsHintVisible(false);
224
+ }, [
225
+ hintRef
226
+ ]);
121
227
  useImperativeHandle(ref, function() {
122
228
  return {
123
229
  firstTextField: function() {
@@ -145,17 +251,40 @@ export var rangeRoot = function(Root) {
145
251
  ]);
146
252
  return /*#__PURE__*/ React.createElement(Root, _object_spread({
147
253
  ref: rangeRef,
254
+ className: cx(clearClass, noCaptionAndLabelClass, className),
148
255
  view: view,
149
256
  size: size,
150
257
  disabled: disabled,
151
258
  readOnly: !disabled && readOnly
152
- }, rest), label && /*#__PURE__*/ React.createElement(StyledIndicatorWrapper, null, /*#__PURE__*/ React.createElement(StyledLabel, null, label), required && hasRequiredIndicator && /*#__PURE__*/ React.createElement(StyledIndicator, {
153
- className: cx(classes.requiredOuterPlacement, requiredPlacementClass)
154
- })), /*#__PURE__*/ React.createElement(ContentWrapper, {
155
- className: cx(rangeErrorClass, rangeSuccessClass)
156
- }, !label && required && hasRequiredIndicator && /*#__PURE__*/ React.createElement(StyledIndicator, {
157
- className: cx(requiredPlacementClass)
158
- }), contentLeft && /*#__PURE__*/ React.createElement(StyledContentLeft, null, contentLeft), /*#__PURE__*/ React.createElement(StyledInput, {
259
+ }, hintText && {
260
+ hintView: hintView,
261
+ hintSize: hintSize
262
+ }, rest), /*#__PURE__*/ React.createElement(InformationWrapperUI, _object_spread({
263
+ className: cx(rangeErrorClass, firstValueErrorClass, secondValueErrorClass, rangeSuccessClass, firstValueSuccessClass, secondValueSuccessClass, clearOuterHintClass),
264
+ size: size,
265
+ label: label,
266
+ leftHelper: leftHelper,
267
+ titleCaption: titleCaption,
268
+ required: required,
269
+ requiredIndicatorPlacement: requiredIndicatorPlacement,
270
+ hasRequiredIndicator: hasRequiredIndicator,
271
+ disabled: disabled
272
+ }, hintText && hintTargetPlacement === 'outer' ? {
273
+ hintText: hintText,
274
+ hintView: hintView,
275
+ hintSize: hintSize,
276
+ hintTrigger: hintTrigger,
277
+ hintTargetIcon: hintTargetIcon,
278
+ hintPlacement: hintPlacement,
279
+ hintHasArrow: hintHasArrow,
280
+ hintOffset: hintOffset,
281
+ hintWidth: hintWidth,
282
+ hintContentLeft: hintContentLeft
283
+ } : {
284
+ hintText: undefined
285
+ }), /*#__PURE__*/ React.createElement(ContentWrapper, {
286
+ className: cx(clearClass, clearDividerClass, rangeErrorClass, rangeSuccessClass)
287
+ }, contentLeft && /*#__PURE__*/ React.createElement(StyledContentLeft, null, contentLeft), /*#__PURE__*/ React.createElement(StyledInput, {
159
288
  ref: firstTextFieldRef,
160
289
  className: cx(firstValueErrorClass, firstValueSuccessClass),
161
290
  value: firstValue,
@@ -172,7 +301,8 @@ export var rangeRoot = function(Root) {
172
301
  onBlur: onBlurFirstTextfield,
173
302
  autoComplete: autoComplete,
174
303
  "data-error": firstValueError,
175
- "data-success": firstValueSuccess
304
+ "data-success": firstValueSuccess,
305
+ hasDivider: hasClearDivider
176
306
  }), Divider, /*#__PURE__*/ React.createElement(StyledInput, {
177
307
  ref: secondTextFieldRef,
178
308
  className: cx(secondValueErrorClass, secondValueSuccessClass),
@@ -188,10 +318,25 @@ export var rangeRoot = function(Root) {
188
318
  onSearch: handleSearchSecondValue,
189
319
  onFocus: onFocusSecondTextfield,
190
320
  onBlur: onBlurSecondTextfield,
191
- autoComplete: autoComplete
192
- }), contentRight && /*#__PURE__*/ React.createElement(StyledContentRight, null, contentRight)), leftHelper && /*#__PURE__*/ React.createElement(LeftHelper, {
193
- className: cx(rangeErrorClass, firstValueErrorClass, secondValueErrorClass, rangeSuccessClass, firstValueSuccessClass, secondValueSuccessClass)
194
- }, leftHelper));
321
+ autoComplete: autoComplete,
322
+ hasDivider: hasClearDivider
323
+ }), /*#__PURE__*/ React.createElement(StyledContentRightWrapper, null, !label && hintText && hintTargetPlacement === 'inner' && /*#__PURE__*/ React.createElement(HintComponent, {
324
+ ref: hintForkRef,
325
+ hintText: hintText,
326
+ hintTrigger: hintTrigger,
327
+ isHintVisible: isHintVisible,
328
+ hintTargetIcon: hintTargetIcon,
329
+ hintPlacement: hintPlacement,
330
+ hintHasArrow: hintHasArrow,
331
+ hintOffset: hintOffset,
332
+ hintWidth: hintWidth,
333
+ hintContentLeft: hintContentLeft,
334
+ size: size,
335
+ handleHintShow: handleHintShow,
336
+ handleHintHide: handleHintHide,
337
+ handleHintClick: handleHintClick,
338
+ withoutLabel: true
339
+ }), contentRight && /*#__PURE__*/ React.createElement(StyledContentRight, null, contentRight)))));
195
340
  });
196
341
  };
197
342
  export var rangeConfig = {
@@ -206,6 +351,12 @@ export var rangeConfig = {
206
351
  size: {
207
352
  css: sizeCSS
208
353
  },
354
+ hintView: {
355
+ css: hintViewCSS
356
+ },
357
+ hintSize: {
358
+ css: hintSizeCSS
359
+ },
209
360
  disabled: {
210
361
  css: disabledCSS,
211
362
  attrs: true
@@ -217,6 +368,8 @@ export var rangeConfig = {
217
368
  },
218
369
  defaults: {
219
370
  size: 'm',
220
- view: 'default'
371
+ view: 'default',
372
+ hintView: 'default',
373
+ hintSize: 'm'
221
374
  }
222
375
  };