@salutejs/plasma-new-hope 0.169.0-canary.1486.11363705461.0 → 0.170.0-canary.1459.11367029149.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (685) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +34 -19
  2. package/cjs/components/Autocomplete/Autocomplete.js +4 -2
  3. package/cjs/components/Autocomplete/Autocomplete.js.map +1 -1
  4. package/cjs/components/Calendar/ui/CalendarHeader/CalendarHeader.js +1 -1
  5. package/cjs/components/Combobox/ComboboxNew/Combobox.css +38 -18
  6. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +38 -18
  7. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +38 -18
  8. package/cjs/components/DatePicker/RangeDate/RangeDate.css +33 -18
  9. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +33 -18
  10. package/cjs/components/DatePicker/SingleDate/SingleDate.css +35 -20
  11. package/cjs/components/Range/Range.css +39 -19
  12. package/cjs/components/Segment/tokens.js +15 -1
  13. package/cjs/components/Segment/tokens.js.map +1 -1
  14. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.css +13 -7
  15. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +180 -88
  16. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  17. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +37 -1
  18. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js.map +1 -1
  19. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles_79d8q2.css +8 -0
  20. package/cjs/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js +1 -1
  21. package/cjs/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js.map +1 -1
  22. package/cjs/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base_a7w5s0.css +1 -0
  23. package/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +9 -0
  24. package/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base.js.map +1 -0
  25. package/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base_1ejecy9.css +1 -0
  26. package/cjs/components/Segment/ui/SegmentGroup/variations/_pilled/base.js +1 -1
  27. package/cjs/components/Segment/ui/SegmentGroup/variations/_pilled/base.js.map +1 -1
  28. package/cjs/components/Segment/ui/SegmentGroup/variations/_pilled/base_pxl3nb.css +1 -0
  29. package/cjs/components/Segment/ui/SegmentGroup/variations/_size/base.js +1 -1
  30. package/cjs/components/Segment/ui/SegmentGroup/variations/_size/base.js.map +1 -1
  31. package/cjs/components/Segment/ui/SegmentGroup/variations/_size/base_18cpjsq.css +1 -0
  32. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.css +6 -4
  33. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.js +14 -9
  34. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.js.map +1 -1
  35. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles.js +30 -1
  36. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles.js.map +1 -1
  37. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles_19oo2vi.css +4 -0
  38. package/cjs/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
  39. package/cjs/components/Segment/ui/SegmentItem/variations/_pilled/base.js.map +1 -1
  40. package/cjs/components/Segment/ui/SegmentItem/variations/_pilled/{base_15s0fel.css → base_omc5u1.css} +1 -1
  41. package/cjs/components/Segment/ui/SegmentItem/variations/_view/base.js +1 -1
  42. package/cjs/components/Segment/ui/SegmentItem/variations/_view/base.js.map +1 -1
  43. package/cjs/components/Segment/ui/SegmentItem/variations/_view/base_dettiq.css +1 -0
  44. package/cjs/components/Slider/Slider.css +39 -19
  45. package/cjs/components/Slider/Slider.js +2 -0
  46. package/cjs/components/Slider/Slider.js.map +1 -1
  47. package/cjs/components/Slider/components/Double/Double.css +39 -19
  48. package/cjs/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +1 -1
  49. package/cjs/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +1 -1
  50. package/cjs/components/TextArea/TextArea.js +109 -18
  51. package/cjs/components/TextArea/TextArea.js.map +1 -1
  52. package/cjs/components/TextArea/TextArea.styles.js +160 -63
  53. package/cjs/components/TextArea/TextArea.styles.js.map +1 -1
  54. package/cjs/components/TextArea/TextArea.styles_mcxlmk.css +17 -0
  55. package/cjs/components/TextArea/TextArea.tokens.js +43 -4
  56. package/cjs/components/TextArea/TextArea.tokens.js.map +1 -1
  57. package/cjs/components/TextArea/hooks/useAutoResize.js +2 -4
  58. package/cjs/components/TextArea/hooks/useAutoResize.js.map +1 -1
  59. package/cjs/components/TextArea/ui/Hint/Hint.css +29 -0
  60. package/cjs/components/TextArea/ui/Hint/Hint.js +53 -0
  61. package/cjs/components/TextArea/ui/Hint/Hint.js.map +1 -0
  62. package/cjs/components/TextArea/variations/_clear/base.js +1 -1
  63. package/cjs/components/TextArea/variations/_clear/base.js.map +1 -1
  64. package/cjs/components/TextArea/variations/_clear/base_1ezvvtt.css +1 -0
  65. package/cjs/components/TextArea/variations/_hint-size/base.js +9 -0
  66. package/cjs/components/TextArea/variations/_hint-size/base.js.map +1 -0
  67. package/cjs/components/TextArea/variations/_hint-size/base_1ipgv90.css +1 -0
  68. package/cjs/components/TextArea/variations/_hint-view/base.js +9 -0
  69. package/cjs/components/TextArea/variations/_hint-view/base.js.map +1 -0
  70. package/cjs/components/TextArea/variations/_hint-view/base_111a0qe.css +1 -0
  71. package/cjs/components/TextArea/variations/_view/base.js +1 -1
  72. package/cjs/components/TextArea/variations/_view/base.js.map +1 -1
  73. package/cjs/components/TextArea/variations/_view/base_1xgrm3x.css +1 -0
  74. package/cjs/components/TextField/TextField.js +98 -9
  75. package/cjs/components/TextField/TextField.js.map +1 -1
  76. package/cjs/components/TextField/TextField.styles.js +76 -23
  77. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  78. package/cjs/components/TextField/TextField.styles_17xt45g.css +21 -0
  79. package/cjs/components/TextField/TextField.tokens.js +40 -1
  80. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  81. package/cjs/components/TextField/ui/Hint/Hint.css +33 -0
  82. package/cjs/components/TextField/ui/Hint/Hint.js +53 -0
  83. package/cjs/components/TextField/ui/Hint/Hint.js.map +1 -0
  84. package/cjs/components/TextField/variations/_clear/base.js +1 -1
  85. package/cjs/components/TextField/variations/_clear/base.js.map +1 -1
  86. package/cjs/components/TextField/variations/_clear/base_1pkwm4m.css +1 -0
  87. package/cjs/components/TextField/variations/_disabled/base.js +1 -1
  88. package/cjs/components/TextField/variations/_disabled/{base_2tv0nz.css → base_4d3opa.css} +1 -1
  89. package/cjs/components/TextField/variations/_hint-size/base.js +9 -0
  90. package/cjs/components/TextField/variations/_hint-size/base.js.map +1 -0
  91. package/cjs/components/TextField/variations/_hint-size/base_1x99605.css +1 -0
  92. package/cjs/components/TextField/variations/_hint-view/base.js +9 -0
  93. package/cjs/components/TextField/variations/_hint-view/base.js.map +1 -0
  94. package/cjs/components/TextField/variations/_hint-view/base_l8etux.css +1 -0
  95. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  96. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
  97. package/cjs/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  98. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  99. package/cjs/components/TextField/variations/_read-only/base.js.map +1 -1
  100. package/cjs/components/TextField/variations/_read-only/base_17ypmu7.css +1 -0
  101. package/cjs/components/TextField/variations/_size/base.js +1 -1
  102. package/cjs/components/TextField/variations/_size/base.js.map +1 -1
  103. package/cjs/components/TextField/variations/_size/base_1xdmaqh.css +1 -0
  104. package/cjs/components/TextField/variations/_view/base.js +1 -1
  105. package/cjs/components/TextField/variations/_view/base.js.map +1 -1
  106. package/cjs/components/TextField/variations/_view/base_qhyte8.css +1 -0
  107. package/cjs/components/TextFieldGroup/TextFieldGroup.css +1 -1
  108. package/cjs/components/TextFieldGroup/variations/_shape/base.js +1 -1
  109. package/cjs/components/TextFieldGroup/variations/_shape/base_52bndd.css +1 -0
  110. package/cjs/components/_Icon/Icon.assets/DisclosureDownWithOffset.js +22 -0
  111. package/cjs/components/_Icon/Icon.assets/DisclosureDownWithOffset.js.map +1 -0
  112. package/cjs/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js +22 -0
  113. package/cjs/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js.map +1 -0
  114. package/cjs/components/_Icon/Icon.assets/DisclosureRightWithOffset.js +22 -0
  115. package/cjs/components/_Icon/Icon.assets/DisclosureRightWithOffset.js.map +1 -0
  116. package/cjs/components/_Icon/Icon.assets/DisclosureUpWithOffset.js +22 -0
  117. package/cjs/components/_Icon/Icon.assets/DisclosureUpWithOffset.js.map +1 -0
  118. package/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +23 -0
  119. package/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js.map +1 -0
  120. package/cjs/components/_Icon/Icons/IconDisclosureDownWithOffset.js +23 -0
  121. package/cjs/components/_Icon/Icons/IconDisclosureDownWithOffset.js.map +1 -0
  122. package/cjs/components/_Icon/Icons/IconDisclosureLeftWithOffset.js +23 -0
  123. package/cjs/components/_Icon/Icons/IconDisclosureLeftWithOffset.js.map +1 -0
  124. package/cjs/components/_Icon/Icons/IconDisclosureRightWithOffset.js +23 -0
  125. package/cjs/components/_Icon/Icons/IconDisclosureRightWithOffset.js.map +1 -0
  126. package/cjs/components/_Icon/Icons/IconDisclosureUpWithOffset.js +23 -0
  127. package/cjs/components/_Icon/Icons/IconDisclosureUpWithOffset.js.map +1 -0
  128. package/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +23 -0
  129. package/cjs/components/_Icon/Icons/IconInfoCircleOutline.js.map +1 -0
  130. package/cjs/index.css +73 -45
  131. package/emotion/cjs/components/Autocomplete/Autocomplete.js +4 -2
  132. package/emotion/cjs/components/Segment/Segment.template-doc.mdx +49 -6
  133. package/emotion/cjs/components/Segment/tokens.js +15 -1
  134. package/emotion/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +174 -85
  135. package/emotion/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +29 -29
  136. package/emotion/cjs/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js +1 -1
  137. package/emotion/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +10 -0
  138. package/emotion/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/tokens.json +1 -0
  139. package/emotion/cjs/components/Segment/ui/SegmentGroup/variations/_pilled/base.js +1 -1
  140. package/emotion/cjs/components/Segment/ui/SegmentGroup/variations/_size/base.js +1 -1
  141. package/emotion/cjs/components/Segment/ui/SegmentItem/SegmentItem.js +14 -9
  142. package/emotion/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles.js +21 -7
  143. package/emotion/cjs/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
  144. package/emotion/cjs/components/Segment/ui/SegmentItem/variations/_view/base.js +2 -1
  145. package/emotion/cjs/components/TextArea/TextArea.js +113 -22
  146. package/emotion/cjs/components/TextArea/TextArea.styles.js +99 -41
  147. package/emotion/cjs/components/TextArea/TextArea.template-doc.mdx +6 -1
  148. package/emotion/cjs/components/TextArea/TextArea.tokens.js +43 -4
  149. package/emotion/cjs/components/TextArea/hooks/useAutoResize.js +2 -4
  150. package/emotion/cjs/components/TextArea/ui/Hint/Hint.js +53 -0
  151. package/emotion/cjs/components/TextArea/ui/Hint/Hint.types.js +5 -0
  152. package/emotion/cjs/components/TextArea/variations/_clear/base.js +1 -1
  153. package/emotion/cjs/components/TextArea/variations/_hint-size/base.js +11 -0
  154. package/emotion/cjs/components/TextArea/variations/_hint-size/tokens.json +21 -0
  155. package/emotion/cjs/components/TextArea/variations/_hint-view/base.js +11 -0
  156. package/emotion/cjs/components/TextArea/variations/_hint-view/tokens.json +5 -0
  157. package/emotion/cjs/components/TextArea/variations/_view/base.js +2 -1
  158. package/emotion/cjs/components/TextField/TextField.js +101 -12
  159. package/emotion/cjs/components/TextField/TextField.styles.js +84 -37
  160. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +6 -1
  161. package/emotion/cjs/components/TextField/TextField.tokens.js +40 -1
  162. package/emotion/cjs/components/TextField/ui/Hint/Hint.js +53 -0
  163. package/emotion/cjs/components/TextField/ui/Hint/Hint.types.js +5 -0
  164. package/emotion/cjs/components/TextField/variations/_clear/base.js +1 -1
  165. package/emotion/cjs/components/TextField/variations/_hint-size/base.js +11 -0
  166. package/emotion/cjs/components/TextField/variations/_hint-size/tokens.json +21 -0
  167. package/emotion/cjs/components/TextField/variations/_hint-view/base.js +11 -0
  168. package/emotion/cjs/components/TextField/variations/_hint-view/tokens.json +5 -0
  169. package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  170. package/emotion/cjs/components/TextField/variations/_read-only/base.js +1 -1
  171. package/emotion/cjs/components/TextField/variations/_size/base.js +1 -1
  172. package/emotion/cjs/components/TextField/variations/_view/base.js +1 -1
  173. package/emotion/cjs/components/_Icon/Icon.assets/DisclosureDownWithOffset.js +21 -0
  174. package/emotion/cjs/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js +21 -0
  175. package/emotion/cjs/components/_Icon/Icon.assets/DisclosureRightWithOffset.js +21 -0
  176. package/emotion/cjs/components/_Icon/Icon.assets/DisclosureUpWithOffset.js +21 -0
  177. package/emotion/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +22 -0
  178. package/emotion/cjs/components/_Icon/Icons/IconDisclosureDownWithOffset.js +22 -0
  179. package/emotion/cjs/components/_Icon/Icons/IconDisclosureLeftWithOffset.js +22 -0
  180. package/emotion/cjs/components/_Icon/Icons/IconDisclosureRightWithOffset.js +22 -0
  181. package/emotion/cjs/components/_Icon/Icons/IconDisclosureUpWithOffset.js +22 -0
  182. package/emotion/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +22 -0
  183. package/emotion/cjs/components/_Icon/index.js +36 -1
  184. package/emotion/cjs/examples/plasma_b2c/components/Segment/Segment.stories.tsx +118 -42
  185. package/emotion/cjs/examples/plasma_b2c/components/Segment/SegmentGroup.config.js +13 -10
  186. package/emotion/cjs/examples/plasma_b2c/components/Segment/SegmentItem.config.js +9 -9
  187. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +19 -10
  188. package/emotion/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +72 -0
  189. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +22 -13
  190. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +73 -1
  191. package/emotion/cjs/examples/plasma_web/components/Segment/Segment.stories.tsx +119 -42
  192. package/emotion/cjs/examples/plasma_web/components/Segment/SegmentGroup.config.js +15 -9
  193. package/emotion/cjs/examples/plasma_web/components/Segment/SegmentItem.config.js +9 -9
  194. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +19 -10
  195. package/emotion/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +72 -0
  196. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +22 -13
  197. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +82 -10
  198. package/emotion/es/components/Autocomplete/Autocomplete.js +4 -2
  199. package/emotion/es/components/Segment/Segment.template-doc.mdx +49 -6
  200. package/emotion/es/components/Segment/tokens.js +15 -1
  201. package/emotion/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +177 -88
  202. package/emotion/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +29 -29
  203. package/emotion/es/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js +1 -1
  204. package/emotion/es/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +4 -0
  205. package/emotion/es/components/Segment/ui/SegmentGroup/variations/_orientation/tokens.json +1 -0
  206. package/emotion/es/components/Segment/ui/SegmentGroup/variations/_pilled/base.js +1 -1
  207. package/emotion/es/components/Segment/ui/SegmentGroup/variations/_size/base.js +1 -1
  208. package/emotion/es/components/Segment/ui/SegmentItem/SegmentItem.js +15 -10
  209. package/emotion/es/components/Segment/ui/SegmentItem/SegmentItem.styles.js +21 -7
  210. package/emotion/es/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
  211. package/emotion/es/components/Segment/ui/SegmentItem/variations/_view/base.js +2 -1
  212. package/emotion/es/components/TextArea/TextArea.js +113 -22
  213. package/emotion/es/components/TextArea/TextArea.styles.js +98 -40
  214. package/emotion/es/components/TextArea/TextArea.template-doc.mdx +6 -1
  215. package/emotion/es/components/TextArea/TextArea.tokens.js +43 -4
  216. package/emotion/es/components/TextArea/hooks/useAutoResize.js +2 -4
  217. package/emotion/es/components/TextArea/ui/Hint/Hint.js +44 -0
  218. package/emotion/es/components/TextArea/ui/Hint/Hint.types.js +1 -0
  219. package/emotion/es/components/TextArea/variations/_clear/base.js +2 -2
  220. package/emotion/es/components/TextArea/variations/_hint-size/base.js +5 -0
  221. package/emotion/es/components/TextArea/variations/_hint-size/tokens.json +21 -0
  222. package/emotion/es/components/TextArea/variations/_hint-view/base.js +5 -0
  223. package/emotion/es/components/TextArea/variations/_hint-view/tokens.json +5 -0
  224. package/emotion/es/components/TextArea/variations/_view/base.js +2 -1
  225. package/emotion/es/components/TextField/TextField.js +100 -11
  226. package/emotion/es/components/TextField/TextField.styles.js +83 -36
  227. package/emotion/es/components/TextField/TextField.template-doc.mdx +6 -1
  228. package/emotion/es/components/TextField/TextField.tokens.js +40 -1
  229. package/emotion/es/components/TextField/ui/Hint/Hint.js +44 -0
  230. package/emotion/es/components/TextField/ui/Hint/Hint.types.js +1 -0
  231. package/emotion/es/components/TextField/variations/_clear/base.js +2 -2
  232. package/emotion/es/components/TextField/variations/_hint-size/base.js +5 -0
  233. package/emotion/es/components/TextField/variations/_hint-size/tokens.json +21 -0
  234. package/emotion/es/components/TextField/variations/_hint-view/base.js +5 -0
  235. package/emotion/es/components/TextField/variations/_hint-view/tokens.json +5 -0
  236. package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
  237. package/emotion/es/components/TextField/variations/_read-only/base.js +2 -2
  238. package/emotion/es/components/TextField/variations/_size/base.js +2 -2
  239. package/emotion/es/components/TextField/variations/_view/base.js +2 -2
  240. package/emotion/es/components/_Icon/Icon.assets/DisclosureDownWithOffset.js +14 -0
  241. package/emotion/es/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js +14 -0
  242. package/emotion/es/components/_Icon/Icon.assets/DisclosureRightWithOffset.js +14 -0
  243. package/emotion/es/components/_Icon/Icon.assets/DisclosureUpWithOffset.js +14 -0
  244. package/emotion/es/components/_Icon/Icon.assets/InfoCircleOutline.js +15 -0
  245. package/emotion/es/components/_Icon/Icons/IconDisclosureDownWithOffset.js +15 -0
  246. package/emotion/es/components/_Icon/Icons/IconDisclosureLeftWithOffset.js +15 -0
  247. package/emotion/es/components/_Icon/Icons/IconDisclosureRightWithOffset.js +15 -0
  248. package/emotion/es/components/_Icon/Icons/IconDisclosureUpWithOffset.js +15 -0
  249. package/emotion/es/components/_Icon/Icons/IconInfoCircleOutline.js +15 -0
  250. package/emotion/es/components/_Icon/index.js +6 -1
  251. package/emotion/es/examples/plasma_b2c/components/Segment/Segment.stories.tsx +118 -42
  252. package/emotion/es/examples/plasma_b2c/components/Segment/SegmentGroup.config.js +13 -10
  253. package/emotion/es/examples/plasma_b2c/components/Segment/SegmentItem.config.js +9 -9
  254. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +19 -10
  255. package/emotion/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +72 -0
  256. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +22 -13
  257. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +73 -1
  258. package/emotion/es/examples/plasma_web/components/Segment/Segment.stories.tsx +119 -42
  259. package/emotion/es/examples/plasma_web/components/Segment/SegmentGroup.config.js +15 -9
  260. package/emotion/es/examples/plasma_web/components/Segment/SegmentItem.config.js +9 -9
  261. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.config.js +19 -10
  262. package/emotion/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +72 -0
  263. package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +22 -13
  264. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +82 -10
  265. package/es/components/Autocomplete/Autocomplete.css +34 -19
  266. package/es/components/Autocomplete/Autocomplete.js +4 -2
  267. package/es/components/Autocomplete/Autocomplete.js.map +1 -1
  268. package/es/components/Calendar/ui/CalendarHeader/CalendarHeader.js +1 -1
  269. package/es/components/Combobox/ComboboxNew/Combobox.css +38 -18
  270. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +38 -18
  271. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +38 -18
  272. package/es/components/DatePicker/RangeDate/RangeDate.css +33 -18
  273. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +33 -18
  274. package/es/components/DatePicker/SingleDate/SingleDate.css +35 -20
  275. package/es/components/Range/Range.css +39 -19
  276. package/es/components/Segment/tokens.js +15 -1
  277. package/es/components/Segment/tokens.js.map +1 -1
  278. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.css +13 -7
  279. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +183 -92
  280. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.js.map +1 -1
  281. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +34 -2
  282. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js.map +1 -1
  283. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles_79d8q2.css +8 -0
  284. package/es/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js +1 -1
  285. package/es/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js.map +1 -1
  286. package/es/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base_a7w5s0.css +1 -0
  287. package/es/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +5 -0
  288. package/es/components/Segment/ui/SegmentGroup/variations/_orientation/base.js.map +1 -0
  289. package/es/components/Segment/ui/SegmentGroup/variations/_orientation/base_1ejecy9.css +1 -0
  290. package/es/components/Segment/ui/SegmentGroup/variations/_pilled/base.js +1 -1
  291. package/es/components/Segment/ui/SegmentGroup/variations/_pilled/base.js.map +1 -1
  292. package/es/components/Segment/ui/SegmentGroup/variations/_pilled/base_pxl3nb.css +1 -0
  293. package/es/components/Segment/ui/SegmentGroup/variations/_size/base.js +1 -1
  294. package/es/components/Segment/ui/SegmentGroup/variations/_size/base.js.map +1 -1
  295. package/es/components/Segment/ui/SegmentGroup/variations/_size/base_18cpjsq.css +1 -0
  296. package/es/components/Segment/ui/SegmentItem/SegmentItem.css +6 -4
  297. package/es/components/Segment/ui/SegmentItem/SegmentItem.js +15 -10
  298. package/es/components/Segment/ui/SegmentItem/SegmentItem.js.map +1 -1
  299. package/es/components/Segment/ui/SegmentItem/SegmentItem.styles.js +29 -2
  300. package/es/components/Segment/ui/SegmentItem/SegmentItem.styles.js.map +1 -1
  301. package/es/components/Segment/ui/SegmentItem/SegmentItem.styles_19oo2vi.css +4 -0
  302. package/es/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
  303. package/es/components/Segment/ui/SegmentItem/variations/_pilled/base.js.map +1 -1
  304. package/es/components/Segment/ui/SegmentItem/variations/_pilled/{base_15s0fel.css → base_omc5u1.css} +1 -1
  305. package/es/components/Segment/ui/SegmentItem/variations/_view/base.js +1 -1
  306. package/es/components/Segment/ui/SegmentItem/variations/_view/base.js.map +1 -1
  307. package/es/components/Segment/ui/SegmentItem/variations/_view/base_dettiq.css +1 -0
  308. package/es/components/Slider/Slider.css +39 -19
  309. package/es/components/Slider/Slider.js +2 -0
  310. package/es/components/Slider/Slider.js.map +1 -1
  311. package/es/components/Slider/components/Double/Double.css +39 -19
  312. package/es/components/Tabs/ui/horizontal/HorizontalTabs/HorizontalTabs.js +1 -1
  313. package/es/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.js +1 -1
  314. package/es/components/TextArea/TextArea.js +113 -22
  315. package/es/components/TextArea/TextArea.js.map +1 -1
  316. package/es/components/TextArea/TextArea.styles.js +155 -64
  317. package/es/components/TextArea/TextArea.styles.js.map +1 -1
  318. package/es/components/TextArea/TextArea.styles_mcxlmk.css +17 -0
  319. package/es/components/TextArea/TextArea.tokens.js +43 -4
  320. package/es/components/TextArea/TextArea.tokens.js.map +1 -1
  321. package/es/components/TextArea/hooks/useAutoResize.js +2 -4
  322. package/es/components/TextArea/hooks/useAutoResize.js.map +1 -1
  323. package/es/components/TextArea/ui/Hint/Hint.css +29 -0
  324. package/es/components/TextArea/ui/Hint/Hint.js +49 -0
  325. package/es/components/TextArea/ui/Hint/Hint.js.map +1 -0
  326. package/es/components/TextArea/variations/_clear/base.js +1 -1
  327. package/es/components/TextArea/variations/_clear/base.js.map +1 -1
  328. package/es/components/TextArea/variations/_clear/base_1ezvvtt.css +1 -0
  329. package/es/components/TextArea/variations/_hint-size/base.js +5 -0
  330. package/es/components/TextArea/variations/_hint-size/base.js.map +1 -0
  331. package/es/components/TextArea/variations/_hint-size/base_1ipgv90.css +1 -0
  332. package/es/components/TextArea/variations/_hint-view/base.js +5 -0
  333. package/es/components/TextArea/variations/_hint-view/base.js.map +1 -0
  334. package/es/components/TextArea/variations/_hint-view/base_111a0qe.css +1 -0
  335. package/es/components/TextArea/variations/_view/base.js +1 -1
  336. package/es/components/TextArea/variations/_view/base.js.map +1 -1
  337. package/es/components/TextArea/variations/_view/base_1xgrm3x.css +1 -0
  338. package/es/components/TextField/TextField.js +99 -10
  339. package/es/components/TextField/TextField.js.map +1 -1
  340. package/es/components/TextField/TextField.styles.js +71 -24
  341. package/es/components/TextField/TextField.styles.js.map +1 -1
  342. package/es/components/TextField/TextField.styles_17xt45g.css +21 -0
  343. package/es/components/TextField/TextField.tokens.js +40 -1
  344. package/es/components/TextField/TextField.tokens.js.map +1 -1
  345. package/es/components/TextField/ui/Hint/Hint.css +33 -0
  346. package/es/components/TextField/ui/Hint/Hint.js +49 -0
  347. package/es/components/TextField/ui/Hint/Hint.js.map +1 -0
  348. package/es/components/TextField/variations/_clear/base.js +1 -1
  349. package/es/components/TextField/variations/_clear/base.js.map +1 -1
  350. package/es/components/TextField/variations/_clear/base_1pkwm4m.css +1 -0
  351. package/es/components/TextField/variations/_disabled/base.js +1 -1
  352. package/es/components/TextField/variations/_disabled/{base_2tv0nz.css → base_4d3opa.css} +1 -1
  353. package/es/components/TextField/variations/_hint-size/base.js +5 -0
  354. package/es/components/TextField/variations/_hint-size/base.js.map +1 -0
  355. package/es/components/TextField/variations/_hint-size/base_1x99605.css +1 -0
  356. package/es/components/TextField/variations/_hint-view/base.js +5 -0
  357. package/es/components/TextField/variations/_hint-view/base.js.map +1 -0
  358. package/es/components/TextField/variations/_hint-view/base_l8etux.css +1 -0
  359. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  360. package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
  361. package/es/components/TextField/variations/_label-placement/base_3domm.css +1 -0
  362. package/es/components/TextField/variations/_read-only/base.js +1 -1
  363. package/es/components/TextField/variations/_read-only/base.js.map +1 -1
  364. package/es/components/TextField/variations/_read-only/base_17ypmu7.css +1 -0
  365. package/es/components/TextField/variations/_size/base.js +1 -1
  366. package/es/components/TextField/variations/_size/base.js.map +1 -1
  367. package/es/components/TextField/variations/_size/base_1xdmaqh.css +1 -0
  368. package/es/components/TextField/variations/_view/base.js +1 -1
  369. package/es/components/TextField/variations/_view/base.js.map +1 -1
  370. package/es/components/TextField/variations/_view/base_qhyte8.css +1 -0
  371. package/es/components/TextFieldGroup/TextFieldGroup.css +1 -1
  372. package/es/components/TextFieldGroup/variations/_shape/base.js +1 -1
  373. package/es/components/TextFieldGroup/variations/_shape/base_52bndd.css +1 -0
  374. package/es/components/_Icon/Icon.assets/DisclosureDownWithOffset.js +18 -0
  375. package/es/components/_Icon/Icon.assets/DisclosureDownWithOffset.js.map +1 -0
  376. package/es/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js +18 -0
  377. package/es/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js.map +1 -0
  378. package/es/components/_Icon/Icon.assets/DisclosureRightWithOffset.js +18 -0
  379. package/es/components/_Icon/Icon.assets/DisclosureRightWithOffset.js.map +1 -0
  380. package/es/components/_Icon/Icon.assets/DisclosureUpWithOffset.js +18 -0
  381. package/es/components/_Icon/Icon.assets/DisclosureUpWithOffset.js.map +1 -0
  382. package/es/components/_Icon/Icon.assets/InfoCircleOutline.js +19 -0
  383. package/es/components/_Icon/Icon.assets/InfoCircleOutline.js.map +1 -0
  384. package/es/components/_Icon/Icons/IconDisclosureDownWithOffset.js +19 -0
  385. package/es/components/_Icon/Icons/IconDisclosureDownWithOffset.js.map +1 -0
  386. package/es/components/_Icon/Icons/IconDisclosureLeftWithOffset.js +19 -0
  387. package/es/components/_Icon/Icons/IconDisclosureLeftWithOffset.js.map +1 -0
  388. package/es/components/_Icon/Icons/IconDisclosureRightWithOffset.js +19 -0
  389. package/es/components/_Icon/Icons/IconDisclosureRightWithOffset.js.map +1 -0
  390. package/es/components/_Icon/Icons/IconDisclosureUpWithOffset.js +19 -0
  391. package/es/components/_Icon/Icons/IconDisclosureUpWithOffset.js.map +1 -0
  392. package/es/components/_Icon/Icons/IconInfoCircleOutline.js +19 -0
  393. package/es/components/_Icon/Icons/IconInfoCircleOutline.js.map +1 -0
  394. package/es/index.css +73 -45
  395. package/package.json +4 -4
  396. package/styled-components/cjs/components/Autocomplete/Autocomplete.js +4 -2
  397. package/styled-components/cjs/components/Segment/Segment.template-doc.mdx +49 -6
  398. package/styled-components/cjs/components/Segment/tokens.js +15 -1
  399. package/styled-components/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.js +174 -85
  400. package/styled-components/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +18 -6
  401. package/styled-components/cjs/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js +1 -1
  402. package/styled-components/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +10 -0
  403. package/styled-components/cjs/components/Segment/ui/SegmentGroup/variations/_orientation/tokens.json +1 -0
  404. package/styled-components/cjs/components/Segment/ui/SegmentGroup/variations/_pilled/base.js +1 -1
  405. package/styled-components/cjs/components/Segment/ui/SegmentGroup/variations/_size/base.js +1 -1
  406. package/styled-components/cjs/components/Segment/ui/SegmentItem/SegmentItem.js +14 -9
  407. package/styled-components/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles.js +17 -5
  408. package/styled-components/cjs/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
  409. package/styled-components/cjs/components/Segment/ui/SegmentItem/variations/_view/base.js +2 -1
  410. package/styled-components/cjs/components/TextArea/TextArea.js +112 -21
  411. package/styled-components/cjs/components/TextArea/TextArea.styles.js +85 -42
  412. package/styled-components/cjs/components/TextArea/TextArea.template-doc.mdx +6 -1
  413. package/styled-components/cjs/components/TextArea/TextArea.tokens.js +43 -4
  414. package/styled-components/cjs/components/TextArea/hooks/useAutoResize.js +2 -4
  415. package/styled-components/cjs/components/TextArea/ui/Hint/Hint.js +53 -0
  416. package/styled-components/cjs/components/TextArea/ui/Hint/Hint.types.js +5 -0
  417. package/styled-components/cjs/components/TextArea/variations/_clear/base.js +1 -1
  418. package/styled-components/cjs/components/TextArea/variations/_hint-size/base.js +11 -0
  419. package/styled-components/cjs/components/TextArea/variations/_hint-size/tokens.json +21 -0
  420. package/styled-components/cjs/components/TextArea/variations/_hint-view/base.js +11 -0
  421. package/styled-components/cjs/components/TextArea/variations/_hint-view/tokens.json +5 -0
  422. package/styled-components/cjs/components/TextArea/variations/_view/base.js +2 -1
  423. package/styled-components/cjs/components/TextField/TextField.js +100 -11
  424. package/styled-components/cjs/components/TextField/TextField.styles.js +46 -21
  425. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +6 -1
  426. package/styled-components/cjs/components/TextField/TextField.tokens.js +40 -1
  427. package/styled-components/cjs/components/TextField/ui/Hint/Hint.js +53 -0
  428. package/styled-components/cjs/components/TextField/ui/Hint/Hint.types.js +5 -0
  429. package/styled-components/cjs/components/TextField/variations/_clear/base.js +1 -1
  430. package/styled-components/cjs/components/TextField/variations/_hint-size/base.js +11 -0
  431. package/styled-components/cjs/components/TextField/variations/_hint-size/tokens.json +21 -0
  432. package/styled-components/cjs/components/TextField/variations/_hint-view/base.js +11 -0
  433. package/styled-components/cjs/components/TextField/variations/_hint-view/tokens.json +5 -0
  434. package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  435. package/styled-components/cjs/components/TextField/variations/_read-only/base.js +1 -1
  436. package/styled-components/cjs/components/TextField/variations/_size/base.js +1 -1
  437. package/styled-components/cjs/components/TextField/variations/_view/base.js +1 -1
  438. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureDownWithOffset.js +21 -0
  439. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js +21 -0
  440. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureRightWithOffset.js +21 -0
  441. package/styled-components/cjs/components/_Icon/Icon.assets/DisclosureUpWithOffset.js +21 -0
  442. package/styled-components/cjs/components/_Icon/Icon.assets/InfoCircleOutline.js +22 -0
  443. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureDownWithOffset.js +22 -0
  444. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureLeftWithOffset.js +22 -0
  445. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureRightWithOffset.js +22 -0
  446. package/styled-components/cjs/components/_Icon/Icons/IconDisclosureUpWithOffset.js +22 -0
  447. package/styled-components/cjs/components/_Icon/Icons/IconInfoCircleOutline.js +22 -0
  448. package/styled-components/cjs/components/_Icon/index.js +36 -1
  449. package/styled-components/cjs/examples/plasma_b2c/components/Segment/Segment.stories.tsx +118 -42
  450. package/styled-components/cjs/examples/plasma_b2c/components/Segment/SegmentGroup.config.js +11 -8
  451. package/styled-components/cjs/examples/plasma_b2c/components/Segment/SegmentItem.config.js +8 -8
  452. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.config.js +18 -9
  453. package/styled-components/cjs/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +72 -0
  454. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +18 -9
  455. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +73 -1
  456. package/styled-components/cjs/examples/plasma_web/components/Segment/Segment.stories.tsx +119 -42
  457. package/styled-components/cjs/examples/plasma_web/components/Segment/SegmentGroup.config.js +14 -8
  458. package/styled-components/cjs/examples/plasma_web/components/Segment/SegmentItem.config.js +8 -8
  459. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.config.js +18 -9
  460. package/styled-components/cjs/examples/plasma_web/components/TextArea/TextArea.stories.tsx +72 -0
  461. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +18 -9
  462. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +82 -10
  463. package/styled-components/es/components/Autocomplete/Autocomplete.js +4 -2
  464. package/styled-components/es/components/Segment/Segment.template-doc.mdx +49 -6
  465. package/styled-components/es/components/Segment/tokens.js +15 -1
  466. package/styled-components/es/components/Segment/ui/SegmentGroup/SegmentGroup.js +177 -88
  467. package/styled-components/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles.js +18 -6
  468. package/styled-components/es/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.js +1 -1
  469. package/styled-components/es/components/Segment/ui/SegmentGroup/variations/_orientation/base.js +4 -0
  470. package/styled-components/es/components/Segment/ui/SegmentGroup/variations/_orientation/tokens.json +1 -0
  471. package/styled-components/es/components/Segment/ui/SegmentGroup/variations/_pilled/base.js +1 -1
  472. package/styled-components/es/components/Segment/ui/SegmentGroup/variations/_size/base.js +1 -1
  473. package/styled-components/es/components/Segment/ui/SegmentItem/SegmentItem.js +15 -10
  474. package/styled-components/es/components/Segment/ui/SegmentItem/SegmentItem.styles.js +17 -5
  475. package/styled-components/es/components/Segment/ui/SegmentItem/variations/_pilled/base.js +1 -1
  476. package/styled-components/es/components/Segment/ui/SegmentItem/variations/_view/base.js +2 -1
  477. package/styled-components/es/components/TextArea/TextArea.js +112 -21
  478. package/styled-components/es/components/TextArea/TextArea.styles.js +84 -41
  479. package/styled-components/es/components/TextArea/TextArea.template-doc.mdx +6 -1
  480. package/styled-components/es/components/TextArea/TextArea.tokens.js +43 -4
  481. package/styled-components/es/components/TextArea/hooks/useAutoResize.js +2 -4
  482. package/styled-components/es/components/TextArea/ui/Hint/Hint.js +44 -0
  483. package/styled-components/es/components/TextArea/ui/Hint/Hint.types.js +1 -0
  484. package/styled-components/es/components/TextArea/variations/_clear/base.js +2 -2
  485. package/styled-components/es/components/TextArea/variations/_hint-size/base.js +5 -0
  486. package/styled-components/es/components/TextArea/variations/_hint-size/tokens.json +21 -0
  487. package/styled-components/es/components/TextArea/variations/_hint-view/base.js +5 -0
  488. package/styled-components/es/components/TextArea/variations/_hint-view/tokens.json +5 -0
  489. package/styled-components/es/components/TextArea/variations/_view/base.js +2 -1
  490. package/styled-components/es/components/TextField/TextField.js +99 -10
  491. package/styled-components/es/components/TextField/TextField.styles.js +45 -20
  492. package/styled-components/es/components/TextField/TextField.template-doc.mdx +6 -1
  493. package/styled-components/es/components/TextField/TextField.tokens.js +40 -1
  494. package/styled-components/es/components/TextField/ui/Hint/Hint.js +44 -0
  495. package/styled-components/es/components/TextField/ui/Hint/Hint.types.js +1 -0
  496. package/styled-components/es/components/TextField/variations/_clear/base.js +2 -2
  497. package/styled-components/es/components/TextField/variations/_hint-size/base.js +5 -0
  498. package/styled-components/es/components/TextField/variations/_hint-size/tokens.json +21 -0
  499. package/styled-components/es/components/TextField/variations/_hint-view/base.js +5 -0
  500. package/styled-components/es/components/TextField/variations/_hint-view/tokens.json +5 -0
  501. package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
  502. package/styled-components/es/components/TextField/variations/_read-only/base.js +2 -2
  503. package/styled-components/es/components/TextField/variations/_size/base.js +2 -2
  504. package/styled-components/es/components/TextField/variations/_view/base.js +2 -2
  505. package/styled-components/es/components/_Icon/Icon.assets/DisclosureDownWithOffset.js +14 -0
  506. package/styled-components/es/components/_Icon/Icon.assets/DisclosureLeftWithOffset.js +14 -0
  507. package/styled-components/es/components/_Icon/Icon.assets/DisclosureRightWithOffset.js +14 -0
  508. package/styled-components/es/components/_Icon/Icon.assets/DisclosureUpWithOffset.js +14 -0
  509. package/styled-components/es/components/_Icon/Icon.assets/InfoCircleOutline.js +15 -0
  510. package/styled-components/es/components/_Icon/Icons/IconDisclosureDownWithOffset.js +15 -0
  511. package/styled-components/es/components/_Icon/Icons/IconDisclosureLeftWithOffset.js +15 -0
  512. package/styled-components/es/components/_Icon/Icons/IconDisclosureRightWithOffset.js +15 -0
  513. package/styled-components/es/components/_Icon/Icons/IconDisclosureUpWithOffset.js +15 -0
  514. package/styled-components/es/components/_Icon/Icons/IconInfoCircleOutline.js +15 -0
  515. package/styled-components/es/components/_Icon/index.js +6 -1
  516. package/styled-components/es/examples/plasma_b2c/components/Segment/Segment.stories.tsx +118 -42
  517. package/styled-components/es/examples/plasma_b2c/components/Segment/SegmentGroup.config.js +11 -8
  518. package/styled-components/es/examples/plasma_b2c/components/Segment/SegmentItem.config.js +8 -8
  519. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.config.js +18 -9
  520. package/styled-components/es/examples/plasma_b2c/components/TextArea/TextArea.stories.tsx +72 -0
  521. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +18 -9
  522. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +73 -1
  523. package/styled-components/es/examples/plasma_web/components/Segment/Segment.stories.tsx +119 -42
  524. package/styled-components/es/examples/plasma_web/components/Segment/SegmentGroup.config.js +14 -8
  525. package/styled-components/es/examples/plasma_web/components/Segment/SegmentItem.config.js +8 -8
  526. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.config.js +18 -9
  527. package/styled-components/es/examples/plasma_web/components/TextArea/TextArea.stories.tsx +72 -0
  528. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +18 -9
  529. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +82 -10
  530. package/types/components/Autocomplete/Autocomplete.d.ts.map +1 -1
  531. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +408 -0
  532. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  533. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +408 -0
  534. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  535. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +408 -0
  536. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  537. package/types/components/Range/Range.styles.d.ts +408 -0
  538. package/types/components/Range/Range.styles.d.ts.map +1 -1
  539. package/types/components/Segment/tokens.d.ts +14 -0
  540. package/types/components/Segment/tokens.d.ts.map +1 -1
  541. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.d.ts +6 -18
  542. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.d.ts.map +1 -1
  543. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.styles.d.ts +12 -0
  544. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.styles.d.ts.map +1 -1
  545. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.types.d.ts +20 -3
  546. package/types/components/Segment/ui/SegmentGroup/SegmentGroup.types.d.ts.map +1 -1
  547. package/types/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base.d.ts.map +1 -1
  548. package/types/components/Segment/ui/SegmentGroup/variations/_orientation/base.d.ts +2 -0
  549. package/types/components/Segment/ui/SegmentGroup/variations/_orientation/base.d.ts.map +1 -0
  550. package/types/components/Segment/ui/SegmentGroup/variations/_pilled/base.d.ts.map +1 -1
  551. package/types/components/Segment/ui/SegmentGroup/variations/_size/base.d.ts.map +1 -1
  552. package/types/components/Segment/ui/SegmentItem/SegmentItem.d.ts +4 -0
  553. package/types/components/Segment/ui/SegmentItem/SegmentItem.d.ts.map +1 -1
  554. package/types/components/Segment/ui/SegmentItem/SegmentItem.styles.d.ts +7 -1
  555. package/types/components/Segment/ui/SegmentItem/SegmentItem.styles.d.ts.map +1 -1
  556. package/types/components/Segment/ui/SegmentItem/SegmentItem.types.d.ts +9 -0
  557. package/types/components/Segment/ui/SegmentItem/SegmentItem.types.d.ts.map +1 -1
  558. package/types/components/Segment/ui/SegmentItem/variations/_pilled/base.d.ts.map +1 -1
  559. package/types/components/Segment/ui/SegmentItem/variations/_view/base.d.ts.map +1 -1
  560. package/types/components/Slider/components/Double/Double.styles.d.ts +408 -0
  561. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  562. package/types/components/TextArea/TextArea.d.ts +9 -3
  563. package/types/components/TextArea/TextArea.d.ts.map +1 -1
  564. package/types/components/TextArea/TextArea.styles.d.ts +11 -1
  565. package/types/components/TextArea/TextArea.styles.d.ts.map +1 -1
  566. package/types/components/TextArea/TextArea.tokens.d.ts +39 -0
  567. package/types/components/TextArea/TextArea.tokens.d.ts.map +1 -1
  568. package/types/components/TextArea/TextArea.types.d.ts +78 -3
  569. package/types/components/TextArea/TextArea.types.d.ts.map +1 -1
  570. package/types/components/TextArea/hooks/useAutoResize.d.ts.map +1 -1
  571. package/types/components/TextArea/ui/Hint/Hint.d.ts +4 -0
  572. package/types/components/TextArea/ui/Hint/Hint.d.ts.map +1 -0
  573. package/types/components/TextArea/ui/Hint/Hint.types.d.ts +17 -0
  574. package/types/components/TextArea/ui/Hint/Hint.types.d.ts.map +1 -0
  575. package/types/components/TextArea/variations/_clear/base.d.ts.map +1 -1
  576. package/types/components/TextArea/variations/_hint-size/base.d.ts +2 -0
  577. package/types/components/TextArea/variations/_hint-size/base.d.ts.map +1 -0
  578. package/types/components/TextArea/variations/_hint-view/base.d.ts +2 -0
  579. package/types/components/TextArea/variations/_hint-view/base.d.ts.map +1 -0
  580. package/types/components/TextArea/variations/_view/base.d.ts.map +1 -1
  581. package/types/components/TextField/TextField.d.ts +9 -3
  582. package/types/components/TextField/TextField.d.ts.map +1 -1
  583. package/types/components/TextField/TextField.styles.d.ts +8 -0
  584. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  585. package/types/components/TextField/TextField.tokens.d.ts +39 -0
  586. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  587. package/types/components/TextField/TextField.types.d.ts +73 -2
  588. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  589. package/types/components/TextField/ui/Hint/Hint.d.ts +4 -0
  590. package/types/components/TextField/ui/Hint/Hint.d.ts.map +1 -0
  591. package/types/components/TextField/ui/Hint/Hint.types.d.ts +17 -0
  592. package/types/components/TextField/ui/Hint/Hint.types.d.ts.map +1 -0
  593. package/types/components/TextField/variations/_clear/base.d.ts.map +1 -1
  594. package/types/components/TextField/variations/_hint-size/base.d.ts +2 -0
  595. package/types/components/TextField/variations/_hint-size/base.d.ts.map +1 -0
  596. package/types/components/TextField/variations/_hint-view/base.d.ts +2 -0
  597. package/types/components/TextField/variations/_hint-view/base.d.ts.map +1 -0
  598. package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -1
  599. package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -1
  600. package/types/components/TextField/variations/_size/base.d.ts.map +1 -1
  601. package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
  602. package/types/components/_Icon/Icon.assets/DisclosureDownWithOffset.d.ts +4 -0
  603. package/types/components/_Icon/Icon.assets/DisclosureDownWithOffset.d.ts.map +1 -0
  604. package/types/components/_Icon/Icon.assets/DisclosureLeftWithOffset.d.ts +4 -0
  605. package/types/components/_Icon/Icon.assets/DisclosureLeftWithOffset.d.ts.map +1 -0
  606. package/types/components/_Icon/Icon.assets/DisclosureRightWithOffset.d.ts +4 -0
  607. package/types/components/_Icon/Icon.assets/DisclosureRightWithOffset.d.ts.map +1 -0
  608. package/types/components/_Icon/Icon.assets/DisclosureUpWithOffset.d.ts +4 -0
  609. package/types/components/_Icon/Icon.assets/DisclosureUpWithOffset.d.ts.map +1 -0
  610. package/types/components/_Icon/Icon.assets/InfoCircleOutline.d.ts +4 -0
  611. package/types/components/_Icon/Icon.assets/InfoCircleOutline.d.ts.map +1 -0
  612. package/types/components/_Icon/Icons/IconDisclosureDownWithOffset.d.ts +4 -0
  613. package/types/components/_Icon/Icons/IconDisclosureDownWithOffset.d.ts.map +1 -0
  614. package/types/components/_Icon/Icons/IconDisclosureLeftWithOffset.d.ts +4 -0
  615. package/types/components/_Icon/Icons/IconDisclosureLeftWithOffset.d.ts.map +1 -0
  616. package/types/components/_Icon/Icons/IconDisclosureRightWithOffset.d.ts +4 -0
  617. package/types/components/_Icon/Icons/IconDisclosureRightWithOffset.d.ts.map +1 -0
  618. package/types/components/_Icon/Icons/IconDisclosureUpWithOffset.d.ts +4 -0
  619. package/types/components/_Icon/Icons/IconDisclosureUpWithOffset.d.ts.map +1 -0
  620. package/types/components/_Icon/Icons/IconInfoCircleOutline.d.ts +4 -0
  621. package/types/components/_Icon/Icons/IconInfoCircleOutline.d.ts.map +1 -0
  622. package/types/components/_Icon/index.d.ts +5 -0
  623. package/types/components/_Icon/index.d.ts.map +1 -1
  624. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +772 -12
  625. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  626. package/types/examples/plasma_b2c/components/Segment/Segment.d.ts +6 -9
  627. package/types/examples/plasma_b2c/components/Segment/Segment.d.ts.map +1 -1
  628. package/types/examples/plasma_b2c/components/Segment/SegmentGroup.config.d.ts +3 -0
  629. package/types/examples/plasma_b2c/components/Segment/SegmentGroup.config.d.ts.map +1 -1
  630. package/types/examples/plasma_b2c/components/Segment/SegmentItem.config.d.ts.map +1 -1
  631. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts +9 -0
  632. package/types/examples/plasma_b2c/components/TextArea/TextArea.config.d.ts.map +1 -1
  633. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts +457 -0
  634. package/types/examples/plasma_b2c/components/TextArea/TextArea.d.ts.map +1 -1
  635. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +9 -0
  636. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  637. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +417 -0
  638. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  639. package/types/examples/plasma_web/components/Mask/Mask.d.ts +772 -12
  640. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  641. package/types/examples/plasma_web/components/Segment/Segment.d.ts +9 -9
  642. package/types/examples/plasma_web/components/Segment/Segment.d.ts.map +1 -1
  643. package/types/examples/plasma_web/components/Segment/SegmentGroup.config.d.ts +6 -0
  644. package/types/examples/plasma_web/components/Segment/SegmentGroup.config.d.ts.map +1 -1
  645. package/types/examples/plasma_web/components/Segment/SegmentItem.config.d.ts.map +1 -1
  646. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts +9 -0
  647. package/types/examples/plasma_web/components/TextArea/TextArea.config.d.ts.map +1 -1
  648. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts +457 -0
  649. package/types/examples/plasma_web/components/TextArea/TextArea.d.ts.map +1 -1
  650. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +9 -0
  651. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
  652. package/types/examples/plasma_web/components/TextField/TextField.d.ts +417 -0
  653. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  654. package/cjs/components/Segment/ui/SegmentGroup/SegmentGroup.styles_m9i9p0.css +0 -4
  655. package/cjs/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base_escgtx.css +0 -1
  656. package/cjs/components/Segment/ui/SegmentGroup/variations/_pilled/base_fqbatz.css +0 -1
  657. package/cjs/components/Segment/ui/SegmentGroup/variations/_size/base_m358nl.css +0 -1
  658. package/cjs/components/Segment/ui/SegmentItem/SegmentItem.styles_18h1p52.css +0 -2
  659. package/cjs/components/Segment/ui/SegmentItem/variations/_view/base_1m1u2ys.css +0 -1
  660. package/cjs/components/TextArea/TextArea.styles_es0miz.css +0 -11
  661. package/cjs/components/TextArea/variations/_clear/base_vidplj.css +0 -1
  662. package/cjs/components/TextArea/variations/_view/base_td55th.css +0 -1
  663. package/cjs/components/TextField/TextField.styles_1d2ryq.css +0 -15
  664. package/cjs/components/TextField/variations/_clear/base_rit6gc.css +0 -1
  665. package/cjs/components/TextField/variations/_label-placement/base_1ghihns.css +0 -1
  666. package/cjs/components/TextField/variations/_read-only/base_1n7tghz.css +0 -1
  667. package/cjs/components/TextField/variations/_size/base_1h8l0kj.css +0 -1
  668. package/cjs/components/TextField/variations/_view/base_1noe46b.css +0 -1
  669. package/cjs/components/TextFieldGroup/variations/_shape/base_1e0je21.css +0 -1
  670. package/es/components/Segment/ui/SegmentGroup/SegmentGroup.styles_m9i9p0.css +0 -4
  671. package/es/components/Segment/ui/SegmentGroup/variations/_filledBackgound/base_escgtx.css +0 -1
  672. package/es/components/Segment/ui/SegmentGroup/variations/_pilled/base_fqbatz.css +0 -1
  673. package/es/components/Segment/ui/SegmentGroup/variations/_size/base_m358nl.css +0 -1
  674. package/es/components/Segment/ui/SegmentItem/SegmentItem.styles_18h1p52.css +0 -2
  675. package/es/components/Segment/ui/SegmentItem/variations/_view/base_1m1u2ys.css +0 -1
  676. package/es/components/TextArea/TextArea.styles_es0miz.css +0 -11
  677. package/es/components/TextArea/variations/_clear/base_vidplj.css +0 -1
  678. package/es/components/TextArea/variations/_view/base_td55th.css +0 -1
  679. package/es/components/TextField/TextField.styles_1d2ryq.css +0 -15
  680. package/es/components/TextField/variations/_clear/base_rit6gc.css +0 -1
  681. package/es/components/TextField/variations/_label-placement/base_1ghihns.css +0 -1
  682. package/es/components/TextField/variations/_read-only/base_1n7tghz.css +0 -1
  683. package/es/components/TextField/variations/_size/base_1h8l0kj.css +0 -1
  684. package/es/components/TextField/variations/_view/base_1noe46b.css +0 -1
  685. package/es/components/TextFieldGroup/variations/_shape/base_1e0je21.css +0 -1
