@salutejs/plasma-new-hope 0.195.0-canary.1546.11913646617.0 → 0.195.0-canary.1556.11929098791.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (357) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +17 -17
  2. package/cjs/components/Autocomplete/Autocomplete.js +7 -1
  3. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  4. package/cjs/components/Badge/Badge.css +4 -4
  5. package/cjs/components/Badge/Badge.js +7 -17
  6. package/cjs/components/Badge/Badge.js.map +1 -1
  7. package/cjs/components/Badge/Badge.tokens.js +5 -10
  8. package/cjs/components/Badge/Badge.tokens.js.map +1 -1
  9. package/cjs/components/Badge/variations/_clear/base.js +1 -1
  10. package/cjs/components/Badge/variations/_clear/base.js.map +1 -1
  11. package/cjs/components/Badge/variations/_clear/base_oopyb7.css +1 -0
  12. package/cjs/components/Badge/variations/_size/base.js +1 -1
  13. package/cjs/components/Badge/variations/_size/base.js.map +1 -1
  14. package/{es/components/Badge/variations/_size/base_bu5opk.css → cjs/components/Badge/variations/_size/base_to0y5x.css} +1 -1
  15. package/cjs/components/Badge/variations/_transparent/base.js +1 -1
  16. package/cjs/components/Badge/variations/_transparent/base.js.map +1 -1
  17. package/cjs/components/Badge/variations/_transparent/base_1l6036y.css +1 -0
  18. package/cjs/components/Badge/variations/_view/base.js +1 -1
  19. package/cjs/components/Badge/variations/_view/base.js.map +1 -1
  20. package/cjs/components/Badge/variations/_view/base_qlxank.css +1 -0
  21. package/cjs/components/Combobox/ComboboxNew/Combobox.css +17 -17
  22. package/cjs/components/Combobox/ComboboxNew/Combobox.js +25 -6
  23. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  24. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +17 -17
  25. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +17 -17
  26. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  27. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  28. package/cjs/components/Combobox/ComboboxOld/Combobox.css +5 -4
  29. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -4
  30. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -4
  31. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -4
  32. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -4
  33. package/cjs/components/DatePicker/RangeDate/RangeDate.css +17 -17
  34. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +17 -17
  35. package/cjs/components/DatePicker/SingleDate/SingleDate.css +17 -17
  36. package/cjs/components/DatePicker/SingleDate/SingleDate.js +9 -4
  37. package/cjs/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  38. package/cjs/components/Dropdown/Dropdown.css +5 -4
  39. package/cjs/components/Dropdown/Dropdown.js +4 -2
  40. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  41. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -4
  42. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -2
  43. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  44. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +7 -1
  45. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  46. package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_1b439rx.css → DropdownItem.styles_14yih1y.css} +1 -0
  47. package/cjs/components/Pagination/Pagination.css +17 -17
  48. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +17 -17
  49. package/cjs/components/Range/Range.css +17 -17
  50. package/cjs/components/Select/Select.css +17 -17
  51. package/cjs/components/Select/Select.js +0 -1
  52. package/cjs/components/Select/Select.js.map +1 -1
  53. package/cjs/components/Select/ui/Inner/Inner.css +17 -17
  54. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +17 -17
  55. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  56. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  57. package/cjs/components/Select/ui/Target/Target.css +17 -17
  58. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +17 -17
  59. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +28 -6
  60. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  61. package/cjs/components/Slider/Slider.css +17 -17
  62. package/cjs/components/Slider/components/Double/Double.css +17 -17
  63. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +17 -17
  64. package/cjs/components/TextField/TextField.js +9 -5
  65. package/cjs/components/TextField/TextField.js.map +1 -1
  66. package/cjs/components/TextField/TextField.styles.js +20 -11
  67. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  68. package/cjs/components/TextField/{TextField.styles_j7dqpn.css → TextField.styles_ppcxpx.css} +1 -1
  69. package/cjs/components/TextField/TextField.tokens.js +1 -0
  70. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  71. package/cjs/components/TextField/ui/Hint/Hint.css +20 -20
  72. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  73. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
  74. package/cjs/components/TextField/variations/_label-placement/base_y1lvvc.css +1 -0
  75. package/cjs/index.css +26 -25
  76. package/emotion/cjs/components/Autocomplete/Autocomplete.js +7 -1
  77. package/emotion/cjs/components/Badge/Badge.js +7 -17
  78. package/emotion/cjs/components/Badge/Badge.template-doc.mdx +16 -40
  79. package/emotion/cjs/components/Badge/Badge.tokens.js +6 -10
  80. package/emotion/cjs/components/Badge/variations/_clear/base.js +1 -1
  81. package/emotion/cjs/components/Badge/variations/_size/base.js +1 -2
  82. package/emotion/cjs/components/Badge/variations/_transparent/base.js +1 -1
  83. package/emotion/cjs/components/Badge/variations/_view/base.js +1 -1
  84. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +29 -6
  85. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  86. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.js +9 -4
  87. package/emotion/cjs/components/Dropdown/Dropdown.js +4 -2
  88. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -2
  89. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +15 -11
  90. package/emotion/cjs/components/Select/Select.js +0 -1
  91. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  92. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +34 -6
  93. package/emotion/cjs/components/TextField/TextField.js +10 -6
  94. package/emotion/cjs/components/TextField/TextField.styles.js +29 -26
  95. package/emotion/cjs/components/TextField/TextField.tokens.js +1 -0
  96. package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  97. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +15 -15
  98. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +6 -23
  99. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -0
  100. package/emotion/cjs/examples/plasma_web/components/Badge/Badge.config.js +14 -14
  101. package/emotion/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +6 -27
  102. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +9 -2
  103. package/emotion/es/components/Autocomplete/Autocomplete.js +7 -1
  104. package/emotion/es/components/Badge/Badge.js +8 -18
  105. package/emotion/es/components/Badge/Badge.template-doc.mdx +16 -40
  106. package/emotion/es/components/Badge/Badge.tokens.js +5 -9
  107. package/emotion/es/components/Badge/variations/_clear/base.js +2 -2
  108. package/emotion/es/components/Badge/variations/_size/base.js +2 -3
  109. package/emotion/es/components/Badge/variations/_transparent/base.js +2 -2
  110. package/emotion/es/components/Badge/variations/_view/base.js +2 -2
  111. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +29 -6
  112. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  113. package/emotion/es/components/DatePicker/SingleDate/SingleDate.js +9 -4
  114. package/emotion/es/components/Dropdown/Dropdown.js +4 -2
  115. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -3
  116. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +15 -11
  117. package/emotion/es/components/Select/Select.js +0 -1
  118. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  119. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +34 -6
  120. package/emotion/es/components/TextField/TextField.js +10 -6
  121. package/emotion/es/components/TextField/TextField.styles.js +29 -26
  122. package/emotion/es/components/TextField/TextField.tokens.js +1 -0
  123. package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
  124. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +15 -15
  125. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +6 -23
  126. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -0
  127. package/emotion/es/examples/plasma_web/components/Badge/Badge.config.js +14 -14
  128. package/emotion/es/examples/plasma_web/components/Badge/Badge.stories.tsx +6 -27
  129. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +9 -2
  130. package/es/components/Autocomplete/Autocomplete.css +17 -17
  131. package/es/components/Autocomplete/Autocomplete.js +7 -1
  132. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  133. package/es/components/Badge/Badge.css +4 -4
  134. package/es/components/Badge/Badge.js +10 -20
  135. package/es/components/Badge/Badge.js.map +1 -1
  136. package/es/components/Badge/Badge.tokens.js +6 -10
  137. package/es/components/Badge/Badge.tokens.js.map +1 -1
  138. package/es/components/Badge/variations/_clear/base.js +1 -1
  139. package/es/components/Badge/variations/_clear/base.js.map +1 -1
  140. package/es/components/Badge/variations/_clear/base_oopyb7.css +1 -0
  141. package/es/components/Badge/variations/_size/base.js +1 -1
  142. package/es/components/Badge/variations/_size/base.js.map +1 -1
  143. package/{cjs/components/Badge/variations/_size/base_bu5opk.css → es/components/Badge/variations/_size/base_to0y5x.css} +1 -1
  144. package/es/components/Badge/variations/_transparent/base.js +1 -1
  145. package/es/components/Badge/variations/_transparent/base.js.map +1 -1
  146. package/es/components/Badge/variations/_transparent/base_1l6036y.css +1 -0
  147. package/es/components/Badge/variations/_view/base.js +1 -1
  148. package/es/components/Badge/variations/_view/base.js.map +1 -1
  149. package/es/components/Badge/variations/_view/base_qlxank.css +1 -0
  150. package/es/components/Combobox/ComboboxNew/Combobox.css +17 -17
  151. package/es/components/Combobox/ComboboxNew/Combobox.js +26 -7
  152. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  153. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +17 -17
  154. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +17 -17
  155. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  156. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  157. package/es/components/Combobox/ComboboxOld/Combobox.css +5 -4
  158. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -4
  159. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -4
  160. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -4
  161. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -4
  162. package/es/components/DatePicker/RangeDate/RangeDate.css +17 -17
  163. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +17 -17
  164. package/es/components/DatePicker/SingleDate/SingleDate.css +17 -17
  165. package/es/components/DatePicker/SingleDate/SingleDate.js +9 -4
  166. package/es/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  167. package/es/components/Dropdown/Dropdown.css +5 -4
  168. package/es/components/Dropdown/Dropdown.js +4 -2
  169. package/es/components/Dropdown/Dropdown.js.map +1 -1
  170. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -4
  171. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -3
  172. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  173. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +7 -2
  174. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  175. package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_1b439rx.css → DropdownItem.styles_14yih1y.css} +1 -0
  176. package/es/components/Pagination/Pagination.css +17 -17
  177. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +17 -17
  178. package/es/components/Range/Range.css +17 -17
  179. package/es/components/Select/Select.css +17 -17
  180. package/es/components/Select/Select.js +0 -1
  181. package/es/components/Select/Select.js.map +1 -1
  182. package/es/components/Select/ui/Inner/Inner.css +17 -17
  183. package/es/components/Select/ui/Inner/ui/Item/Item.css +17 -17
  184. package/es/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  185. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  186. package/es/components/Select/ui/Target/Target.css +17 -17
  187. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +17 -17
  188. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +29 -7
  189. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  190. package/es/components/Slider/Slider.css +17 -17
  191. package/es/components/Slider/components/Double/Double.css +17 -17
  192. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +17 -17
  193. package/es/components/TextField/TextField.js +9 -5
  194. package/es/components/TextField/TextField.js.map +1 -1
  195. package/es/components/TextField/TextField.styles.js +20 -11
  196. package/es/components/TextField/TextField.styles.js.map +1 -1
  197. package/es/components/TextField/{TextField.styles_j7dqpn.css → TextField.styles_ppcxpx.css} +1 -1
  198. package/es/components/TextField/TextField.tokens.js +1 -0
  199. package/es/components/TextField/TextField.tokens.js.map +1 -1
  200. package/es/components/TextField/ui/Hint/Hint.css +20 -20
  201. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  202. package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
  203. package/es/components/TextField/variations/_label-placement/base_y1lvvc.css +1 -0
  204. package/es/index.css +26 -25
  205. package/package.json +3 -2
  206. package/styled-components/cjs/components/Autocomplete/Autocomplete.js +7 -1
  207. package/styled-components/cjs/components/Badge/Badge.js +7 -17
  208. package/styled-components/cjs/components/Badge/Badge.template-doc.mdx +16 -40
  209. package/styled-components/cjs/components/Badge/Badge.tokens.js +6 -10
  210. package/styled-components/cjs/components/Badge/variations/_clear/base.js +1 -1
  211. package/styled-components/cjs/components/Badge/variations/_size/base.js +1 -2
  212. package/styled-components/cjs/components/Badge/variations/_transparent/base.js +1 -1
  213. package/styled-components/cjs/components/Badge/variations/_view/base.js +1 -1
  214. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +29 -6
  215. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  216. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +9 -4
  217. package/styled-components/cjs/components/Dropdown/Dropdown.js +4 -2
  218. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -2
  219. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -2
  220. package/styled-components/cjs/components/Select/Select.js +0 -1
  221. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  222. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +34 -6
  223. package/styled-components/cjs/components/TextField/TextField.js +9 -5
  224. package/styled-components/cjs/components/TextField/TextField.styles.js +9 -6
  225. package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -0
  226. package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  227. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
  228. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +6 -23
  229. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -0
  230. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.config.js +5 -5
  231. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +6 -27
  232. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +9 -2
  233. package/styled-components/es/components/Autocomplete/Autocomplete.js +7 -1
  234. package/styled-components/es/components/Badge/Badge.js +8 -18
  235. package/styled-components/es/components/Badge/Badge.template-doc.mdx +16 -40
  236. package/styled-components/es/components/Badge/Badge.tokens.js +5 -9
  237. package/styled-components/es/components/Badge/variations/_clear/base.js +2 -2
  238. package/styled-components/es/components/Badge/variations/_size/base.js +2 -3
  239. package/styled-components/es/components/Badge/variations/_transparent/base.js +2 -2
  240. package/styled-components/es/components/Badge/variations/_view/base.js +2 -2
  241. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +29 -6
  242. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  243. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +9 -4
  244. package/styled-components/es/components/Dropdown/Dropdown.js +4 -2
  245. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -3
  246. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -2
  247. package/styled-components/es/components/Select/Select.js +0 -1
  248. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  249. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +34 -6
  250. package/styled-components/es/components/TextField/TextField.js +9 -5
  251. package/styled-components/es/components/TextField/TextField.styles.js +9 -6
  252. package/styled-components/es/components/TextField/TextField.tokens.js +1 -0
  253. package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
  254. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
  255. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +6 -23
  256. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -0
  257. package/styled-components/es/examples/plasma_web/components/Badge/Badge.config.js +5 -5
  258. package/styled-components/es/examples/plasma_web/components/Badge/Badge.stories.tsx +6 -27
  259. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +9 -2
  260. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  261. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +717 -61
  262. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  263. package/types/components/Badge/Badge.d.ts.map +1 -1
  264. package/types/components/Badge/Badge.tokens.d.ts +4 -8
  265. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  266. package/types/components/Badge/Badge.types.d.ts +5 -18
  267. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  268. package/types/components/Badge/variations/_clear/base.d.ts.map +1 -1
  269. package/types/components/Badge/variations/_size/base.d.ts.map +1 -1
  270. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  271. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +31 -12
  272. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  273. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  274. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +717 -61
  275. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  276. package/types/components/DatePicker/SingleDate/SingleDate.d.ts +2 -2
  277. package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +1 -1
  278. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +717 -61
  279. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  280. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +28 -9
  281. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +1 -1
  282. package/types/components/Dropdown/Dropdown.d.ts +50 -2
  283. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  284. package/types/components/Dropdown/Dropdown.types.d.ts +11 -6
  285. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  286. package/types/components/Dropdown/index.d.ts +1 -0
  287. package/types/components/Dropdown/index.d.ts.map +1 -1
  288. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  289. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +1 -0
  290. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  291. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +176 -4
  292. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  293. package/types/components/Range/Range.styles.d.ts +717 -61
  294. package/types/components/Range/Range.styles.d.ts.map +1 -1
  295. package/types/components/Select/Select.d.ts.map +1 -1
  296. package/types/components/Select/Select.types.d.ts +31 -12
  297. package/types/components/Select/Select.types.d.ts.map +1 -1
  298. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  299. package/types/components/Select/ui/Target/Target.d.ts +1 -1
  300. package/types/components/Select/ui/Target/Target.types.d.ts +1 -1
  301. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  302. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  303. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +717 -61
  304. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  305. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  306. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  307. package/types/components/Slider/components/Double/Double.styles.d.ts +717 -61
  308. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  309. package/types/components/TextField/TextField.d.ts.map +1 -1
  310. package/types/components/TextField/TextField.styles.d.ts +3 -1
  311. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  312. package/types/components/TextField/TextField.tokens.d.ts +1 -0
  313. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  314. package/types/components/TextField/TextField.types.d.ts +43 -20
  315. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  316. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +3 -5
  317. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  318. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  319. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +4 -61
  320. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  321. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +1045 -133
  322. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  323. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +47 -1
  324. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +1 -1
  325. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +25 -1
  326. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -1
  327. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +1246 -62
  328. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  329. package/types/examples/plasma_b2c/components/Select/Select.d.ts +176 -4
  330. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  331. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +717 -61
  332. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  333. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +3 -5
  334. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  335. package/types/examples/plasma_web/components/Badge/Badge.config.d.ts.map +1 -1
  336. package/types/examples/plasma_web/components/Badge/Badge.d.ts +4 -61
  337. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  338. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +1045 -133
  339. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  340. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +47 -1
  341. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +1 -1
  342. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +25 -1
  343. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -1
  344. package/types/examples/plasma_web/components/Mask/Mask.d.ts +1246 -62
  345. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  346. package/types/examples/plasma_web/components/Select/Select.d.ts +176 -4
  347. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  348. package/types/examples/plasma_web/components/TextField/TextField.d.ts +717 -61
  349. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  350. package/cjs/components/Badge/variations/_clear/base_wiboj8.css +0 -1
  351. package/cjs/components/Badge/variations/_transparent/base_aapqhz.css +0 -1
  352. package/cjs/components/Badge/variations/_view/base_j3xzf3.css +0 -1
  353. package/cjs/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
  354. package/es/components/Badge/variations/_clear/base_wiboj8.css +0 -1
  355. package/es/components/Badge/variations/_transparent/base_aapqhz.css +0 -1
  356. package/es/components/Badge/variations/_view/base_j3xzf3.css +0 -1
  357. package/es/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"SingleDate.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,aAAa,4TAAoB,CAAC;AAG/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4IA2EvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAMhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAAiB,CAAC;AAE1C,eAAO,MAAM,UAAU,qKAAe,CAAC"}
