@salutejs/plasma-new-hope 0.195.0-canary.1534.11913376384.0 → 0.195.0-canary.1556.11915399849.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (350) hide show
  1. package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -333
  2. package/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  3. package/cjs/components/Autocomplete/Autocomplete.css +17 -17
  4. package/cjs/components/Autocomplete/Autocomplete.js +7 -1
  5. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  6. package/cjs/components/Combobox/ComboboxNew/Combobox.css +17 -17
  7. package/cjs/components/Combobox/ComboboxNew/Combobox.js +7 -2
  8. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  9. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +17 -17
  10. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +17 -17
  11. package/cjs/components/DatePicker/RangeDate/RangeDate.css +17 -17
  12. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +17 -17
  13. package/cjs/components/DatePicker/SingleDate/SingleDate.css +17 -17
  14. package/cjs/components/DatePicker/SingleDate/SingleDate.js +9 -4
  15. package/cjs/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  16. package/cjs/components/Pagination/Pagination.css +17 -17
  17. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +17 -17
  18. package/cjs/components/Range/Range.css +17 -17
  19. package/cjs/components/Select/Select.css +17 -17
  20. package/cjs/components/Select/ui/Inner/Inner.css +17 -17
  21. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +17 -17
  22. package/cjs/components/Select/ui/Target/Target.css +17 -17
  23. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +17 -17
  24. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +10 -3
  25. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  26. package/cjs/components/Slider/Slider.css +17 -17
  27. package/cjs/components/Slider/components/Double/Double.css +17 -17
  28. package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +17 -17
  29. package/cjs/components/TextField/TextField.js +9 -5
  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/{es/components/TextField/TextField.styles_j7dqpn.css → cjs/components/TextField/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/variations/_label-placement/base.js +1 -1
  38. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
  39. package/cjs/components/TextField/variations/_label-placement/base_y1lvvc.css +1 -0
  40. package/cjs/index.css +17 -31
  41. package/cjs/index.js +0 -6
  42. package/cjs/index.js.map +1 -1
  43. package/emotion/cjs/components/Autocomplete/Autocomplete.js +7 -1
  44. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +7 -2
  45. package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.js +9 -4
  46. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +10 -3
  47. package/emotion/cjs/components/TextField/TextField.js +10 -6
  48. package/emotion/cjs/components/TextField/TextField.styles.js +29 -26
  49. package/emotion/cjs/components/TextField/TextField.tokens.js +1 -0
  50. package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  51. package/emotion/cjs/components/_Icon/index.js +1 -8
  52. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -0
  53. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +9 -2
  54. package/emotion/cjs/index.js +0 -11
  55. package/emotion/es/components/Autocomplete/Autocomplete.js +7 -1
  56. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +7 -2
  57. package/emotion/es/components/DatePicker/SingleDate/SingleDate.js +9 -4
  58. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +10 -3
  59. package/emotion/es/components/TextField/TextField.js +10 -6
  60. package/emotion/es/components/TextField/TextField.styles.js +29 -26
  61. package/emotion/es/components/TextField/TextField.tokens.js +1 -0
  62. package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
  63. package/emotion/es/components/_Icon/index.js +1 -2
  64. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -0
  65. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +9 -2
  66. package/emotion/es/index.js +1 -2
  67. package/es/_virtual/_rollupPluginBabelHelpers.js +1 -332
  68. package/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  69. package/es/components/Autocomplete/Autocomplete.css +17 -17
  70. package/es/components/Autocomplete/Autocomplete.js +7 -1
  71. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  72. package/es/components/Combobox/ComboboxNew/Combobox.css +17 -17
  73. package/es/components/Combobox/ComboboxNew/Combobox.js +7 -2
  74. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  75. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +17 -17
  76. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +17 -17
  77. package/es/components/DatePicker/RangeDate/RangeDate.css +17 -17
  78. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +17 -17
  79. package/es/components/DatePicker/SingleDate/SingleDate.css +17 -17
  80. package/es/components/DatePicker/SingleDate/SingleDate.js +9 -4
  81. package/es/components/DatePicker/SingleDate/SingleDate.js.map +1 -1
  82. package/es/components/Pagination/Pagination.css +17 -17
  83. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +17 -17
  84. package/es/components/Range/Range.css +17 -17
  85. package/es/components/Select/Select.css +17 -17
  86. package/es/components/Select/ui/Inner/Inner.css +17 -17
  87. package/es/components/Select/ui/Inner/ui/Item/Item.css +17 -17
  88. package/es/components/Select/ui/Target/Target.css +17 -17
  89. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +17 -17
  90. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +10 -3
  91. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  92. package/es/components/Slider/Slider.css +17 -17
  93. package/es/components/Slider/components/Double/Double.css +17 -17
  94. package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +17 -17
  95. package/es/components/TextField/TextField.js +9 -5
  96. package/es/components/TextField/TextField.js.map +1 -1
  97. package/es/components/TextField/TextField.styles.js +20 -11
  98. package/es/components/TextField/TextField.styles.js.map +1 -1
  99. package/{cjs/components/TextField/TextField.styles_j7dqpn.css → es/components/TextField/TextField.styles_ppcxpx.css} +1 -1
  100. package/es/components/TextField/TextField.tokens.js +1 -0
  101. package/es/components/TextField/TextField.tokens.js.map +1 -1
  102. package/es/components/TextField/ui/Hint/Hint.css +20 -20
  103. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  104. package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
  105. package/es/components/TextField/variations/_label-placement/base_y1lvvc.css +1 -0
  106. package/es/index.css +17 -31
  107. package/es/index.js +0 -2
  108. package/es/index.js.map +1 -1
  109. package/package.json +4 -4
  110. package/styled-components/cjs/components/Autocomplete/Autocomplete.js +7 -1
  111. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +7 -2
  112. package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.js +9 -4
  113. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +10 -3
  114. package/styled-components/cjs/components/TextField/TextField.js +9 -5
  115. package/styled-components/cjs/components/TextField/TextField.styles.js +9 -6
  116. package/styled-components/cjs/components/TextField/TextField.tokens.js +1 -0
  117. package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  118. package/styled-components/cjs/components/_Icon/index.js +1 -8
  119. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -0
  120. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +9 -2
  121. package/styled-components/cjs/index.js +0 -11
  122. package/styled-components/es/components/Autocomplete/Autocomplete.js +7 -1
  123. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +7 -2
  124. package/styled-components/es/components/DatePicker/SingleDate/SingleDate.js +9 -4
  125. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +10 -3
  126. package/styled-components/es/components/TextField/TextField.js +9 -5
  127. package/styled-components/es/components/TextField/TextField.styles.js +9 -6
  128. package/styled-components/es/components/TextField/TextField.tokens.js +1 -0
  129. package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
  130. package/styled-components/es/components/_Icon/index.js +1 -2
  131. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +7 -0
  132. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +9 -2
  133. package/styled-components/es/index.js +1 -2
  134. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  135. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +717 -61
  136. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  137. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  138. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +30 -10
  139. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  140. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +717 -61
  141. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  142. package/types/components/DatePicker/SingleDate/SingleDate.d.ts +2 -2
  143. package/types/components/DatePicker/SingleDate/SingleDate.d.ts.map +1 -1
  144. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +717 -61
  145. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  146. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts +28 -9
  147. package/types/components/DatePicker/SingleDate/SingleDate.types.d.ts.map +1 -1
  148. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +176 -4
  149. package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
  150. package/types/components/Range/Range.styles.d.ts +717 -61
  151. package/types/components/Range/Range.styles.d.ts.map +1 -1
  152. package/types/components/Select/Select.types.d.ts +30 -10
  153. package/types/components/Select/Select.types.d.ts.map +1 -1
  154. package/types/components/Select/ui/Target/Target.d.ts +1 -1
  155. package/types/components/Select/ui/Target/Target.types.d.ts +1 -1
  156. package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
  157. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  158. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +717 -61
  159. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  160. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
  161. package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
  162. package/types/components/Slider/components/Double/Double.styles.d.ts +717 -61
  163. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  164. package/types/components/TextField/TextField.d.ts.map +1 -1
  165. package/types/components/TextField/TextField.styles.d.ts +3 -1
  166. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  167. package/types/components/TextField/TextField.tokens.d.ts +1 -0
  168. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  169. package/types/components/TextField/TextField.types.d.ts +43 -20
  170. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  171. package/types/components/_Icon/index.d.ts +0 -1
  172. package/types/components/_Icon/index.d.ts.map +1 -1
  173. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts +3 -5
  174. package/types/examples/plasma_b2c/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  175. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts +1045 -133
  176. package/types/examples/plasma_b2c/components/Combobox/Combobox.d.ts.map +1 -1
  177. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts +47 -1
  178. package/types/examples/plasma_b2c/components/DatePicker/DatePicker.d.ts.map +1 -1
  179. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +1246 -62
  180. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  181. package/types/examples/plasma_b2c/components/Select/Select.d.ts +176 -4
  182. package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
  183. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +717 -61
  184. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  185. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts +3 -5
  186. package/types/examples/plasma_web/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  187. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts +1045 -133
  188. package/types/examples/plasma_web/components/Combobox/Combobox.d.ts.map +1 -1
  189. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts +47 -1
  190. package/types/examples/plasma_web/components/DatePicker/DatePicker.d.ts.map +1 -1
  191. package/types/examples/plasma_web/components/Mask/Mask.d.ts +1246 -62
  192. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  193. package/types/examples/plasma_web/components/Select/Select.d.ts +176 -4
  194. package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
  195. package/types/examples/plasma_web/components/TextField/TextField.d.ts +717 -61
  196. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  197. package/types/index.d.ts +0 -1
  198. package/types/index.d.ts.map +1 -1
  199. package/cjs/components/Dropzone/Dropzone.css +0 -15
  200. package/cjs/components/Dropzone/Dropzone.js +0 -252
  201. package/cjs/components/Dropzone/Dropzone.js.map +0 -1
  202. package/cjs/components/Dropzone/Dropzone.styles.js +0 -47
  203. package/cjs/components/Dropzone/Dropzone.styles.js.map +0 -1
  204. package/cjs/components/Dropzone/Dropzone.styles_1fo7dbq.css +0 -7
  205. package/cjs/components/Dropzone/Dropzone.tokens.js +0 -47
  206. package/cjs/components/Dropzone/Dropzone.tokens.js.map +0 -1
  207. package/cjs/components/Dropzone/variations/_disabled/base.js +0 -9
  208. package/cjs/components/Dropzone/variations/_disabled/base.js.map +0 -1
  209. package/cjs/components/Dropzone/variations/_disabled/base_3qwygi.css +0 -1
  210. package/cjs/components/Dropzone/variations/_size/base.js +0 -9
  211. package/cjs/components/Dropzone/variations/_size/base.js.map +0 -1
  212. package/cjs/components/Dropzone/variations/_size/base_1bt22g1.css +0 -1
  213. package/cjs/components/Dropzone/variations/_view/base.js +0 -9
  214. package/cjs/components/Dropzone/variations/_view/base.js.map +0 -1
  215. package/cjs/components/Dropzone/variations/_view/base_1pdzq6t.css +0 -1
  216. package/cjs/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
  217. package/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +0 -24
  218. package/cjs/components/_Icon/Icon.assets/ArrowBarDown.js.map +0 -1
  219. package/cjs/components/_Icon/Icons/IconArrowBarDown.js +0 -23
  220. package/cjs/components/_Icon/Icons/IconArrowBarDown.js.map +0 -1
  221. package/emotion/cjs/components/Dropzone/Dropzone.js +0 -271
  222. package/emotion/cjs/components/Dropzone/Dropzone.styles.js +0 -67
  223. package/emotion/cjs/components/Dropzone/Dropzone.template-docs.mdx +0 -136
  224. package/emotion/cjs/components/Dropzone/Dropzone.tokens.js +0 -44
  225. package/emotion/cjs/components/Dropzone/Dropzone.types.js +0 -5
  226. package/emotion/cjs/components/Dropzone/index.js +0 -31
  227. package/emotion/cjs/components/Dropzone/variations/_disabled/base.js +0 -9
  228. package/emotion/cjs/components/Dropzone/variations/_disabled/tokens.json +0 -4
  229. package/emotion/cjs/components/Dropzone/variations/_size/base.js +0 -10
  230. package/emotion/cjs/components/Dropzone/variations/_size/tokens.json +0 -19
  231. package/emotion/cjs/components/Dropzone/variations/_view/base.js +0 -10
  232. package/emotion/cjs/components/Dropzone/variations/_view/tokens.json +0 -9
  233. package/emotion/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +0 -23
  234. package/emotion/cjs/components/_Icon/Icons/IconArrowBarDown.js +0 -22
  235. package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.config.js +0 -25
  236. package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.js +0 -11
  237. package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +0 -57
  238. package/emotion/cjs/examples/plasma_web/components/Dropzone/Dropzone.config.js +0 -25
  239. package/emotion/cjs/examples/plasma_web/components/Dropzone/Dropzone.js +0 -11
  240. package/emotion/cjs/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +0 -57
  241. package/emotion/es/components/Dropzone/Dropzone.js +0 -263
  242. package/emotion/es/components/Dropzone/Dropzone.styles.js +0 -60
  243. package/emotion/es/components/Dropzone/Dropzone.template-docs.mdx +0 -136
  244. package/emotion/es/components/Dropzone/Dropzone.tokens.js +0 -38
  245. package/emotion/es/components/Dropzone/Dropzone.types.js +0 -1
  246. package/emotion/es/components/Dropzone/index.js +0 -2
  247. package/emotion/es/components/Dropzone/variations/_disabled/base.js +0 -3
  248. package/emotion/es/components/Dropzone/variations/_disabled/tokens.json +0 -4
  249. package/emotion/es/components/Dropzone/variations/_size/base.js +0 -4
  250. package/emotion/es/components/Dropzone/variations/_size/tokens.json +0 -19
  251. package/emotion/es/components/Dropzone/variations/_view/base.js +0 -4
  252. package/emotion/es/components/Dropzone/variations/_view/tokens.json +0 -9
  253. package/emotion/es/components/_Icon/Icon.assets/ArrowBarDown.js +0 -16
  254. package/emotion/es/components/_Icon/Icons/IconArrowBarDown.js +0 -15
  255. package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.config.js +0 -19
  256. package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.js +0 -5
  257. package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +0 -57
  258. package/emotion/es/examples/plasma_web/components/Dropzone/Dropzone.config.js +0 -19
  259. package/emotion/es/examples/plasma_web/components/Dropzone/Dropzone.js +0 -5
  260. package/emotion/es/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +0 -57
  261. package/es/components/Dropzone/Dropzone.css +0 -15
  262. package/es/components/Dropzone/Dropzone.js +0 -247
  263. package/es/components/Dropzone/Dropzone.js.map +0 -1
  264. package/es/components/Dropzone/Dropzone.styles.js +0 -37
  265. package/es/components/Dropzone/Dropzone.styles.js.map +0 -1
  266. package/es/components/Dropzone/Dropzone.styles_1fo7dbq.css +0 -7
  267. package/es/components/Dropzone/Dropzone.tokens.js +0 -41
  268. package/es/components/Dropzone/Dropzone.tokens.js.map +0 -1
  269. package/es/components/Dropzone/variations/_disabled/base.js +0 -5
  270. package/es/components/Dropzone/variations/_disabled/base.js.map +0 -1
  271. package/es/components/Dropzone/variations/_disabled/base_3qwygi.css +0 -1
  272. package/es/components/Dropzone/variations/_size/base.js +0 -5
  273. package/es/components/Dropzone/variations/_size/base.js.map +0 -1
  274. package/es/components/Dropzone/variations/_size/base_1bt22g1.css +0 -1
  275. package/es/components/Dropzone/variations/_view/base.js +0 -5
  276. package/es/components/Dropzone/variations/_view/base.js.map +0 -1
  277. package/es/components/Dropzone/variations/_view/base_1pdzq6t.css +0 -1
  278. package/es/components/TextField/variations/_label-placement/base_gttvto.css +0 -1
  279. package/es/components/_Icon/Icon.assets/ArrowBarDown.js +0 -20
  280. package/es/components/_Icon/Icon.assets/ArrowBarDown.js.map +0 -1
  281. package/es/components/_Icon/Icons/IconArrowBarDown.js +0 -19
  282. package/es/components/_Icon/Icons/IconArrowBarDown.js.map +0 -1
  283. package/styled-components/cjs/components/Dropzone/Dropzone.js +0 -271
  284. package/styled-components/cjs/components/Dropzone/Dropzone.styles.js +0 -29
  285. package/styled-components/cjs/components/Dropzone/Dropzone.template-docs.mdx +0 -136
  286. package/styled-components/cjs/components/Dropzone/Dropzone.tokens.js +0 -44
  287. package/styled-components/cjs/components/Dropzone/Dropzone.types.js +0 -5
  288. package/styled-components/cjs/components/Dropzone/index.js +0 -31
  289. package/styled-components/cjs/components/Dropzone/variations/_disabled/base.js +0 -9
  290. package/styled-components/cjs/components/Dropzone/variations/_disabled/tokens.json +0 -4
  291. package/styled-components/cjs/components/Dropzone/variations/_size/base.js +0 -10
  292. package/styled-components/cjs/components/Dropzone/variations/_size/tokens.json +0 -19
  293. package/styled-components/cjs/components/Dropzone/variations/_view/base.js +0 -10
  294. package/styled-components/cjs/components/Dropzone/variations/_view/tokens.json +0 -9
  295. package/styled-components/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +0 -23
  296. package/styled-components/cjs/components/_Icon/Icons/IconArrowBarDown.js +0 -22
  297. package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.config.js +0 -25
  298. package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.js +0 -11
  299. package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +0 -57
  300. package/styled-components/cjs/examples/plasma_web/components/Dropzone/Dropzone.config.js +0 -25
  301. package/styled-components/cjs/examples/plasma_web/components/Dropzone/Dropzone.js +0 -11
  302. package/styled-components/cjs/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +0 -57
  303. package/styled-components/es/components/Dropzone/Dropzone.js +0 -263
  304. package/styled-components/es/components/Dropzone/Dropzone.styles.js +0 -21
  305. package/styled-components/es/components/Dropzone/Dropzone.template-docs.mdx +0 -136
  306. package/styled-components/es/components/Dropzone/Dropzone.tokens.js +0 -38
  307. package/styled-components/es/components/Dropzone/Dropzone.types.js +0 -1
  308. package/styled-components/es/components/Dropzone/index.js +0 -2
  309. package/styled-components/es/components/Dropzone/variations/_disabled/base.js +0 -3
  310. package/styled-components/es/components/Dropzone/variations/_disabled/tokens.json +0 -4
  311. package/styled-components/es/components/Dropzone/variations/_size/base.js +0 -4
  312. package/styled-components/es/components/Dropzone/variations/_size/tokens.json +0 -19
  313. package/styled-components/es/components/Dropzone/variations/_view/base.js +0 -4
  314. package/styled-components/es/components/Dropzone/variations/_view/tokens.json +0 -9
  315. package/styled-components/es/components/_Icon/Icon.assets/ArrowBarDown.js +0 -16
  316. package/styled-components/es/components/_Icon/Icons/IconArrowBarDown.js +0 -15
  317. package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.config.js +0 -19
  318. package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.js +0 -5
  319. package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +0 -57
  320. package/styled-components/es/examples/plasma_web/components/Dropzone/Dropzone.config.js +0 -19
  321. package/styled-components/es/examples/plasma_web/components/Dropzone/Dropzone.js +0 -5
  322. package/styled-components/es/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +0 -57
  323. package/types/components/Dropzone/Dropzone.d.ts +0 -59
  324. package/types/components/Dropzone/Dropzone.d.ts.map +0 -1
  325. package/types/components/Dropzone/Dropzone.styles.d.ts +0 -9
  326. package/types/components/Dropzone/Dropzone.styles.d.ts.map +0 -1
  327. package/types/components/Dropzone/Dropzone.tokens.d.ts +0 -39
  328. package/types/components/Dropzone/Dropzone.tokens.d.ts.map +0 -1
  329. package/types/components/Dropzone/Dropzone.types.d.ts +0 -77
  330. package/types/components/Dropzone/Dropzone.types.d.ts.map +0 -1
  331. package/types/components/Dropzone/index.d.ts +0 -3
  332. package/types/components/Dropzone/index.d.ts.map +0 -1
  333. package/types/components/Dropzone/variations/_disabled/base.d.ts +0 -2
  334. package/types/components/Dropzone/variations/_disabled/base.d.ts.map +0 -1
  335. package/types/components/Dropzone/variations/_size/base.d.ts +0 -2
  336. package/types/components/Dropzone/variations/_size/base.d.ts.map +0 -1
  337. package/types/components/Dropzone/variations/_view/base.d.ts +0 -2
  338. package/types/components/Dropzone/variations/_view/base.d.ts.map +0 -1
  339. package/types/components/_Icon/Icon.assets/ArrowBarDown.d.ts +0 -4
  340. package/types/components/_Icon/Icon.assets/ArrowBarDown.d.ts.map +0 -1
  341. package/types/components/_Icon/Icons/IconArrowBarDown.d.ts +0 -4
  342. package/types/components/_Icon/Icons/IconArrowBarDown.d.ts.map +0 -1
  343. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.config.d.ts +0 -18
  344. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.config.d.ts.map +0 -1
  345. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.d.ts +0 -29
  346. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.d.ts.map +0 -1
  347. package/types/examples/plasma_web/components/Dropzone/Dropzone.config.d.ts +0 -18
  348. package/types/examples/plasma_web/components/Dropzone/Dropzone.config.d.ts.map +0 -1
  349. package/types/examples/plasma_web/components/Dropzone/Dropzone.d.ts +0 -29
  350. package/types/examples/plasma_web/components/Dropzone/Dropzone.d.ts.map +0 -1
@@ -1,4 +1,4 @@
1
- var _excluded = ["className", "opened", "label", "labelPlacement", "placeholder", "leftHelper", "contentLeft", "contentRight", "textBefore", "textAfter", "view", "size", "readOnly", "disabled", "name", "defaultDate", "valueError", "valueSuccess", "format", "lang", "maskWithFormat", "min", "max", "includeEdgeDates", "eventList", "disabledList", "eventMonthList", "disabledMonthList", "eventQuarterList", "disabledQuarterList", "eventYearList", "disabledYearList", "type", "frame", "usePortal", "placement", "closeOnOverlayClick", "closeOnEsc", "offset", "onChangeValue", "onCommitDate", "onToggle", "onFocus", "onBlur", "onChange"];
1
+ var _excluded = ["className", "opened", "label", "labelPlacement", "hasPlaceholder", "placeholder", "leftHelper", "contentLeft", "contentRight", "textBefore", "textAfter", "view", "size", "readOnly", "disabled", "name", "defaultDate", "valueError", "valueSuccess", "format", "lang", "maskWithFormat", "min", "max", "includeEdgeDates", "eventList", "disabledList", "eventMonthList", "disabledMonthList", "eventQuarterList", "disabledQuarterList", "eventYearList", "disabledYearList", "type", "frame", "usePortal", "placement", "closeOnOverlayClick", "closeOnEsc", "offset", "onChangeValue", "onCommitDate", "onToggle", "onFocus", "onBlur", "onChange"];
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -28,6 +28,7 @@ export var datePickerRoot = function datePickerRoot(Root) {
28
28
  label = _ref.label,
29
29
  _ref$labelPlacement = _ref.labelPlacement,
30
30
  labelPlacement = _ref$labelPlacement === void 0 ? 'outer' : _ref$labelPlacement,
31
+ hasPlaceholder = _ref.hasPlaceholder,
31
32
  placeholder = _ref.placeholder,
32
33
  leftHelper = _ref.leftHelper,
33
34
  contentLeft = _ref.contentLeft,
@@ -164,10 +165,14 @@ export var datePickerRoot = function datePickerRoot(Root) {
164
165
  },
165
166
  onFocus: onFocus,
166
167
  onBlur: onBlur,
167
- onKeyDown: onKeyDown
168
- }, innerLabelPlacement && {
169
- label: label,
168
+ onKeyDown: onKeyDown,
170
169
  labelPlacement: labelPlacement
170
+ }, labelPlacement === 'inner' ? {
171
+ label: label,
172
+ labelPlacement: labelPlacement,
173
+ hasPlaceholder: hasPlaceholder
174
+ } : {
175
+ labelPlacement: undefined
171
176
  }));
