@salutejs/plasma-new-hope 0.69.0-dev.0 → 0.70.0-canary.1160.8541256541.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/cjs/components/TextField/TextField.js +155 -29
  2. package/cjs/components/TextField/TextField.js.map +1 -1
  3. package/cjs/components/TextField/TextField.styles.js +27 -11
  4. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  5. package/cjs/components/TextField/TextField.styles_1b1mddp.css +8 -0
  6. package/cjs/components/TextField/TextField.tokens.js +68 -20
  7. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  8. package/cjs/components/TextField/TextField_wctd2m.css +1 -0
  9. package/cjs/components/TextField/hooks/useKeyNavigation.js +133 -0
  10. package/cjs/components/TextField/hooks/useKeyNavigation.js.map +1 -0
  11. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +19 -0
  12. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +38 -0
  13. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -0
  14. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +26 -0
  15. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -0
  16. package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1rauupp.css +1 -0
  17. package/cjs/components/TextField/{_disabled → variations/_disabled}/base.js +2 -2
  18. package/cjs/components/TextField/variations/_disabled/base.js.map +1 -0
  19. package/cjs/components/TextField/variations/_disabled/base_1tnjoy9.css +1 -0
  20. package/cjs/components/TextField/{_label-placement → variations/_label-placement}/base.js +1 -1
  21. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -0
  22. package/cjs/components/TextField/{_label-placement → variations/_label-placement}/inner.js +2 -2
  23. package/cjs/components/TextField/variations/_label-placement/inner.js.map +1 -0
  24. package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +1 -0
  25. package/cjs/components/TextField/{_label-placement → variations/_label-placement}/outer.js +2 -2
  26. package/cjs/components/TextField/variations/_label-placement/outer.js.map +1 -0
  27. package/cjs/components/TextField/variations/_label-placement/outer_is41nj.css +1 -0
  28. package/cjs/components/TextField/{_view → variations/_read-only}/base.js +2 -2
  29. package/cjs/components/TextField/variations/_read-only/base.js.map +1 -0
  30. package/cjs/components/TextField/variations/_read-only/base_134hshp.css +1 -0
  31. package/cjs/components/TextField/variations/_size/base.js +9 -0
  32. package/cjs/components/TextField/variations/_size/base.js.map +1 -0
  33. package/cjs/components/TextField/variations/_size/base_1khzr9t.css +1 -0
  34. package/cjs/components/TextField/{_size → variations/_view}/base.js +2 -2
  35. package/cjs/components/TextField/variations/_view/base.js.map +1 -0
  36. package/cjs/components/TextField/variations/_view/base_1qd77x6.css +1 -0
  37. package/cjs/index.css +16 -9
  38. package/cjs/index.js +2 -2
  39. package/es/components/TextField/TextField.js +158 -33
  40. package/es/components/TextField/TextField.js.map +1 -1
  41. package/es/components/TextField/TextField.styles.js +25 -12
  42. package/es/components/TextField/TextField.styles.js.map +1 -1
  43. package/es/components/TextField/TextField.styles_1b1mddp.css +8 -0
  44. package/es/components/TextField/TextField.tokens.js +68 -21
  45. package/es/components/TextField/TextField.tokens.js.map +1 -1
  46. package/es/components/TextField/TextField_wctd2m.css +1 -0
  47. package/es/components/TextField/hooks/useKeyNavigation.js +128 -0
  48. package/es/components/TextField/hooks/useKeyNavigation.js.map +1 -0
  49. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +19 -0
  50. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +34 -0
  51. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +1 -0
  52. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +22 -0
  53. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +1 -0
  54. package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1rauupp.css +1 -0
  55. package/es/components/TextField/variations/_disabled/base.js +5 -0
  56. package/es/components/TextField/variations/_disabled/base.js.map +1 -0
  57. package/es/components/TextField/variations/_disabled/base_1tnjoy9.css +1 -0
  58. package/es/components/TextField/{_label-placement → variations/_label-placement}/base.js +1 -1
  59. package/es/components/TextField/variations/_label-placement/base.js.map +1 -0
  60. package/es/components/TextField/variations/_label-placement/inner.js +5 -0
  61. package/es/components/TextField/variations/_label-placement/inner.js.map +1 -0
  62. package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +1 -0
  63. package/es/components/TextField/variations/_label-placement/outer.js +5 -0
  64. package/es/components/TextField/variations/_label-placement/outer.js.map +1 -0
  65. package/es/components/TextField/variations/_label-placement/outer_is41nj.css +1 -0
  66. package/es/components/TextField/variations/_read-only/base.js +5 -0
  67. package/es/components/TextField/variations/_read-only/base.js.map +1 -0
  68. package/es/components/TextField/variations/_read-only/base_134hshp.css +1 -0
  69. package/es/components/TextField/variations/_size/base.js +5 -0
  70. package/es/components/TextField/variations/_size/base.js.map +1 -0
  71. package/es/components/TextField/variations/_size/base_1khzr9t.css +1 -0
  72. package/es/components/TextField/{_disabled → variations/_view}/base.js +2 -2
  73. package/es/components/TextField/variations/_view/base.js.map +1 -0
  74. package/es/components/TextField/variations/_view/base_1qd77x6.css +1 -0
  75. package/es/index.css +16 -9
  76. package/es/index.js +2 -2
  77. package/package.json +2 -2
  78. package/styled-components/cjs/components/TextField/TextField.js +162 -32
  79. package/styled-components/cjs/components/TextField/TextField.styles.js +18 -10
  80. package/styled-components/cjs/components/TextField/TextField.tokens.js +68 -21
  81. package/styled-components/cjs/components/TextField/hooks/index.js +12 -0
  82. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +139 -0
  83. package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.types.js +5 -0
  84. package/styled-components/cjs/components/TextField/index.js +2 -2
  85. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +39 -0
  86. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +25 -0
  87. package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +5 -0
  88. package/styled-components/cjs/components/TextField/ui/index.js +12 -0
  89. package/styled-components/cjs/components/TextField/variations/_disabled/base.js +10 -0
  90. package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +10 -0
  91. package/styled-components/cjs/components/TextField/{_label-placement → variations/_label-placement}/outer.js +3 -3
  92. package/styled-components/cjs/components/TextField/variations/_read-only/base.js +10 -0
  93. package/styled-components/cjs/components/TextField/variations/_read-only/tokens.json +1 -0
  94. package/styled-components/cjs/components/TextField/variations/_size/base.js +10 -0
  95. package/styled-components/cjs/components/TextField/variations/_view/base.js +10 -0
  96. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +43 -0
  97. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.js +11 -0
  98. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +123 -0
  99. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +40 -0
  100. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.js +11 -0
  101. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +123 -0
  102. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.config.js +43 -0
  103. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.js +11 -0
  104. package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx +123 -0
  105. package/styled-components/es/components/TextField/TextField.js +166 -36
  106. package/styled-components/es/components/TextField/TextField.styles.js +17 -9
  107. package/styled-components/es/components/TextField/TextField.tokens.js +67 -20
  108. package/styled-components/es/components/TextField/hooks/index.js +1 -0
  109. package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +133 -0
  110. package/styled-components/es/components/TextField/hooks/useKeyNavigation.types.js +1 -0
  111. package/styled-components/es/components/TextField/index.js +2 -2
  112. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +30 -0
  113. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +19 -0
  114. package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +1 -0
  115. package/styled-components/es/components/TextField/ui/index.js +1 -0
  116. package/styled-components/es/components/TextField/variations/_disabled/base.js +4 -0
  117. package/styled-components/es/components/TextField/variations/_label-placement/inner.js +4 -0
  118. package/styled-components/es/components/TextField/variations/_label-placement/outer.js +4 -0
  119. package/styled-components/es/components/TextField/variations/_read-only/base.js +4 -0
  120. package/styled-components/es/components/TextField/variations/_read-only/tokens.json +1 -0
  121. package/styled-components/es/components/TextField/variations/_size/base.js +4 -0
  122. package/styled-components/es/components/TextField/variations/_view/base.js +4 -0
  123. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +37 -0
  124. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.js +5 -0
  125. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +123 -0
  126. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +34 -0
  127. package/styled-components/es/examples/plasma_web/components/TextField/TextField.js +5 -0
  128. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +123 -0
  129. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.config.js +37 -0
  130. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.js +5 -0
  131. package/styled-components/es/examples/sds_engineer/components/TextField/TextField.stories.tsx +123 -0
  132. package/types/components/TextField/TextField.d.ts +8 -3
  133. package/types/components/TextField/TextField.d.ts.map +1 -1
  134. package/types/components/TextField/TextField.styles.d.ts +6 -3
  135. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  136. package/types/components/TextField/TextField.tokens.d.ts +57 -8
  137. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  138. package/types/components/TextField/TextField.types.d.ts +29 -2
  139. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  140. package/types/components/TextField/hooks/index.d.ts +2 -0
  141. package/types/components/TextField/hooks/index.d.ts.map +1 -0
  142. package/types/components/TextField/hooks/useKeyNavigation.d.ts +17 -0
  143. package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +1 -0
  144. package/types/components/TextField/hooks/useKeyNavigation.types.d.ts +18 -0
  145. package/types/components/TextField/hooks/useKeyNavigation.types.d.ts.map +1 -0
  146. package/types/components/TextField/index.d.ts +3 -2
  147. package/types/components/TextField/index.d.ts.map +1 -1
  148. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +7 -0
  149. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +1 -0
  150. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +15 -0
  151. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +1 -0
  152. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +37 -0
  153. package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +1 -0
  154. package/types/components/TextField/ui/index.d.ts +2 -0
  155. package/types/components/TextField/ui/index.d.ts.map +1 -0
  156. package/types/components/TextField/variations/_disabled/base.d.ts.map +1 -0
  157. package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -0
  158. package/types/components/TextField/variations/_label-placement/index.d.ts.map +1 -0
  159. package/types/components/TextField/variations/_label-placement/inner.d.ts.map +1 -0
  160. package/types/components/TextField/variations/_label-placement/outer.d.ts.map +1 -0
  161. package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -0
  162. package/types/components/TextField/variations/_size/base.d.ts.map +1 -0
  163. package/types/components/TextField/variations/_view/base.d.ts +2 -0
  164. package/types/components/TextField/variations/_view/base.d.ts.map +1 -0
  165. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +32 -0
  166. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -0
  167. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +26 -0
  168. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -0
  169. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +32 -0
  170. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -0
  171. package/types/examples/plasma_web/components/TextField/TextField.d.ts +26 -0
  172. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -0
  173. package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts +32 -0
  174. package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts.map +1 -0
  175. package/types/examples/sds_engineer/components/TextField/TextField.d.ts +26 -0
  176. package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +1 -0
  177. package/cjs/components/TextField/TextField.styles_2qw1n8.css +0 -5
  178. package/cjs/components/TextField/TextField_1lzb2r1.css +0 -1
  179. package/cjs/components/TextField/_disabled/base.js.map +0 -1
  180. package/cjs/components/TextField/_disabled/base_so3w81.css +0 -1
  181. package/cjs/components/TextField/_label-placement/base.js.map +0 -1
  182. package/cjs/components/TextField/_label-placement/inner.js.map +0 -1
  183. package/cjs/components/TextField/_label-placement/inner_1tyuicp.css +0 -1
  184. package/cjs/components/TextField/_label-placement/outer.js.map +0 -1
  185. package/cjs/components/TextField/_label-placement/outer_19ekaek.css +0 -1
  186. package/cjs/components/TextField/_size/base.js.map +0 -1
  187. package/cjs/components/TextField/_size/base_b5smyu.css +0 -1
  188. package/cjs/components/TextField/_view/base.js.map +0 -1
  189. package/cjs/components/TextField/_view/base_5bqzed.css +0 -1
  190. package/es/components/TextField/TextField.styles_2qw1n8.css +0 -5
  191. package/es/components/TextField/TextField_1lzb2r1.css +0 -1
  192. package/es/components/TextField/_disabled/base.js.map +0 -1
  193. package/es/components/TextField/_disabled/base_so3w81.css +0 -1
  194. package/es/components/TextField/_label-placement/base.js.map +0 -1
  195. package/es/components/TextField/_label-placement/inner.js +0 -5
  196. package/es/components/TextField/_label-placement/inner.js.map +0 -1
  197. package/es/components/TextField/_label-placement/inner_1tyuicp.css +0 -1
  198. package/es/components/TextField/_label-placement/outer.js +0 -5
  199. package/es/components/TextField/_label-placement/outer.js.map +0 -1
  200. package/es/components/TextField/_label-placement/outer_19ekaek.css +0 -1
  201. package/es/components/TextField/_size/base.js +0 -5
  202. package/es/components/TextField/_size/base.js.map +0 -1
  203. package/es/components/TextField/_size/base_b5smyu.css +0 -1
  204. package/es/components/TextField/_view/base.js +0 -5
  205. package/es/components/TextField/_view/base.js.map +0 -1
  206. package/es/components/TextField/_view/base_5bqzed.css +0 -1
  207. package/styled-components/cjs/components/TextField/_disabled/base.js +0 -9
  208. package/styled-components/cjs/components/TextField/_label-placement/inner.js +0 -10
  209. package/styled-components/cjs/components/TextField/_size/base.js +0 -10
  210. package/styled-components/cjs/components/TextField/_view/base.js +0 -10
  211. package/styled-components/es/components/TextField/_disabled/base.js +0 -3
  212. package/styled-components/es/components/TextField/_label-placement/inner.js +0 -4
  213. package/styled-components/es/components/TextField/_label-placement/outer.js +0 -4
  214. package/styled-components/es/components/TextField/_size/base.js +0 -4
  215. package/styled-components/es/components/TextField/_view/base.js +0 -4
  216. package/types/components/TextField/_disabled/base.d.ts.map +0 -1
  217. package/types/components/TextField/_label-placement/base.d.ts.map +0 -1
  218. package/types/components/TextField/_label-placement/index.d.ts.map +0 -1
  219. package/types/components/TextField/_label-placement/inner.d.ts.map +0 -1
  220. package/types/components/TextField/_label-placement/outer.d.ts.map +0 -1
  221. package/types/components/TextField/_size/base.d.ts.map +0 -1
  222. package/types/components/TextField/_view/base.d.ts.map +0 -1
  223. /package/cjs/components/TextField/{_label-placement → variations/_label-placement}/base_x642ct.css +0 -0
  224. /package/es/components/TextField/{_label-placement → variations/_label-placement}/base_x642ct.css +0 -0
  225. /package/styled-components/cjs/components/TextField/{_disabled → variations/_disabled}/tokens.json +0 -0
  226. /package/styled-components/cjs/components/TextField/{_label-placement → variations/_label-placement}/base.js +0 -0
  227. /package/styled-components/cjs/components/TextField/{_label-placement → variations/_label-placement}/index.js +0 -0
  228. /package/styled-components/cjs/components/TextField/{_size → variations/_size}/tokens.json +0 -0
  229. /package/styled-components/cjs/components/TextField/{_view → variations/_view}/tokens.json +0 -0
  230. /package/styled-components/es/components/TextField/{_disabled → variations/_disabled}/tokens.json +0 -0
  231. /package/styled-components/es/components/TextField/{_label-placement → variations/_label-placement}/base.js +0 -0
  232. /package/styled-components/es/components/TextField/{_label-placement → variations/_label-placement}/index.js +0 -0
  233. /package/styled-components/es/components/TextField/{_size → variations/_size}/tokens.json +0 -0
  234. /package/styled-components/es/components/TextField/{_view → variations/_view}/tokens.json +0 -0
  235. /package/types/components/TextField/{_disabled → variations/_disabled}/base.d.ts +0 -0
  236. /package/types/components/TextField/{_label-placement → variations/_label-placement}/base.d.ts +0 -0
  237. /package/types/components/TextField/{_label-placement → variations/_label-placement}/index.d.ts +0 -0
  238. /package/types/components/TextField/{_label-placement → variations/_label-placement}/inner.d.ts +0 -0
  239. /package/types/components/TextField/{_label-placement → variations/_label-placement}/outer.d.ts +0 -0
  240. /package/types/components/TextField/{_size → variations/_read-only}/base.d.ts +0 -0
  241. /package/types/components/TextField/{_view → variations/_size}/base.d.ts +0 -0
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/_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/_label-placement/inner.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,0CA6ChC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"outer.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/_label-placement/outer.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,oBAAoB,0CAKhC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/_size/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CAwDhB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/components/TextField/_view/base.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI,0CA0BhB,CAAC"}