1
+ {"version":3,"file":"SingleDate.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.styles.ts"],"names":[],"mappings":";AAcA,eAAO,MAAM,aAAa,4TAAoB,CAAC;AAG/C,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4IA2EvB,CAAC;AAEF,eAAO,MAAM,IAAI,0CAMhB,CAAC;AAEF,eAAO,MAAM,WAAW,8KAAiB,CAAC;AAE1C,eAAO,MAAM,UAAU,qKAAe,CAAC"}
@@ -3,6 +3,33 @@ import type { DatePickerCalendarProps, DatePickerVariationProps } from '../DateP
3
3
  import type { DateInfo } from '../../Calendar/Calendar.types';
4
4
  export declare type DatePickerPlacementBasic = 'top' | 'bottom' | 'right' | 'left';
5
5
  export declare type DatePickerPlacement = DatePickerPlacementBasic | 'auto';
6
+ export declare type DatePickerLabelProps = {
7
+ /**
8
+ * Метка-подпись к элементу
9
+ */
10
+ label?: string;
11
+ /**
12
+ * Расположение лейбла.
13
+ */
14
+ labelPlacement: 'inner';
15
+ /**
16
+ * Одновременно отображает label и placeholder (при пустом вводе)
17
+ */
18
+ hasPlaceholder?: boolean;
19
+ } | {
20
+ /**
21
+ * Метка-подпись к элементу
22
+ */
23
+ label?: string;
24
+ /**
25
+ * Расположение лейбла.
26
+ */
27
+ labelPlacement?: never | 'outer';
28
+ /**
29
+ * Одновременно отображает label и placeholder (при пустом вводе)
30
+ */
31
+ hasPlaceholder?: never;
32
+ };
6
33
  export declare type DatePickerTextFieldProps = {
7
34
  /**
8
35
  * Выбранное значение.
@@ -24,14 +51,6 @@ export declare type DatePickerTextFieldProps = {
24
51
  * Корректное значение даты
25
52
  */
26
53
  valueSuccess?: boolean;
27
- /**
28
- * Метка-подпись к элементу
29
- */
30
- label?: string;
31
- /**
32
- * Расположение лейбла.
33
- */
34
- labelPlacement?: 'inner' | 'outer';
35
54
  /**
36
55
  * Вспомогательный текст снизу слева для поля ввода.
37
56
  */
@@ -70,7 +89,7 @@ export declare type DatePickerTextFieldProps = {
70
89
  name?: string;
71
90
  };
72
91
  }) => void;