172
177
  useEffect(function () {
173
178
  setIsInnerOpen(function (prevOpen) {
@@ -10,9 +10,10 @@ export var Textfield = /*#__PURE__*/forwardRef(function (_ref, ref) {
10
10
  multiselect = _ref.multiselect,
11
11
  value = _ref.value,
12
12
  label = _ref.label,
13
+ labelPlacement = _ref.labelPlacement,
14
+ hasPlaceholder = _ref.hasPlaceholder,
13
15
  placeholder = _ref.placeholder,
14
16
  onKeyDown = _ref.onKeyDown,
15
- labelPlacement = _ref.labelPlacement,
16
17
  size = _ref.size,
17
18
  view = _ref.view,
18
19
  handleClickArrow = _ref.handleClickArrow,
@@ -58,10 +59,16 @@ export var Textfield = /*#__PURE__*/forwardRef(function (_ref, ref) {
58
59
  value: multiselect ? undefined : ((_valueToItemMap$get = valueToItemMap.get(value.toString())) === null || _valueToItemMap$get === void 0 ? void 0 : _valueToItemMap$get.label) || '',
59
60
  size: size,
60
61
  view: view,
61
- chipView: chipView,
62
+ chipView: chipView
63
+ }, labelPlacement === 'inner' ? {
64
+ label: label,
62
65
  labelPlacement: labelPlacement,
63
- disabled: disabled,
66
+ hasPlaceholder: hasPlaceholder
67
+ } : {
64
68
  label: label,
69
+ labelPlacement: labelPlacement
70
+ }, {
71
+ disabled: disabled,
65
72
  placeholder: value instanceof Array && value.length ? '' : placeholder,
66
73
  contentLeft: contentLeft,
67
74
  contentRight: /*#__PURE__*/React.createElement(IconArrowWrapper, {
@@ -1,4 +1,4 @@
1
- var _excluded = ["id", "className", "style", "contentLeft", "contentRight", "label", "labelPlacement", "textBefore", "textAfter", "placeholder", "leftHelper", "enumerationType", "requiredPlacement", "titleCaption", "hintTrigger", "hintText", "hintView", "hintSize", "hintTargetIcon", "hintPlacement", "hintHasArrow", "hintOffset", "hintWidth", "hintContentLeft", "view", "size", "readOnly", "disabled", "required", "clear", "optional", "hasDivider", "value", "chips", "onChange", "onChangeChips", "onSearch", "onKeyDown"];
1
+ var _excluded = ["id", "className", "style", "contentLeft", "contentRight", "label", "labelPlacement", "hasPlaceholder", "textBefore", "textAfter", "placeholder", "leftHelper", "enumerationType", "requiredPlacement", "titleCaption", "hintTrigger", "hintText", "hintView", "hintSize", "hintTargetIcon", "hintPlacement", "hintHasArrow", "hintOffset", "hintWidth", "hintContentLeft", "view", "size", "readOnly", "disabled", "required", "clear", "optional", "hasDivider", "value", "chips", "onChange", "onChangeChips", "onSearch", "onKeyDown"];
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
3
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
4
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
@@ -39,6 +39,7 @@ export var textFieldRoot = function textFieldRoot(Root) {
39
39
  contentRight = _ref.contentRight,
40
40
  label = _ref.label,
41
41
  labelPlacement = _ref.labelPlacement,
42
+ hasPlaceholder = _ref.hasPlaceholder,
42
43
  textBefore = _ref.textBefore,
43
44
  textAfter = _ref.textAfter,
44
45
  placeholder = _ref.placeholder,
@@ -114,10 +115,10 @@ export var textFieldRoot = function textFieldRoot(Root) {
114
115
  var hasLabelValue = Boolean(label);
115
116
  var hasInnerLabel = size !== 'xs' && labelPlacement === 'inner' && !isChipsVisible && hasLabelValue;
116
117
  var hasOuterLabel = labelPlacement === 'outer' && hasLabelValue;
117
- var hasPlaceholder = Boolean(placeholder) && !hasInnerLabel;
118
+ var innerHasPlaceholder = Boolean(placeholder) && (hasPlaceholder || !hasInnerLabel);
118
119
  var innerLabelValue = hasInnerLabel || hasOuterLabel ? label : undefined;
119
120
  var innerLabelPlacementValue = labelPlacement === 'inner' && !hasInnerLabel ? undefined : labelPlacement;
120
- var innerPlaceholderValue = hasPlaceholder ? placeholder : undefined;
121
+ var innerPlaceholderValue = innerHasPlaceholder ? placeholder : undefined;
121
122
  var placeholderShown = Boolean(innerPlaceholderValue) && !hasValue;
122
123
  var clearClass = clear ? classes.clear : undefined;
123
124
  var hasDividerClass = hasDivider ? classes.hasDivider : undefined;
@@ -125,6 +126,7 @@ export var textFieldRoot = function textFieldRoot(Root) {
125
126
  var requiredPlacementClass = requiredPlacement === 'right' ? classes.requiredAlignRight : undefined;
126
127
  var labelPlacementClass = innerLabelPlacementValue ? classes["".concat(innerLabelPlacementValue, "LabelPlacement")] : undefined;
127
128
  var hasValueClass = hasValue ? classes.hasValue : undefined;
129
+ var hasPlaceholderClass = innerHasPlaceholder && placeholderShown && classes.forcePlaceholder;
128
130
  var wrapperWithoutLeftContent = !contentLeft && isChipsVisible ? classes.hasEmptyContentLeft : undefined;
129
131
  var wrapperWithoutRightContent = !contentRight && isChipsVisible ? classes.hasEmptyContentRight : undefined;
130
132
  var hintRef = useOutsideClick(function () {
@@ -333,7 +335,7 @@ export var textFieldRoot = function textFieldRoot(Root) {
333
335
  "aria-labelledby": labelId,
334
336
  "aria-describedby": helperTextId,
335
337
  placeholder: innerPlaceholderValue,
336
- className: cx(hasValueClass),
338
+ className: cx(hasValueClass, hasPlaceholderClass),
337
339
  disabled: disabled,
338
340
  readOnly: !disabled && readOnly,
339
341
  onInput: handleInput,
@@ -342,7 +344,9 @@ export var textFieldRoot = function textFieldRoot(Root) {
342
344
  }, rest)), hasInnerLabel && /*#__PURE__*/React.createElement(Label, {
343
345
  id: labelId,
344
346
  htmlFor: innerId
345
- }, innerLabelValue, optionalTextNode), placeholderShown && !hasValue && /*#__PURE__*/React.createElement(InputPlaceholder, null, innerPlaceholderValue, hasPlaceholderOptional && optionalTextNode)), textAfter && /*#__PURE__*/React.createElement(StyledTextAfter, null, textAfter)), contentRight && /*#__PURE__*/React.createElement(StyledContentRight, null, contentRight)), leftHelper && /*#__PURE__*/React.createElement(LeftHelper, {
347
+ }, innerLabelValue, optionalTextNode), placeholderShown && !hasValue && /*#__PURE__*/React.createElement(InputPlaceholder, {
348
+ hasPadding: hasPlaceholder && size !== 'xs'
349
+ }, innerPlaceholderValue, hasPlaceholderOptional && optionalTextNode)), textAfter && /*#__PURE__*/React.createElement(StyledTextAfter, null, textAfter)), contentRight && /*#__PURE__*/React.createElement(StyledContentRight, null, contentRight)), leftHelper && /*#__PURE__*/React.createElement(LeftHelper, {
346
350
  id: helperTextId
347
351
  }, leftHelper));
348
352
  });
@@ -24,11 +24,14 @@ export var InputContainer = /*#__PURE__*/styled.div.withConfig({
24
24
  })(["position:relative;flex:1;min-width:60%;"]);
25
25
  export var InputPlaceholder = /*#__PURE__*/styled.div.withConfig({
26
26
  componentId: "plasma-new-hope__sc-g4vxbb-6"
27
- })(["position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;white-space:nowrap;pointer-events:none;user-select:none;font:inherit;letter-spacing:inherit;line-height:inherit;color:var(", ");"], tokens.placeholderColor);
27
+ })(["position:absolute;top:0;left:0;right:0;bottom:0;z-index:0;white-space:nowrap;pointer-events:none;user-select:none;font:inherit;letter-spacing:inherit;line-height:inherit;color:var(", ");padding:", ";"], tokens.placeholderColor, function (_ref) {
28
+ var hasPadding = _ref.hasPadding;
29
+ return hasPadding ? "var(".concat(tokens.contentLabelInnerPadding, ")") : '0';
30
+ });
28
31
  export var OuterLabelWrapper = /*#__PURE__*/styled.div.withConfig({
29
32
  componentId: "plasma-new-hope__sc-g4vxbb-7"
30
- })(["display:flex;align-items:center;margin-bottom:", ";"], function (_ref) {
31
- var isInnerLabel = _ref.isInnerLabel;
33
+ })(["display:flex;align-items:center;margin-bottom:", ";"], function (_ref2) {
34
+ var isInnerLabel = _ref2.isInnerLabel;
32
35
  return isInnerLabel ? "var(".concat(tokens.titleCaptionInnerLabelOffset, ")") : "var(".concat(tokens.labelOffset, ")");
33
36
  });
34
37
  export var TitleCaption = /*#__PURE__*/styled.div.withConfig({
@@ -42,9 +45,9 @@ export var Label = /*#__PURE__*/styled.label.withConfig({
42
45
  })(["display:inline-flex;"]);
43
46
  export var StyledContentLeft = /*#__PURE__*/styled.div.withConfig({
44
47
  componentId: "plasma-new-hope__sc-g4vxbb-11"
45
- })(["margin:var(", ");color:", ";line-height:0;"], tokens.leftContentMargin, function (_ref2) {
46
- var isDefaultView = _ref2.isDefaultView,
47
- isClear = _ref2.isClear;
48
+ })(["margin:var(", ");color:", ";line-height:0;"], tokens.leftContentMargin, function (_ref3) {
49
+ var isDefaultView = _ref3.isDefaultView,
50
+ isClear = _ref3.isClear;
48
51
  return !isDefaultView && isClear ? "var(".concat(tokens.clearColor, ")") : "var(".concat(tokens.contentSlotColor, ")");
49
52
  });
50
53
  export var StyledContentRight = /*#__PURE__*/styled.div.withConfig({
@@ -1,6 +1,7 @@
1
1
  export var classes = {
2
2
  hasChips: 'has-chips',
3
3
  hasValue: 'has-value',
4
+ forcePlaceholder: 'force-placeholder',
4
5
  hasEmptyContentLeft: 'has-empty-content-left',
5
6
  hasEmptyContentRight: 'has-empty-content-right',
6
7
  innerLabelPlacement: 'label-placement-inner',
@@ -1,4 +1,4 @@
1
1
  import { css } from 'styled-components';
2
2
  import { classes, tokens } from '../../TextField.tokens';
3
3
  import { Input, InputContainer, Label, StyledTextAfter, StyledTextBefore } from '../../TextField.styles';
4
- export var base = /*#__PURE__*/css(["&.", "{", "{position:relative;display:inline-block;color:var(", ");}}&.", "{", "{padding:var(", ");}", ",", "{padding:var(", ");}", ":focus ~ ", ",", ".", " ~ ", "{color:var(", ");align-items:flex-start;padding:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{color:var(", ");pointer-events:none;position:absolute;top:0;display:flex;align-items:center;box-sizing:border-box;height:var(", ");padding-top:calc(calc(var(", ") - var(", ")) / 2);padding-bottom:calc(calc(var(", ") - var(", ")) / 2);}&.", " ", "{color:var(", ");}}"], classes.outerLabelPlacement, Label, tokens.labelColor, classes.innerLabelPlacement, InputContainer, tokens.contentLabelInnerPadding, StyledTextAfter, StyledTextBefore, tokens.contentLabelInnerPadding, Input, Label, Input, classes.hasValue, Label, tokens.placeholderColor, tokens.labelInnerPadding, tokens.labelInnerFontFamily, tokens.labelInnerFontSize, tokens.labelInnerFontStyle, tokens.labelInnerFontWeight, tokens.labelInnerLetterSpacing, tokens.labelInnerLineHeight, Label, tokens.placeholderColor, tokens.height, tokens.height, tokens.labelLineHeight, tokens.height, tokens.labelLineHeight, classes.clear, Label, tokens.clearPlaceholderColor);
4
+ export var base = /*#__PURE__*/css(["&.", "{", "{position:relative;display:inline-block;color:var(", ");}}&.", "{", "{padding:var(", ");}", ",", "{padding:var(", ");}", ":focus ~ ", ",", ".", " ~ ", ",", ".", " ~ ", "{color:var(", ");align-items:flex-start;padding:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{color:var(", ");pointer-events:none;position:absolute;top:0;display:flex;align-items:center;box-sizing:border-box;height:var(", ");padding-top:calc(calc(var(", ") - var(", ")) / 2);padding-bottom:calc(calc(var(", ") - var(", ")) / 2);}&.", " ", "{color:var(", ");}}"], classes.outerLabelPlacement, Label, tokens.labelColor, classes.innerLabelPlacement, InputContainer, tokens.contentLabelInnerPadding, StyledTextAfter, StyledTextBefore, tokens.contentLabelInnerPadding, Input, Label, Input, classes.hasValue, Label, Input, classes.forcePlaceholder, Label, tokens.placeholderColor, tokens.labelInnerPadding, tokens.labelInnerFontFamily, tokens.labelInnerFontSize, tokens.labelInnerFontStyle, tokens.labelInnerFontWeight, tokens.labelInnerLetterSpacing, tokens.labelInnerLineHeight, Label, tokens.placeholderColor, tokens.height, tokens.height, tokens.labelLineHeight, tokens.height, tokens.labelLineHeight, classes.clear, Label, tokens.clearPlaceholderColor);
@@ -24,5 +24,4 @@ export { IconBlankOutline } from './Icons/IconBlankOutline';
24
24
  export { IconBlankPdfOutline } from './Icons/IconBlankPdfOutline';
25
25
  export { IconBlankTxtOutline } from './Icons/IconBlankTxtOutline';
26
26
  export { IconBlankXlsOutline } from './Icons/IconBlankXlsOutline';
27
- export { IconInfoCircleOutline } from './Icons/IconInfoCircleOutline';
28
- export { IconArrowBarDown } from './Icons/IconArrowBarDown';
27
+ export { IconInfoCircleOutline } from './Icons/IconInfoCircleOutline';
@@ -87,6 +87,12 @@ const meta: Meta<typeof TextField> = {
87
87
  type: 'inline-radio',
88
88
  },
89
89
  },
90
+ hasPlaceholder: {
91
+ control: {
92
+ type: 'boolean',
93
+ },
94
+ if: { arg: 'labelPlacement', eq: 'inner' },
95
+ },
90
96
  size: {
91
97
  options: sizes,
92
98
  control: {
@@ -210,6 +216,7 @@ export const Default: StoryObj<StoryPropsDefault> = {
210
216
  view: 'default',
211
217
  label: 'Лейбл',
212
218
  labelPlacement: 'outer',
219
+ hasPlaceholder: false,
213
220
  titleCaption: 'Подпись к полю',
214
221
  textBefore: '',
215
222
  textAfter: '',
@@ -87,6 +87,12 @@ const meta: Meta<typeof TextField> = {
87
87
  type: 'inline-radio',
88
88
  },
89
89
  },
90
+ hasPlaceholder: {
91
+ control: {
92
+ type: 'boolean',
93
+ },
94
+ if: { arg: 'labelPlacement', eq: 'inner' },
95
+ },
90
96
  size: {
91
97
  options: sizes,
92
98
  control: {
@@ -210,6 +216,7 @@ export const Default: StoryObj<StoryPropsDefault> = {
210
216
  view: 'default',
211
217
  label: 'Лейбл',
212
218
  labelPlacement: 'outer',
219
+ hasPlaceholder: false,
213
220
  titleCaption: 'Подпись к полю',
214
221
  textBefore: '',
215
222
  textAfter: '',
@@ -219,11 +226,11 @@ export const Default: StoryObj<StoryPropsDefault> = {
219
226
  readOnly: false,
220
227
  enableContentLeft: true,
221
228
  enableContentRight: true,
222
- clear: false,
223
- hasDivider: false,
224
229
  optional: false,
225
230
  required: false,
226
231
  requiredPlacement: 'right',
232
+ clear: false,
233
+ hasDivider: false,
227
234
  hasHint: true,
228
235
  hintText: 'Текст подсказки',
229
236
  hintTrigger: 'hover',
@@ -63,5 +63,4 @@ export * from './components/Editable';
63
63
  export * from './components/Mask';
64
64
  export * from './components/Attach';
65
65
  export * from './components/ViewContainer';
66
- export * from './components/NumberInput';
67
- export * from './components/Dropzone';
66
+ export * from './components/NumberInput';
@@ -1 +1 @@
1
- {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAIhE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,KAAK,EAAE,iBAAiB,EAAsB,MAAM,sBAAsB,CAAC;AAGlF;;GAEG;AACH,eAAO,MAAM,gBAAgB,SAAU,UAAU,gBAAgB,EAAE,iBAAiB,CAAC,+FAuLhF,CAAC;AAEN,eAAO,MAAM,kBAAkB;;;mBAzLQ,UAAU,gBAAgB,EAAE,iBAAiB,CAAC;;;;;;;;;;;;CAwMpF,CAAC"}
1
+ {"version":3,"file":"Autocomplete.d.ts","sourceRoot":"","sources":["../../../src/components/Autocomplete/Autocomplete.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA2C,MAAM,OAAO,CAAC;AAIhE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,KAAK,EAAE,iBAAiB,EAAsB,MAAM,sBAAsB,CAAC;AAGlF;;GAEG;AACH,eAAO,MAAM,gBAAgB,SAAU,UAAU,gBAAgB,EAAE,iBAAiB,CAAC,+FA8LhF,CAAC;AAEN,eAAO,MAAM,kBAAkB;;;mBAhMQ,UAAU,gBAAgB,EAAE,iBAAiB,CAAC;;;;;;;;;;;;CA+MpF,CAAC"}