@salutejs/plasma-new-hope 0.72.0-canary.1160.8617165473.0 → 0.72.0-canary.1161.8613087402.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (434) hide show
  1. package/cjs/components/Cell/Cell.js +0 -2
  2. package/cjs/components/Cell/Cell.js.map +1 -1
  3. package/cjs/components/Combobox/Combobox.css +10 -10
  4. package/cjs/components/Combobox/Combobox.styles.js +5 -5
  5. package/cjs/components/Combobox/Combobox.styles.js.map +1 -1
  6. package/cjs/components/Combobox/{Combobox.styles_17ei5vn.css → Combobox.styles_dw6hnk.css} +1 -1
  7. package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  8. package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  9. package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  10. package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  11. package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -4
  12. package/cjs/components/Dropdown/Dropdown.css +4 -4
  13. package/cjs/components/Dropdown/Dropdown.js +0 -1
  14. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  15. package/cjs/components/Pagination/Pagination.css +4 -4
  16. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
  17. package/cjs/components/Popover/Popover.css +4 -4
  18. package/cjs/components/Popover/Popover.js +33 -43
  19. package/cjs/components/Popover/Popover.js.map +1 -1
  20. package/cjs/components/Popover/Popover.styles.js +1 -1
  21. package/cjs/components/Popover/Popover.styles.js.map +1 -1
  22. package/{es/components/Popover/Popover.styles_1rk9t6z.css → cjs/components/Popover/Popover.styles_1ggb66y.css} +1 -1
  23. package/cjs/components/Select/Select.css +4 -4
  24. package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +23 -0
  25. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +40 -0
  26. package/cjs/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -0
  27. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +12 -0
  28. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +1 -0
  29. package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +1 -0
  30. package/cjs/components/{TextField/variations/_view → Select/ui/SelectDivider/variations/_size}/base.js +2 -2
  31. package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js.map +1 -0
  32. package/cjs/components/{TextField/variations/_read-only → Select/ui/SelectDivider/variations/_view}/base.js +2 -2
  33. package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js.map +1 -0
  34. package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +23 -0
  35. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +40 -0
  36. package/cjs/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -0
  37. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +12 -0
  38. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +1 -0
  39. package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +1 -0
  40. package/cjs/components/{TextField → Select/ui/SelectFooter}/variations/_size/base.js +2 -2
  41. package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js.map +1 -0
  42. package/cjs/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +1 -0
  43. package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +9 -0
  44. package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js.map +1 -0
  45. package/cjs/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +1 -0
  46. package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +23 -0
  47. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +40 -0
  48. package/cjs/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -0
  49. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +12 -0
  50. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +1 -0
  51. package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +1 -0
  52. package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +9 -0
  53. package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js.map +1 -0
  54. package/cjs/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +1 -0
  55. package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +9 -0
  56. package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js.map +1 -0
  57. package/cjs/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +1 -0
  58. package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +23 -0
  59. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +40 -0
  60. package/cjs/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -0
  61. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +12 -0
  62. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +1 -0
  63. package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +1 -0
  64. package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +9 -0
  65. package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js.map +1 -0
  66. package/cjs/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +1 -0
  67. package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +9 -0
  68. package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js.map +1 -0
  69. package/cjs/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +1 -0
  70. package/cjs/components/Select/ui/SelectItem/SelectItem.css +4 -4
  71. package/cjs/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
  72. package/cjs/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -1
  73. package/cjs/components/TextField/TextField.js +40 -166
  74. package/cjs/components/TextField/TextField.js.map +1 -1
  75. package/cjs/components/TextField/TextField.styles.js +11 -27
  76. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  77. package/cjs/components/TextField/TextField.styles_2qw1n8.css +5 -0
  78. package/cjs/components/TextField/TextField.tokens.js +20 -68
  79. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  80. package/cjs/components/TextField/TextField_1lzb2r1.css +1 -0
  81. package/cjs/components/TextField/{variations/_disabled → _disabled}/base.js +2 -2
  82. package/cjs/components/TextField/_disabled/base.js.map +1 -0
  83. package/cjs/components/TextField/_disabled/base_so3w81.css +1 -0
  84. package/cjs/components/TextField/{variations/_label-placement → _label-placement}/base.js +1 -1
  85. package/cjs/components/TextField/_label-placement/base.js.map +1 -0
  86. package/cjs/components/TextField/_label-placement/base_x642ct.css +1 -0
  87. package/cjs/components/TextField/{variations/_label-placement → _label-placement}/inner.js +2 -2
  88. package/cjs/components/TextField/_label-placement/inner.js.map +1 -0
  89. package/cjs/components/TextField/_label-placement/inner_1tyuicp.css +1 -0
  90. package/cjs/components/TextField/{variations/_label-placement → _label-placement}/outer.js +2 -2
  91. package/cjs/components/TextField/_label-placement/outer.js.map +1 -0
  92. package/cjs/components/TextField/_label-placement/outer_19ekaek.css +1 -0
  93. package/cjs/components/TextField/_size/base.js +9 -0
  94. package/cjs/components/TextField/_size/base.js.map +1 -0
  95. package/cjs/components/TextField/_size/base_b5smyu.css +1 -0
  96. package/cjs/components/TextField/_view/base.js +9 -0
  97. package/cjs/components/TextField/_view/base.js.map +1 -0
  98. package/cjs/components/TextField/_view/base_5bqzed.css +1 -0
  99. package/cjs/index.css +42 -49
  100. package/cjs/index.js +41 -6
  101. package/cjs/index.js.map +1 -1
  102. package/cjs/utils/index.js +13 -1
  103. package/cjs/utils/index.js.map +1 -1
  104. package/cjs/utils/react.js +12 -2
  105. package/cjs/utils/react.js.map +1 -1
  106. package/es/components/Cell/Cell.js +0 -2
  107. package/es/components/Cell/Cell.js.map +1 -1
  108. package/es/components/Combobox/Combobox.css +10 -10
  109. package/es/components/Combobox/Combobox.styles.js +5 -5
  110. package/es/components/Combobox/Combobox.styles.js.map +1 -1
  111. package/es/components/Combobox/{Combobox.styles_17ei5vn.css → Combobox.styles_dw6hnk.css} +1 -1
  112. package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +4 -4
  113. package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +4 -4
  114. package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +4 -4
  115. package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +4 -4
  116. package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -4
  117. package/es/components/Dropdown/Dropdown.css +4 -4
  118. package/es/components/Dropdown/Dropdown.js +0 -1
  119. package/es/components/Dropdown/Dropdown.js.map +1 -1
  120. package/es/components/Pagination/Pagination.css +4 -4
  121. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
  122. package/es/components/Popover/Popover.css +4 -4
  123. package/es/components/Popover/Popover.js +33 -43
  124. package/es/components/Popover/Popover.js.map +1 -1
  125. package/es/components/Popover/Popover.styles.js +1 -1
  126. package/es/components/Popover/Popover.styles.js.map +1 -1
  127. package/{cjs/components/Popover/Popover.styles_1rk9t6z.css → es/components/Popover/Popover.styles_1ggb66y.css} +1 -1
  128. package/es/components/Select/Select.css +4 -4
  129. package/es/components/Select/ui/SelectDivider/SelectDivider.css +23 -0
  130. package/es/components/Select/ui/SelectDivider/SelectDivider.js +35 -0
  131. package/es/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -0
  132. package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +7 -0
  133. package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +1 -0
  134. package/es/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +1 -0
  135. package/es/components/{TextField/variations/_view → Select/ui/SelectDivider/variations/_size}/base.js +2 -2
  136. package/es/components/Select/ui/SelectDivider/variations/_size/base.js.map +1 -0
  137. package/es/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +1 -0
  138. package/es/components/Select/ui/SelectDivider/variations/_view/base.js +5 -0
  139. package/es/components/Select/ui/SelectDivider/variations/_view/base.js.map +1 -0
  140. package/es/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +1 -0
  141. package/es/components/Select/ui/SelectFooter/SelectFooter.css +23 -0
  142. package/es/components/Select/ui/SelectFooter/SelectFooter.js +35 -0
  143. package/es/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -0
  144. package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +7 -0
  145. package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +1 -0
  146. package/es/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +1 -0
  147. package/es/components/Select/ui/SelectFooter/variations/_size/base.js +5 -0
  148. package/es/components/Select/ui/SelectFooter/variations/_size/base.js.map +1 -0
  149. package/es/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +1 -0
  150. package/es/components/Select/ui/SelectFooter/variations/_view/base.js +5 -0
  151. package/es/components/Select/ui/SelectFooter/variations/_view/base.js.map +1 -0
  152. package/es/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +1 -0
  153. package/es/components/Select/ui/SelectGroup/SelectGroup.css +23 -0
  154. package/es/components/Select/ui/SelectGroup/SelectGroup.js +35 -0
  155. package/es/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -0
  156. package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +7 -0
  157. package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +1 -0
  158. package/es/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +1 -0
  159. package/es/components/Select/ui/SelectGroup/variations/_size/base.js +5 -0
  160. package/es/components/Select/ui/SelectGroup/variations/_size/base.js.map +1 -0
  161. package/es/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +1 -0
  162. package/es/components/Select/ui/SelectGroup/variations/_view/base.js +5 -0
  163. package/es/components/Select/ui/SelectGroup/variations/_view/base.js.map +1 -0
  164. package/es/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +1 -0
  165. package/es/components/Select/ui/SelectHeader/SelectHeader.css +23 -0
  166. package/es/components/Select/ui/SelectHeader/SelectHeader.js +35 -0
  167. package/es/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -0
  168. package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +7 -0
  169. package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +1 -0
  170. package/es/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +1 -0
  171. package/es/components/Select/ui/SelectHeader/variations/_size/base.js +5 -0
  172. package/es/components/Select/ui/SelectHeader/variations/_size/base.js.map +1 -0
  173. package/es/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +1 -0
  174. package/es/components/Select/ui/SelectHeader/variations/_view/base.js +5 -0
  175. package/es/components/Select/ui/SelectHeader/variations/_view/base.js.map +1 -0
  176. package/es/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +1 -0
  177. package/es/components/Select/ui/SelectItem/SelectItem.css +4 -4
  178. package/es/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
  179. package/es/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -1
  180. package/es/components/TextField/TextField.js +44 -169
  181. package/es/components/TextField/TextField.js.map +1 -1
  182. package/es/components/TextField/TextField.styles.js +12 -25
  183. package/es/components/TextField/TextField.styles.js.map +1 -1
  184. package/es/components/TextField/TextField.styles_2qw1n8.css +5 -0
  185. package/es/components/TextField/TextField.tokens.js +21 -68
  186. package/es/components/TextField/TextField.tokens.js.map +1 -1
  187. package/es/components/TextField/TextField_1lzb2r1.css +1 -0
  188. package/es/components/TextField/_disabled/base.js +5 -0
  189. package/es/components/TextField/_disabled/base.js.map +1 -0
  190. package/es/components/TextField/_disabled/base_so3w81.css +1 -0
  191. package/es/components/TextField/{variations/_label-placement → _label-placement}/base.js +1 -1
  192. package/es/components/TextField/_label-placement/base.js.map +1 -0
  193. package/es/components/TextField/_label-placement/base_x642ct.css +1 -0
  194. package/es/components/TextField/_label-placement/inner.js +5 -0
  195. package/es/components/TextField/_label-placement/inner.js.map +1 -0
  196. package/es/components/TextField/_label-placement/inner_1tyuicp.css +1 -0
  197. package/es/components/TextField/_label-placement/outer.js +5 -0
  198. package/es/components/TextField/_label-placement/outer.js.map +1 -0
  199. package/es/components/TextField/_label-placement/outer_19ekaek.css +1 -0
  200. package/es/components/TextField/_size/base.js +5 -0
  201. package/es/components/TextField/_size/base.js.map +1 -0
  202. package/es/components/TextField/_size/base_b5smyu.css +1 -0
  203. package/es/components/TextField/_view/base.js +5 -0
  204. package/es/components/TextField/_view/base.js.map +1 -0
  205. package/es/components/TextField/_view/base_5bqzed.css +1 -0
  206. package/es/index.css +42 -49
  207. package/es/index.js +15 -2
  208. package/es/index.js.map +1 -1
  209. package/es/utils/index.js +11 -2
  210. package/es/utils/index.js.map +1 -1
  211. package/es/utils/react.js +9 -2
  212. package/es/utils/react.js.map +1 -1
  213. package/package.json +2 -2
  214. package/styled-components/cjs/components/Cell/Cell.js +0 -2
  215. package/styled-components/cjs/components/Combobox/Combobox.styles.js +1 -1
  216. package/styled-components/cjs/components/Dropdown/Dropdown.js +0 -1
  217. package/styled-components/cjs/components/Popover/Popover.js +33 -43
  218. package/styled-components/cjs/components/Popover/Popover.styles.js +1 -1
  219. package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
  220. package/styled-components/cjs/components/TextField/TextField.js +43 -173
  221. package/styled-components/cjs/components/TextField/TextField.styles.js +10 -18
  222. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +0 -24
  223. package/styled-components/cjs/components/TextField/TextField.tokens.js +21 -68
  224. package/styled-components/cjs/components/TextField/_disabled/base.js +9 -0
  225. package/styled-components/cjs/components/TextField/_label-placement/inner.js +10 -0
  226. package/styled-components/cjs/components/TextField/{variations/_label-placement → _label-placement}/outer.js +3 -3
  227. package/styled-components/cjs/components/TextField/_size/base.js +10 -0
  228. package/styled-components/cjs/components/TextField/_view/base.js +10 -0
  229. package/styled-components/cjs/components/TextField/index.js +2 -2
  230. package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +0 -7
  231. package/styled-components/cjs/index.js +22 -0
  232. package/styled-components/es/components/Cell/Cell.js +0 -2
  233. package/styled-components/es/components/Combobox/Combobox.styles.js +1 -1
  234. package/styled-components/es/components/Dropdown/Dropdown.js +0 -1
  235. package/styled-components/es/components/Popover/Popover.js +33 -43
  236. package/styled-components/es/components/Popover/Popover.styles.js +1 -1
  237. package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
  238. package/styled-components/es/components/TextField/TextField.js +47 -177
  239. package/styled-components/es/components/TextField/TextField.styles.js +9 -17
  240. package/styled-components/es/components/TextField/TextField.template-doc.mdx +0 -24
  241. package/styled-components/es/components/TextField/TextField.tokens.js +20 -67
  242. package/styled-components/es/components/TextField/_disabled/base.js +3 -0
  243. package/styled-components/es/components/TextField/_label-placement/inner.js +4 -0
  244. package/styled-components/es/components/TextField/_label-placement/outer.js +4 -0
  245. package/styled-components/es/components/TextField/_size/base.js +4 -0
  246. package/styled-components/es/components/TextField/_view/base.js +4 -0
  247. package/styled-components/es/components/TextField/index.js +2 -2
  248. package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +0 -7
  249. package/styled-components/es/index.js +2 -0
  250. package/types/components/Cell/Cell.d.ts.map +1 -1
  251. package/types/components/Combobox/Combobox.styles.d.ts +2 -8
  252. package/types/components/Combobox/Combobox.styles.d.ts.map +1 -1
  253. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  254. package/types/components/Dropdown/Dropdown.styles.d.ts +1 -7
  255. package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
  256. package/types/components/Popover/Popover.d.ts +2 -2
  257. package/types/components/Popover/Popover.d.ts.map +1 -1
  258. package/types/components/Popover/Popover.styles.d.ts.map +1 -1
  259. package/types/components/Popover/Popover.types.d.ts +12 -19
  260. package/types/components/Popover/Popover.types.d.ts.map +1 -1
  261. package/types/components/Select/Select.styles.d.ts +2 -8
  262. package/types/components/Select/Select.styles.d.ts.map +1 -1
  263. package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts.map +1 -1
  264. package/types/components/TextField/TextField.d.ts +3 -8
  265. package/types/components/TextField/TextField.d.ts.map +1 -1
  266. package/types/components/TextField/TextField.styles.d.ts +3 -6
  267. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  268. package/types/components/TextField/TextField.tokens.d.ts +8 -57
  269. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  270. package/types/components/TextField/TextField.types.d.ts +6 -71
  271. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  272. package/types/components/TextField/_disabled/base.d.ts.map +1 -0
  273. package/types/components/TextField/_label-placement/base.d.ts.map +1 -0
  274. package/types/components/TextField/_label-placement/index.d.ts.map +1 -0
  275. package/types/components/TextField/_label-placement/inner.d.ts.map +1 -0
  276. package/types/components/TextField/_label-placement/outer.d.ts.map +1 -0
  277. package/types/components/TextField/_size/base.d.ts.map +1 -0
  278. package/types/components/TextField/_view/base.d.ts.map +1 -0
  279. package/types/components/TextField/index.d.ts +2 -3
  280. package/types/components/TextField/index.d.ts.map +1 -1
  281. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts +1 -7
  282. package/types/examples/plasma_b2c/components/Popover/Popover.d.ts.map +1 -1
  283. package/types/examples/plasma_web/components/Popover/Popover.d.ts +1 -7
  284. package/types/examples/plasma_web/components/Popover/Popover.d.ts.map +1 -1
  285. package/types/examples/sds_engineer/components/Popover/Popover.d.ts +1 -7
  286. package/types/examples/sds_engineer/components/Popover/Popover.d.ts.map +1 -1
  287. package/types/index.d.ts +2 -0
  288. package/types/index.d.ts.map +1 -1
  289. package/cjs/components/TextField/TextField.styles_1b1mddp.css +0 -8
  290. package/cjs/components/TextField/TextField_wctd2m.css +0 -1
  291. package/cjs/components/TextField/hooks/useKeyNavigation.js +0 -132
  292. package/cjs/components/TextField/hooks/useKeyNavigation.js.map +0 -1
  293. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +0 -19
  294. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -38
  295. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +0 -1
  296. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -26
  297. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +0 -1
  298. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1y8n7la.css +0 -1
  299. package/cjs/components/TextField/variations/_disabled/base.js.map +0 -1
  300. package/cjs/components/TextField/variations/_disabled/base_1tnjoy9.css +0 -1
  301. package/cjs/components/TextField/variations/_label-placement/base.js.map +0 -1
  302. package/cjs/components/TextField/variations/_label-placement/inner.js.map +0 -1
  303. package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
  304. package/cjs/components/TextField/variations/_label-placement/outer.js.map +0 -1
  305. package/cjs/components/TextField/variations/_label-placement/outer_is41nj.css +0 -1
  306. package/cjs/components/TextField/variations/_read-only/base.js.map +0 -1
  307. package/cjs/components/TextField/variations/_read-only/base_134hshp.css +0 -1
  308. package/cjs/components/TextField/variations/_size/base.js.map +0 -1
  309. package/cjs/components/TextField/variations/_size/base_1khzr9t.css +0 -1
  310. package/cjs/components/TextField/variations/_view/base.js.map +0 -1
  311. package/cjs/components/TextField/variations/_view/base_1qd77x6.css +0 -1
  312. package/es/components/TextField/TextField.styles_1b1mddp.css +0 -8
  313. package/es/components/TextField/TextField_wctd2m.css +0 -1
  314. package/es/components/TextField/hooks/useKeyNavigation.js +0 -127
  315. package/es/components/TextField/hooks/useKeyNavigation.js.map +0 -1
  316. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +0 -19
  317. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -34
  318. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +0 -1
  319. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -22
  320. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +0 -1
  321. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1y8n7la.css +0 -1
  322. package/es/components/TextField/variations/_disabled/base.js +0 -5
  323. package/es/components/TextField/variations/_disabled/base.js.map +0 -1
  324. package/es/components/TextField/variations/_disabled/base_1tnjoy9.css +0 -1
  325. package/es/components/TextField/variations/_label-placement/base.js.map +0 -1
  326. package/es/components/TextField/variations/_label-placement/inner.js +0 -5
  327. package/es/components/TextField/variations/_label-placement/inner.js.map +0 -1
  328. package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
  329. package/es/components/TextField/variations/_label-placement/outer.js +0 -5
  330. package/es/components/TextField/variations/_label-placement/outer.js.map +0 -1
  331. package/es/components/TextField/variations/_label-placement/outer_is41nj.css +0 -1
  332. package/es/components/TextField/variations/_read-only/base.js +0 -5
  333. package/es/components/TextField/variations/_read-only/base.js.map +0 -1
  334. package/es/components/TextField/variations/_read-only/base_134hshp.css +0 -1
  335. package/es/components/TextField/variations/_size/base.js +0 -5
  336. package/es/components/TextField/variations/_size/base.js.map +0 -1
  337. package/es/components/TextField/variations/_size/base_1khzr9t.css +0 -1
  338. package/es/components/TextField/variations/_view/base.js.map +0 -1
  339. package/es/components/TextField/variations/_view/base_1qd77x6.css +0 -1
  340. package/styled-components/cjs/components/TextField/hooks/index.js +0 -12
  341. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +0 -138
  342. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -39
  343. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -25
  344. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +0 -5
  345. package/styled-components/cjs/components/TextField/ui/index.js +0 -12
  346. package/styled-components/cjs/components/TextField/variations/_disabled/base.js +0 -10
  347. package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +0 -10
  348. package/styled-components/cjs/components/TextField/variations/_read-only/base.js +0 -10
  349. package/styled-components/cjs/components/TextField/variations/_read-only/tokens.json +0 -1
  350. package/styled-components/cjs/components/TextField/variations/_size/base.js +0 -10
  351. package/styled-components/cjs/components/TextField/variations/_view/base.js +0 -10
  352. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +0 -43
  353. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.js +0 -11
  354. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -181
  355. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +0 -40
  356. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.js +0 -11
  357. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -181
  358. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.config.js +0 -43
  359. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.js +0 -11
  360. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx +0 -181
  361. package/styled-components/es/components/TextField/hooks/index.js +0 -1
  362. package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +0 -132
  363. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -30
  364. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -19
  365. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +0 -1
  366. package/styled-components/es/components/TextField/ui/index.js +0 -1
  367. package/styled-components/es/components/TextField/variations/_disabled/base.js +0 -4
  368. package/styled-components/es/components/TextField/variations/_label-placement/inner.js +0 -4
  369. package/styled-components/es/components/TextField/variations/_label-placement/outer.js +0 -4
  370. package/styled-components/es/components/TextField/variations/_read-only/base.js +0 -4
  371. package/styled-components/es/components/TextField/variations/_read-only/tokens.json +0 -1
  372. package/styled-components/es/components/TextField/variations/_size/base.js +0 -4
  373. package/styled-components/es/components/TextField/variations/_view/base.js +0 -4
  374. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +0 -37
  375. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.js +0 -5
  376. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -181
  377. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +0 -34
  378. package/styled-components/es/examples/plasma_web/components/TextField/TextField.js +0 -5
  379. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -181
  380. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.config.js +0 -37
  381. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.js +0 -5
  382. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.stories.tsx +0 -181
  383. package/types/components/TextField/hooks/index.d.ts +0 -2
  384. package/types/components/TextField/hooks/index.d.ts.map +0 -1
  385. package/types/components/TextField/hooks/useKeyNavigation.d.ts +0 -17
  386. package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +0 -1
  387. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +0 -7
  388. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +0 -1
  389. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +0 -3
  390. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +0 -1
  391. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +0 -37
  392. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +0 -1
  393. package/types/components/TextField/ui/index.d.ts +0 -2
  394. package/types/components/TextField/ui/index.d.ts.map +0 -1
  395. package/types/components/TextField/variations/_disabled/base.d.ts.map +0 -1
  396. package/types/components/TextField/variations/_label-placement/base.d.ts.map +0 -1
  397. package/types/components/TextField/variations/_label-placement/index.d.ts.map +0 -1
  398. package/types/components/TextField/variations/_label-placement/inner.d.ts.map +0 -1
  399. package/types/components/TextField/variations/_label-placement/outer.d.ts.map +0 -1
  400. package/types/components/TextField/variations/_read-only/base.d.ts.map +0 -1
  401. package/types/components/TextField/variations/_size/base.d.ts.map +0 -1
  402. package/types/components/TextField/variations/_view/base.d.ts +0 -2
  403. package/types/components/TextField/variations/_view/base.d.ts.map +0 -1
  404. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +0 -32
  405. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +0 -1
  406. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +0 -60
  407. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +0 -1
  408. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +0 -32
  409. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +0 -1
  410. package/types/examples/plasma_web/components/TextField/TextField.d.ts +0 -60
  411. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +0 -1
  412. package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts +0 -32
  413. package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts.map +0 -1
  414. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +0 -60
  415. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +0 -1
  416. /package/cjs/components/{TextField/variations/_label-placement → Select/ui/SelectDivider/variations/_size}/base_x642ct.css +0 -0
  417. /package/{es/components/TextField/variations/_label-placement → cjs/components/Select/ui/SelectDivider/variations/_view}/base_x642ct.css +0 -0
  418. /package/styled-components/cjs/components/TextField/{variations/_disabled → _disabled}/tokens.json +0 -0
  419. /package/styled-components/cjs/components/TextField/{variations/_label-placement → _label-placement}/base.js +0 -0
  420. /package/styled-components/cjs/components/TextField/{variations/_label-placement → _label-placement}/index.js +0 -0
  421. /package/styled-components/cjs/components/TextField/{variations/_size → _size}/tokens.json +0 -0
  422. /package/styled-components/cjs/components/TextField/{variations/_view → _view}/tokens.json +0 -0
  423. /package/styled-components/es/components/TextField/{variations/_disabled → _disabled}/tokens.json +0 -0
  424. /package/styled-components/es/components/TextField/{variations/_label-placement → _label-placement}/base.js +0 -0
  425. /package/styled-components/es/components/TextField/{variations/_label-placement → _label-placement}/index.js +0 -0
  426. /package/styled-components/es/components/TextField/{variations/_size → _size}/tokens.json +0 -0
  427. /package/styled-components/es/components/TextField/{variations/_view → _view}/tokens.json +0 -0
  428. /package/types/components/TextField/{variations/_disabled → _disabled}/base.d.ts +0 -0
  429. /package/types/components/TextField/{variations/_label-placement → _label-placement}/base.d.ts +0 -0
  430. /package/types/components/TextField/{variations/_label-placement → _label-placement}/index.d.ts +0 -0
  431. /package/types/components/TextField/{variations/_label-placement → _label-placement}/inner.d.ts +0 -0
  432. /package/types/components/TextField/{variations/_label-placement → _label-placement}/outer.d.ts +0 -0
  433. /package/types/components/TextField/{variations/_read-only → _size}/base.d.ts +0 -0
  434. /package/types/components/TextField/{variations/_size → _view}/base.d.ts +0 -0