73
- };
92
+ } & DatePickerLabelProps;
74
93
  export declare type DatePickerPopoverProps = {
75
94
  /**
76
95
  * Видимость календаря.
@@ -1 +1 @@
1
- {"version":3,"file":"SingleDate.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAE9D,oBAAY,wBAAwB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAC3E,oBAAY,mBAAmB,GAAG,wBAAwB,GAAG,MAAM,CAAC;AAEpE,oBAAY,wBAAwB,GAAG;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAClC;;OAEG;IACH,UAAU,CAAC,EAA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CAAC;AAEF,oBAAY,eAAe,GAAG,wBAAwB,GAClD,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,CAAC"}
1
+ {"version":3,"file":"SingleDate.types.d.ts","sourceRoot":"","sources":["../../../../src/components/DatePicker/SingleDate/SingleDate.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,OAAO,KAAK,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AACjG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,+BAA+B,CAAC;AAE9D,oBAAY,wBAAwB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAC3E,oBAAY,mBAAmB,GAAG,wBAAwB,GAAG,MAAM,CAAC;AAEpE,oBAAY,oBAAoB,GAC1B;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B,GACD;IACI;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,GAAG,OAAO,CAAC;IACjC;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC;CAC1B,CAAC;AAER,oBAAY,wBAAwB,GAAG;IACnC;;OAEG;IACH,WAAW,CAAC,EAAE,IAAI,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,UAAU,C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C,EAAE,OAAO,CAAC;IACrB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;CACvE,CAAC;AAEF,oBAAY,eAAe,GAAG,wBAAwB,GAClD,wBAAwB,GACxB,uBAAuB,GACvB,sBAAsB,GACtB,IAAI,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,cAAc,CAAC,CAAC"}
@@ -5,11 +5,59 @@ export declare const Context: React.Context<ItemContext>;
5
5
  /**
6
6
  * Выпадающий список.
7
7
  */
8
- export declare const dropdownRoot: (Root: RootProps<HTMLDivElement, Omit<DropdownProps, 'items'>>) => React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<HTMLDivElement>>;
8
+ export declare const dropdownRoot: (Root: RootProps<HTMLDivElement, Omit<DropdownProps, 'items'>>) => React.ForwardRefExoticComponent<{
9
+ items: import(".").DropdownItemOption[];
10
+ alwaysOpened?: boolean | undefined;
11
+ children?: React.ReactNode;
12
+ itemRole?: string | undefined;
13
+ onHover?: ((index: number) => void) | undefined;
14
+ onItemSelect?: ((item: import(".").DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
15
+ trigger?: import("./Dropdown.types").DropdownTrigger | undefined;
16
+ placement?: import("./Dropdown.types").DropdownPlacement | undefined;
17
+ offset?: [number, number] | undefined;
18
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
19
+ hasArrow?: boolean | undefined;
20
+ closeOnSelect?: boolean | undefined;
21
+ closeOnOverlayClick?: boolean | undefined;
22
+ onToggle?: ((isOpen: boolean, event: Event | React.SyntheticEvent<Element, Event>) => void) | undefined;
23
+ size?: string | undefined;
24
+ view?: string | undefined;
25
+ variant?: "normal" | "tight" | undefined;
26
+ portal?: string | React.RefObject<HTMLElement> | undefined;
27
+ renderItem?: ((item: import(".").DropdownItemOption) => React.ReactNode) | undefined;
28
+ onItemClick?: ((item: import(".").DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
29
+ listOverflow?: import("csstype").Property.Overflow | undefined;
30
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
31
+ hoverIndex?: number | undefined;
32
+ } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
9
33
  export declare const dropdownConfig: {
10
34
  name: string;
11
35
  tag: string;
12
- layout: (Root: RootProps<HTMLDivElement, Omit<DropdownProps, 'items'>>) => React.ForwardRefExoticComponent<DropdownProps & React.RefAttributes<HTMLDivElement>>;
36
+ layout: (Root: RootProps<HTMLDivElement, Omit<DropdownProps, 'items'>>) => React.ForwardRefExoticComponent<{
37
+ items: import(".").DropdownItemOption[];
38
+ alwaysOpened?: boolean | undefined;
39
+ children?: React.ReactNode;
40
+ itemRole?: string | undefined;
41
+ onHover?: ((index: number) => void) | undefined;
42
+ onItemSelect?: ((item: import(".").DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
43
+ trigger?: import("./Dropdown.types").DropdownTrigger | undefined;
44
+ placement?: import("./Dropdown.types").DropdownPlacement | undefined;
45
+ offset?: [number, number] | undefined;
46
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
47
+ hasArrow?: boolean | undefined;
48
+ closeOnSelect?: boolean | undefined;
49
+ closeOnOverlayClick?: boolean | undefined;
50
+ onToggle?: ((isOpen: boolean, event: Event | React.SyntheticEvent<Element, Event>) => void) | undefined;
51
+ size?: string | undefined;
52
+ view?: string | undefined;
53
+ variant?: "normal" | "tight" | undefined;
54
+ portal?: string | React.RefObject<HTMLElement> | undefined;
55
+ renderItem?: ((item: import(".").DropdownItemOption) => React.ReactNode) | undefined;
56
+ onItemClick?: ((item: import(".").DropdownItemOption, event: React.SyntheticEvent<Element, Event>) => void) | undefined;
57
+ listOverflow?: import("csstype").Property.Overflow | undefined;
58
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
59
+ hoverIndex?: number | undefined;
60
+ } & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
13
61
  base: import("@linaria/core").LinariaClassName;
14
62
  variations: {
15
63
  view: {
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwD,MAAM,OAAO,CAAC;AAG7E,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,aAAa,EAA0B,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAM3F,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,yFAyJrF,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBA3JQ,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;CA4KzF,CAAC"}
1
+ {"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAwD,MAAM,OAAO,CAAC;AAG7E,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAW1C,OAAO,KAAK,EAAE,aAAa,EAA0B,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAM3F,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;+EA2JrF,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBA7JQ,UAAU,cAAc,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8KzF,CAAC"}
@@ -1,14 +1,14 @@
1
- import type { CSSProperties, HTMLAttributes, ReactNode, SyntheticEvent } from 'react';
1
+ import type { HTMLAttributes, ReactNode, SyntheticEvent, CSSProperties } from 'react';
2
2
  import React from 'react';
3
3
  import { FocusedPathState } from './reducers/focusedPathReducer';
4
4
  import { DropdownItemOption } from './ui/DropdownItem/DropdownItem.type';
5
5
  export declare type DropdownPlacement = 'auto' | 'top' | 'right' | 'bottom' | 'left';
6
6
  export declare type DropdownTrigger = 'hover' | 'click';
7
- export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
7
+ export declare type DropdownProps<T extends DropdownItemOption = DropdownItemOption> = {
8
8
  /**
9
9
  * Список элементов.
10
10
  */
11
- items: Array<DropdownItemOption>;
11
+ items: T[];
12
12
  /**
13
13
  * Дропдаун открыт всегда.
14
14
  */
@@ -29,7 +29,7 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
29
29
  /**
30
30
  * Обработчик выбора item.
31
31
  */
32
- onItemSelect?: (item: DropdownItemOption, event: SyntheticEvent) => void;
32
+ onItemSelect?: (item: T, event: SyntheticEvent) => void;
33
33
  /**
34
34
  * Способ открытия дропдауна окна - наведение или клик мышью.
35
35
  * @default click
@@ -80,11 +80,15 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
80
80
  * Портал для выпадающего списка. Принимает id контейнера или ref.
81
81
  */
82
82
  portal?: string | React.RefObject<HTMLElement>;
83
+ /**
84
+ * Callback для кастомной настройки айтема в выпадающем списке.
85
+ */
86
+ renderItem?: (item: T) => React.ReactNode;
83
87
  /**
84
88
  * Обработчик клика по item.
85
89
  * @deprecated использовать onItemSelect.
86
90
  */
87
- onItemClick?: (item: DropdownItemOption, event: SyntheticEvent) => void;
91
+ onItemClick?: (item: T, event: SyntheticEvent) => void;
88
92
  /**
89
93
  * Значение css overflow для выпадающего меню.
90
94
  * @default initial
@@ -104,7 +108,7 @@ export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
104
108
  * @deprecated использовать onHover
105
109
  */
106
110
  hoverIndex?: number;
107
- }
111
+ } & HTMLAttributes<HTMLDivElement>;
108
112
  export declare type HandleGlobalToggleType = (opened: boolean, event: SyntheticEvent | Event) => void;
109
113
  export declare type PlacementType = 'auto' | 'top-start' | 'right-start' | 'bottom-start' | 'left-start';
110
114
  export declare type FloatingPopoverProps = {
@@ -130,5 +134,6 @@ export declare type ItemContext = {
130
134
  onItemClick: DropdownProps['onItemClick'];
131
135
  hasArrow: DropdownProps['hasArrow'];
132
136
  treeId: string;
137
+ renderItem: DropdownProps['renderItem'];
133
138
  };
134
139
  //# sourceMappingURL=Dropdown.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dropdown.types.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACtF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,oBAAY,iBAAiB,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE7E,oBAAY,eAAe,GAAG,OAAO,GAAG,OAAO,CAAC;AAEhD,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IACjE;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,kBAAkB,CAAC,CAAC;IACjC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,C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C;IACzB,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7B,CAAC;AAEF,oBAAY,WAAW,GAAG;IACtB,WAAW,EAAE,gBAAgB,CAAC;IAC9B,IAAI,EAAE,aAAa,CAAC,MAAM,CAAC,CAAC;IAC5B,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACpC,kBAAkB,EAAE,sBAAsB,CAAC;IAC3C,aAAa,EAAE,aAAa,CAAC,eAAe,CAAC,CAAC;IAC9C,OAAO,EAAE,aAAa,CAAC,SAAS,CAAC,CAAC;IAClC,YAAY,EAAE,aAAa,CAAC,cAAc,CAAC,CAAC;IAC5C,WAAW,EAAE,aAAa,CAAC,aAAa,CAAC,CAAC;IAC1C,QAAQ,EAAE,aAAa,CAAC,UAAU,CAAC,CAAC;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,aAAa,CAAC,YAAY,CAAC,CAAC;CAC3C,CAAC"}
@@ -4,4 +4,5 @@ export { useKeyNavigation as useDropdownKeyNavigation } from './hooks/useKeyboar
4
4
  export type { DropdownProps, DropdownPlacementBasic, DropdownPlacement, DropdownTrigger, } from './ui/DropdownOld/Dropdown.types';
5
5
  export type { DropdownItemProps, DropdownItemOption } from './ui/DropdownItem/DropdownItem.type';
6
6
  export * from './ui';
7
+ export type { DropdownProps as DropdownNewProps } from './Dropdown.types';
7
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACzF,OAAO,EAAE,gBAAgB,IAAI,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC7F,YAAY,EACR,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,GAClB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACjG,cAAc,MAAM,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACzF,OAAO,EAAE,gBAAgB,IAAI,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC7F,YAAY,EACR,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,GAClB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACjG,cAAc,MAAM,CAAC;AAErB,YAAY,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAqB,EAAE,EAAc,MAAM,OAAO,CAAC;AASjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CA8G9C,CAAC"}
1
+ {"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAqB,EAAE,EAAc,MAAM,OAAO,CAAC;AAgBjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAmH9C,CAAC"}
@@ -39,4 +39,5 @@ export declare const Divider: import("@linaria/react").StyledComponent<import("r
39
39
  export declare const Wrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement> & {
40
40
  variant: DropdownProps['variant'];
41
41
  }>;
42
+ export declare const RenderItemWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
42
43
  //# sourceMappingURL=DropdownItem.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DropdownItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAOrD,eAAO,MAAM,WAAW,qKAgBvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAAiB,CAAC;AAEzC,eAAO,MAAM,qBAAqB,qKAGjC,CAAC;AAEF,eAAO,MAAM,OAAO;aAAyB,aAAa,CAAC,SAAS,CAAC;EASpE,CAAC;AAEF,eAAO,MAAM,OAAO;aAAwB,aAAa,CAAC,SAAS,CAAC;EAmDnE,CAAC"}
1
+ {"version":3,"file":"DropdownItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAOrD,eAAO,MAAM,WAAW,qKAgBvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAAiB,CAAC;AAEzC,eAAO,MAAM,qBAAqB,qKAGjC,CAAC;AAEF,eAAO,MAAM,OAAO;aAAyB,aAAa,CAAC,SAAS,CAAC;EASpE,CAAC;AAEF,eAAO,MAAM,OAAO;aAAwB,aAAa,CAAC,SAAS,CAAC;EAmDnE,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAG7B,CAAC"}
@@ -4,9 +4,12 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
4
4
  target?: "textfield-like" | undefined;
5
5
  view?: "default" | "warning" | "positive" | "negative" | undefined;
6
6
  contentLeft?: import("react").ReactNode;
7
- labelPlacement?: "inner" | "outer" | undefined;
8
7
  placeholder?: string | undefined;
9
8
  helperText?: string | undefined;
9
+ } & {
10
+ label?: string | undefined;
11
+ labelPlacement?: "inner" | undefined;
12
+ hasPlaceholder?: boolean | undefined;
10
13
  } & {
11
14
  multiselect?: false | undefined;
12
15
  separator?: undefined;
@@ -24,7 +27,6 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
24
27
  isTargetAmount?: boolean | undefined;
25
28
  renderTarget?: ((item: import("../../../Select").DropdownNodeSelect | import("../../../Select").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
26
29
  placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
27
- label?: string | undefined;
28
30
  onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
29
31
  variant?: "normal" | "tight" | undefined;
30
32
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -42,9 +44,12 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
42
44
  target?: "textfield-like" | undefined;
43
45
  view?: "default" | "warning" | "positive" | "negative" | undefined;
44
46
  contentLeft?: import("react").ReactNode;
45
- labelPlacement?: "inner" | "outer" | undefined;
46
47
  placeholder?: string | undefined;
47
48
  helperText?: string | undefined;
49
+ } & {
50
+ label?: string | undefined;
51
+ labelPlacement?: "inner" | undefined;
52
+ hasPlaceholder?: boolean | undefined;
48
53
  } & {
49
54
  multiselect?: true | undefined;
50
55
  separator?: string | undefined;
@@ -62,7 +67,86 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
62
67
  isTargetAmount?: boolean | undefined;
63
68
  renderTarget?: ((item: import("../../../Select").DropdownNodeSelect | import("../../../Select").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
64
69
  placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
70
+ onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
71
+ variant?: "normal" | "tight" | undefined;
72
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
73
+ portal?: string | import("react").RefObject<HTMLElement> | undefined;
74
+ renderValue?: ((item: import("../../../Select").DropdownNodeSelect) => string) | undefined;
75
+ renderItem?: ((item: import("../../../Select").DropdownNodeSelect) => import("react").ReactNode) | undefined;
76
+ closeAfterSelect?: boolean | undefined;
77
+ size?: string | undefined;
78
+ view?: string | undefined;
79
+ chipView?: string | undefined;
80
+ status?: "error" | "success" | "warning" | undefined;
81
+ hasItems?: boolean | undefined;
82
+ isOpen?: boolean | undefined;
83
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
84
+ target?: "textfield-like" | undefined;
85
+ view?: "default" | "warning" | "positive" | "negative" | undefined;
86
+ contentLeft?: import("react").ReactNode;
87
+ placeholder?: string | undefined;
88
+ helperText?: string | undefined;
89
+ } & {
65
90
  label?: string | undefined;
91
+ labelPlacement?: "outer" | undefined;
92
+ hasPlaceholder?: undefined;
93
+ } & {
94
+ multiselect?: false | undefined;
95
+ separator?: undefined;
96
+ } & {
97
+ value?: any;
98
+ onChange?: ((value: any) => void) | undefined;
99
+ listOverflow?: import("csstype").Property.Overflow | undefined;
100
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
101
+ placeholder?: string | undefined;
102
+ helperText?: string | undefined;
103
+ disabled?: boolean | undefined;
104
+ items?: import("../../../Select").DropdownNodeSelect[] | undefined;
105
+ onItemSelect?: ((e: import("../../../Select").DropdownNodeSelect, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
106
+ children?: undefined;
107
+ isTargetAmount?: boolean | undefined;
108
+ renderTarget?: ((item: import("../../../Select").DropdownNodeSelect | import("../../../Select").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
109
+ placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
110
+ onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
111
+ variant?: "normal" | "tight" | undefined;
112
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
113
+ portal?: string | import("react").RefObject<HTMLElement> | undefined;
114
+ renderValue?: ((item: import("../../../Select").DropdownNodeSelect) => string) | undefined;
115
+ renderItem?: ((item: import("../../../Select").DropdownNodeSelect) => import("react").ReactNode) | undefined;
116
+ closeAfterSelect?: boolean | undefined;
117
+ size?: string | undefined;
118
+ view?: string | undefined;
119
+ chipView?: string | undefined;
120
+ status?: "error" | "success" | "warning" | undefined;
121
+ hasItems?: boolean | undefined;
122
+ isOpen?: boolean | undefined;
123
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
124
+ target?: "textfield-like" | undefined;
125
+ view?: "default" | "warning" | "positive" | "negative" | undefined;
126
+ contentLeft?: import("react").ReactNode;
127
+ placeholder?: string | undefined;
128
+ helperText?: string | undefined;
129
+ } & {
130
+ label?: string | undefined;
131
+ labelPlacement?: "outer" | undefined;
132
+ hasPlaceholder?: undefined;
133
+ } & {
134
+ multiselect?: true | undefined;
135
+ separator?: string | undefined;
136
+ } & {
137
+ value?: any;
138
+ onChange?: ((value: any) => void) | undefined;
139
+ listOverflow?: import("csstype").Property.Overflow | undefined;
140
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
141
+ placeholder?: string | undefined;
142
+ helperText?: string | undefined;
143
+ disabled?: boolean | undefined;
144
+ items?: import("../../../Select").DropdownNodeSelect[] | undefined;
145
+ onItemSelect?: ((e: import("../../../Select").DropdownNodeSelect, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
146
+ children?: undefined;
147
+ isTargetAmount?: boolean | undefined;
148
+ renderTarget?: ((item: import("../../../Select").DropdownNodeSelect | import("../../../Select").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
149
+ placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
66
150
  onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
67
151
  variant?: "normal" | "tight" | undefined;
68
152
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -83,6 +167,10 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
83
167
  labelPlacement?: undefined;
84
168
  placeholder?: undefined;
85
169
  helperText?: undefined;
170
+ } & {
171
+ label?: string | undefined;
172
+ labelPlacement?: "inner" | undefined;
173
+ hasPlaceholder?: boolean | undefined;
86
174
  } & {
87
175
  multiselect?: false | undefined;
88
176
  separator?: undefined;
@@ -100,7 +188,6 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
100
188
  isTargetAmount?: boolean | undefined;
101
189
  renderTarget?: ((item: import("../../../Select").DropdownNodeSelect | import("../../../Select").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
102
190
  placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
103
- label?: string | undefined;
104
191
  onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
105
192
  variant?: "normal" | "tight" | undefined;
106
193
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -121,6 +208,10 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
121
208
  labelPlacement?: undefined;
122
209
  placeholder?: undefined;
123
210
  helperText?: undefined;
211
+ } & {
212
+ label?: string | undefined;
213
+ labelPlacement?: "inner" | undefined;
214
+ hasPlaceholder?: boolean | undefined;
124
215
  } & {
125
216
  multiselect?: true | undefined;
126
217
  separator?: string | undefined;
@@ -138,7 +229,88 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
138
229
  isTargetAmount?: boolean | undefined;
139
230
  renderTarget?: ((item: import("../../../Select").DropdownNodeSelect | import("../../../Select").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
140
231
  placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
232
+ onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
233
+ variant?: "normal" | "tight" | undefined;
234
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
235
+ portal?: string | import("react").RefObject<HTMLElement> | undefined;
236
+ renderValue?: ((item: import("../../../Select").DropdownNodeSelect) => string) | undefined;
237
+ renderItem?: ((item: import("../../../Select").DropdownNodeSelect) => import("react").ReactNode) | undefined;
238
+ closeAfterSelect?: boolean | undefined;
239
+ size?: string | undefined;
240
+ view?: string | undefined;
241
+ chipView?: string | undefined;
242
+ status?: "error" | "success" | "warning" | undefined;
243
+ hasItems?: boolean | undefined;
244
+ isOpen?: boolean | undefined;
245
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
246
+ target: "button-like";
247
+ view?: "default" | "black" | "white" | "dark" | "clear" | "accent" | "secondary" | "warning" | "positive" | "negative" | undefined;
248
+ contentLeft?: undefined;
249
+ labelPlacement?: undefined;
250
+ placeholder?: undefined;
251
+ helperText?: undefined;
252
+ } & {
141
253
  label?: string | undefined;
254
+ labelPlacement?: "outer" | undefined;
255
+ hasPlaceholder?: undefined;
256
+ } & {
257
+ multiselect?: false | undefined;
258
+ separator?: undefined;
259
+ } & {
260
+ value?: any;
261
+ onChange?: ((value: any) => void) | undefined;
262
+ listOverflow?: import("csstype").Property.Overflow | undefined;
263
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
264
+ placeholder?: string | undefined;
265
+ helperText?: string | undefined;
266
+ disabled?: boolean | undefined;
267
+ items?: import("../../../Select").DropdownNodeSelect[] | undefined;
268
+ onItemSelect?: ((e: import("../../../Select").DropdownNodeSelect, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
269
+ children?: undefined;
270
+ isTargetAmount?: boolean | undefined;
271
+ renderTarget?: ((item: import("../../../Select").DropdownNodeSelect | import("../../../Select").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
272
+ placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
273
+ onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
274
+ variant?: "normal" | "tight" | undefined;
275
+ listWidth?: import("csstype").Property.Width<string | number> | undefined;
276
+ portal?: string | import("react").RefObject<HTMLElement> | undefined;
277
+ renderValue?: ((item: import("../../../Select").DropdownNodeSelect) => string) | undefined;
278
+ renderItem?: ((item: import("../../../Select").DropdownNodeSelect) => import("react").ReactNode) | undefined;
279
+ closeAfterSelect?: boolean | undefined;
280
+ size?: string | undefined;
281
+ view?: string | undefined;
282
+ chipView?: string | undefined;
283
+ status?: "error" | "success" | "warning" | undefined;
284
+ hasItems?: boolean | undefined;
285
+ isOpen?: boolean | undefined;
286
+ } & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
287
+ target: "button-like";
288
+ view?: "default" | "black" | "white" | "dark" | "clear" | "accent" | "secondary" | "warning" | "positive" | "negative" | undefined;
289
+ contentLeft?: undefined;
290
+ labelPlacement?: undefined;
291
+ placeholder?: undefined;
292
+ helperText?: undefined;
293
+ } & {
294
+ label?: string | undefined;
295
+ labelPlacement?: "outer" | undefined;
296
+ hasPlaceholder?: undefined;
297
+ } & {
298
+ multiselect?: true | undefined;
299
+ separator?: string | undefined;
300
+ } & {
301
+ value?: any;
302
+ onChange?: ((value: any) => void) | undefined;
303
+ listOverflow?: import("csstype").Property.Overflow | undefined;
304
+ listHeight?: import("csstype").Property.Height<string | number> | undefined;
305
+ placeholder?: string | undefined;
306
+ helperText?: string | undefined;
307
+ disabled?: boolean | undefined;
308
+ items?: import("../../../Select").DropdownNodeSelect[] | undefined;
309
+ onItemSelect?: ((e: import("../../../Select").DropdownNodeSelect, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
310
+ children?: undefined;
311
+ isTargetAmount?: boolean | undefined;
312
+ renderTarget?: ((item: import("../../../Select").DropdownNodeSelect | import("../../../Select").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
313
+ placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
142
314
  onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
143
315
  variant?: "normal" | "tight" | undefined;
144
316
  listWidth?: import("csstype").Property.Width<string | number> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"PaginationSelectPerPage.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLA6B/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,qKAOnC,CAAC"}
1
+ {"version":3,"file":"PaginationSelectPerPage.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLA6B/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,qKAOnC,CAAC"}