@salutejs/plasma-new-hope 0.196.1-dev.0 → 0.197.0-canary.1556.11973013493.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (228) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +18 -19
  2. package/cjs/components/Autocomplete/Autocomplete.js +7 -1
  3. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  4. package/cjs/components/Combobox/ComboboxNew/Combobox.css +18 -19
  5. package/cjs/components/Combobox/ComboboxNew/Combobox.js +7 -2
  6. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  7. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +18 -19
  8. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +18 -19
  9. package/cjs/components/DatePicker/RangeDate/RangeDate.css +18 -19
  10. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +18 -19
  11. package/cjs/components/DatePicker/SingleDate/SingleDate.css +18 -19
  12. package/cjs/components/DatePicker/SingleDate/SingleDate.js +7 -3
  13. package/cjs/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  14. package/cjs/components/Pagination/Pagination.css +18 -19
  15. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +18 -19
  16. package/cjs/components/Range/Range.css +18 -19
  17. package/cjs/components/Select/Select.css +18 -19
  18. package/cjs/components/Select/ui/Inner/Inner.css +18 -19
  19. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +18 -19
  20. package/cjs/components/Select/ui/Target/Target.css +18 -19
  21. package/cjs/components/Select/ui/Target/Target.js +1 -2
  22. package/cjs/components/Select/ui/Target/Target.js.map +1 -1
  23. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +18 -19
  24. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +12 -7
  25. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  26. package/cjs/components/Slider/Slider.css +18 -19
  27. package/cjs/components/Slider/components/Double/Double.css +18 -19
  28. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +18 -19
  29. package/cjs/components/TextField/TextField.js +12 -11
  30. package/cjs/components/TextField/TextField.js.map +1 -1
  31. package/cjs/components/TextField/TextField.styles.js +20 -11
  32. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  33. package/cjs/components/TextField/{TextField.styles_j7dqpn.css → TextField.styles_ppcxpx.css} +1 -1
  34. package/cjs/components/TextField/TextField.tokens.js +1 -0
  35. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  36. package/cjs/components/TextField/ui/Hint/Hint.css +20 -20
  37. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +1 -2
  38. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -17
  39. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  40. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -7
  41. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  42. package/{es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1yosnxc.css → cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1y8n7la.css} +0 -1
  43. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  44. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
  45. package/cjs/components/TextField/variations/_label-placement/base_y1lvvc.css +1 -0
  46. package/cjs/index.css +18 -19
  47. package/emotion/cjs/components/Autocomplete/Autocomplete.js +7 -1
  48. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +7 -2
  49. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.js +7 -3
  50. package/emotion/cjs/components/Select/ui/Target/Target.js +1 -2
  51. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +12 -7
  52. package/emotion/cjs/components/TextField/TextField.js +13 -12
  53. package/emotion/cjs/components/TextField/TextField.styles.js +29 -26
  54. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +3 -13
  55. package/emotion/cjs/components/TextField/TextField.tokens.js +1 -0
  56. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -17
  57. package/emotion/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +3 -12
  58. package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  59. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -8
  60. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -10
  61. package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +1 -8
  62. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +9 -12
  63. package/emotion/es/components/Autocomplete/Autocomplete.js +7 -1
  64. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +7 -2
  65. package/emotion/es/components/DatePicker/SingleDate/SingleDate.js +7 -3
  66. package/emotion/es/components/Select/ui/Target/Target.js +1 -2
  67. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +12 -7
  68. package/emotion/es/components/TextField/TextField.js +13 -12
  69. package/emotion/es/components/TextField/TextField.styles.js +29 -26
  70. package/emotion/es/components/TextField/TextField.template-doc.mdx +3 -13
  71. package/emotion/es/components/TextField/TextField.tokens.js +1 -0
  72. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +4 -18
  73. package/emotion/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -11
  74. package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
  75. package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -8
  76. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -10
  77. package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +1 -8
  78. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +9 -12
  79. package/es/components/Autocomplete/Autocomplete.css +18 -19
  80. package/es/components/Autocomplete/Autocomplete.js +7 -1
  81. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  82. package/es/components/Combobox/ComboboxNew/Combobox.css +18 -19
  83. package/es/components/Combobox/ComboboxNew/Combobox.js +7 -2
  84. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  85. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +18 -19
  86. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +18 -19
  87. package/es/components/DatePicker/RangeDate/RangeDate.css +18 -19
  88. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +18 -19
  89. package/es/components/DatePicker/SingleDate/SingleDate.css +18 -19
  90. package/es/components/DatePicker/SingleDate/SingleDate.js +7 -3
  91. package/es/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  92. package/es/components/Pagination/Pagination.css +18 -19
  93. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +18 -19
  94. package/es/components/Range/Range.css +18 -19
  95. package/es/components/Select/Select.css +18 -19
  96. package/es/components/Select/ui/Inner/Inner.css +18 -19
  97. package/es/components/Select/ui/Inner/ui/Item/Item.css +18 -19
  98. package/es/components/Select/ui/Target/Target.css +18 -19
  99. package/es/components/Select/ui/Target/Target.js +1 -2
  100. package/es/components/Select/ui/Target/Target.js.map +1 -1
  101. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +18 -19
  102. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +12 -7
  103. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  104. package/es/components/Slider/Slider.css +18 -19
  105. package/es/components/Slider/components/Double/Double.css +18 -19
  106. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +18 -19
  107. package/es/components/TextField/TextField.js +12 -11
  108. package/es/components/TextField/TextField.js.map +1 -1
  109. package/es/components/TextField/TextField.styles.js +20 -11
  110. package/es/components/TextField/TextField.styles.js.map +1 -1
  111. package/es/components/TextField/{TextField.styles_j7dqpn.css → TextField.styles_ppcxpx.css} +1 -1
  112. package/es/components/TextField/TextField.tokens.js +1 -0
  113. package/es/components/TextField/TextField.tokens.js.map +1 -1
  114. package/es/components/TextField/ui/Hint/Hint.css +20 -20
  115. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +1 -2
  116. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +4 -18
  117. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -1
  118. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -7
  119. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -1
  120. package/{cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1yosnxc.css → es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1y8n7la.css} +0 -1
  121. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  122. package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
  123. package/es/components/TextField/variations/_label-placement/base_y1lvvc.css +1 -0
  124. package/es/index.css +18 -19
  125. package/package.json +2 -2
  126. package/styled-components/cjs/components/Autocomplete/Autocomplete.js +7 -1
  127. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +7 -2
  128. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +7 -3
  129. package/styled-components/cjs/components/Select/ui/Target/Target.js +1 -2
  130. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +12 -7
  131. package/styled-components/cjs/components/TextField/TextField.js +12 -11
  132. package/styled-components/cjs/components/TextField/TextField.styles.js +9 -6
  133. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +3 -13
  134. package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -0
  135. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +3 -17
  136. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +2 -10
  137. package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  138. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -8
  139. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -10
  140. package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +1 -8
  141. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +9 -12
  142. package/styled-components/es/components/Autocomplete/Autocomplete.js +7 -1
  143. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +7 -2
  144. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +7 -3
  145. package/styled-components/es/components/Select/ui/Target/Target.js +1 -2
  146. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +12 -7
  147. package/styled-components/es/components/TextField/TextField.js +12 -11
  148. package/styled-components/es/components/TextField/TextField.styles.js +9 -6
  149. package/styled-components/es/components/TextField/TextField.template-doc.mdx +3 -13
  150. package/styled-components/es/components/TextField/TextField.tokens.js +1 -0
  151. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +4 -18
  152. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +1 -9
  153. package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
  154. package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +1 -8
  155. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -10
  156. package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +1 -8
  157. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +9 -12
  158. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  159. package/types/components/Autocomplete/Autocomplete.types.d.ts +2 -3
  160. package/types/components/Autocomplete/Autocomplete.types.d.ts.map +1 -1
  161. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +709 -69
  162. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  163. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  164. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +30 -10
  165. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  166. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +709 -69
  167. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  168. package/types/components/DatePicker/SingleDate/SingleDate.d.ts +2 -2
  169. package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +1 -1
  170. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +709 -69
  171. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  172. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +28 -9
  173. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +1 -1
  174. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +282 -20
  175. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  176. package/types/components/Range/Range.styles.d.ts +709 -69
  177. package/types/components/Range/Range.styles.d.ts.map +1 -1
  178. package/types/components/Select/Select.types.d.ts +30 -15
  179. package/types/components/Select/Select.types.d.ts.map +1 -1
  180. package/types/components/Select/ui/Target/Target.d.ts +1 -1
  181. package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
  182. package/types/components/Select/ui/Target/Target.types.d.ts +1 -1
  183. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  184. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  185. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +709 -69
  186. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  187. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  188. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  189. package/types/components/Slider/components/Double/Double.styles.d.ts +709 -69
  190. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  191. package/types/components/TextField/TextField.d.ts.map +1 -1
  192. package/types/components/TextField/TextField.styles.d.ts +3 -1
  193. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  194. package/types/components/TextField/TextField.tokens.d.ts +1 -0
  195. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  196. package/types/components/TextField/TextField.types.d.ts +42 -27
  197. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  198. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -1
  199. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +0 -1
  200. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -1
  201. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +1 -5
  202. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +1 -1
  203. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +5 -557
  204. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  205. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +1045 -133
  206. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  207. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +47 -1
  208. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +1 -1
  209. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +1238 -70
  210. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  211. package/types/examples/plasma_b2c/components/Select/Select.d.ts +282 -20
  212. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  213. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +709 -69
  214. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  215. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +5 -557
  216. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  217. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +1045 -133
  218. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  219. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +47 -1
  220. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +1 -1
  221. package/types/examples/plasma_web/components/Mask/Mask.d.ts +1238 -70
  222. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  223. package/types/examples/plasma_web/components/Select/Select.d.ts +282 -20
  224. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  225. package/types/examples/plasma_web/components/TextField/TextField.d.ts +709 -69
  226. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  227. package/cjs/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
  228. package/es/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Autocomplete/ui/TextField/TextField.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;CAqb3F,CAAC"}