@@ -1,5 +0,0 @@
1
- import { component, mergeConfig } from '../../../../engines';
2
- import { textFieldConfig } from '../../../../components/TextField';
3
- import { config } from './TextField.config';
4
- var mergedConfig = /*#__PURE__*/mergeConfig(textFieldConfig, config);
5
- export var TextField = /*#__PURE__*/component(mergedConfig);
@@ -1,181 +0,0 @@
1
- import React, { ComponentProps, useState } from 'react';
2
- import type { StoryObj, Meta } from '@storybook/react';
3
- import { action } from '@storybook/addon-actions';
4
- import { IconPlaceholder } from '@salutejs/plasma-sb-utils';
5
-
6
- import { WithTheme } from '../../../_helpers';
7
-
8
- import { TextField } from './TextField';
9
-
10
- const onChange = action('onChange');
11
- const onFocus = action('onFocus');
12
- const onBlur = action('onBlur');
13
- const onSearch = action('onSearch');
14
- const onChipsChange = action('onChipsChange');
15
-
16
- const sizes = ['l', 'm', 's', 'xs'];
17
- const views = ['default', 'positive', 'warning', 'negative'];
18
- const labelPlacements = ['outer', 'inner'];
19
-
20
- const meta: Meta<typeof TextField> = {
21
- title: 'sds_engineer/TextField',
22
- component: TextField,
23
- decorators: [WithTheme],
24
- argTypes: {
25
- view: {
26
- options: views,
27
- control: {
28
- type: 'select',
29
- },
30
- },
31
- maxLength: {
32
- control: {
33
- type: 'number',
34
- },
35
- },
36
- labelPlacement: {
37
- options: labelPlacements,
38
- control: {
39
- type: 'inline-radio',
40
- },
41
- },
42
- size: {
43
- options: sizes,
44
- control: {
45
- type: 'inline-radio',
46
- },
47
- },
48
- },
49
- };
50
-
51
- export default meta;
52
-
53
- type StoryPropsDefault = Omit<
54
- ComponentProps<typeof TextField>,
55
- | 'helperBlock'
56
- | 'contentLeft'
57
- | 'htmlSize'
58
- | 'contentRight'
59
- | 'type'
60
- | 'name'
61
- | 'onFocus'
62
- | 'onBlur'
63
- | 'onChange'
64
- | 'value'
65
- | 'checked'
66
- | 'maxLength'
67
- | 'minLength'
68
- | 'required'
69
- | 'enumerationType'
70
- | 'chips'
71
- | 'onChangeChips'
72
- > & {
73
- 'storybook:contentLeft': boolean;
74
- 'storybook:contentRight': boolean;
75
- };
76
-
77
- const StoryDemo = ({
78
- 'storybook:contentLeft': enableContentLeft,
79
- 'storybook:contentRight': enableContentRight,
80
- view,
81
- ...rest
82
- }: StoryPropsDefault) => {
83
- const [text, setText] = useState('Значение поля');
84
-
85
- const iconSize = rest.size === 'xs' ? 'xs' : 's';
86
-
87
- return (
88
- <TextField
89
- {...rest}
90
- enumerationType="plain"
91
- value={text}
92
- contentLeft={enableContentLeft ? <IconPlaceholder size={iconSize} /> : undefined}
93
- contentRight={enableContentRight ? <IconPlaceholder size={iconSize} /> : undefined}
94
- view={view}
95
- onChange={(e) => {
96
- setText(e.target.value);
97
- onChange(e.target.value);
98
- }}
99
- onFocus={onFocus}
100
- onBlur={onBlur}
101
- onSearch={onSearch}
102
- />
103
- );
104
- };
105
-
106
- export const Default: StoryObj<StoryPropsDefault> = {
107
- args: {
108
- id: 'example-text-field',
109
- size: 'l',
110
- view: 'default',
111
- label: 'Лейбл',
112
- labelPlacement: 'outer',
113
- placeholder: 'Заполните поле',
114
- leftHelper: 'Подсказка к полю',
115
- disabled: false,
116
- readOnly: false,
117
- 'storybook:contentLeft': true,
118
- 'storybook:contentRight': true,
119
- },
120
- render: (args) => <StoryDemo {...args} />,
121
- };
122
-
123
- type StoryPropsChips = Omit<
124
- ComponentProps<typeof TextField>,
125
- | 'helperBlock'
126
- | 'contentLeft'
127
- | 'htmlSize'
128
- | 'contentRight'
129
- | 'type'
130
- | 'name'
131
- | 'onFocus'
132
- | 'onBlur'
133
- | 'onChange'
134
- | 'onSearch'
135
- | 'value'
136
- | 'checked'
137
- | 'maxLength'
138
- | 'minLength'
139
- | 'required'
140
- | 'enumerationType'
141
- > & {
142
- 'storybook:contentLeft': boolean;
143
- 'storybook:contentRight': boolean;
144
- };
145
-
146
- const StoryChips = ({
147
- 'storybook:contentLeft': enableContentLeft,
148
- 'storybook:contentRight': enableContentRight,
149
- view,
150
- ...rest
151
- }: StoryPropsChips) => {
152
- const [text, setText] = useState('Значение поля');
153
-
154
- const iconSize = rest.size === 'xs' ? 'xs' : 's';
155
-
156
- return (
157
- <TextField
158
- {...rest}
159
- enumerationType="chip"
160
- value={text}
161
- contentLeft={enableContentLeft ? <IconPlaceholder size={iconSize} /> : undefined}
162
- contentRight={enableContentRight ? <IconPlaceholder size={iconSize} /> : undefined}
163
- view={view}
164
- onChange={(e) => {
165
- setText(e.target.value);
166
- onChange(e.target.value);
167
- }}
168
- onFocus={onFocus}
169
- onBlur={onBlur}
170
- onChangeChips={onChipsChange}
171
- />
172
- );
173
- };
174
-
175
- export const Chips: StoryObj<StoryPropsChips> = {
176
- args: {
177
- ...Default.args,
178
- chips: ['1 value', '2 value', '3 value', '4 value'],
179
- },
180
- render: (args) => <StoryChips {...args} />,
181
- };
@@ -1,2 +0,0 @@
1
- export { useKeyNavigation } from './useKeyNavigation';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,17 +0,0 @@
1
- import type { ChangeEvent, KeyboardEvent } from 'react';
2
- import type { UseKeyNavigationProps } from '../TextField.types';
3
- export declare const Keys: {
4
- Enter: string;
5
- Tab: string;
6
- Escape: string;
7
- ArrowLeft: string;
8
- ArrowRight: string;
9
- Backspace: string;
10
- };
11
- export declare const useKeyNavigation: ({ controlledRefs: { chipsRefs, contentRef, inputRef }, disabled, readOnly, chips, enumerationType, updateChips, onChange, onSearch, }: UseKeyNavigationProps) => {
12
- readonly handleInputKeydown: (event: ChangeEvent<HTMLInputElement> & KeyboardEvent<HTMLInputElement>) => void;
13
- readonly handleChipKeyDown: (event: KeyboardEvent<HTMLButtonElement>, chipId: string, chipIndex: number) => void;
14
- readonly onChipClear: (clearId: string, index: number) => void;
15
- readonly handleContentKeyDown: (event: KeyboardEvent<HTMLDivElement>) => void;
16
- };
17
- //# sourceMappingURL=useKeyNavigation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useKeyNavigation.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/hooks/useKeyNavigation.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAExD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAEhE,eAAO,MAAM,IAAI;;;;;;;CAOhB,CAAC;AAEF,eAAO,MAAM,gBAAgB,0IAS1B,qBAAqB;yCAGe,YAAY,gBAAgB,CAAC,GAAG,cAAc,gBAAgB,CAAC;wCA6ChE,cAAc,iBAAiB,CAAC,UAAU,MAAM,aAAa,MAAM;oCAZvE,MAAM,SAAS,MAAM;2CAsBd,cAAc,cAAc,CAAC;CAkDrE,CAAC"}
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import type { TextFieldChipProps } from './TextFieldChip.types';
3
- /**
4
- * Чип, отображающий выбранный элемент
5
- */
6
- export declare const TextFieldChip: React.ForwardRefExoticComponent<TextFieldChipProps & React.RefAttributes<HTMLButtonElement>>;
7
- //# sourceMappingURL=TextFieldChip.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextFieldChip.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,aAAa,8FAqBzB,CAAC"}
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const StyledChip: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & import("../../../Chip").ChipProps & import("react").RefAttributes<HTMLButtonElement>>;
3
- //# sourceMappingURL=TextFieldChip.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextFieldChip.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.styles.ts"],"names":[],"mappings":";AAYA,eAAO,MAAM,UAAU,6PA2CtB,CAAC"}
@@ -1,37 +0,0 @@
1
- /// <reference types="react" />
2
- import type { TextFieldPrimitiveValue } from '../../TextField.types';
3
- export interface TextFieldChipProps {
4
- /**
5
- * ID для чипа.
6
- */
7
- id: string;
8
- /**
9
- * Отображаемый текст.
10
- */
11
- text: TextFieldPrimitiveValue;
12
- /**
13
- * Выбранное значение.
14
- */
15
- value: TextFieldPrimitiveValue;
16
- /**
17
- * Компонент неактивен
18
- */
19
- disabled?: boolean;
20
- /**
21
- * Элемент формы не может изменяться пользователем
22
- */
23
- readOnly?: boolean;
24
- /**
25
- * Обработчик удаления выбранного значения.
26
- */
27
- onClear: (id: string) => void;
28
- /**
29
- * Обработчик клика на выбранное значение.
30
- */
31
- onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
32
- /**
33
- * Обработчик нажатия клавиши.
34
- */
35
- onKeyDown?: (event: React.KeyboardEvent<HTMLButtonElement>, chipId: string) => void;
36
- }
37
- //# sourceMappingURL=TextFieldChip.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextFieldChip.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/ui/TextFieldChip/TextFieldChip.types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,uBAAuB,CAAC;AAErE,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,uBAAuB,CAAC;IAC9B;;OAEG;IACH,KAAK,EAAE,uBAAuB,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAC/D;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC,iBAAiB,CAAC,EAAE,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACvF"}
@@ -1,2 +0,0 @@
1
- export { TextFieldChip } from './TextFieldChip/TextFieldChip';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/ui/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_disabled/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAUhB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/base.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,0CAAQ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"inner.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/inner.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,0CA4ChC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"outer.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_label-placement/outer.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,0CAMhC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_read-only/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CA8BhB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_size/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAgDhB,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const base: import("@linaria/core").LinariaClassName;
2
- //# sourceMappingURL=base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAmChB,CAAC"}
@@ -1,32 +0,0 @@
1
- export declare const config: {
2
- defaults: {
3
- view: string;
4
- size: string;
5
- labelPlacement: string;
6
- };
7
- variations: {
8
- view: {
9
- default: import("@linaria/core").LinariaClassName;
10
- positive: import("@linaria/core").LinariaClassName;
11
- warning: import("@linaria/core").LinariaClassName;
12
- negative: import("@linaria/core").LinariaClassName;
13
- };
14
- size: {
15
- l: import("@linaria/core").LinariaClassName;
16
- m: import("@linaria/core").LinariaClassName;
17
- s: import("@linaria/core").LinariaClassName;
18
- xs: import("@linaria/core").LinariaClassName;
19
- };
20
- labelPlacement: {
21
- inner: import("@linaria/core").LinariaClassName[];
22
- outer: import("@linaria/core").LinariaClassName[];
23
- };
24
- disabled: {
25
- true: import("@linaria/core").LinariaClassName;
26
- };
27
- readOnly: {
28
- true: import("@linaria/core").LinariaClassName;
29
- };
30
- };
31
- };
32
- //# sourceMappingURL=TextField.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextField.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextField/TextField.config.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiWlB,CAAC"}
@@ -1,60 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const TextField: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
- view: {
4
- default: import("@linaria/core").LinariaClassName;
5
- positive: import("@linaria/core").LinariaClassName;
6
- warning: import("@linaria/core").LinariaClassName;
7
- negative: import("@linaria/core").LinariaClassName;
8
- };
9
- size: {
10
- l: import("@linaria/core").LinariaClassName;
11
- m: import("@linaria/core").LinariaClassName;
12
- s: import("@linaria/core").LinariaClassName;
13
- xs: import("@linaria/core").LinariaClassName;
14
- };
15
- labelPlacement: {
16
- inner: import("@linaria/core").LinariaClassName[];
17
- outer: import("@linaria/core").LinariaClassName[];
18
- };
19
- disabled: {
20
- true: import("@linaria/core").LinariaClassName;
21
- };
22
- readOnly: {
23
- true: import("@linaria/core").LinariaClassName;
24
- };
25
- }> & (({
26
- size?: string | undefined;
27
- view?: string | undefined;
28
- readOnly?: boolean | undefined;
29
- disabled?: boolean | undefined;
30
- } & {
31
- label?: string | undefined;
32
- labelPlacement?: "inner" | "outer" | undefined;
33
- leftHelper?: string | undefined;
34
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
35
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
37
- } & {
38
- chips?: undefined;
39
- onChangeChips?: undefined;
40
- enumerationType?: "plain" | undefined;
41
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
42
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLDivElement>) | ({
43
- size?: string | undefined;
44
- view?: string | undefined;
45
- readOnly?: boolean | undefined;
46
- disabled?: boolean | undefined;
47
- } & {
48
- label?: string | undefined;
49
- labelPlacement?: "inner" | "outer" | undefined;
50
- leftHelper?: string | undefined;
51
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
52
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
53
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
54
- } & {
55
- enumerationType: "chip";
56
- onSearch?: undefined;
57
- chips?: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
58
- onChangeChips?: ((value: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
59
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLDivElement>))>;
60
- //# sourceMappingURL=TextField.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0HAA0B,CAAC"}
@@ -1,32 +0,0 @@
1
- export declare const config: {
2
- defaults: {
3
- view: string;
4
- size: string;
5
- labelPlacement: string;
6
- };
7
- variations: {
8
- view: {
9
- default: import("@linaria/core").LinariaClassName;
10
- positive: import("@linaria/core").LinariaClassName;
11
- warning: import("@linaria/core").LinariaClassName;
12
- negative: import("@linaria/core").LinariaClassName;
13
- };
14
- size: {
15
- l: import("@linaria/core").LinariaClassName;
16
- m: import("@linaria/core").LinariaClassName;
17
- s: import("@linaria/core").LinariaClassName;
18
- xs: import("@linaria/core").LinariaClassName;
19
- };
20
- labelPlacement: {
21
- inner: import("@linaria/core").LinariaClassName[];
22
- outer: import("@linaria/core").LinariaClassName[];
23
- };
24
- disabled: {
25
- true: import("@linaria/core").LinariaClassName;
26
- };
27
- readOnly: {
28
- true: import("@linaria/core").LinariaClassName;
29
- };
30
- };
31
- };
32
- //# sourceMappingURL=TextField.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextField.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.config.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+WlB,CAAC"}
@@ -1,60 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const TextField: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
- view: {
4
- default: import("@linaria/core").LinariaClassName;
5
- positive: import("@linaria/core").LinariaClassName;
6
- warning: import("@linaria/core").LinariaClassName;
7
- negative: import("@linaria/core").LinariaClassName;
8
- };
9
- size: {
10
- l: import("@linaria/core").LinariaClassName;
11
- m: import("@linaria/core").LinariaClassName;
12
- s: import("@linaria/core").LinariaClassName;
13
- xs: import("@linaria/core").LinariaClassName;
14
- };
15
- labelPlacement: {
16
- inner: import("@linaria/core").LinariaClassName[];
17
- outer: import("@linaria/core").LinariaClassName[];
18
- };
19
- disabled: {
20
- true: import("@linaria/core").LinariaClassName;
21
- };
22
- readOnly: {
23
- true: import("@linaria/core").LinariaClassName;
24
- };
25
- }> & (({
26
- size?: string | undefined;
27
- view?: string | undefined;
28
- readOnly?: boolean | undefined;
29
- disabled?: boolean | undefined;
30
- } & {
31
- label?: string | undefined;
32
- labelPlacement?: "inner" | "outer" | undefined;
33
- leftHelper?: string | undefined;
34
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
35
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
37
- } & {
38
- chips?: undefined;
39
- onChangeChips?: undefined;
40
- enumerationType?: "plain" | undefined;
41
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
42
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLDivElement>) | ({
43
- size?: string | undefined;
44
- view?: string | undefined;
45
- readOnly?: boolean | undefined;
46
- disabled?: boolean | undefined;
47
- } & {
48
- label?: string | undefined;
49
- labelPlacement?: "inner" | "outer" | undefined;
50
- leftHelper?: string | undefined;
51
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
52
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
53
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
54
- } & {
55
- enumerationType: "chip";
56
- onSearch?: undefined;
57
- chips?: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
58
- onChangeChips?: ((value: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
59
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLDivElement>))>;
60
- //# sourceMappingURL=TextField.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0HAA0B,CAAC"}
@@ -1,32 +0,0 @@
1
- export declare const config: {
2
- defaults: {
3
- view: string;
4
- size: string;
5
- labelPlacement: string;
6
- };
7
- variations: {
8
- view: {
9
- default: import("@linaria/core").LinariaClassName;
10
- positive: import("@linaria/core").LinariaClassName;
11
- warning: import("@linaria/core").LinariaClassName;
12
- negative: import("@linaria/core").LinariaClassName;
13
- };
14
- size: {
15
- l: import("@linaria/core").LinariaClassName;
16
- m: import("@linaria/core").LinariaClassName;
17
- s: import("@linaria/core").LinariaClassName;
18
- xs: import("@linaria/core").LinariaClassName;
19
- };
20
- labelPlacement: {
21
- inner: import("@linaria/core").LinariaClassName[];
22
- outer: import("@linaria/core").LinariaClassName[];
23
- };
24
- disabled: {
25
- true: import("@linaria/core").LinariaClassName;
26
- };
27
- readOnly: {
28
- true: import("@linaria/core").LinariaClassName;
29
- };
30
- };
31
- };
32
- //# sourceMappingURL=TextField.config.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextField.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/TextField/TextField.config.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiXlB,CAAC"}
@@ -1,60 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const TextField: import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
3
- view: {
4
- default: import("@linaria/core").LinariaClassName;
5
- positive: import("@linaria/core").LinariaClassName;
6
- warning: import("@linaria/core").LinariaClassName;
7
- negative: import("@linaria/core").LinariaClassName;
8
- };
9
- size: {
10
- l: import("@linaria/core").LinariaClassName;
11
- m: import("@linaria/core").LinariaClassName;
12
- s: import("@linaria/core").LinariaClassName;
13
- xs: import("@linaria/core").LinariaClassName;
14
- };
15
- labelPlacement: {
16
- inner: import("@linaria/core").LinariaClassName[];
17
- outer: import("@linaria/core").LinariaClassName[];
18
- };
19
- disabled: {
20
- true: import("@linaria/core").LinariaClassName;
21
- };
22
- readOnly: {
23
- true: import("@linaria/core").LinariaClassName;
24
- };
25
- }> & (({
26
- size?: string | undefined;
27
- view?: string | undefined;
28
- readOnly?: boolean | undefined;
29
- disabled?: boolean | undefined;
30
- } & {
31
- label?: string | undefined;
32
- labelPlacement?: "inner" | "outer" | undefined;
33
- leftHelper?: string | undefined;
34
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
35
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
36
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
37
- } & {
38
- chips?: undefined;
39
- onChangeChips?: undefined;
40
- enumerationType?: "plain" | undefined;
41
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
42
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLDivElement>) | ({
43
- size?: string | undefined;
44
- view?: string | undefined;
45
- readOnly?: boolean | undefined;
46
- disabled?: boolean | undefined;
47
- } & {
48
- label?: string | undefined;
49
- labelPlacement?: "inner" | "outer" | undefined;
50
- leftHelper?: string | undefined;
51
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
52
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
53
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
54
- } & {
55
- enumerationType: "chip";
56
- onSearch?: undefined;
57
- chips?: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
58
- onChangeChips?: ((value: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
59
- } & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLDivElement>))>;
60
- //# sourceMappingURL=TextField.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/sds_engineer/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0HAA0B,CAAC"}