@@ -134,7 +134,8 @@ export function App() {
134
134
  ```
135
135
 
136
136
  ### Подсказка
137
- Для вывода подсказки снизу от поля используйте свойство `leftHelper` и/или `rightHelper`.
137
+ Для вывода подсказки снизу от поля используйте свойство `leftHelper` и/или `rightHelper`,
138
+ для подсказки в виде Tooltip - `hasHint`, для подсказки сверху справа - `titleCaption`:
138
139
 
139
140
  ```tsx live
140
141
  import React from 'react';
@@ -148,6 +149,10 @@ export function App() {
148
149
  defaultValue="Значение"
149
150
  leftHelper="Подсказка снизу слева"
150
151
  rightHelper="Подсказка снизу справа"
152
+ hasHint
153
+ hintText="Подсказка в виде Tooltip"
154
+ hintView="default"
155
+ hintSize="m"
151
156
  />
152
157
  </div>
153
158
  );
@@ -19,6 +19,7 @@ export var classes = {
19
19
  outerLabelPlacement: 'label-placement-outer',
20
20
  /** Класс для view `clear` */
21
21
  clear: 'textarea-clear',
22
+ hasHint: 'textarea-has-hint',
22
23
  hasRightContent: 'textarea-has-right-content',
23
24
  hasDivider: 'textarea-has-divider'
24
25
  };
@@ -185,6 +186,7 @@ export var tokens = {
185
186
  indicatorLabelPlacementOuterRight: '--plasma-textarea-indicator-placement-outer-right',
186
187
  clearIndicatorLabelPlacementInner: '--plasma-textarea__clear-indicator-placement-inner',
187
188
  clearIndicatorLabelPlacementInnerRight: '--plasma-textarea__clear-indicator-placement-inner-right',
189
+ clearIndicatorHintInnerRight: '--plasma-textarea__clear-indicator-hint-placement-inner-right',
188
190
  scrollbarWidth: '--plasma-textarea-scrollbar-width',
189
191
  scrollbarBorderWidth: '--plasma-textarea-scrollbar-border-width',
190
192
  scrollbarThumbBackgroundColor: '--plasma-textarea-scrollbar-thumb-background-color',
@@ -193,8 +195,45 @@ export var tokens = {
193
195
  scrollbarTrackBackgroundColor: '--plasma-textarea-scrollbar-track-background-color',
194
196
  scrollbarTrackBackgroundColorHover: '--plasma-textarea-scrollbar-track-background-color-hover',
195
197
  scrollbarTrackBackgroundColorActive: '--plasma-textarea-scrollbar-track-background-color-active',
196
- dividerColor: '--plasma-textfield-divider-color',
197
- dividerColorHover: '--plasma-textfield-divider-color-hover',
198
- dividerColorFocus: '--plasma-textfield-divider-color-focus',
199
- dividerColorReadOnly: '--plasma-textfield-divider-color-readonly'
198
+ dividerColor: '--plasma-textarea-divider-color',
199
+ dividerColorHover: '--plasma-textarea-divider-color-hover',
200
+ dividerColorFocus: '--plasma-textarea-divider-color-focus',
201
+ dividerColorReadOnly: '--plasma-textarea-divider-color-readonly',
202
+ titleCaptionColor: '--plasma-textarea__title-caption-color',
203
+ titleCaptionColorReadOnly: '--plasma-textarea__title-caption-color-readonly',
204
+ titleCaptionInnerLabelOffset: '--plasma-textarea__title-caption-label-inner-offset',
205
+ titleCaptionFontFamily: '--plasma-textarea__title-caption-font-family',
206
+ titleCaptionFontStyle: '--plasma-textarea__title-caption-font-style',
207
+ titleCaptionFontSize: '--plasma-textarea__title-caption-font-size',
208
+ titleCaptionFontWeight: '--plasma-textarea__title-caption-font-weight',
209
+ titleCaptionLetterSpacing: '--plasma-textarea__title-caption-letter-spacing',
210
+ titleCaptionLineHeight: '--plasma-textarea__title-caption-line-height',
211
+ /** Токены для tooltip */
212
+ hintMargin: '--plasma-textarea__hint-margin',
213
+ hintTargetSize: '--plasma-textarea__hint-target-size',
214
+ hintIconColor: '--plasma-textarea__hint-icon-color',
215
+ hintInnerLabelPlacementOffset: '--plasma-textarea__hint-inner-label-placement-offset',
216
+ clearHintInnerLabelPlacementOffset: '--plasma-textarea__clear-hint-inner-label-placement-offset',
217
+ tooltipBackgroundColor: '--plasma-textarea__tooltip-background-color',
218
+ tooltipBoxShadow: '--plasma-textarea__tooltip-box-shadow',
219
+ tooltipColor: '--plasma-textarea__tooltip-color',
220
+ tooltipPaddingTop: '--plasma-textarea__tooltip-padding-top',
221
+ tooltipPaddingRight: '--plasma-textarea__tooltip-padding-right',
222
+ tooltipPaddingBottom: '--plasma-textarea__tooltip-padding-bottom',
223
+ tooltipPaddingLeft: '--plasma-textarea__tooltip-padding-left',
224
+ tooltipMinHeight: '--plasma-textarea__tooltip-min-height',
225
+ tooltipBorderRadius: '--plasma-textarea__tooltip-border-radius',
226
+ tooltipTextFontFamily: '--plasma-textarea__tooltip-text-font-family',
227
+ tooltipTextFontSize: '--plasma-textarea__tooltip-text-font-size',
228
+ tooltipTextFontStyle: '--plasma-textarea__tooltip-text-font-style',
229
+ tooltipTextFontWeight: '--plasma-textarea__tooltip-text-font-weight',
230
+ tooltipTextFontLetterSpacing: '--plasma-textarea__tooltip-text-font-letter-spacing',
231
+ tooltipTextFontLineHeight: '--plasma-textarea__tooltip-text-font-line-height',
232
+ tooltipContentLeftMargin: '--plasma-textarea__tooltip-content-left-margin',
233
+ tooltipArrowMaskWidth: '--plasma-textarea__tooltip-arrow-mask-width',
234
+ tooltipArrowMaskHeight: '--plasma-textarea__tooltip-arrow-mask-height',
235
+ tooltipArrowMaskImage: '--plasma-textarea__tooltip-arrow-mask-image',
236
+ tooltipArrowHeight: '--plasma-textarea__tooltip-arrow-height',
237
+ tooltipArrowEdgeMargin: '--plasma-textarea__tooltip-arrow-edge-margin',
238
+ tooltipArrowBackground: '--plasma-textarea__tooltip-arrow-background'
200
239
  };
@@ -1,14 +1,12 @@
1
1
  import { useEffect, useRef } from 'react';
2
2
  export var ROOT_FONT_SIZE = 16;
3
3
  export var useAutoResize = function useAutoResize(active, ref, value, minAuto, maxAuto) {
4
- var isManualResize = useRef(false);
5
4
  var previousHeight = useRef();
6
5
  useEffect(function () {
7
- if (active && ref && ref.current && !isManualResize.current) {
6
+ if (active && ref && ref.current) {
8
7
  // проверка на пользовательский resize (вручную)
9
8
  var height = ref.current.clientHeight / ROOT_FONT_SIZE;
10
9
  if (previousHeight.current !== undefined && previousHeight.current !== height) {
11
- isManualResize.current = true;
12
10
  return;
13
11
  }
14
12
  var style = getComputedStyle(ref.current);
@@ -23,5 +21,5 @@ export var useAutoResize = function useAutoResize(active, ref, value, minAuto, m
23
21
  ref.current.style.height = "".concat(newHeight, "rem");
24
22
  previousHeight.current = newHeight;
25
23
  }
26
- }, [ref, active, value]);
24
+ }, [ref, active, value, minAuto, maxAuto]);
27
25
  };
@@ -0,0 +1,44 @@
1
+ var _IconInfoCircleOutlin;
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
+ import React, { forwardRef } from 'react';
4
+ import { Hint, HintTargetWrapper } from '../../TextArea.styles';
5
+ import { IconInfoCircleOutline } from '../../../_Icon';
6
+ import { safeUseId } from '../../../../utils';
7
+ export var HintComponent = /*#__PURE__*/forwardRef(function (_ref, ref) {
8
+ var hintText = _ref.hintText,
9
+ isHintVisible = _ref.isHintVisible,
10
+ hintTrigger = _ref.hintTrigger,
11
+ hintTargetIcon = _ref.hintTargetIcon,
12
+ hintPlacement = _ref.hintPlacement,
13
+ hintHasArrow = _ref.hintHasArrow,
14
+ hintOffset = _ref.hintOffset,
15
+ hintWidth = _ref.hintWidth,
16
+ hintContentLeft = _ref.hintContentLeft,
17
+ handleHintShow = _ref.handleHintShow,
18
+ handleHintHide = _ref.handleHintHide,
19
+ handleHintClick = _ref.handleHintClick;
20
+ var hintId = safeUseId();
21
+ return /*#__PURE__*/React.createElement(Hint, {
22
+ ref: ref,
23
+ text: String(hintText),
24
+ opened: isHintVisible,
25
+ target: /*#__PURE__*/React.createElement(HintTargetWrapper, _extends({
26
+ id: hintId
27
+ }, hintTrigger === 'hover' ? {
28
+ onMouseEnter: handleHintShow,
29
+ onMouseLeave: handleHintHide
30
+ } : {
31
+ onClick: handleHintClick
32
+ }), hintTargetIcon || _IconInfoCircleOutlin || (_IconInfoCircleOutlin = /*#__PURE__*/React.createElement(IconInfoCircleOutline, {
33
+ size: "xs",
34
+ color: "inherit"
35
+ }))),
36
+ placement: hintPlacement,
37
+ hasArrow: hintHasArrow,
38
+ offset: hintOffset,
39
+ minWidth: hintWidth,
40
+ maxWidth: hintWidth,
41
+ contentLeft: hintContentLeft,
42
+ frame: hintId
43
+ });
44
+ });
@@ -1,4 +1,4 @@
1
1
  import { css } from '@emotion/react';
2
2
  import { classes, tokens } from '../../TextArea.tokens';
3
- import { StyledContainer, StyledContent, StyledHelpers, StyledIndicator, StyledLabel, StyledPlaceholder, StyledTextArea, StyledTextAreaWrapper } from '../../TextArea.styles';
4
- export var base = /*#__PURE__*/css("&.", classes.clear, "{border:unset;", StyledTextAreaWrapper, "{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(", tokens.inputPaddingTop, ");}", StyledLabel, "{margin-bottom:var(", tokens.clearLabelMarginBottom, ");}", StyledContent, "{right:0;bottom:unset;}", StyledTextArea, ",", StyledHelpers, "{padding-left:0;}", StyledHelpers, "{background-color:unset;border-radius:0;padding-top:var(", tokens.clearHelpersPaddingTop, ");padding-right:0;}", StyledTextArea, "{color:var(", tokens.clearInputColor, ");padding-right:0;&.", classes.hasRightContent, "{padding-right:var(", tokens.clearInputPaddingRightWithRightContent, ");}}", StyledContainer, "{&:not(.", classes.innerPlaceholderUp, "){", StyledPlaceholder, "{color:var(", tokens.clearPlaceholderColor, ");}&.", classes.focusedOuterPlaceholderColor, " ", StyledPlaceholder, "{color:var(", tokens.clearPlaceholderColorFocus, ");}}&.", classes.innerPlaceholderUp, "{color:var(", tokens.placeholderColor, ");}}", StyledPlaceholder, "{padding-left:0;}", StyledIndicator, "{&.", classes.innerLabelPlacement, "{inset:var(", tokens.clearIndicatorLabelPlacementInner, ");&.align-right{inset:var(", tokens.clearIndicatorLabelPlacementInnerRight, ");}}}.", classes.styledContainer, "{border:unset;border-radius:0;}&:focus-within:not([readonly]) .", classes.styledTextAreaWrapper, "{background-color:unset;box-shadow:unset;}&:focus-within:not([readonly]) .", classes.styledContainer, "{border:unset;}&:focus-within:not([readonly]) .", classes.styledHelpers, "{background-color:unset;}&.", classes.hasDivider, "{", StyledTextAreaWrapper, "{position:relative;--plasma_private-textarea-divider-color:var(", /*#__PURE__*/String(tokens.dividerColor), ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", StyledTextAreaWrapper, ":hover{--plasma_private-textarea-divider-color:var(\n ", tokens.dividerColorHover, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}&:not([readonly]) ", StyledTextAreaWrapper, ":focus-within{--plasma_private-textarea-divider-color:var(\n ", tokens.dividerColorFocus, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEFyZWEvdmFyaWF0aW9ucy9fY2xlYXIvYmFzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFjdUIiLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vLi4vc3JjLWVtb3Rpb24vY29tcG9uZW50cy9UZXh0QXJlYS92YXJpYXRpb25zL19jbGVhci9iYXNlLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuXG5pbXBvcnQgeyBjbGFzc2VzLCB0b2tlbnMgfSBmcm9tICcuLi8uLi9UZXh0QXJlYS50b2tlbnMnO1xuaW1wb3J0IHtcbiAgICBTdHlsZWRDb250YWluZXIsXG4gICAgU3R5bGVkQ29udGVudCxcbiAgICBTdHlsZWRIZWxwZXJzLFxuICAgIFN0eWxlZEluZGljYXRvcixcbiAgICBTdHlsZWRMYWJlbCxcbiAgICBTdHlsZWRQbGFjZWhvbGRlcixcbiAgICBTdHlsZWRUZXh0QXJlYSxcbiAgICBTdHlsZWRUZXh0QXJlYVdyYXBwZXIsXG59IGZyb20gJy4uLy4uL1RleHRBcmVhLnN0eWxlcyc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgICYuJHtjbGFzc2VzLmNsZWFyfSB7XG4gICAgICAgIGJvcmRlcjogdW5zZXQ7XG5cbiAgICAgICAgJHtTdHlsZWRUZXh0QXJlYVdyYXBwZXJ9IHtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IHVuc2V0O1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy1ib3R0b206IHZhcigke3Rva2Vucy5pbnB1dFBhZGRpbmdUb3B9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkTGFiZWx9IHtcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5jbGVhckxhYmVsTWFyZ2luQm90dG9tfSk7XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZENvbnRlbnR9IHtcbiAgICAgICAgICAgIHJpZ2h0OiAwO1xuICAgICAgICAgICAgYm90dG9tOiB1bnNldDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkVGV4dEFyZWF9LCAke1N0eWxlZEhlbHBlcnN9IHtcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkSGVscGVyc30ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy10b3A6IHZhcigke3Rva2Vucy5jbGVhckhlbHBlcnNQYWRkaW5nVG9wfSk7XG4gICAgICAgICAgICBwYWRkaW5nLXJpZ2h0OiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRUZXh0QXJlYX0ge1xuICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jbGVhcklucHV0Q29sb3J9KTtcbiAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IDA7XG5cbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmhhc1JpZ2h0Q29udGVudH0ge1xuICAgICAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IHZhcigke3Rva2Vucy5jbGVhcklucHV0UGFkZGluZ1JpZ2h0V2l0aFJpZ2h0Q29udGVudH0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRDb250YWluZXJ9IHtcbiAgICAgICAgICAgICY6bm90KC4ke2NsYXNzZXMuaW5uZXJQbGFjZWhvbGRlclVwfSkge1xuICAgICAgICAgICAgICAgICR7U3R5bGVkUGxhY2Vob2xkZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jbGVhclBsYWNlaG9sZGVyQ29sb3J9KTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5mb2N1c2VkT3V0ZXJQbGFjZWhvbGRlckNvbG9yfSAke1N0eWxlZFBsYWNlaG9sZGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJQbGFjZWhvbGRlckNvbG9yRm9jdXN9KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyUGxhY2Vob2xkZXJVcH0ge1xuICAgICAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMucGxhY2Vob2xkZXJDb2xvcn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRQbGFjZWhvbGRlcn0ge1xuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRJbmRpY2F0b3J9IHtcbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnR9IHtcbiAgICAgICAgICAgICAgICBpbnNldDogdmFyKCR7dG9rZW5zLmNsZWFySW5kaWNhdG9yTGFiZWxQbGFjZW1lbnRJbm5lcn0pO1xuICAgICAgICAgICAgICAgICYuYWxpZ24tcmlnaHQge1xuICAgICAgICAgICAgICAgICAgICBpbnNldDogdmFyKCR7dG9rZW5zLmNsZWFySW5kaWNhdG9yTGFiZWxQbGFjZW1lbnRJbm5lclJpZ2h0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLiR7Y2xhc3Nlcy5zdHlsZWRDb250YWluZXJ9IHtcbiAgICAgICAgICAgIGJvcmRlcjogdW5zZXQ7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJjpmb2N1cy13aXRoaW46bm90KFtyZWFkb25seV0pIC4ke2NsYXNzZXMuc3R5bGVkVGV4dEFyZWFXcmFwcGVyfSB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB1bnNldDtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IHVuc2V0O1xuICAgICAgICB9XG5cbiAgICAgICAgJjpmb2N1cy13aXRoaW46bm90KFtyZWFkb25seV0pIC4ke2NsYXNzZXMuc3R5bGVkQ29udGFpbmVyfSB7XG4gICAgICAgICAgICBib3JkZXI6IHVuc2V0O1xuICAgICAgICB9XG5cbiAgICAgICAgJjpmb2N1cy13aXRoaW46bm90KFtyZWFkb25seV0pIC4ke2NsYXNzZXMuc3R5bGVkSGVscGVyc30ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5oYXNEaXZpZGVyfSB7XG4gICAgICAgICAgICAke1N0eWxlZFRleHRBcmVhV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICAgICAgICAgICAgICAgIC0tcGxhc21hX3ByaXZhdGUtdGV4dGFyZWEtZGl2aWRlci1jb2xvcjogdmFyKCR7U3RyaW5nKHRva2Vucy5kaXZpZGVyQ29sb3IpfSk7XG5cbiAgICAgICAgICAgICAgICAmOmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnRlbnQ6ICcnO1xuICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICAgICAgICAgIGhlaWdodDogMC4wNjNyZW07XG4gICAgICAgICAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgICAgICAgICAgICBib3R0b206IDA7XG4gICAgICAgICAgICAgICAgICAgIGxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLXBsYXNtYV9wcml2YXRlLXRleHRhcmVhLWRpdmlkZXItY29sb3IpO1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1pbjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAmOm5vdChbcmVhZG9ubHldKSAke1N0eWxlZFRleHRBcmVhV3JhcHBlcn06aG92ZXIge1xuICAgICAgICAgICAgICAgIC0tcGxhc21hX3ByaXZhdGUtdGV4dGFyZWEtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JIb3Zlcn0sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgICY6bm90KFtyZWFkb25seV0pICR7U3R5bGVkVGV4dEFyZWFXcmFwcGVyfTpmb2N1cy13aXRoaW4ge1xuICAgICAgICAgICAgICAgIC0tcGxhc21hX3ByaXZhdGUtdGV4dGFyZWEtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JGb2N1c30sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
3
+ import { OuterLabelWrapper, StyledContainer, StyledContent, StyledHelpers, StyledHintWrapper, StyledIndicator, StyledPlaceholder, StyledTextArea, StyledTextAreaWrapper } from '../../TextArea.styles';
4
+ export var base = /*#__PURE__*/css("&.", classes.clear, "{border:unset;", StyledTextAreaWrapper, "{box-shadow:unset;background-color:unset;border-radius:0;padding-bottom:var(", tokens.inputPaddingTop, ");}", OuterLabelWrapper, "{margin-bottom:var(", tokens.clearLabelMarginBottom, ");}", StyledContent, "{right:0;bottom:unset;}", StyledTextArea, ",", StyledHelpers, "{padding-left:0;}", StyledHelpers, "{background-color:unset;border-radius:0;padding-top:var(", tokens.clearHelpersPaddingTop, ");padding-right:0;}", StyledTextArea, "{color:var(", tokens.clearInputColor, ");padding-right:0;&.", classes.hasRightContent, "{padding-right:var(", tokens.clearInputPaddingRightWithRightContent, ");}}", StyledContainer, "{&:not(.", classes.innerPlaceholderUp, "){", StyledPlaceholder, "{color:var(", tokens.clearPlaceholderColor, ");}&.", classes.focusedOuterPlaceholderColor, " ", StyledPlaceholder, "{color:var(", tokens.clearPlaceholderColorFocus, ");}}&.", classes.innerPlaceholderUp, "{color:var(", tokens.placeholderColor, ");}}", StyledPlaceholder, "{padding-left:0;}", StyledIndicator, "{&.", classes.innerLabelPlacement, "{inset:var(", tokens.clearIndicatorLabelPlacementInner, ");&.align-right{inset:var(", tokens.clearIndicatorLabelPlacementInnerRight, ");}}}&.", classes.hasHint, "{", StyledHintWrapper, "{&.", classes.innerLabelPlacement, "{inset:var(", tokens.clearHintInnerLabelPlacementOffset, ");}}", StyledIndicator, "{&.", classes.innerLabelPlacement, ".align-right{inset:var(", tokens.clearIndicatorHintInnerRight, ");}}}.", classes.styledContainer, "{border:unset;border-radius:0;}&:focus-within:not([readonly]) .", classes.styledTextAreaWrapper, "{background-color:unset;box-shadow:unset;}&:focus-within:not([readonly]) .", classes.styledContainer, "{border:unset;}&:focus-within:not([readonly]) .", classes.styledHelpers, "{background-color:unset;}&.", classes.hasDivider, "{", StyledTextAreaWrapper, "{position:relative;--plasma_private-textarea-divider-color:var(", /*#__PURE__*/String(tokens.dividerColor), ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textarea-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", StyledTextAreaWrapper, ":hover{--plasma_private-textarea-divider-color:var(\n ", tokens.dividerColorHover, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}&:not([readonly]) ", StyledTextAreaWrapper, ":focus-within{--plasma_private-textarea-divider-color:var(\n ", tokens.dividerColorFocus, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEFyZWEvdmF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wZXJ9IHtcbiAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5jbGVhckxhYmVsTWFyZ2luQm90dG9tfSk7XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZENvbnRlbnR9IHtcbiAgICAgICAgICAgIHJpZ2h0OiAwO1xuICAgICAgICAgICAgYm90dG9tOiB1bnNldDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkVGV4dEFyZWF9LCAke1N0eWxlZEhlbHBlcnN9IHtcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkSGVscGVyc30ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy10b3A6IHZhcigke3Rva2Vucy5jbGVhckhlbHBlcnNQYWRkaW5nVG9wfSk7XG4gICAgICAgICAgICBwYWRkaW5nLXJpZ2h0OiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRUZXh0QXJlYX0ge1xuICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jbGVhcklucHV0Q29sb3J9KTtcbiAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IDA7XG5cbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmhhc1JpZ2h0Q29udGVudH0ge1xuICAgICAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IHZhcigke3Rva2Vucy5jbGVhcklucHV0UGFkZGluZ1JpZ2h0V2l0aFJpZ2h0Q29udGVudH0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRDb250YWluZXJ9IHtcbiAgICAgICAgICAgICY6bm90KC4ke2NsYXNzZXMuaW5uZXJQbGFjZWhvbGRlclVwfSkge1xuICAgICAgICAgICAgICAgICR7U3R5bGVkUGxhY2Vob2xkZXJ9IHtcbiAgICAgICAgICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jbGVhclBsYWNlaG9sZGVyQ29sb3J9KTtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAmLiR7Y2xhc3Nlcy5mb2N1c2VkT3V0ZXJQbGFjZWhvbGRlckNvbG9yfSAke1N0eWxlZFBsYWNlaG9sZGVyfSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJQbGFjZWhvbGRlckNvbG9yRm9jdXN9KTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyUGxhY2Vob2xkZXJVcH0ge1xuICAgICAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMucGxhY2Vob2xkZXJDb2xvcn0pO1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRQbGFjZWhvbGRlcn0ge1xuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRJbmRpY2F0b3J9IHtcbiAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnR9IHtcbiAgICAgICAgICAgICAgICBpbnNldDogdmFyKCR7dG9rZW5zLmNsZWFySW5kaWNhdG9yTGFiZWxQbGFjZW1lbnRJbm5lcn0pO1xuICAgICAgICAgICAgICAgICYuYWxpZ24tcmlnaHQge1xuICAgICAgICAgICAgICAgICAgICBpbnNldDogdmFyKCR7dG9rZW5zLmNsZWFySW5kaWNhdG9yTGFiZWxQbGFjZW1lbnRJbm5lclJpZ2h0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzSGludH0ge1xuICAgICAgICAgICAgJHtTdHlsZWRIaW50V3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnR9IHtcbiAgICAgICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckhpbnRJbm5lckxhYmVsUGxhY2VtZW50T2Zmc2V0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAke1N0eWxlZEluZGljYXRvcn0ge1xuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnR9LmFsaWduLXJpZ2h0IHtcbiAgICAgICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckluZGljYXRvckhpbnRJbm5lclJpZ2h0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgLiR7Y2xhc3Nlcy5zdHlsZWRDb250YWluZXJ9IHtcbiAgICAgICAgICAgIGJvcmRlcjogdW5zZXQ7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJjpmb2N1cy13aXRoaW46bm90KFtyZWFkb25seV0pIC4ke2NsYXNzZXMuc3R5bGVkVGV4dEFyZWFXcmFwcGVyfSB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB1bnNldDtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IHVuc2V0O1xuICAgICAgICB9XG5cbiAgICAgICAgJjpmb2N1cy13aXRoaW46bm90KFtyZWFkb25seV0pIC4ke2NsYXNzZXMuc3R5bGVkQ29udGFpbmVyfSB7XG4gICAgICAgICAgICBib3JkZXI6IHVuc2V0O1xuICAgICAgICB9XG5cbiAgICAgICAgJjpmb2N1cy13aXRoaW46bm90KFtyZWFkb25seV0pIC4ke2NsYXNzZXMuc3R5bGVkSGVscGVyc30ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5oYXNEaXZpZGVyfSB7XG4gICAgICAgICAgICAke1N0eWxlZFRleHRBcmVhV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcblxuICAgICAgICAgICAgICAgIC0tcGxhc21hX3ByaXZhdGUtdGV4dGFyZWEtZGl2aWRlci1jb2xvcjogdmFyKCR7U3RyaW5nKHRva2Vucy5kaXZpZGVyQ29sb3IpfSk7XG5cbiAgICAgICAgICAgICAgICAmOmJlZm9yZSB7XG4gICAgICAgICAgICAgICAgICAgIGNvbnRlbnQ6ICcnO1xuICAgICAgICAgICAgICAgICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XG4gICAgICAgICAgICAgICAgICAgIGhlaWdodDogMC4wNjNyZW07XG4gICAgICAgICAgICAgICAgICAgIHdpZHRoOiAxMDAlO1xuICAgICAgICAgICAgICAgICAgICBib3R0b206IDA7XG4gICAgICAgICAgICAgICAgICAgIGxlZnQ6IDA7XG4gICAgICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigtLXBsYXNtYV9wcml2YXRlLXRleHRhcmVhLWRpdmlkZXItY29sb3IpO1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1pbjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgICAmOm5vdChbcmVhZG9ubHldKSAke1N0eWxlZFRleHRBcmVhV3JhcHBlcn06aG92ZXIge1xuICAgICAgICAgICAgICAgIC0tcGxhc21hX3ByaXZhdGUtdGV4dGFyZWEtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JIb3Zlcn0sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICAgICY6bm90KFtyZWFkb25seV0pICR7U3R5bGVkVGV4dEFyZWFXcmFwcGVyfTpmb2N1cy13aXRoaW4ge1xuICAgICAgICAgICAgICAgIC0tcGxhc21hX3ByaXZhdGUtdGV4dGFyZWEtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JGb2N1c30sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
@@ -0,0 +1,5 @@
1
+ import { css } from '@emotion/react';
2
+ import { tooltipTokens } from '../../../Tooltip';
3
+ import { tokens } from '../../TextArea.tokens';
4
+ import { Hint } from '../../TextArea.styles';
5
+ export var base = /*#__PURE__*/css(Hint, "{", tooltipTokens.paddingTop, ":var(", tokens.tooltipPaddingTop, ");", tooltipTokens.paddingRight, ":var(", tokens.tooltipPaddingRight, ");", tooltipTokens.paddingBottom, ":var(", tokens.tooltipPaddingBottom, ");", tooltipTokens.paddingLeft, ":var(", tokens.tooltipPaddingLeft, ");", tooltipTokens.minHeight, ":var(", tokens.tooltipMinHeight, ");", tooltipTokens.borderRadius, ":var(", tokens.tooltipBorderRadius, ");", tooltipTokens.textFontFamily, ":var(", tokens.tooltipTextFontFamily, ");", tooltipTokens.textFontSize, ":var(", tokens.tooltipTextFontSize, ");", tooltipTokens.textFontStyle, ":var(", tokens.tooltipTextFontStyle, ");", tooltipTokens.textFontWeight, ":var(", tokens.tooltipTextFontWeight, ");", tooltipTokens.textFontLetterSpacing, ":var(", tokens.tooltipTextFontLetterSpacing, ");", tooltipTokens.textFontLineHeight, ":var(", tokens.tooltipTextFontLineHeight, ");", tooltipTokens.contentLeftMargin, ":var(", tokens.tooltipContentLeftMargin, ");", tooltipTokens.arrowMaskWidth, ":var(", tokens.tooltipArrowMaskWidth, ");", tooltipTokens.arrowMaskHeight, ":var(", tokens.tooltipArrowMaskHeight, ");", tooltipTokens.arrowMaskImage, ":var(", tokens.tooltipArrowMaskImage, ");", tooltipTokens.arrowHeight, ":var(", tokens.tooltipArrowHeight, ");", tooltipTokens.arrowEdgeMargin, ":var(", tokens.tooltipArrowEdgeMargin, ");", tooltipTokens.arrowBackground, ":var(", tokens.tooltipArrowBackground, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEFyZWEvdmFyaWF0aW9ucy9faGludC1zaXplL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTXVCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEFyZWEvdmFyaWF0aW9ucy9faGludC1zaXplL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRvb2x0aXBUb2tlbnMgfSBmcm9tICcuLi8uLi8uLi9Ub29sdGlwJztcbmltcG9ydCB7IHRva2VucyB9IGZyb20gJy4uLy4uL1RleHRBcmVhLnRva2Vucyc7XG5pbXBvcnQgeyBIaW50IH0gZnJvbSAnLi4vLi4vVGV4dEFyZWEuc3R5bGVzJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgJHtIaW50fSB7XG4gICAgICAgICR7dG9vbHRpcFR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jaW5nfSk7XG4gICAgICAgICR7dG9vbHRpcFRva2Vucy50ZXh0Rm9udExpbmVIZWlnaHR9OiB2YXIoJHt0b2tlbnMudG9vbHRpcFRleHRGb250TGluZUhlaWdodH0pO1xuXG4gICAgICAgICR7dG9vbHRpcFRva2Vucy5jb250ZW50TGVmdE1hcmdpbn06IHZhcigke3Rva2Vucy50b29sdGlwQ29udGVudExlZnRNYXJnaW59KTtcblxuICAgICAgICAke3Rvb2x0aXBUb2tlbnMuYXJyb3dNYXNrV2lkdGh9OiB2YXIoJHt0b2tlbnMudG9vbHRpcEFycm93TWFza1dpZHRofSk7XG4gICAgICAgICR7dG9vbHRpcFRva2Vucy5hcnJvd01hc2tIZWlnaHR9OiB2YXIoJHt0b2tlbnMudG9vbHRpcEFycm93TWFza0hlaWdodH0pO1xuICAgICAgICAke3Rvb2x0aXBUb2tlbnMuYXJyb3dNYXNrSW1hZ2V9OiB2YXIoJHt0b2tlbnMudG9vbHRpcEFycm93TWFza0ltYWdlfSk7XG4gICAgICAgICR7dG9vbHRpcFRva2Vucy5hcnJvd0hlaWdodH06IHZhcigke3Rva2Vucy50b29sdGlwQXJyb3dIZWlnaHR9KTtcbiAgICAgICAgJHt0b29sdGlwVG9rZW5zLmFycm93RWRnZU1hcmdpbn06IHZhcigke3Rva2Vucy50b29sdGlwQXJyb3dFZGdlTWFyZ2lufSk7XG4gICAgICAgICR7dG9vbHRpcFRva2Vucy5hcnJvd0JhY2tncm91bmR9OiB2YXIoJHt0b2tlbnMudG9vbHRpcEFycm93QmFja2dyb3VuZH0pO1xuICAgIH1cbmA7XG4iXX0= */"));
@@ -0,0 +1,21 @@
1
+ [
2
+ "--plasma-textarea__tooltip-padding-top",
3
+ "--plasma-textarea__tooltip-padding-right",
4
+ "--plasma-textarea__tooltip-padding-bottom",
5
+ "--plasma-textarea__tooltip-padding-left",
6
+ "--plasma-textarea__tooltip-min-height",
7
+ "--plasma-textarea__tooltip-border-radius",
8
+ "--plasma-textarea__tooltip-text-font-family",
9
+ "--plasma-textarea__tooltip-text-font-size",
10
+ "--plasma-textarea__tooltip-text-font-style",
11
+ "--plasma-textarea__tooltip-text-font-weight",
12
+ "--plasma-textarea__tooltip-text-font-letter-spacing",
13
+ "--plasma-textarea__tooltip-text-font-line-height",
14
+ "--plasma-textarea__tooltip-content-left-margin",
15
+ "--plasma-textarea__tooltip-arrow-mask-width",
16
+ "--plasma-textarea__tooltip-arrow-mask-height",
17
+ "--plasma-textarea__tooltip-arrow-mask-image",
18
+ "--plasma-textarea__tooltip-arrow-height",
19
+ "--plasma-textarea__tooltip-arrow-edge-margin",
20
+ "--plasma-textarea__tooltip-arrow-background"
21
+ ]
@@ -0,0 +1,5 @@
1
+ import { css } from '@emotion/react';
2
+ import { tooltipTokens } from '../../../Tooltip';
3
+ import { Hint } from '../../TextArea.styles';
4
+ import { tokens } from '../../TextArea.tokens';
5
+ export var base = /*#__PURE__*/css(Hint, "{", tooltipTokens.backgroundColor, ":var(", tokens.tooltipBackgroundColor, ");", tooltipTokens.boxShadow, ":var(", tokens.tooltipBoxShadow, ");", tooltipTokens.color, ":var(", tokens.tooltipColor, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEFyZWEvdmFyaWF0aW9ucy9faGludC12aWV3L2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTXVCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEFyZWEvdmFyaWF0aW9ucy9faGludC12aWV3L2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IHRvb2x0aXBUb2tlbnMgfSBmcm9tICcuLi8uLi8uLi9Ub29sdGlwJztcbmltcG9ydCB7IEhpbnQgfSBmcm9tICcuLi8uLi9UZXh0QXJlYS5zdHlsZXMnO1xuaW1wb3J0IHsgdG9rZW5zIH0gZnJvbSAnLi4vLi4vVGV4dEFyZWEudG9rZW5zJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgJHtIaW50fSB7XG4gICAgICAgICR7dG9vbHRpcFRva2Vucy5iYWNrZ3JvdW5kQ29sb3J9OiB2YXIoJHt0b2tlbnMudG9vbHRpcEJhY2tncm91bmRDb2xvcn0pO1xuICAgICAgICAke3Rvb2x0aXBUb2tlbnMuYm94U2hhZG93fTogdmFyKCR7dG9rZW5zLnRvb2x0aXBCb3hTaGFkb3d9KTtcbiAgICAgICAgJHt0b29sdGlwVG9rZW5zLmNvbG9yfTogdmFyKCR7dG9rZW5zLnRvb2x0aXBDb2xvcn0pO1xuICAgIH1cbmA7XG4iXX0= */"));
@@ -0,0 +1,5 @@
1
+ [
2
+ "--plasma-textarea__tooltip-background-color",
3
+ "--plasma-textarea__tooltip-box-shadow",
4
+ "--plasma-textarea__tooltip-color "
5
+ ]
@@ -1,7 +1,8 @@
1
1
  import { css } from '@emotion/react';
2
2
  import { tokens, classes } from '../../TextArea.tokens';
3
+ import { TitleCaption } from '../../TextArea.styles';
3
4
  var styledContainer = classes.styledContainer,
4
5
  styledTextAreaWrapper = classes.styledTextAreaWrapper,
5
6
  styledHelpers = classes.styledHelpers;
6
7
  var exclusionSelectors = /*#__PURE__*/"not(.".concat(classes.clear, "):not([disabled]):not([readonly]):not(:focus-within)");
7
- export var base = /*#__PURE__*/css(".", /*#__PURE__*/String(styledContainer), "{transition:box-shadow 0.1s ease-in-out;border-radius:var(", tokens.borderRadius, ");border:var(", tokens.borderSize, ") solid var(", tokens.borderColor, ");}.", /*#__PURE__*/String(styledTextAreaWrapper), "{transition:background-color 0.1s ease-in-out,box-shadow 0.1s ease-in-out;box-shadow:inset 0 0 0 var(", tokens.borderSize, ", 1px) var(", tokens.inputBorderColor, ");padding-right:var(", tokens.borderSize, ", 1px);}&:focus-within:not([readonly]) .", /*#__PURE__*/String(styledTextAreaWrapper), "{background-color:var(", tokens.inputBackgroundColorFocus, ");box-shadow:inset 0 0 0 var(", tokens.borderSize, ", 1px) var(", tokens.inputBorderColorFocus, ");}&:focus-within:not([readonly]) .", /*#__PURE__*/String(styledContainer), "{border:var(", tokens.borderSize, ") solid var(", tokens.borderColorFocus, ");}&:focus-within:not([readonly]) .", /*#__PURE__*/String(styledHelpers), "{background-color:var(", tokens.helpersBackgroundColorFocus, ");}&:hover:", exclusionSelectors, " .", /*#__PURE__*/String(styledContainer), "{border:var(", tokens.borderSize, ") solid var(", tokens.borderColorHover, ");}&:hover:", exclusionSelectors, " .", /*#__PURE__*/String(styledTextAreaWrapper), "{box-shadow:inset 0 0 0 var(", tokens.borderSize, ", 1px) var(", tokens.inputBorderColorHover, ");background-color:var(", tokens.inputBackgroundColorHover, ");}&:hover:", exclusionSelectors, " .", /*#__PURE__*/String(styledTextAreaWrapper), "+.", /*#__PURE__*/String(styledHelpers), "{background-color:var(", tokens.helpersBackgroundColorHover, ");}&:active:", exclusionSelectors, " .", /*#__PURE__*/String(styledTextAreaWrapper), "{box-shadow:inset 0 0 0 var(", tokens.borderSize, ", 1px) var(", tokens.inputBorderColorActive, ");background-color:var(", tokens.inputBackgroundColorActive, ");}&:active:", exclusionSelectors, " .", /*#__PURE__*/String(styledTextAreaWrapper), "+.", /*#__PURE__*/String(styledHelpers), "{background-color:var(", tokens.helpersBackgroundColorActive, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEFyZWEvdmFyaWF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MuaW5wdXRCYWNrZ3JvdW5kQ29sb3JBY3RpdmV9KTtcbiAgICB9XG5cbiAgICAmOmFjdGl2ZToke2V4Y2x1c2lvblNlbGVjdG9yc30gLiR7U3RyaW5nKHN0eWxlZFRleHRBcmVhV3JhcHBlcil9ICsgLiR7U3RyaW5nKHN0eWxlZEhlbHBlcnMpfSB7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5oZWxwZXJzQmFja2dyb3VuZENvbG9yQWN0aXZlfSk7XG4gICAgfVxuYDtcbiJdfQ== */"));
8
+ export var base = /*#__PURE__*/css(TitleCaption, "{color:var(", tokens.titleCaptionColor, ");}.", styledContainer, "{transition:box-shadow 0.1s ease-in-out;border-radius:var(", tokens.borderRadius, ");border:var(", tokens.borderSize, ") solid var(", tokens.borderColor, ");}.", styledTextAreaWrapper, "{transition:background-color 0.1s ease-in-out,box-shadow 0.1s ease-in-out;box-shadow:inset 0 0 0 var(", tokens.borderSize, ", 1px) var(", tokens.inputBorderColor, ");padding-right:var(", tokens.borderSize, ", 1px);}&:focus-within:not([readonly]) .", styledTextAreaWrapper, "{background-color:var(", tokens.inputBackgroundColorFocus, ");box-shadow:inset 0 0 0 var(", tokens.borderSize, ", 1px) var(", tokens.inputBorderColorFocus, ");}&:focus-within:not([readonly]) .", styledContainer, "{border:var(", tokens.borderSize, ") solid var(", tokens.borderColorFocus, ");}&:focus-within:not([readonly]) .", styledHelpers, "{background-color:var(", tokens.helpersBackgroundColorFocus, ");}&:hover:", exclusionSelectors, " .", styledContainer, "{border:var(", tokens.borderSize, ") solid var(", tokens.borderColorHover, ");}&:hover:", exclusionSelectors, " .", styledTextAreaWrapper, "{box-shadow:inset 0 0 0 var(", tokens.borderSize, ", 1px) var(", tokens.inputBorderColorHover, ");background-color:var(", tokens.inputBackgroundColorHover, ");}&:hover:", exclusionSelectors, " .", styledTextAreaWrapper, "+.", styledHelpers, "{background-color:var(", tokens.helpersBackgroundColorHover, ");}&:active:", exclusionSelectors, " .", styledTextAreaWrapper, "{box-shadow:inset 0 0 0 var(", tokens.borderSize, ", 1px) var(", tokens.inputBorderColorActive, ");background-color:var(", tokens.inputBackgroundColorActive, ");}&:active:", exclusionSelectors, " .", styledTextAreaWrapper, "+.", styledHelpers, "{background-color:var(", tokens.helpersBackgroundColorActive, ");};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEFyZWEvdmFyaWF0aW9ucy9fdmlldy9iYXNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVN1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1RleHRBcmVhL3ZhcmlhdGlvbnMvX3ZpZXcvYmFzZS50cyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHsgdG9rZW5zLCBjbGFzc2VzIH0gZnJvbSAnLi4vLi4vVGV4dEFyZWEudG9rZW5zJztcbmltcG9ydCB7IFRpdGxlQ2FwdGlvbiB9IGZyb20gJy4uLy4uL1RleHRBcmVhLnN0eWxlcyc7XG5cbmNvbnN0IHsgc3R5bGVkQ29udGFpbmVyLCBzdHlsZWRUZXh0QXJlYVdyYXBwZXIsIHN0eWxlZEhlbHBlcnMgfSA9IGNsYXNzZXM7XG5cbmNvbnN0IGV4Y2x1c2lvblNlbGVjdG9ycyA9IGBub3QoLiR7Y2xhc3Nlcy5jbGVhcn0pOm5vdChbZGlzYWJsZWRdKTpub3QoW3JlYWRvbmx5XSk6bm90KDpmb2N1cy13aXRoaW4pYDtcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgJHt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3N0eWxlZFRleHRBcmVhV3JhcHBlcn0gKyAuJHtzdHlsZWRIZWxwZXJzfSB7XG4gICAgICAgIGJhY2tncm91bmQtY29sb3I6IHZhcigke3Rva2Vucy5oZWxwZXJzQmFja2dyb3VuZENvbG9ySG92ZXJ9KTtcbiAgICB9XG5cbiAgICAmOmFjdGl2ZToke2V4Y2x1c2lvblNlbGVjdG9yc30gLiR7c3R5bGVkVGV4dEFyZWFXcmFwcGVyfSB7XG4gICAgICAgIGJveC1zaGFkb3c6IGluc2V0IDAgMCAwIHZhcigke3Rva2Vucy5ib3JkZXJTaXplfSwgMXB4KSB2YXIoJHt0b2tlbnMuaW5wdXRCb3JkZXJDb2xvckFjdGl2ZX0pO1xuICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoJHt0b2tlbnMuaW5wdXRCYWNrZ3JvdW5kQ29sb3JBY3RpdmV9KTtcbiAgICB9XG5cbiAgICAmOmFjdGl2ZToke2V4Y2x1c2lvblNlbGVjdG9yc30gLiR7c3R5bGVkVGV4dEFyZWFXcmFwcGVyfSArIC4ke3N0eWxlZEhlbHBlcnN9IHtcbiAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKCR7dG9rZW5zLmhlbHBlcnNCYWNrZ3JvdW5kQ29sb3JBY3RpdmV9KTtcbiAgICB9XG5gO1xuIl19 */"));
@@ -1,4 +1,4 @@
1
- var _excluded = ["id", "className", "style", "contentLeft", "contentRight", "label", "labelPlacement", "textBefore", "textAfter", "placeholder", "leftHelper", "enumerationType", "requiredPlacement", "view", "size", "readOnly", "disabled", "required", "clear", "optional", "hasDivider", "value", "chips", "onChange", "onChangeChips", "onSearch", "onKeyDown"];
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"];
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."); }
@@ -13,16 +13,20 @@ import React, { forwardRef, useEffect, useRef, useState } from 'react';
13
13
  import { safeUseId, useForkRef } from '@salutejs/plasma-core';
14
14
  import { css } from '@emotion/react';
15
15
  import { cx } from '../../utils';
16
+ import { useOutsideClick } from '../../hooks';
16
17
  import { base as sizeCSS } from './variations/_size/base';
17
18
  import { base as viewCSS } from './variations/_view/base';
18
19
  import { base as clearCSS } from './variations/_clear/base';
19
20
  import { base as disabledCSS } from './variations/_disabled/base';
20
21
  import { base as readOnlyCSS } from './variations/_read-only/base';
21
22
  import { base as labelPlacementCSS } from './variations/_label-placement/base';
22
- import { Input, InputContainer, LeftHelper, Label, InputWrapper, InputLabelWrapper, StyledContentLeft, StyledContentRight, StyledChips, StyledTextBefore, StyledTextAfter, StyledIndicator, StyledOptionalText, InputPlaceholder } from './TextField.styles';
23
+ import { base as hintViewCSS } from './variations/_hint-view/base';
24
+ import { base as hintSizeCSS } from './variations/_hint-size/base';
25
+ import { Input, InputContainer, LeftHelper, Label, InputWrapper, InputLabelWrapper, StyledContentLeft, StyledContentRight, StyledChips, StyledTextBefore, StyledTextAfter, StyledIndicator, StyledOptionalText, InputPlaceholder, OuterLabelWrapper, TitleCaption, StyledHintWrapper, StyledIndicatorWrapper } from './TextField.styles';
23
26
  import { classes } from './TextField.tokens';
24
27
  import { TextFieldChip } from './ui';
25
28
  import { useKeyNavigation } from './hooks';
29
+ import { HintComponent } from './ui/Hint/Hint';
26
30
  var optionalText = 'optional';
27
31
  export var base = process.env.NODE_ENV === "production" ? {
28
32
  name: "121o0v2-plasma-new-hope__base",
@@ -30,9 +34,10 @@ export var base = process.env.NODE_ENV === "production" ? {
30
34
  } : {
31
35
  name: "121o0v2-plasma-new-hope__base",
32
36
  styles: "display:block;label:plasma-new-hope__base;",
33
- map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL1RleHRGaWVsZC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBcUN1QiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMtZW1vdGlvbi9jb21wb25lbnRzL1RleHRGaWVsZC9UZXh0RmllbGQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0LCB7IGZvcndhcmRSZWYsIHVzZUVmZmVjdCwgdXNlUmVmLCB1c2VTdGF0ZSB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB0eXBlIHsgRm9ybUV2ZW50SGFuZGxlciwgQ2hhbmdlRXZlbnRIYW5kbGVyLCBLZXlib2FyZEV2ZW50LCBDaGFuZ2VFdmVudCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IHNhZmVVc2VJZCwgdXNlRm9ya1JlZiB9IGZyb20gJ0BzYWx1dGVqcy9wbGFzbWEtY29yZSc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB0eXBlIHsgUm9vdFByb3BzIH0gZnJvbSAnLi4vLi4vZW5naW5lcyc7XG5pbXBvcnQgeyBjeCB9IGZyb20gJy4uLy4uL3V0aWxzJzt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mcm9tICcuL1RleHRGaWVsZC5zdHlsZXMnO1xuaW1wb3J0IHsgY2xhc3NlcyB9IGZyb20gJy4vVGV4dEZpZWxkLnRva2Vucyc7XG5pbXBvcnQgeyBUZXh0RmllbGRDaGlwIH0gZnJvbSAnLi91aSc7XG5pbXBvcnQgeyB1c2VLZXlOYXZpZ2F0aW9uIH0gZnJvbSAnLi9ob29rcyc7XG5cbmNvbnN0IG9wdGlvbmFsVGV4dCA9ICdvcHRpb25hbCc7XG5cbmV4cG9ydCBjb25zdCBiYXNlID0gY3NzYFxuICAgIC8qIE5PVEU6IFdlYmtpdCDQvdC1INC/0YDQuNC80LXQvdGP0LXRgiBvcGFjaXR5INC6IGlubGluZSDRgtC10LPQsNC8ICovXG4gICAgZGlzcGxheTogYmxvY2s7XG5gO1xuXG5leHBvcnQgY29uc3QgdGV4dEZpZWxkUm9vdCA9IChSb290OiBSb290UHJvcHM8SFRNTERpdkVsZW1lbnQsIFRleHRGaWVsZFByb3BzPikgPT5cbiAgICBmb3J3YXJkUmVmPEhUTUxJbnB1dEVsZW1lbnQsIFRleHRGaWVsZFByb3BzPihcbiAgICAgICAgKFxuICAgICAgICAgICAge1xuICAgICAgICAgICAgICAgIGlkLFxuICAgICAgICAgICAgICAgIGNsYXNzTmFtZSxcbiAgICAgICAgICAgICAgICBzdHlsZSxcblxuICAgICAgICAgICAgICAgIC8vIGxheW91dFxuICAgICAgICAgICAgICAgIGNvbnRlbnRMZWZ0LFxuICAgICAgICAgICAgICAgIGNvbnRlbnRSaWdodCxcbiAgICAgICAgICAgICAgICBsYWJlbCxcbiAgICAgICAgICAgICAgICBsYWJlbFBsYWNlbWVudCxcbiAgICAgICAgICAgICAgICB0ZXh0QmVmb3JlLFxuICAgICAgICAgICAgICAgIHRleHRBZnRlcixcbiAgICAgICAgICAgICAgICBwbGFjZWhvbGRlcixcbiAgICAgICAgICAgICAgICBsZWZ0SGVscGVyLFxuICAgICAgICAgICAgICAgIGVudW1lcmF0aW9uVHlwZSA9ICdwbGFpbicsXG4gICAgICAgICAgICAgICAgcmVxdWlyZWRQbGFjZW1lbnQgPSAncmlnaHQnLFxuXG4gICAgICAgICAgICAgICAgLy8gdmFyaWF0aW9uc1xuICAgICAgICAgICAgICAgIHZpZXcsXG4gICAgICAgICAgICAgICAgc2l6ZSxcbiAgICAgICAgICAgICAgICByZWFkT25seSA9IGZhbHNlLFxuICAgICAgICAgICAgICAgIGRpc2FibGVkID0gZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVxdWlyZWQgPSBmYWxzZSxcbiAgICAgICAgICAgICAgICBjbGVhciA9IGZhbHNlLFxuICAgICAgICAgICAgICAgIG9wdGlvbmFsLFxuICAgICAgICAgICAgICAgIGhhc0RpdmlkZXIsXG5cbiAgICAgICAgICAgICAgICAvLyBjb250cm9sbGVkXG4gICAgICAgICAgICAgICAgdmFsdWU6IG91dGVyVmFsdWUsXG4gICAgICAgICAgICAgICAgY2hpcHM6IHZhbHVlcyxcblxuICAgICAgICAgICAgICAgIC8vIGV2ZW50c1xuICAgICAgICAgICAgICAgIG9uQ2hhbmdlLFxuICAgICAgICAgICAgICAgIG9uQ2hhbmdlQ2hpcHMsXG4gICAgICAgICAgICAgICAgb25TZWFyY2gsXG4gICAgICAgICAgICAgICAgb25LZXlEb3duLFxuXG4gICAgICAgICAgICAgICAgLi4ucmVzdFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHJlZixcbiAgICAgICAgKSA9PiB7XG4gICAgICAgICAgICBjb25zdCBjb250ZW50UmVmID0gdXNlUmVmPEhUTUxEaXZFbGVtZW50PihudWxsKTtcbiAgICAgICAgICAgIGNvbnN0IGlucHV0UmVmID0gdXNlUmVmPEhUTUxJbnB1dEVsZW1lbnQ+KG51bGwpO1xuICAgICAgICAgICAgY29uc3QgaW5wdXRGb3JrUmVmID0gdXNlRm9ya1JlZihpbnB1dFJlZiwgcmVmKTtcbiAgICAgICAgICAgIGNvbnN0IGNoaXBzUmVmcyA9IHVzZVJlZjx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RNTElucHV0RWxlbWVudCkudmFsdWUpKTtcbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIGNvbnN0IGhhbmRsZUNoYW5nZTogQ2hhbmdlRXZlbnRIYW5kbGVyPEhUTUxJbnB1dEVsZW1lbnQ+ID0gKGV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKGRpc2FibGVkIHx8IHJlYWRPbmx5KSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBjb25zdCB7IG1heExlbmd0aCwgdmFsdWUgfSA9IGV2ZW50LnRhcmdldDtcblxuICAgICAgICAgICAgICAgIGlmIChtYXhMZW5ndGggIT09IC0xICYmIHZhbHVlLmxlbmd0aCA+IG1heExlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgb25DaGFuZ2U/LihldmVudCk7XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICBjb25zdCB1cGRhdGVDaGlwcyA9IChuZXdDaGlwczogQXJyYXk8Q2hpcFZhbHVlcz4sIG5ld1ZhbHVlczogQXJyYXk8VGV4dEZpZWxkUHJpbWl0aXZlVmFsdWU+KSA9PiB7XG4gICAgICAgICAgICAgICAgc2V0Q2hpcHMobmV3Q2hpcHMpO1xuICAgICAgICAgICAgICAgIG9uQ2hhbmdlQ2hpcHM/LihuZXdWYWx1ZXMpO1xuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgY29uc3QgeyBoYW5kbGVJbnB1dEtleWRvd24sIGhhbmRsZUNoaXBLZXlEb3duLCBvbkNoaXBDbGVhciwgaGFuZGxlQ29udGVudEtleURvd24gfSA9IHVzZUtleU5hdmlnYXRpb24oe1xuICAgICAgICAgICAgICAgIGNvbnRyb2xsZWRSZWZzLFxuICAgICAgICAgICAgICAgIGRpc2FibGVkLFxuICAgICAgICAgICAgICAgIHJlYWRPbmx5LFxuICAgICAgICAgICAgICAgIGNoaXBzLFxuICAgICAgICAgICAgICAgIGVudW1lcmF0aW9uVHlwZSxcbiAgICAgICAgICAgICAgICB1cGRhdGVDaGlwcyxcbiAgICAgICAgICAgICAgICBvblNlYXJjaCxcbiAgICAgICAgICAgICAgICBvbkNoYW5nZSxcbiAgICAgICAgICAgICAgICBvbkVudGVyRGlzYWJsZWQ6IChyZXN0IGFzIGFueSkub25FbnRlckRpc2FibGVkLFxuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIGNvbnN0IG9uQ2hpcENsaWNrID0gKGV2ZW50OiBSZWFjdC5Nb3VzZUV2ZW50PEhUTUxCdXR0b25FbGVtZW50PikgPT4gZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG5cbiAgICAgICAgICAgIGNvbnN0IGhhbmRsZUlucHV0Rm9jdXMgPSAoKSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKHJlYWRPbmx5IHx8IGRpc2FibGVkIHx8ICFpbnB1dFJlZj8uY3VycmVudCkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaW5wdXRSZWYuY3VycmVudC5zY3JvbGxUbyh7XG4gICAgICAgICAgICAgICAgICAgIHRvcDogMCxcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogaW5wdXRSZWYuY3VycmVudC5vZmZzZXRMZWZ0LFxuICAgICAgICAgICAgICAgICAgICBiZWhhdmlvcjogJ3Ntb290aCcsXG4gICAgICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgICAgICBpbnB1dFJlZi5jdXJyZW50LmZvY3VzKCk7XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICBjb25zdCBnZXRSZWYgPSAoZWxlbWVudDogSFRNTEJ1dHRvbkVsZW1lbnQgfCBudWxsLCBpbmRleDogbnVtYmVyKSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKGVsZW1lbnQgJiYgY2hpcHNSZWZzPy5jdXJyZW50KSB7XG4gICAgICAgICAgICAgICAgICAgIGNoaXBzUmVmcy5jdXJyZW50W2luZGV4XSA9IGVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgY29uc3QgaGFuZGxlT25LZXlEb3duID0gKGV2ZW50OiBDaGFuZ2VFdmVudDxIVE1MSW5wdXRFbGVtZW50PiAmIEtleWJvYXJkRXZlbnQ8SFRNTElucHV0RWxlbWVudD4pID0+IHtcbiAgICAgICAgICAgICAgICBoYW5kbGVJbnB1dEtleWRvd24oZXZlbnQpO1xuXG4gICAgICAgICAgICAgICAgaWYgKG9uS2V5RG93bikge1xuICAgICAgICAgICAgICAgICAgICBvbktleURvd24oZXZlbnQpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIHVzZUVmZmVjdCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFpc0NoaXBFbnVtZXJhdGlvbiAmJiAhdmFsdWVzPy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGNvbnN0IG5ld0NoaXBzID1cbiAgICAgICAgICAgICAgICAgICAgdmFsdWVzPy5tYXAoKHZhbHVlLCBpbmRleCkgPT4gKHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlkOiBgJHtpbmRleH1fJHt2YWx1ZX1gLFxuICAgICAgICAgICAgICAgICAgICAgICAgdGV4dDogdmFsdWUsXG4gICAgICAgICAgICAgICAgICAgIH0pKSB8fCBbXTtcblxuICAgICAgICAgICAgICAgIHNldENoaXBzKG5ld0NoaXBzKTtcbiAgICAgICAgICAgIH0sIFtpc0NoaXBFbnVtZXJhdGlvbiwgdmFsdWVzXSk7XG5cbiAgICAgICAgICAgIHVzZUVmZmVjdCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgc2V0SGFzVmFsdWUoQm9vbGVhbihyZXN0Py5kZWZhdWx0VmFsdWUpKTtcbiAgICAgICAgICAgIH0sIFtyZXN0LmRlZmF1bHRWYWx1ZV0pO1xuXG4gICAgICAgICAgICB1c2VFZmZlY3QoKCkgPT4ge1xuICAgICAgICAgICAgICAgIHNldEhhc1ZhbHVlKEJvb2xlYW4ob3V0ZXJWYWx1ZSkgfHwgQm9vbGVhbihpbnB1dFJlZj8uY3VycmVudD8udmFsdWUpKTtcbiAgICAgICAgICAgIH0sIFtvdXRlclZhbHVlLCBpbnB1dFJlZj8uY3VycmVudD8udmFsdWVdKTtcblxuICAgICAgICAgICAgY29uc3QgaW5uZXJPcHRpb25hbCA9IEJvb2xlYW4ocmVxdWlyZWQgPyBmYWxzZSA6IG9wdGlvbmFsKTtcbiAgICAgICAgICAgIGNvbnN0IGhhc1BsYWNlaG9sZGVyT3B0aW9uYWwgPSBpbm5lck9wdGlvbmFsICYmICFpbm5lckxhYmVsVmFsdWUgJiYgIWhhc091dGVyTGFiZWw7XG4gICAgICAgICAgICBjb25zdCBvcHRpb25hbFRleHROb2RlID0gaW5uZXJPcHRpb25hbCA/IChcbiAgICAgICAgICAgICAgICA8U3R5bGVkT3B0aW9uYWxUZXh0PlxuICAgICAgICAgICAgICAgICAgICB7Qm9vbGVhbihoYXNQbGFjZWhvbGRlck9wdGlvbmFsID8gaW5uZXJQbGFjZWhvbGRlclZhbHVlIDogaW5uZXJMYWJlbFZhbHVlKSAmJiAnXFx4YTAnfVxuICAgICAgICAgICAgICAgICAgICB7b3B0aW9uYWxUZXh0fVxuICAgICAgICAgICAgICAgIDwvU3R5bGVkT3B0aW9uYWxUZXh0PlxuICAgICAgICAgICAgKSA6IG51bGw7XG5cbiAgICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAgICAgPFJvb3RcbiAgICAgICAgICAgICAgICAgICAgdmlldz17dmlld31cbiAgICAgICAgICAgICAgICAgICAgc2l6ZT17c2l6ZX1cbiAgICAgICAgICAgICAgICAgICAgZGlzYWJsZWQ9e2Rpc2FibGVkfVxuICAgICAgICAgICAgICAgICAgICByZWFkT25seT17IWRpc2FibGVkICYmIHJlYWRPbmx5fVxuICAgICAgICAgICAgICAgICAgICBjbGVhcj17Y2xlYXJ9XG4gICAgICAgICAgICAgICAgICAgIGxhYmVsUGxhY2VtZW50PXtpbm5lckxhYmVsUGxhY2VtZW50VmFsdWV9XG4gICAgICAgICAgICAgICAgICAgIG9uQ2xpY2s9e2hhbmRsZUlucHV0Rm9jdXN9XG4gICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17Y3goXG4gICAgICAgICAgICAgICAgICAgICAgICBsYWJlbFBsYWNlbWVudENsYXNzLFxuICAgICAgICAgICAgICAgICAgICAgICAgY2xlYXJDbGFzcyxcbiAgICAgICAgICAgICAgICAgICAgICAgIGhhc0RpdmlkZXJDbGFzcyxcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzZXMudGV4dEZpZWxkR3JvdXBJdGVtLFxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lLFxuICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICBzdHlsZT17c3R5bGV9XG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICB7aGFzT3V0ZXJMYWJlbCAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICA8TGFiZWwgaWQ9e2xhYmVsSWR9IGh0bWxGb3I9e2lkfT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7cmVxdWlyZWQgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8U3R5bGVkSW5kaWNhdG9yIGNsYXNzTmFtZT17Y3goY2xhc3Nlcy5vdXRlckxhYmVsUGxhY2VtZW50LCByZXF1aXJlZFBsYWNlbWVudENsYXNzKX0gLz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtpbm5lckxhYmVsVmFsdWV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge29wdGlvbmFsVGV4dE5vZGV9XG4gICAgICAgICAgICAgICAgICAgICAgICA8L0xhYmVsPlxuICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICA8SW5wdXRXcmFwcGVyXG4gICAgICAgICAgICAgICAgICAgICAgICAvLyBSZWYg0LTQu9GPINCy0L3Rg9GC0YDQtdC90L3QtdCz0L4g0LjRgdC/0L7Qu9GM0LfQvtCy0LDQvdC40Y8uINCd0LUg0L7RgtC00LDQtdGC0YHRjyDQvdCw0YDRg9C20YMuXG4gICAgICAgICAgICAgICAgICAgICAgICByZWY9eyhyZXN0IGFzIGFueSkuaW5wdXRXcmFwcGVyUmVmfVxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtjeCh3aXRoSGFzQ2hpcHMsIHdyYXBwZXJXaXRob3V0TGVmdENvbnRlbnQsIHdyYXBwZXJXaXRob3V0UmlnaHRDb250ZW50KX1cbiAgICAgICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICAgICAgeyFoYXNPdXRlckxhYmVsICYmIHJlcXVpcmVkICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8U3R5bGVkSW5kaWNhdG9yIGNsYXNzTmFtZT17Y3goY2xhc3Nlcy5pbm5lckxhYmVsUGxhY2VtZW50LCByZXF1aXJlZFBsYWNlbWVudENsYXNzKX0gLz5cbiAgICAgICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgICAgICB7Y29udGVudExlZnQgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxTdHlsZWRDb250ZW50TGVmdCBpc0NsZWFyPXtjbGVhcn0gaXNEZWZhdWx0Vmlldz17aXNEZWZhdWx0Vmlld30+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtjb250ZW50TGVmdH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L1N0eWxlZENvbnRlbnRMZWZ0PlxuICAgICAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgICAgIDxJbnB1dExhYmVsV3JhcHBlclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRhYkluZGV4PXstMX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWY9e2NvbnRlbnRSZWZ9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgb25LZXlEb3duPXtoYW5kbGVDb250ZW50S2V5RG93bn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9e3dpdGhIYXNDaGlwc31cbiAgICAgICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7dGV4dEJlZm9yZSAmJiA8U3R5bGVkVGV4dEJlZm9yZT57dGV4dEJlZm9yZX08L1N0eWxlZFRleHRCZWZvcmU+fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtpc0NoaXBFbnVtZXJhdGlvbiAmJiBCb29sZWFuKGNoaXBzPy5sZW5ndGgpICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFN0eWxlZENoaXBzPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2NoaXBzPy5tYXAoKHsgaWQ6IGNoaXBJZCwgdGV4dCB9LCBpbmRleCkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxUZXh0RmllbGRDaGlwXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZD17Y2hpcElkfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVmPXsoZWxlbWVudCkgPT4gZ2V0UmVmKGVsZW1lbnQsIGluZGV4KX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGtleT17YCR7Y2hpcElkfV8ke2luZGV4fWB9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkaXNhYmxlZD17ZGlzYWJsZWR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWFkT25seT17cmVhZE9ubHl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZT17dGV4dH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHRleHQ9e3RleHR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbktleURvd249eyhldmVudCkgPT4gaGFuZGxlQ2hpcEtleURvd24oZXZlbnQsIGNoaXBJZCwgaW5kZXgpfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DbGVhcj17KCkgPT4gb25DaGlwQ2xlYXIoY2hpcElkLCBpbmRleCl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNsaWNrPXtvbkNoaXBDbGlja31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApO1xuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgfSl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvU3R5bGVkQ2hpcHM+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8SW5wdXRDb250YWluZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxJbnB1dFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVmPXtpbnB1dEZvcmtSZWZ9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBpZD17aW5uZXJJZH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHZhbHVlPXtvdXRlclZhbHVlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXJpYS1sYWJlbGxlZGJ5PXtsYWJlbElkfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgYXJpYS1kZXNjcmliZWRieT17aGVscGVyVGV4dElkfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcGxhY2Vob2xkZXI9e2lubmVyUGxhY2Vob2xkZXJWYWx1ZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17Y3goaGFzVmFsdWVDbGFzcyl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBkaXNhYmxlZD17ZGlzYWJsZWR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWFkT25seT17IWRpc2FibGVkICYmIHJlYWRPbmx5fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25JbnB1dD17aGFuZGxlSW5wdXR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBvbkNoYW5nZT17aGFuZGxlQ2hhbmdlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25LZXlEb3duPXtoYW5kbGVPbktleURvd259XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7Li4ucmVzdH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2hhc0lubmVyTGFiZWwgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPExhYmVsIGlkPXtsYWJlbElkfSBodG1sRm9yPXtpbm5lcklkfT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aW5uZXJMYWJlbFZhbHVlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtvcHRpb25hbFRleHROb2RlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9MYWJlbD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3BsYWNlaG9sZGVyU2hvd24gJiYgIWhhc1ZhbHVlICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxJbnB1dFBsYWNlaG9sZGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtpbm5lclBsYWNlaG9sZGVyVmFsdWV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2hhc1BsYWNlaG9sZGVyT3B0aW9uYWwgJiYgb3B0aW9uYWxUZXh0Tm9kZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvSW5wdXRQbGFjZWhvbGRlcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L0lucHV0Q29udGFpbmVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHt0ZXh0QWZ0ZXIgJiYgPFN0eWxlZFRleHRBZnRlcj57dGV4dEFmdGVyfTwvU3R5bGVkVGV4dEFmdGVyPn1cbiAgICAgICAgICAgICAgICAgICAgICAgIDwvSW5wdXRMYWJlbFdyYXBwZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICB7Y29udGVudFJpZ2h0ICYmIDxTdHlsZWRDb250ZW50UmlnaHQ+e2NvbnRlbnRSaWdodH08L1N0eWxlZENvbnRlbnRSaWdodD59XG4gICAgICAgICAgICAgICAgICAgIDwvSW5wdXRXcmFwcGVyPlxuICAgICAgICAgICAgICAgICAgICB7bGVmdEhlbHBlciAmJiA8TGVmdEhlbHBlciBpZD17aGVscGVyVGV4dElkfT57bGVmdEhlbHBlcn08L0xlZnRIZWxwZXI+fVxuICAgICAgICAgICAgICAgIDwvUm9vdD5cbiAgICAgICAgICAgICk7XG4gICAgICAgIH0sXG4gICAgKTtcblxuZXhwb3J0IGNvbnN0IHRleHRGaWVsZENvbmZpZyA9IHtcbiAgICBuYW1lOiAnVGV4dEZpZWxkJyxcbiAgICB0YWc6ICdkaXYnLFxuICAgIGxheW91dDogdGV4dEZpZWxkUm9vdCxcbiAgICBiYXNlLFxuICAgIHZhcmlhdGlvbnM6IHtcbiAgICAgICAgdmlldzoge1xuICAgICAgICAgICAgY3NzOiB2aWV3Q1NTLFxuICAgICAgICB9LFxuICAgICAgICBzaXplOiB7XG4gICAgICAgICAgICBjc3M6IHNpemVDU1MsXG4gICAgICAgIH0sXG4gICAgICAgIGNsZWFyOiB7XG4gICAgICAgICAgICBjc3M6IGNsZWFyQ1NTLFxuICAgICAgICAgICAgYXR0cnM6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGRpc2FibGVkOiB7XG4gICAgICAgICAgICBjc3M6IGRpc2FibGVkQ1NTLFxuICAgICAgICAgICAgYXR0cnM6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIHJlYWRPbmx5OiB7XG4gICAgICAgICAgICBjc3M6IHJlYWRPbmx5Q1NTLFxuICAgICAgICAgICAgYXR0cnM6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGxhYmVsUGxhY2VtZW50OiB7XG4gICAgICAgICAgICBjc3M6IGxhYmVsUGxhY2VtZW50Q1NTLFxuICAgICAgICB9LFxuICAgIH0sXG4gICAgZGVmYXVsdHM6IHtcbiAgICAgICAgc2l6ZTogJ20nLFxuICAgICAgICB2aWV3OiAnZGVmYXVsdCcsXG4gICAgfSxcbn07XG4iXX0= */",
37
+ map: "/*# sourceMappingURL=data:application/json;char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Y29udGVudFJpZ2h0LFxuICAgICAgICAgICAgICAgIGxhYmVsLFxuICAgICAgICAgICAgICAgIGxhYmVsUGxhY2VtZW50LFxuICAgICAgICAgICAgICAgIHRleHRCZWZvcmUsXG4gICAgICAgICAgICAgICAgdGV4dEFmdGVyLFxuICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyLFxuICAgICAgICAgICAgICAgIGxlZnRIZWxwZXIsXG4gICAgICAgICAgICAgICAgZW51bWVyYXRpb25UeXBlID0gJ3BsYWluJyxcbiAgICAgICAgICAgICAgICByZXF1aXJlZFBsYWNlbWVudCA9ICdyaWdodCcsXG4gICAgICAgICAgICAgICAgdGl0bGVDYXB0aW9uLFxuXG4gICAgICAgICAgICAgICAgLy8gaGludFxuICAgICAgICAgICAgICAgIGhpbnRUcmlnZ2VyID0gJ2hvdmVyJyxcbiAgICAgICAgICAgICAgICBoaW50VGV4dCxcbiAgICAgICAgICAgICAgICBoaW50VmlldyA9ICdkZWZhdWx0JyxcbiAgICAgICAgICAgICAgICBoaW50U2l6ZSA9ICdtJyxcbiAgICAgICAgICAgICAgICBoaW50VGFyZ2V0SWNvbixcbiAgICAgICAgICAgICAgICBoaW50UGxhY2VtZW50ID0gJ2F1dG8nLFxuICAgICAgICAgICAgICAgIGhpbnRIYXNBcnJvdyxcbiAgICAgICAgICAgICAgICBoaW50T2Zmc2V0ID0gSElOVF9ERUZBVUxUX09GRlNFVCxcbiAgICAgICAgICAgICAgICBoaW50V2lkdGgsXG4gICAgICAgICAgICAgICAgaGludENvbnRlbnRMZWZ0LFxuXG4gICAgICAgICAgICAgICAgLy8gdmFyaWF0aW9uc1xuICAgICAgICAgICAgICAgIHZpZXcsXG4gICAgICAgICAgICAgICAgc2l6ZSxcbiAgICAgICAgICAgICAgICByZWFkT25seSA9IGZhbHNlLFxuICAgICAgICAgICAgICAgIGRpc2FibGVkID0gZmFsc2UsXG4gICAgICAgICAgICAgICAgcmVxdWlyZWQgPSBmYWxzZSxcbiAgICAgICAgICAgICAgICBjbGVhciA9IGZhbHNlLFxuICAgICAgICAgICAgICAgIG9wdGlvbmFsLFxuICAgICAgICAgICAgICAgIGhhc0RpdmlkZXIsXG5cbiAgICAgICAgICAgICAgICAvLyBjb250cm9sbGVkXG4gICAgICAgICAgICAgICAgdmFsdWU6IG91dGVyVmFsdWUsXG4gICAgICAgICAgICAgICAgY2hpcHM6IHZhbHVlcyxcblxuICAgICAgICAgICAgICAgIC8vIGV2ZW50c1xuICAgICAgICAgICAgICAgIG9uQ2hhbmdlLFxuICAgICAgICAgICAgICAgIG9uQ2hhbmdlQ2hpcHMsXG4gICAgICAgICAgICAgICAgb25TZWFyY2gsXG4gICAgICAgICAgICAgICAgb25LZXlEb3duLFxuXG4gICAgICAgICAgICAgICAgLi4ucmVzdFxuICAgICAgICAgICAgfSxcbiAgICAgICAgICAgIHJlZixcbiAgICAgICAgKSA9PiB7XG4gICAgICAgICAgICBjb25zdCBjb250ZW50UmVmID0gdXNlUmVmPEhUTUxEaXZFbGVtZW50PihudWxsKTtcbiAgICAgICAgICAgIGNvbnN0IGlucHV0UmVmID0gdXNlUmVmPEhUTUxJbnB1dEVsZW1lbnQ+KG51bGwpO1xuICAgICAgICAgICAgY29uc3QgaW5wdXRGb3JrUmVmID0gdXNlRm9ya1JlZihpbnB1dFJlZiwgcmVmKTtcbiAgICAgICAgICAgIGNvbnN0IGNoaXBzUmVmcyA9IHVzZVJlZjxBcnJheTxIVE1MQnV0dG9uRWxlbWVudD4+KFtdKTtcblxuICAgICAgICAgICAgY29uc3QgY29udHJvbGxlZFJlZnMgPSB7IGNvbnRlbnRSZWYsIGlucHV0UmVmLCBjaGlwc1JlZnMgfTtcblxuICAgICAgICAgICAgY29uc3QgW2hhc1ZhbHVlLCBzZXRIYXNWYWx1ZV0gPSB1c2VTdGF0ZShcbiAgICAgICAgICAgICAgICBCb29sZWFuKG91dGVyVmFsdWUpIHx8IEJvb2xlYW4oaW5wdXRSZWY/LmN1cnJlbnQ/LnZhbHVlK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ZiwgaGludElubmVyUmVmKTtcblxuICAgICAgICAgICAgY29uc3QgaGFuZGxlSW5wdXQ6IEZvcm1FdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD4gPSAoZXZlbnQpID0+IHtcbiAgICAgICAgICAgICAgICBzZXRIYXNWYWx1ZShCb29sZWFuKChldmVudC50YXJnZXQgYXMgSFRNTElucHV0RWxlbWVudCkudmFsdWUpKTtcbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIGNvbnN0IGhhbmRsZUhpbnRTaG93ID0gKCkgPT4gc2V0SXNIaW50VmlzaWJsZSh0cnVlKTtcbiAgICAgICAgICAgIGNvbnN0IGhhbmRsZUhpbnRIaWRlID0gKCkgPT4gc2V0SXNIaW50VmlzaWJsZShmYWxzZSk7XG4gICAgICAgICAgICBjb25zdCBoYW5kbGVIaW50Q2xpY2s6IE1vdXNlRXZlbnRIYW5kbGVyID0gKGV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKGhpbnRUZXh0ICYmIGhpbnRUcmlnZ2VyID09PSAnY2xpY2snKSB7XG4gICAgICAgICAgICAgICAgICAgIGV2ZW50LnN0b3BQcm9wYWdhdGlvbigpO1xuICAgICAgICAgICAgICAgICAgICBjb25zdCB0YXJnZXRJc1BvcG92ZXIgPSBldmVudC50YXJnZXQgPT09IGhpbnRJbm5lclJlZi5jdXJyZW50O1xuICAgICAgICAgICAgICAgICAgICBjb25zdCByb290SGFzVGFyZ2V0ID0gaGludElubmVyUmVmLmN1cnJlbnQ/LmNvbnRhaW5zKGV2ZW50LnRhcmdldCBhcyBFbGVtZW50KTtcblxuICAgICAgICAgICAgICAgICAgICBpZiAoIXRhcmdldElzUG9wb3ZlciAmJiAhcm9vdEhhc1RhcmdldCkge1xuICAgICAgICAgICAgICAgICAgICAgICAgc2V0SXNIaW50VmlzaWJsZSh0cnVlKTtcbiAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIGNvbnN0IGhhbmRsZUNoYW5nZTogQ2hhbmdlRXZlbnRIYW5kbGVyPEhUTUxJbnB1dEVsZW1lbnQ+ID0gKGV2ZW50KSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKGRpc2FibGVkIHx8IHJlYWRPbmx5KSB7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICBjb25zdCB7IG1heExlbmd0aCwgdmFsdWUgfSA9IGV2ZW50LnRhcmdldDtcblxuICAgICAgICAgICAgICAgIGlmIChtYXhMZW5ndGggIT09IC0xICYmIHZhbHVlLmxlbmd0aCA+IG1heExlbmd0aCkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgb25DaGFuZ2U/LihldmVudCk7XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICBjb25zdCB1cGRhdGVDaGlwcyA9IChuZXdDaGlwczogQXJyYXk8Q2hpcFZhbHVlcz4sIG5ld1ZhbHVlczogQXJyYXk8VGV4dEZpZWxkUHJpbWl0aXZlVmFsdWU+KSA9PiB7XG4gICAgICAgICAgICAgICAgc2V0Q2hpcHMobmV3Q2hpcHMpO1xuICAgICAgICAgICAgICAgIG9uQ2hhbmdlQ2hpcHM/LihuZXdWYWx1ZXMpO1xuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgY29uc3QgeyBoYW5kbGVJbnB1dEtleWRvd24sIGhhbmRsZUNoaXBLZXlEb3duLCBvbkNoaXBDbGVhciwgaGFuZGxlQ29udGVudEtleURvd24gfSA9IHVzZUtleU5hdmlnYXRpb24oe1xuICAgICAgICAgICAgICAgIGNvbnRyb2xsZWRSZWZzLFxuICAgICAgICAgICAgICAgIGRpc2FibGVkLFxuICAgICAgICAgICAgICAgIHJlYWRPbmx5LFxuICAgICAgICAgICAgICAgIGNoaXBzLFxuICAgICAgICAgICAgICAgIGVudW1lcmF0aW9uVHlwZSxcbiAgICAgICAgICAgICAgICB1cGRhdGVDaGlwcyxcbiAgICAgICAgICAgICAgICBvblNlYXJjaCxcbiAgICAgICAgICAgICAgICBvbkNoYW5nZSxcbiAgICAgICAgICAgICAgICBvbkVudGVyRGlzYWJsZWQ6IChyZXN0IGFzIGFueSkub25FbnRlckRpc2FibGVkLFxuICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgIGNvbnN0IG9uQ2hpcENsaWNrID0gKGV2ZW50OiBSZWFjdC5Nb3VzZUV2ZW50PEhUTUxCdXR0b25FbGVtZW50PikgPT4gZXZlbnQuc3RvcFByb3BhZ2F0aW9uKCk7XG5cbiAgICAgICAgICAgIGNvbnN0IGhhbmRsZUlucHV0Rm9jdXMgPSAoKSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKHJlYWRPbmx5IHx8IGRpc2FibGVkIHx8ICFpbnB1dFJlZj8uY3VycmVudCkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgaW5wdXRSZWYuY3VycmVudC5zY3JvbGxUbyh7XG4gICAgICAgICAgICAgICAgICAgIHRvcDogMCxcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogaW5wdXRSZWYuY3VycmVudC5vZmZzZXRMZWZ0LFxuICAgICAgICAgICAgICAgICAgICBiZWhhdmlvcjogJ3Ntb290aCcsXG4gICAgICAgICAgICAgICAgfSk7XG5cbiAgICAgICAgICAgICAgICBpbnB1dFJlZi5jdXJyZW50LmZvY3VzKCk7XG4gICAgICAgICAgICB9O1xuXG4gICAgICAgICAgICBjb25zdCBnZXRSZWYgPSAoZWxlbWVudDogSFRNTEJ1dHRvbkVsZW1lbnQgfCBudWxsLCBpbmRleDogbnVtYmVyKSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKGVsZW1lbnQgJiYgY2hpcHNSZWZzPy5jdXJyZW50KSB7XG4gICAgICAgICAgICAgICAgICAgIGNoaXBzUmVmcy5jdXJyZW50W2luZGV4XSA9IGVsZW1lbnQ7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfTtcblxuICAgICAgICAgICAgY29uc3QgaGFuZGxlT25LZXlEb3duID0gKGV2ZW50OiBDaGFuZ2VFdmVudDxIVE1MSW5wdXRFbGVtZW50PiAmIEtleWJvYXJkRXZlbnQ8SFRNTElucHV0RWxlbWVudD4pID0+IHtcbiAgICAgICAgICAgICAgICBoYW5kbGVJbnB1dEtleWRvd24oZXZlbnQpO1xuXG4gICAgICAgICAgICAgICAgaWYgKG9uS2V5RG93bikge1xuICAgICAgICAgICAgICAgICAgICBvbktleURvd24oZXZlbnQpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH07XG5cbiAgICAgICAgICAgIHVzZUVmZmVjdCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgaWYgKCFpc0NoaXBFbnVtZXJhdGlvbiAmJiAhdmFsdWVzPy5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGNvbnN0IG5ld0NoaXBzID1cbiAgICAgICAgICAgICAgICAgICAgdmFsdWVzPy5tYXAoKHZhbHVlLCBpbmRleCkgPT4gKHtcbiAgICAgICAgICAgICAgICAgICAgICAgIGlkOiBgJHtpbmRleH1fJHt2YWx1ZX1gLFxuICAgICAgICAgICAgICAgICAgICAgICAgdGV4dDogdmFsdWUsXG4gICAgICAgICAgICAgICAgICAgIH0pKSB8fCBbXTtcblxuICAgICAgICAgICAgICAgIHNldENoaXBzKG5ld0NoaXBzKTtcbiAgICAgICAgICAgIH0sIFtpc0NoaXBFbnVtZXJhdGlvbiwgdmFsdWVzXSk7XG5cbiAgICAgICAgICAgIHVzZUVmZmVjdCgoKSA9PiB7XG4gICAgICAgICAgICAgICAgc2V0SGFzVmFsdWUoQm9vbGVhbihyZXN0Py5kZWZhdWx0VmFsdWUpKTtcbiAgICAgICAgICAgIH0sIFtyZXN0LmRlZmF1bHRWYWx1ZV0pO1xuXG4gICAgICAgICAgICB1c2VFZmZlY3QoKCkgPT4ge1xuICAgICAgICAgICAgICAgIHNldEhhc1ZhbHVlKEJvb2xlYW4ob3V0ZXJWYWx1ZSkgfHwgQm9vbGVhbihpbnB1dFJlZj8uY3VycmVudD8udmFsdWUpKTtcbiAgICAgICAgICAgIH0sIFtvdXRlclZhbHVlLCBpbnB1dFJlZj8uY3VycmVudD8udmFsdWVdKTtcblxuICAgICAgICAgICAgY29uc3QgaW5uZXJPcHRpb25hbCA9IEJvb2xlYW4ocmVxdWlyZWQgPyBmYWxzZSA6IG9wdGlvbmFsKTtcbiAgICAgICAgICAgIGNvbnN0IGhhc1BsYWNlaG9sZGVyT3B0aW9uYWwgPSBpbm5lck9wdGlvbmFsICYmICFpbm5lckxhYmVsVmFsdWUgJiYgIWhhc091dGVyTGFiZWw7XG4gICAgICAgICAgICBjb25zdCBvcHRpb25hbFRleHROb2RlID0gaW5uZXJPcHRpb25hbCA/IChcbiAgICAgICAgICAgICAgICA8U3R5bGVkT3B0aW9uYWxUZXh0PlxuICAgICAgICAgICAgICAgICAgICB7Qm9vbGVhbihoYXNQbGFjZWhvbGRlck9wdGlvbmFsID8gaW5uZXJQbGFjZWhvbGRlclZhbHVlIDogaW5uZXJMYWJlbFZhbHVlKSAmJiAnXFx4YTAnfVxuICAgICAgICAgICAgICAgICAgICB7b3B0aW9uYWxUZXh0fVxuICAgICAgICAgICAgICAgIDwvU3R5bGVkT3B0aW9uYWxUZXh0PlxuICAgICAgICAgICAgKSA6IG51bGw7XG5cbiAgICAgICAgICAgIHJldHVybiAoXG4gICAgICAgICAgICAgICAgPFJvb3RcbiAgICAgICAgICAgICAgICAgICAgdmlldz17dmlld31cbiAgICAgICAgICAgICAgICAgICAgc2l6ZT17c2l6ZX1cbiAgICAgICAgICAgICAgICAgICAgZGlzYWJsZWQ9e2Rpc2FibGVkfVxuICAgICAgICAgICAgICAgICAgICByZWFkT25seT17IWRpc2FibGVkICYmIHJlYWRPbmx5fVxuICAgICAgICAgICAgICAgICAgICBjbGVhcj17Y2xlYXJ9XG4gICAgICAgICAgICAgICAgICAgIGxhYmVsUGxhY2VtZW50PXtpbm5lckxhYmVsUGxhY2VtZW50VmFsdWV9XG4gICAgICAgICAgICAgICAgICAgIG9uQ2xpY2s9e2hhbmRsZUlucHV0Rm9jdXN9XG4gICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17Y3goXG4gICAgICAgICAgICAgICAgICAgICAgICBsYWJlbFBsYWNlbWVudENsYXNzLFxuICAgICAgICAgICAgICAgICAgICAgICAgY2xlYXJDbGFzcyxcbiAgICAgICAgICAgICAgICAgICAgICAgIGhhc0RpdmlkZXJDbGFzcyxcbiAgICAgICAgICAgICAgICAgICAgICAgIGhhc0hpbnRDbGFzcyxcbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzZXMudGV4dEZpZWxkR3JvdXBJdGVtLFxuICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lLFxuICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICBzdHlsZT17c3R5bGV9XG4gICAgICAgICAgICAgICAgICAgIHsuLi4oaGludFRleHQgJiYgeyBoaW50VmlldywgaGludFNpemUgfSl9XG4gICAgICAgICAgICAgICAgPlxuICAgICAgICAgICAgICAgICAgICB7KGhhc091dGVyTGFiZWwgfHwgdGl0bGVDYXB0aW9uKSAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICA8T3V0ZXJMYWJlbFdyYXBwZXIgaXNJbm5uZXJMYWJlbD17bGFiZWxQbGFjZW1lbnQgPT09ICdpbm5lcid9PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtoYXNPdXRlckxhYmVsICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFN0eWxlZEluZGljYXRvcldyYXBwZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8TGFiZWwgaWQ9e2xhYmVsSWR9IGh0bWxGb3I9e2lkfT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aW5uZXJMYWJlbFZhbHVlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9MYWJlbD5cblxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2hpbnRUZXh0ICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8U3R5bGVkSGludFdyYXBwZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxIaW50Q29tcG9uZW50XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWY9e2hpbnRGb3JrUmVmfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludFRleHQ9e2hpbnRUZXh0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludFRyaWdnZXI9e2hpbnRUcmlnZ2VyfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXNIaW50VmlzaWJsZT17aXNIaW50VmlzaWJsZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRUYXJnZXRJY29uPXtoaW50VGFyZ2V0SWNvbn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRQbGFjZW1lbnQ9e2hpbnRQbGFjZW1lbnR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50SGFzQXJyb3c9e2hpbnRIYXNBcnJvd31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRPZmZzZXQ9e2hpbnRPZmZzZXR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50V2lkdGg9e2hpbnRXaWR0aH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRDb250ZW50TGVmdD17aGludENvbnRlbnRMZWZ0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGFuZGxlSGludFNob3c9e2hhbmRsZUhpbnRTaG93fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGFuZGxlSGludEhpZGU9e2hhbmRsZUhpbnRIaWRlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGFuZGxlSGludENsaWNrPXtoYW5kbGVIaW50Q2xpY2t9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9TdHlsZWRIaW50V3JhcHBlcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7cmVxdWlyZWQgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxTdHlsZWRJbmRpY2F0b3JcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXtjeChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzZXMub3V0ZXJMYWJlbFBsYWNlbWVudCxcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlcXVpcmVkUGxhY2VtZW50Q2xhc3MsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoYXNIaW50Q2xhc3MsXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7b3B0aW9uYWxUZXh0Tm9kZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9TdHlsZWRJbmRpY2F0b3JXcmFwcGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3RpdGxlQ2FwdGlvbiAmJiA8VGl0bGVDYXB0aW9uPnt0aXRsZUNhcHRpb259PC9UaXRsZUNhcHRpb24+fVxuICAgICAgICAgICAgICAgICAgICAgICAgPC9PdXRlckxhYmVsV3JhcHBlcj5cbiAgICAgICAgICAgICAgICAgICAgKX1cbiAgICAgICAgICAgICAgICAgICAgPElucHV0V3JhcHBlclxuICAgICAgICAgICAgICAgICAgICAgICAgLy8gUmVmINC00LvRjyDQstC90YPRgtGA0LXQvdC90LXQs9C+INC40YHQv9C+0LvRjNC30L7QstCw0L3QuNGPLiDQndC1INC+0YLQtNCw0LXRgtGB0Y8g0L3QsNGA0YPQttGDLlxuICAgICAgICAgICAgICAgICAgICAgICAgcmVmPXsocmVzdCBhcyBhbnkpLmlucHV0V3JhcHBlclJlZn1cbiAgICAgICAgICAgICAgICAgICAgICAgIGNsYXNzTmFtZT17Y3god2l0aEhhc0NoaXBzLCB3cmFwcGVyV2l0aG91dExlZnRDb250ZW50LCB3cmFwcGVyV2l0aG91dFJpZ2h0Q29udGVudCl9XG4gICAgICAgICAgICAgICAgICAgID5cbiAgICAgICAgICAgICAgICAgICAgICAgIHshaGFzT3V0ZXJMYWJlbCAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPD5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge3JlcXVpcmVkICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxTdHlsZWRJbmRpY2F0b3JcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9e2N4KGNsYXNzZXMuaW5uZXJMYWJlbFBsYWNlbWVudCwgcmVxdWlyZWRQbGFjZW1lbnRDbGFzcyl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aGludFRleHQgJiYgKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPFN0eWxlZEhpbnRXcmFwcGVyIGNsYXNzTmFtZT17Y2xhc3Nlcy5pbm5lckxhYmVsUGxhY2VtZW50fT5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8SGludENvbXBvbmVudFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZWY9e2hpbnRGb3JrUmVmfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50VGV4dD17aGludFRleHR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRUcmlnZ2VyPXtoaW50VHJpZ2dlcn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaXNIaW50VmlzaWJsZT17aXNIaW50VmlzaWJsZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludFRhcmdldEljb249e2hpbnRUYXJnZXRJY29ufVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50UGxhY2VtZW50PXtoaW50UGxhY2VtZW50fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoaW50SGFzQXJyb3c9e2hpbnRIYXNBcnJvd31cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludE9mZnNldD17aGludE9mZnNldH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGludFdpZHRoPXtoaW50V2lkdGh9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhpbnRDb250ZW50TGVmdD17aGludENvbnRlbnRMZWZ0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBoYW5kbGVIaW50U2hvdz17aGFuZGxlSGludFNob3d9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGhhbmRsZUhpbnRIaWRlPXtoYW5kbGVIaW50SGlkZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaGFuZGxlSGludENsaWNrPXtoYW5kbGVIaW50Q2xpY2t9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgLz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvU3R5bGVkSGludFdyYXBwZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC8+XG4gICAgICAgICAgICAgICAgICAgICAgICApfVxuICAgICAgICAgICAgICAgICAgICAgICAge2NvbnRlbnRMZWZ0ICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8U3R5bGVkQ29udGVudExlZnQgaXNDbGVhcj17Y2xlYXJ9IGlzRGVmYXVsdFZpZXc9e2lzRGVmYXVsdFZpZXd9PlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7Y29udGVudExlZnR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9TdHlsZWRDb250ZW50TGVmdD5cbiAgICAgICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgICAgICA8SW5wdXRMYWJlbFdyYXBwZXJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB0YWJJbmRleD17LTF9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVmPXtjb250ZW50UmVmfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uS2V5RG93bj17aGFuZGxlQ29udGVudEtleURvd259XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgY2xhc3NOYW1lPXt3aXRoSGFzQ2hpcHN9XG4gICAgICAgICAgICAgICAgICAgICAgICA+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3RleHRCZWZvcmUgJiYgPFN0eWxlZFRleHRCZWZvcmU+e3RleHRCZWZvcmV9PC9TdHlsZWRUZXh0QmVmb3JlPn1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aXNDaGlwRW51bWVyYXRpb24gJiYgQm9vbGVhbihjaGlwcz8ubGVuZ3RoKSAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxTdHlsZWRDaGlwcz5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtjaGlwcz8ubWFwKCh7IGlkOiBjaGlwSWQsIHRleHQgfSwgaW5kZXgpID0+IHtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gKFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8VGV4dEZpZWxkQ2hpcFxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWQ9e2NoaXBJZH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlZj17KGVsZW1lbnQpID0+IGdldFJlZihlbGVtZW50LCBpbmRleCl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBrZXk9e2Ake2NoaXBJZH1fJHtpbmRleH1gfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlzYWJsZWQ9e2Rpc2FibGVkfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVhZE9ubHk9e3JlYWRPbmx5fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgdmFsdWU9e3RleHR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB0ZXh0PXt0ZXh0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25LZXlEb3duPXsoZXZlbnQpID0+IGhhbmRsZUNoaXBLZXlEb3duKGV2ZW50LCBjaGlwSWQsIGluZGV4KX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uQ2xlYXI9eygpID0+IG9uQ2hpcENsZWFyKGNoaXBJZCwgaW5kZXgpfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DbGljaz17b25DaGlwQ2xpY2t9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIH0pfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L1N0eWxlZENoaXBzPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPElucHV0Q29udGFpbmVyPlxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8SW5wdXRcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHJlZj17aW5wdXRGb3JrUmVmfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgaWQ9e2lubmVySWR9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB2YWx1ZT17b3V0ZXJWYWx1ZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFyaWEtbGFiZWxsZWRieT17bGFiZWxJZH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGFyaWEtZGVzY3JpYmVkYnk9e2hlbHBlclRleHRJZH1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHBsYWNlaG9sZGVyPXtpbm5lclBsYWNlaG9sZGVyVmFsdWV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzc05hbWU9e2N4KGhhc1ZhbHVlQ2xhc3MpfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgZGlzYWJsZWQ9e2Rpc2FibGVkfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgcmVhZE9ubHk9eyFkaXNhYmxlZCAmJiByZWFkT25seX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uSW5wdXQ9e2hhbmRsZUlucHV0fVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgb25DaGFuZ2U9e2hhbmRsZUNoYW5nZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIG9uS2V5RG93bj17aGFuZGxlT25LZXlEb3dufVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgey4uLnJlc3R9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC8+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtoYXNJbm5lckxhYmVsICYmIChcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxMYWJlbCBpZD17bGFiZWxJZH0gaHRtbEZvcj17aW5uZXJJZH0+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAge2lubmVyTGFiZWxWYWx1ZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7b3B0aW9uYWxUZXh0Tm9kZX1cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvTGFiZWw+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtwbGFjZWhvbGRlclNob3duICYmICFoYXNWYWx1ZSAmJiAoXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8SW5wdXRQbGFjZWhvbGRlcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICB7aW5uZXJQbGFjZWhvbGRlclZhbHVlfVxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHtoYXNQbGFjZWhvbGRlck9wdGlvbmFsICYmIG9wdGlvbmFsVGV4dE5vZGV9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L0lucHV0UGxhY2Vob2xkZXI+XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICl9XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPC9JbnB1dENvbnRhaW5lcj5cbiAgICAgICAgICAgICAgICAgICAgICAgICAgICB7dGV4dEFmdGVyICYmIDxTdHlsZWRUZXh0QWZ0ZXI+e3RleHRBZnRlcn08L1N0eWxlZFRleHRBZnRlcj59XG4gICAgICAgICAgICAgICAgICAgICAgICA8L0lucHV0TGFiZWxXcmFwcGVyPlxuICAgICAgICAgICAgICAgICAgICAgICAge2NvbnRlbnRSaWdodCAmJiA8U3R5bGVkQ29udGVudFJpZ2h0Pntjb250ZW50UmlnaHR9PC9TdHlsZWRDb250ZW50UmlnaHQ+fVxuICAgICAgICAgICAgICAgICAgICA8L0lucHV0V3JhcHBlcj5cbiAgICAgICAgICAgICAgICAgICAge2xlZnRIZWxwZXIgJiYgPExlZnRIZWxwZXIgaWQ9e2hlbHBlclRleHRJZH0+e2xlZnRIZWxwZXJ9PC9MZWZ0SGVscGVyPn1cbiAgICAgICAgICAgICAgICA8L1Jvb3Q+XG4gICAgICAgICAgICApO1xuICAgICAgICB9LFxuICAgICk7XG5cbmV4cG9ydCBjb25zdCB0ZXh0RmllbGRDb25maWcgPSB7XG4gICAgbmFtZTogJ1RleHRGaWVsZCcsXG4gICAgdGFnOiAnZGl2JyxcbiAgICBsYXlvdXQ6IHRleHRGaWVsZFJvb3QsXG4gICAgYmFzZSxcbiAgICB2YXJpYXRpb25zOiB7XG4gICAgICAgIHZpZXc6IHtcbiAgICAgICAgICAgIGNzczogdmlld0NTUyxcbiAgICAgICAgfSxcbiAgICAgICAgc2l6ZToge1xuICAgICAgICAgICAgY3NzOiBzaXplQ1NTLFxuICAgICAgICB9LFxuICAgICAgICBjbGVhcjoge1xuICAgICAgICAgICAgY3NzOiBjbGVhckNTUyxcbiAgICAgICAgICAgIGF0dHJzOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBkaXNhYmxlZDoge1xuICAgICAgICAgICAgY3NzOiBkaXNhYmxlZENTUyxcbiAgICAgICAgICAgIGF0dHJzOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICByZWFkT25seToge1xuICAgICAgICAgICAgY3NzOiByZWFkT25seUNTUyxcbiAgICAgICAgICAgIGF0dHJzOiB0cnVlLFxuICAgICAgICB9LFxuICAgICAgICBsYWJlbFBsYWNlbWVudDoge1xuICAgICAgICAgICAgY3NzOiBsYWJlbFBsYWNlbWVudENTUyxcbiAgICAgICAgfSxcbiAgICAgICAgaGludFZpZXc6IHtcbiAgICAgICAgICAgIGNzczogaGludFZpZXdDU1MsXG4gICAgICAgIH0sXG4gICAgICAgIGhpbnRTaXplOiB7XG4gICAgICAgICAgICBjc3M6IGhpbnRTaXplQ1NTLFxuICAgICAgICB9LFxuICAgIH0sXG4gICAgZGVmYXVsdHM6IHtcbiAgICAgICAgc2l6ZTogJ20nLFxuICAgICAgICB2aWV3OiAnZGVmYXVsdCcsXG4gICAgfSxcbn07XG4iXX0= */",
34
38
  toString: _EMOTION_STRINGIFIED_CSS_ERROR__
35
39
  };
40
+ var HINT_DEFAULT_OFFSET = [0, 0];
36
41
  export var textFieldRoot = function textFieldRoot(Root) {
37
42
  return /*#__PURE__*/forwardRef(function (_ref, ref) {
38
43
  var _inputRef$current, _inputRef$current3;
@@ -51,6 +56,22 @@ export var textFieldRoot = function textFieldRoot(Root) {
51
56
  enumerationType = _ref$enumerationType === void 0 ? 'plain' : _ref$enumerationType,
52
57
  _ref$requiredPlacemen = _ref.requiredPlacement,
53
58
  requiredPlacement = _ref$requiredPlacemen === void 0 ? 'right' : _ref$requiredPlacemen,
59
+ titleCaption = _ref.titleCaption,
60
+ _ref$hintTrigger = _ref.hintTrigger,
61
+ hintTrigger = _ref$hintTrigger === void 0 ? 'hover' : _ref$hintTrigger,
62
+ hintText = _ref.hintText,
63
+ _ref$hintView = _ref.hintView,
64
+ hintView = _ref$hintView === void 0 ? 'default' : _ref$hintView,
65
+ _ref$hintSize = _ref.hintSize,
66
+ hintSize = _ref$hintSize === void 0 ? 'm' : _ref$hintSize,
67
+ hintTargetIcon = _ref.hintTargetIcon,
68
+ _ref$hintPlacement = _ref.hintPlacement,
69
+ hintPlacement = _ref$hintPlacement === void 0 ? 'auto' : _ref$hintPlacement,
70
+ hintHasArrow = _ref.hintHasArrow,
71
+ _ref$hintOffset = _ref.hintOffset,
72
+ hintOffset = _ref$hintOffset === void 0 ? HINT_DEFAULT_OFFSET : _ref$hintOffset,
73
+ hintWidth = _ref.hintWidth,
74
+ hintContentLeft = _ref.hintContentLeft,
54
75
  view = _ref.view,
55
76
  size = _ref.size,
56
77
  _ref$readOnly = _ref.readOnly,
@@ -87,6 +108,10 @@ export var textFieldRoot = function textFieldRoot(Root) {
87
108
  _useState4 = _slicedToArray(_useState3, 2),
88
109
  chips = _useState4[0],
89
110
  setChips = _useState4[1];
111
+ var _useState5 = useState(false),
112
+ _useState6 = _slicedToArray(_useState5, 2),
113
+ isHintVisible = _useState6[0],
114
+ setIsHintVisible = _useState6[1];
90
115
  var uniqId = safeUseId();
91
116
  var innerId = id || uniqId;
92
117
  var labelId = safeUseId();
@@ -105,14 +130,37 @@ export var textFieldRoot = function textFieldRoot(Root) {
105
130
  var placeholderShown = Boolean(innerPlaceholderValue) && !hasValue;
106
131
  var clearClass = clear ? classes.clear : undefined;
107
132
  var hasDividerClass = hasDivider ? classes.hasDivider : undefined;
133
+ var hasHintClass = hintText ? classes.hasHint : undefined;
108
134
  var requiredPlacementClass = requiredPlacement === 'right' ? 'align-right ' : undefined;
109
135
  var labelPlacementClass = innerLabelPlacementValue ? classes["".concat(innerLabelPlacementValue, "LabelPlacement")] : undefined;
110
136
  var hasValueClass = hasValue ? classes.hasValue : undefined;
111
137
  var wrapperWithoutLeftContent = !contentLeft && isChipsVisible ? classes.hasEmptyContentLeft : undefined;
112
138
  var wrapperWithoutRightContent = !contentRight && isChipsVisible ? classes.hasEmptyContentRight : undefined;
139
+ var hintRef = useOutsideClick(function () {
140
+ setIsHintVisible(false);
141
+ });
142
+ var hintInnerRef = useRef(null);
143
+ var hintForkRef = useForkRef(hintRef, hintInnerRef);
113
144
  var handleInput = function handleInput(event) {
114
145
  setHasValue(Boolean(event.target.value));
115
146
  };
147
+ var handleHintShow = function handleHintShow() {
148
+ return setIsHintVisible(true);
149
+ };
150
+ var handleHintHide = function handleHintHide() {
151
+ return setIsHintVisible(false);
152
+ };
153
+ var handleHintClick = function handleHintClick(event) {
154
+ if (hintText && hintTrigger === 'click') {
155
+ var _hintInnerRef$current;
156
+ event.stopPropagation();
157
+ var targetIsPopover = event.target === hintInnerRef.current;
158
+ var rootHasTarget = (_hintInnerRef$current = hintInnerRef.current) === null || _hintInnerRef$current === void 0 ? void 0 : _hintInnerRef$current.contains(event.target);
159
+ if (!targetIsPopover && !rootHasTarget) {
160
+ setIsHintVisible(true);
161
+ }
162
+ }
163
+ };
116
164
  var handleChange = function handleChange(event) {
117
165
  if (disabled || readOnly) {
118
166
  return;
@@ -191,7 +239,7 @@ export var textFieldRoot = function textFieldRoot(Root) {
191
239
  var innerOptional = Boolean(required ? false : optional);
192
240
  var hasPlaceholderOptional = innerOptional && !innerLabelValue && !hasOuterLabel;
193
241
  var optionalTextNode = innerOptional ? /*#__PURE__*/React.createElement(StyledOptionalText, null, Boolean(hasPlaceholderOptional ? innerPlaceholderValue : innerLabelValue) && '\xa0', optionalText) : null;
194
- return /*#__PURE__*/React.createElement(Root, {
242
+ return /*#__PURE__*/React.createElement(Root, _extends({
195
243
  view: view,
196
244
  size: size,
197
245
  disabled: disabled,
@@ -199,21 +247,56 @@ export var textFieldRoot = function textFieldRoot(Root) {
199
247
  clear: clear,
200
248
  labelPlacement: innerLabelPlacementValue,
201
249
  onClick: handleInputFocus,
202
- className: cx(labelPlacementClass, clearClass, hasDividerClass, classes.textFieldGroupItem, className),
250
+ className: cx(labelPlacementClass, clearClass, hasDividerClass, hasHintClass, classes.textFieldGroupItem, className),
203
251
  style: style
204
- }, hasOuterLabel && /*#__PURE__*/React.createElement(Label, {
252
+ }, hintText && {
253
+ hintView: hintView,
254
+ hintSize: hintSize
255
+ }), (hasOuterLabel || titleCaption) && /*#__PURE__*/React.createElement(OuterLabelWrapper, {
256
+ isInnnerLabel: labelPlacement === 'inner'
257
+ }, hasOuterLabel && /*#__PURE__*/React.createElement(StyledIndicatorWrapper, null, /*#__PURE__*/React.createElement(Label, {
205
258
  id: labelId,
206
259
  htmlFor: id
207
- }, required && /*#__PURE__*/React.createElement(StyledIndicator, {
208
- className: cx(classes.outerLabelPlacement, requiredPlacementClass)
209
- }), innerLabelValue, optionalTextNode), /*#__PURE__*/React.createElement(InputWrapper
260
+ }, innerLabelValue), hintText && /*#__PURE__*/React.createElement(StyledHintWrapper, null, /*#__PURE__*/React.createElement(HintComponent, {
261
+ ref: hintForkRef,
262
+ hintText: hintText,
263
+ hintTrigger: hintTrigger,
264
+ isHintVisible: isHintVisible,
265
+ hintTargetIcon: hintTargetIcon,
266
+ hintPlacement: hintPlacement,
267
+ hintHasArrow: hintHasArrow,
268
+ hintOffset: hintOffset,
269
+ hintWidth: hintWidth,
270
+ hintContentLeft: hintContentLeft,
271
+ handleHintShow: handleHintShow,
272
+ handleHintHide: handleHintHide,
273
+ handleHintClick: handleHintClick
274
+ })), required && /*#__PURE__*/React.createElement(StyledIndicator, {
275
+ className: cx(classes.outerLabelPlacement, requiredPlacementClass, hasHintClass)
276
+ }), optionalTextNode), titleCaption && /*#__PURE__*/React.createElement(TitleCaption, null, titleCaption)), /*#__PURE__*/React.createElement(InputWrapper
210
277
  // Ref для внутреннего использования. Не отдается наружу.
211
278
  , {
212
279
  ref: rest.inputWrapperRef,
213
280
  className: cx(withHasChips, wrapperWithoutLeftContent, wrapperWithoutRightContent)
214
- }, !hasOuterLabel && required && /*#__PURE__*/React.createElement(StyledIndicator, {
281
+ }, !hasOuterLabel && /*#__PURE__*/React.createElement(React.Fragment, null, required && /*#__PURE__*/React.createElement(StyledIndicator, {
215
282
  className: cx(classes.innerLabelPlacement, requiredPlacementClass)
216
- }), contentLeft && /*#__PURE__*/React.createElement(StyledContentLeft, {
283
+ }), hintText && /*#__PURE__*/React.createElement(StyledHintWrapper, {
284
+ className: classes.innerLabelPlacement
285
+ }, /*#__PURE__*/React.createElement(HintComponent, {
286
+ ref: hintForkRef,
287
+ hintText: hintText,
288
+ hintTrigger: hintTrigger,
289
+ isHintVisible: isHintVisible,
290
+ hintTargetIcon: hintTargetIcon,
291
+ hintPlacement: hintPlacement,
292
+ hintHasArrow: hintHasArrow,
293
+ hintOffset: hintOffset,
294
+ hintWidth: hintWidth,
295
+ hintContentLeft: hintContentLeft,
296
+ handleHintShow: handleHintShow,
297
+ handleHintHide: handleHintHide,
298
+ handleHintClick: handleHintClick
299
+ }))), contentLeft && /*#__PURE__*/React.createElement(StyledContentLeft, {
217
300
  isClear: clear,
218
301
  isDefaultView: isDefaultView
219
302
  }, contentLeft), /*#__PURE__*/React.createElement(InputLabelWrapper, {
@@ -289,6 +372,12 @@ export var textFieldConfig = {
289
372
  },
290
373
  labelPlacement: {
291
374
  css: labelPlacementCSS
375
+ },
376
+ hintView: {
377
+ css: hintViewCSS
378
+ },
379
+ hintSize: {
380
+ css: hintSizeCSS
292
381
  }
293
382
  },
294
383
  defaults: {