1
+ {"version":3,"file":"Combobox.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAIjH,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAqB7C,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKnE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC,+IAoatF,CAAC;AAEP,eAAO,MAAM,cAAc;;;mBAtaQ,UAAU,gBAAgB,EAAE,KAAK,aAAa,EAAE,OAAO,CAAC,CAAC;;;;;;;;;;;;;;;;;;CA2b3F,CAAC"}
@@ -71,6 +71,35 @@ declare type ViewStateProps = {
71
71
  */
72
72
  alwaysOpened?: true;
73
73
  };
74
+ export declare type LabelProps = {
75
+ /**
76
+ * Метка-подпись к элементу.
77
+ */
78
+ label?: string;
79
+ /**
80
+ * Расположение лейбла.
81
+ * @default outer
82
+ */
83
+ labelPlacement: 'inner';
84
+ /**
85
+ * Одновременно отображает label и placeholder (при пустом вводе)
86
+ */
87
+ hasPlaceholder?: boolean;
88
+ } | {
89
+ /**
90
+ * Метка-подпись к элементу.
91
+ */
92
+ label?: string;
93
+ /**
94
+ * Расположение лейбла.
95
+ * @default outer
96
+ */
97
+ labelPlacement?: 'outer';
98
+ /**
99
+ * Одновременно отображает label и placeholder (при пустом вводе)
100
+ */
101
+ hasPlaceholder?: never;
102
+ };
74
103
  declare type BasicProps<T extends ItemOption = ItemOption> = {
75
104
  /**
76
105
  * Список элементов.
@@ -81,10 +110,6 @@ declare type BasicProps<T extends ItemOption = ItemOption> = {
81
110
  * @default bottom-start
82
111
  */
83
112
  placement?: Placement;
84
- /**
85
- * Метка-подпись к элементу.
86
- */
87
- label?: string;
88
113
  /**
89
114
  * Placeholder.
90
115
  */
@@ -149,13 +174,8 @@ declare type BasicProps<T extends ItemOption = ItemOption> = {
149
174
  * Вид компонента.
150
175
  */
151
176
  view?: string;
152
- /**
153
- * Расположение лейбла.
154
- * @default outer
155
- */
156
- labelPlacement?: 'outer' | 'inner';
157
177
  };
158
- export declare type ComboboxProps<T extends ItemOption = ItemOption> = BasicProps<T> & ViewStateProps & IsMultiselect<T> & RequiredProps & Omit<ButtonHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'>;
178
+ export declare type ComboboxProps<T extends ItemOption = ItemOption> = BasicProps<T> & LabelProps & ViewStateProps & IsMultiselect<T> & RequiredProps & Omit<ButtonHTMLAttributes<HTMLInputElement>, 'value' | 'onChange'>;
159
179
  export declare type FloatingPopoverProps = {
160
180
  target: React.ReactNode | ((ref: React.MutableRefObject<HTMLElement | null>) => React.ReactNode);
161
181
  children: React.ReactNode;
@@ -1 +1 @@
1
- {"version":3,"file":"Combobox.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Combobox/ComboboxNew/Combobox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AACjE,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,qBAAqB,EAAE,MAAM,+BAA+B,CAAC;AAClF,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,aAAK,SAAS,GACR,KAAK,GACL,WAAW,GACX,SAAS,GACT,OAAO,GACP,aAAa,GACb,WAAW,GACX,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,CAAC;AAEjB,aAAK,aAAa,CAAC,CAAC,SAAS,U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