@salutejs/plasma-new-hope 0.151.0-canary.1449.11009654671.0 → 0.151.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (555) hide show
  1. package/cjs/components/Attach/Attach.css +48 -0
  2. package/cjs/components/Attach/Attach.js +181 -0
  3. package/cjs/components/Attach/Attach.js.map +1 -0
  4. package/cjs/components/Attach/Attach.styles.js +23 -0
  5. package/cjs/components/Attach/Attach.styles.js.map +1 -0
  6. package/cjs/components/Attach/Attach.styles_fl8wha.css +3 -0
  7. package/cjs/components/Attach/Attach.tokens.js +130 -0
  8. package/cjs/components/Attach/Attach.tokens.js.map +1 -0
  9. package/cjs/components/Attach/components/AttachButton/AttachButton.css +34 -0
  10. package/cjs/components/Attach/components/AttachButton/AttachButton.js +50 -0
  11. package/cjs/components/Attach/components/AttachButton/AttachButton.js.map +1 -0
  12. package/cjs/components/Attach/ui/Button/Button.styles.js +23 -0
  13. package/cjs/components/Attach/ui/Button/Button.styles.js.map +1 -0
  14. package/cjs/components/Attach/ui/Button/Button.styles_bj69th.css +1 -0
  15. package/cjs/components/Attach/ui/Cell/Cell.styles.js +25 -0
  16. package/cjs/components/Attach/ui/Cell/Cell.styles.js.map +1 -0
  17. package/cjs/components/Attach/ui/Cell/Cell.styles_69w962.css +1 -0
  18. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js +32 -0
  19. package/cjs/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -0
  20. package/cjs/components/Attach/ui/IconButton/IconButton.styles_1q2jfs2.css +2 -0
  21. package/cjs/components/Attach/utils/extractExtension.js +10 -0
  22. package/cjs/components/Attach/utils/extractExtension.js.map +1 -0
  23. package/cjs/components/Attach/utils/getFileicon.js +51 -0
  24. package/cjs/components/Attach/utils/getFileicon.js.map +1 -0
  25. package/cjs/components/Attach/utils/truncateFilename.js +24 -0
  26. package/cjs/components/Attach/utils/truncateFilename.js.map +1 -0
  27. package/cjs/components/{TextField/variations/_clear → Attach/variations/_size}/base.js +2 -2
  28. package/cjs/components/Attach/variations/_size/base.js.map +1 -0
  29. package/cjs/components/Attach/variations/_size/base_eax0b8.css +1 -0
  30. package/cjs/components/Attach/variations/_view/base.js +9 -0
  31. package/cjs/components/Attach/variations/_view/base.js.map +1 -0
  32. package/cjs/components/Attach/variations/_view/base_1nvsg1b.css +1 -0
  33. package/cjs/components/Autocomplete/Autocomplete.css +15 -17
  34. package/cjs/components/Cell/Cell.js +3 -2
  35. package/cjs/components/Cell/Cell.js.map +1 -1
  36. package/cjs/components/Combobox/ComboboxNew/Combobox.css +15 -17
  37. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +15 -17
  38. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +15 -17
  39. package/cjs/components/DatePicker/RangeDate/RangeDate.css +15 -17
  40. package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +15 -17
  41. package/cjs/components/DatePicker/SingleDate/SingleDate.css +15 -17
  42. package/cjs/components/Range/Range.css +15 -17
  43. package/cjs/components/Slider/Slider.css +15 -17
  44. package/cjs/components/Slider/components/Double/Double.css +15 -17
  45. package/cjs/components/TextField/TextField.js +9 -24
  46. package/cjs/components/TextField/TextField.js.map +1 -1
  47. package/cjs/components/TextField/TextField.styles.js +7 -15
  48. package/cjs/components/TextField/TextField.styles.js.map +1 -1
  49. package/cjs/components/TextField/{TextField.styles_1d2ryq.css → TextField.styles_uponva.css} +2 -2
  50. package/cjs/components/TextField/TextField.tokens.js +0 -9
  51. package/cjs/components/TextField/TextField.tokens.js.map +1 -1
  52. package/cjs/components/TextField/variations/_disabled/base.js +1 -1
  53. package/cjs/components/TextField/variations/_disabled/base.js.map +1 -1
  54. package/cjs/components/TextField/variations/_disabled/base_1tnjoy9.css +1 -0
  55. package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  56. package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
  57. package/cjs/components/TextField/variations/_label-placement/base_6k17xp.css +1 -0
  58. package/cjs/components/TextField/variations/_read-only/base.js +1 -1
  59. package/cjs/components/TextField/variations/_read-only/base.js.map +1 -1
  60. package/cjs/components/TextField/variations/_read-only/base_8onybn.css +1 -0
  61. package/cjs/components/_Icon/Icon.assets/BlankCsvOutline.js +33 -0
  62. package/cjs/components/_Icon/Icon.assets/BlankCsvOutline.js.map +1 -0
  63. package/cjs/components/_Icon/Icon.assets/BlankDocOutline.js +37 -0
  64. package/cjs/components/_Icon/Icon.assets/BlankDocOutline.js.map +1 -0
  65. package/cjs/components/_Icon/Icon.assets/BlankOutline.js +24 -0
  66. package/cjs/components/_Icon/Icon.assets/BlankOutline.js.map +1 -0
  67. package/cjs/components/_Icon/Icon.assets/BlankPdfOutline.js +29 -0
  68. package/cjs/components/_Icon/Icon.assets/BlankPdfOutline.js.map +1 -0
  69. package/cjs/components/_Icon/Icon.assets/BlankTxtOutline.js +33 -0
  70. package/cjs/components/_Icon/Icon.assets/BlankTxtOutline.js.map +1 -0
  71. package/cjs/components/_Icon/Icon.assets/BlankXlsOutline.js +33 -0
  72. package/cjs/components/_Icon/Icon.assets/BlankXlsOutline.js.map +1 -0
  73. package/cjs/components/_Icon/Icon.assets/CloseCircleOutline.js +24 -0
  74. package/cjs/components/_Icon/Icon.assets/CloseCircleOutline.js.map +1 -0
  75. package/cjs/components/_Icon/Icon.assets/Plus.js +24 -0
  76. package/cjs/components/_Icon/Icon.assets/Plus.js.map +1 -0
  77. package/cjs/components/_Icon/Icons/IconBlankCsvOutline.js +23 -0
  78. package/cjs/components/_Icon/Icons/IconBlankCsvOutline.js.map +1 -0
  79. package/cjs/components/_Icon/Icons/IconBlankDocOutline.js +23 -0
  80. package/cjs/components/_Icon/Icons/IconBlankDocOutline.js.map +1 -0
  81. package/cjs/components/_Icon/Icons/IconBlankOutline.js +23 -0
  82. package/cjs/components/_Icon/Icons/IconBlankOutline.js.map +1 -0
  83. package/cjs/components/_Icon/Icons/IconBlankPdfOutline.js +23 -0
  84. package/cjs/components/_Icon/Icons/IconBlankPdfOutline.js.map +1 -0
  85. package/cjs/components/_Icon/Icons/IconBlankTxtOutline.js +23 -0
  86. package/cjs/components/_Icon/Icons/IconBlankTxtOutline.js.map +1 -0
  87. package/cjs/components/_Icon/Icons/IconBlankXlsOutline.js +23 -0
  88. package/cjs/components/_Icon/Icons/IconBlankXlsOutline.js.map +1 -0
  89. package/cjs/components/_Icon/Icons/IconCloseCircleOutline.js +23 -0
  90. package/cjs/components/_Icon/Icons/IconCloseCircleOutline.js.map +1 -0
  91. package/cjs/components/_Icon/Icons/IconPlus.js +23 -0
  92. package/cjs/components/_Icon/Icons/IconPlus.js.map +1 -0
  93. package/cjs/index.css +30 -17
  94. package/cjs/index.js +5 -0
  95. package/cjs/index.js.map +1 -1
  96. package/emotion/cjs/components/Attach/Attach.js +186 -0
  97. package/emotion/cjs/components/Attach/Attach.styles.js +36 -0
  98. package/emotion/cjs/components/Attach/Attach.template-doc.mdx +63 -0
  99. package/emotion/cjs/components/Attach/Attach.tokens.js +128 -0
  100. package/emotion/cjs/components/Attach/Attach.types.js +5 -0
  101. package/emotion/cjs/components/Attach/components/AttachButton/AttachButton.js +52 -0
  102. package/emotion/cjs/components/Attach/components/AttachButton/index.js +12 -0
  103. package/emotion/cjs/components/Attach/index.js +25 -0
  104. package/emotion/cjs/components/Attach/ui/Button/Button.js +12 -0
  105. package/emotion/cjs/components/Attach/ui/Button/Button.styles.js +17 -0
  106. package/emotion/cjs/components/Attach/ui/Cell/Cell.js +12 -0
  107. package/emotion/cjs/components/Attach/ui/Cell/Cell.styles.js +17 -0
  108. package/emotion/cjs/components/Attach/ui/IconButton/IconButton.js +12 -0
  109. package/emotion/cjs/components/Attach/ui/IconButton/IconButton.styles.js +21 -0
  110. package/emotion/cjs/components/Attach/utils/extractExtension.js +9 -0
  111. package/emotion/cjs/components/Attach/utils/getFileicon.js +44 -0
  112. package/emotion/cjs/components/Attach/utils/index.js +26 -0
  113. package/emotion/cjs/components/Attach/utils/truncateFilename.js +23 -0
  114. package/emotion/cjs/components/Attach/variations/_size/base.js +9 -0
  115. package/emotion/cjs/components/Attach/variations/_view/base.js +9 -0
  116. package/emotion/cjs/components/Cell/Cell.js +3 -2
  117. package/emotion/cjs/components/TextField/TextField.js +10 -25
  118. package/emotion/cjs/components/TextField/TextField.styles.js +16 -20
  119. package/emotion/cjs/components/TextField/TextField.template-doc.mdx +17 -50
  120. package/emotion/cjs/components/TextField/TextField.tokens.js +0 -9
  121. package/emotion/cjs/components/TextField/variations/_disabled/base.js +1 -1
  122. package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  123. package/emotion/cjs/components/TextField/variations/_read-only/base.js +1 -1
  124. package/emotion/cjs/components/_Icon/Icon.assets/BlankCsvOutline.js +32 -0
  125. package/emotion/cjs/components/_Icon/Icon.assets/BlankDocOutline.js +36 -0
  126. package/emotion/cjs/components/_Icon/Icon.assets/BlankOutline.js +23 -0
  127. package/emotion/cjs/components/_Icon/Icon.assets/BlankPdfOutline.js +28 -0
  128. package/emotion/cjs/components/_Icon/Icon.assets/BlankTxtOutline.js +32 -0
  129. package/emotion/cjs/components/_Icon/Icon.assets/BlankXlsOutline.js +32 -0
  130. package/emotion/cjs/components/_Icon/Icon.assets/CloseCircleOutline.js +23 -0
  131. package/emotion/cjs/components/_Icon/Icon.assets/Plus.js +23 -0
  132. package/emotion/cjs/components/_Icon/Icons/IconBlankCsvOutline.js +22 -0
  133. package/emotion/cjs/components/_Icon/Icons/IconBlankDocOutline.js +22 -0
  134. package/emotion/cjs/components/_Icon/Icons/IconBlankOutline.js +22 -0
  135. package/emotion/cjs/components/_Icon/Icons/IconBlankPdfOutline.js +22 -0
  136. package/emotion/cjs/components/_Icon/Icons/IconBlankTxtOutline.js +22 -0
  137. package/emotion/cjs/components/_Icon/Icons/IconBlankXlsOutline.js +22 -0
  138. package/emotion/cjs/components/_Icon/Icons/IconCloseCircleOutline.js +22 -0
  139. package/emotion/cjs/components/_Icon/Icons/IconPlus.js +22 -0
  140. package/emotion/cjs/components/_Icon/index.js +57 -1
  141. package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.config.js +37 -0
  142. package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.js +11 -0
  143. package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +177 -0
  144. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +12 -15
  145. package/emotion/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -8
  146. package/emotion/cjs/examples/plasma_web/components/Attach/Attach.config.js +37 -0
  147. package/emotion/cjs/examples/plasma_web/components/Attach/Attach.js +11 -0
  148. package/emotion/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +168 -0
  149. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.config.js +12 -15
  150. package/emotion/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -8
  151. package/emotion/cjs/index.js +11 -0
  152. package/emotion/es/components/Attach/Attach.js +177 -0
  153. package/emotion/es/components/Attach/Attach.styles.js +29 -0
  154. package/emotion/es/components/Attach/Attach.template-doc.mdx +63 -0
  155. package/emotion/es/components/Attach/Attach.tokens.js +122 -0
  156. package/emotion/es/components/Attach/Attach.types.js +1 -0
  157. package/emotion/es/components/Attach/components/AttachButton/AttachButton.js +43 -0
  158. package/emotion/es/components/Attach/components/AttachButton/index.js +1 -0
  159. package/emotion/es/components/Attach/index.js +2 -0
  160. package/emotion/es/components/Attach/ui/Button/Button.js +1 -0
  161. package/emotion/es/components/Attach/ui/Button/Button.styles.js +10 -0
  162. package/emotion/es/components/Attach/ui/Cell/Cell.js +1 -0
  163. package/emotion/es/components/Attach/ui/Cell/Cell.styles.js +10 -0
  164. package/emotion/es/components/Attach/ui/IconButton/IconButton.js +1 -0
  165. package/emotion/es/components/Attach/ui/IconButton/IconButton.styles.js +14 -0
  166. package/emotion/es/components/Attach/utils/extractExtension.js +3 -0
  167. package/emotion/es/components/Attach/utils/getFileicon.js +37 -0
  168. package/emotion/es/components/Attach/utils/index.js +3 -0
  169. package/emotion/es/components/Attach/utils/truncateFilename.js +17 -0
  170. package/emotion/es/components/Attach/variations/_size/base.js +3 -0
  171. package/emotion/es/components/Attach/variations/_view/base.js +3 -0
  172. package/emotion/es/components/Cell/Cell.js +3 -2
  173. package/emotion/es/components/TextField/TextField.js +4 -19
  174. package/emotion/es/components/TextField/TextField.styles.js +16 -20
  175. package/emotion/es/components/TextField/TextField.template-doc.mdx +17 -50
  176. package/emotion/es/components/TextField/TextField.tokens.js +0 -9
  177. package/emotion/es/components/TextField/variations/_disabled/base.js +1 -1
  178. package/emotion/es/components/TextField/variations/_label-placement/base.js +1 -1
  179. package/emotion/es/components/TextField/variations/_read-only/base.js +2 -2
  180. package/emotion/es/components/_Icon/Icon.assets/BlankCsvOutline.js +25 -0
  181. package/emotion/es/components/_Icon/Icon.assets/BlankDocOutline.js +29 -0
  182. package/emotion/es/components/_Icon/Icon.assets/BlankOutline.js +16 -0
  183. package/emotion/es/components/_Icon/Icon.assets/BlankPdfOutline.js +21 -0
  184. package/emotion/es/components/_Icon/Icon.assets/BlankTxtOutline.js +25 -0
  185. package/emotion/es/components/_Icon/Icon.assets/BlankXlsOutline.js +25 -0
  186. package/emotion/es/components/_Icon/Icon.assets/CloseCircleOutline.js +16 -0
  187. package/emotion/es/components/_Icon/Icon.assets/Plus.js +16 -0
  188. package/emotion/es/components/_Icon/Icons/IconBlankCsvOutline.js +15 -0
  189. package/emotion/es/components/_Icon/Icons/IconBlankDocOutline.js +15 -0
  190. package/emotion/es/components/_Icon/Icons/IconBlankOutline.js +15 -0
  191. package/emotion/es/components/_Icon/Icons/IconBlankPdfOutline.js +15 -0
  192. package/emotion/es/components/_Icon/Icons/IconBlankTxtOutline.js +15 -0
  193. package/emotion/es/components/_Icon/Icons/IconBlankXlsOutline.js +15 -0
  194. package/emotion/es/components/_Icon/Icons/IconCloseCircleOutline.js +15 -0
  195. package/emotion/es/components/_Icon/Icons/IconPlus.js +15 -0
  196. package/emotion/es/components/_Icon/index.js +9 -1
  197. package/emotion/es/examples/plasma_b2c/components/Attach/Attach.config.js +31 -0
  198. package/emotion/es/examples/plasma_b2c/components/Attach/Attach.js +5 -0
  199. package/emotion/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +177 -0
  200. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.config.js +12 -15
  201. package/emotion/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -8
  202. package/emotion/es/examples/plasma_web/components/Attach/Attach.config.js +31 -0
  203. package/emotion/es/examples/plasma_web/components/Attach/Attach.js +5 -0
  204. package/emotion/es/examples/plasma_web/components/Attach/Attach.stories.tsx +168 -0
  205. package/emotion/es/examples/plasma_web/components/TextField/TextField.config.js +12 -15
  206. package/emotion/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -8
  207. package/emotion/es/index.js +2 -1
  208. package/es/components/Attach/Attach.css +48 -0
  209. package/es/components/Attach/Attach.js +176 -0
  210. package/es/components/Attach/Attach.js.map +1 -0
  211. package/es/components/Attach/Attach.styles.js +17 -0
  212. package/es/components/Attach/Attach.styles.js.map +1 -0
  213. package/es/components/Attach/Attach.styles_fl8wha.css +3 -0
  214. package/es/components/Attach/Attach.tokens.js +125 -0
  215. package/es/components/Attach/Attach.tokens.js.map +1 -0
  216. package/es/components/Attach/components/AttachButton/AttachButton.css +34 -0
  217. package/es/components/Attach/components/AttachButton/AttachButton.js +46 -0
  218. package/es/components/Attach/components/AttachButton/AttachButton.js.map +1 -0
  219. package/es/components/Attach/ui/Button/Button.styles.js +19 -0
  220. package/es/components/Attach/ui/Button/Button.styles.js.map +1 -0
  221. package/es/components/Attach/ui/Button/Button.styles_bj69th.css +1 -0
  222. package/es/components/Attach/ui/Cell/Cell.styles.js +21 -0
  223. package/es/components/Attach/ui/Cell/Cell.styles.js.map +1 -0
  224. package/es/components/Attach/ui/Cell/Cell.styles_69w962.css +1 -0
  225. package/es/components/Attach/ui/IconButton/IconButton.styles.js +27 -0
  226. package/es/components/Attach/ui/IconButton/IconButton.styles.js.map +1 -0
  227. package/es/components/Attach/ui/IconButton/IconButton.styles_1q2jfs2.css +2 -0
  228. package/es/components/Attach/utils/extractExtension.js +6 -0
  229. package/es/components/Attach/utils/extractExtension.js.map +1 -0
  230. package/es/components/Attach/utils/getFileicon.js +47 -0
  231. package/es/components/Attach/utils/getFileicon.js.map +1 -0
  232. package/es/components/Attach/utils/truncateFilename.js +20 -0
  233. package/es/components/Attach/utils/truncateFilename.js.map +1 -0
  234. package/es/components/{TextField/variations/_clear → Attach/variations/_size}/base.js +2 -2
  235. package/es/components/Attach/variations/_size/base.js.map +1 -0
  236. package/es/components/Attach/variations/_size/base_eax0b8.css +1 -0
  237. package/es/components/Attach/variations/_view/base.js +5 -0
  238. package/es/components/Attach/variations/_view/base.js.map +1 -0
  239. package/es/components/Attach/variations/_view/base_1nvsg1b.css +1 -0
  240. package/es/components/Autocomplete/Autocomplete.css +15 -17
  241. package/es/components/Cell/Cell.js +3 -2
  242. package/es/components/Cell/Cell.js.map +1 -1
  243. package/es/components/Combobox/ComboboxNew/Combobox.css +15 -17
  244. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +15 -17
  245. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +15 -17
  246. package/es/components/DatePicker/RangeDate/RangeDate.css +15 -17
  247. package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +15 -17
  248. package/es/components/DatePicker/SingleDate/SingleDate.css +15 -17
  249. package/es/components/Range/Range.css +15 -17
  250. package/es/components/Slider/Slider.css +15 -17
  251. package/es/components/Slider/components/Double/Double.css +15 -17
  252. package/es/components/TextField/TextField.js +9 -24
  253. package/es/components/TextField/TextField.js.map +1 -1
  254. package/es/components/TextField/TextField.styles.js +7 -15
  255. package/es/components/TextField/TextField.styles.js.map +1 -1
  256. package/es/components/TextField/{TextField.styles_1d2ryq.css → TextField.styles_uponva.css} +2 -2
  257. package/es/components/TextField/TextField.tokens.js +0 -9
  258. package/es/components/TextField/TextField.tokens.js.map +1 -1
  259. package/es/components/TextField/variations/_disabled/base.js +1 -1
  260. package/es/components/TextField/variations/_disabled/base.js.map +1 -1
  261. package/es/components/TextField/variations/_disabled/base_1tnjoy9.css +1 -0
  262. package/es/components/TextField/variations/_label-placement/base.js +1 -1
  263. package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
  264. package/es/components/TextField/variations/_label-placement/base_6k17xp.css +1 -0
  265. package/es/components/TextField/variations/_read-only/base.js +1 -1
  266. package/es/components/TextField/variations/_read-only/base.js.map +1 -1
  267. package/es/components/TextField/variations/_read-only/base_8onybn.css +1 -0
  268. package/es/components/_Icon/Icon.assets/BlankCsvOutline.js +29 -0
  269. package/es/components/_Icon/Icon.assets/BlankCsvOutline.js.map +1 -0
  270. package/es/components/_Icon/Icon.assets/BlankDocOutline.js +33 -0
  271. package/es/components/_Icon/Icon.assets/BlankDocOutline.js.map +1 -0
  272. package/es/components/_Icon/Icon.assets/BlankOutline.js +20 -0
  273. package/es/components/_Icon/Icon.assets/BlankOutline.js.map +1 -0
  274. package/es/components/_Icon/Icon.assets/BlankPdfOutline.js +25 -0
  275. package/es/components/_Icon/Icon.assets/BlankPdfOutline.js.map +1 -0
  276. package/es/components/_Icon/Icon.assets/BlankTxtOutline.js +29 -0
  277. package/es/components/_Icon/Icon.assets/BlankTxtOutline.js.map +1 -0
  278. package/es/components/_Icon/Icon.assets/BlankXlsOutline.js +29 -0
  279. package/es/components/_Icon/Icon.assets/BlankXlsOutline.js.map +1 -0
  280. package/es/components/_Icon/Icon.assets/CloseCircleOutline.js +20 -0
  281. package/es/components/_Icon/Icon.assets/CloseCircleOutline.js.map +1 -0
  282. package/es/components/_Icon/Icon.assets/Plus.js +20 -0
  283. package/es/components/_Icon/Icon.assets/Plus.js.map +1 -0
  284. package/es/components/_Icon/Icons/IconBlankCsvOutline.js +19 -0
  285. package/es/components/_Icon/Icons/IconBlankCsvOutline.js.map +1 -0
  286. package/es/components/_Icon/Icons/IconBlankDocOutline.js +19 -0
  287. package/es/components/_Icon/Icons/IconBlankDocOutline.js.map +1 -0
  288. package/es/components/_Icon/Icons/IconBlankOutline.js +19 -0
  289. package/es/components/_Icon/Icons/IconBlankOutline.js.map +1 -0
  290. package/es/components/_Icon/Icons/IconBlankPdfOutline.js +19 -0
  291. package/es/components/_Icon/Icons/IconBlankPdfOutline.js.map +1 -0
  292. package/es/components/_Icon/Icons/IconBlankTxtOutline.js +19 -0
  293. package/es/components/_Icon/Icons/IconBlankTxtOutline.js.map +1 -0
  294. package/es/components/_Icon/Icons/IconBlankXlsOutline.js +19 -0
  295. package/es/components/_Icon/Icons/IconBlankXlsOutline.js.map +1 -0
  296. package/es/components/_Icon/Icons/IconCloseCircleOutline.js +19 -0
  297. package/es/components/_Icon/Icons/IconCloseCircleOutline.js.map +1 -0
  298. package/es/components/_Icon/Icons/IconPlus.js +19 -0
  299. package/es/components/_Icon/Icons/IconPlus.js.map +1 -0
  300. package/es/index.css +30 -17
  301. package/es/index.js +2 -0
  302. package/es/index.js.map +1 -1
  303. package/package.json +2 -2
  304. package/styled-components/cjs/components/Attach/Attach.js +186 -0
  305. package/styled-components/cjs/components/Attach/Attach.styles.js +18 -0
  306. package/styled-components/cjs/components/Attach/Attach.template-doc.mdx +63 -0
  307. package/styled-components/cjs/components/Attach/Attach.tokens.js +128 -0
  308. package/styled-components/cjs/components/Attach/Attach.types.js +5 -0
  309. package/styled-components/cjs/components/Attach/components/AttachButton/AttachButton.js +52 -0
  310. package/styled-components/cjs/components/Attach/components/AttachButton/index.js +12 -0
  311. package/styled-components/cjs/components/Attach/index.js +25 -0
  312. package/styled-components/cjs/components/Attach/ui/Button/Button.js +12 -0
  313. package/styled-components/cjs/components/Attach/ui/Button/Button.styles.js +16 -0
  314. package/styled-components/cjs/components/Attach/ui/Cell/Cell.js +12 -0
  315. package/styled-components/cjs/components/Attach/ui/Cell/Cell.styles.js +16 -0
  316. package/styled-components/cjs/components/Attach/ui/IconButton/IconButton.js +12 -0
  317. package/styled-components/cjs/components/Attach/ui/IconButton/IconButton.styles.js +19 -0
  318. package/styled-components/cjs/components/Attach/utils/extractExtension.js +9 -0
  319. package/styled-components/cjs/components/Attach/utils/getFileicon.js +44 -0
  320. package/styled-components/cjs/components/Attach/utils/index.js +26 -0
  321. package/styled-components/cjs/components/Attach/utils/truncateFilename.js +23 -0
  322. package/styled-components/cjs/components/Attach/variations/_size/base.js +9 -0
  323. package/styled-components/cjs/components/Attach/variations/_view/base.js +9 -0
  324. package/styled-components/cjs/components/Cell/Cell.js +3 -2
  325. package/styled-components/cjs/components/TextField/TextField.js +9 -24
  326. package/styled-components/cjs/components/TextField/TextField.styles.js +3 -7
  327. package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +17 -50
  328. package/styled-components/cjs/components/TextField/TextField.tokens.js +0 -9
  329. package/styled-components/cjs/components/TextField/variations/_disabled/base.js +1 -1
  330. package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +1 -1
  331. package/styled-components/cjs/components/TextField/variations/_read-only/base.js +1 -1
  332. package/styled-components/cjs/components/_Icon/Icon.assets/BlankCsvOutline.js +32 -0
  333. package/styled-components/cjs/components/_Icon/Icon.assets/BlankDocOutline.js +36 -0
  334. package/styled-components/cjs/components/_Icon/Icon.assets/BlankOutline.js +23 -0
  335. package/styled-components/cjs/components/_Icon/Icon.assets/BlankPdfOutline.js +28 -0
  336. package/styled-components/cjs/components/_Icon/Icon.assets/BlankTxtOutline.js +32 -0
  337. package/styled-components/cjs/components/_Icon/Icon.assets/BlankXlsOutline.js +32 -0
  338. package/styled-components/cjs/components/_Icon/Icon.assets/CloseCircleOutline.js +23 -0
  339. package/styled-components/cjs/components/_Icon/Icon.assets/Plus.js +23 -0
  340. package/styled-components/cjs/components/_Icon/Icons/IconBlankCsvOutline.js +22 -0
  341. package/styled-components/cjs/components/_Icon/Icons/IconBlankDocOutline.js +22 -0
  342. package/styled-components/cjs/components/_Icon/Icons/IconBlankOutline.js +22 -0
  343. package/styled-components/cjs/components/_Icon/Icons/IconBlankPdfOutline.js +22 -0
  344. package/styled-components/cjs/components/_Icon/Icons/IconBlankTxtOutline.js +22 -0
  345. package/styled-components/cjs/components/_Icon/Icons/IconBlankXlsOutline.js +22 -0
  346. package/styled-components/cjs/components/_Icon/Icons/IconCloseCircleOutline.js +22 -0
  347. package/styled-components/cjs/components/_Icon/Icons/IconPlus.js +22 -0
  348. package/styled-components/cjs/components/_Icon/index.js +57 -1
  349. package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.config.js +37 -0
  350. package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.js +11 -0
  351. package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +177 -0
  352. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +9 -12
  353. package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -8
  354. package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.config.js +37 -0
  355. package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.js +11 -0
  356. package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +168 -0
  357. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +9 -12
  358. package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -8
  359. package/styled-components/cjs/index.js +11 -0
  360. package/styled-components/es/components/Attach/Attach.js +177 -0
  361. package/styled-components/es/components/Attach/Attach.styles.js +10 -0
  362. package/styled-components/es/components/Attach/Attach.template-doc.mdx +63 -0
  363. package/styled-components/es/components/Attach/Attach.tokens.js +122 -0
  364. package/styled-components/es/components/Attach/Attach.types.js +1 -0
  365. package/styled-components/es/components/Attach/components/AttachButton/AttachButton.js +43 -0
  366. package/styled-components/es/components/Attach/components/AttachButton/index.js +1 -0
  367. package/styled-components/es/components/Attach/index.js +2 -0
  368. package/styled-components/es/components/Attach/ui/Button/Button.js +1 -0
  369. package/styled-components/es/components/Attach/ui/Button/Button.styles.js +9 -0
  370. package/styled-components/es/components/Attach/ui/Cell/Cell.js +1 -0
  371. package/styled-components/es/components/Attach/ui/Cell/Cell.styles.js +9 -0
  372. package/styled-components/es/components/Attach/ui/IconButton/IconButton.js +1 -0
  373. package/styled-components/es/components/Attach/ui/IconButton/IconButton.styles.js +12 -0
  374. package/styled-components/es/components/Attach/utils/extractExtension.js +3 -0
  375. package/styled-components/es/components/Attach/utils/getFileicon.js +37 -0
  376. package/styled-components/es/components/Attach/utils/index.js +3 -0
  377. package/styled-components/es/components/Attach/utils/truncateFilename.js +17 -0
  378. package/styled-components/es/components/Attach/variations/_size/base.js +3 -0
  379. package/styled-components/es/components/Attach/variations/_view/base.js +3 -0
  380. package/styled-components/es/components/Cell/Cell.js +3 -2
  381. package/styled-components/es/components/TextField/TextField.js +3 -18
  382. package/styled-components/es/components/TextField/TextField.styles.js +3 -7
  383. package/styled-components/es/components/TextField/TextField.template-doc.mdx +17 -50
  384. package/styled-components/es/components/TextField/TextField.tokens.js +0 -9
  385. package/styled-components/es/components/TextField/variations/_disabled/base.js +1 -1
  386. package/styled-components/es/components/TextField/variations/_label-placement/base.js +1 -1
  387. package/styled-components/es/components/TextField/variations/_read-only/base.js +2 -2
  388. package/styled-components/es/components/_Icon/Icon.assets/BlankCsvOutline.js +25 -0
  389. package/styled-components/es/components/_Icon/Icon.assets/BlankDocOutline.js +29 -0
  390. package/styled-components/es/components/_Icon/Icon.assets/BlankOutline.js +16 -0
  391. package/styled-components/es/components/_Icon/Icon.assets/BlankPdfOutline.js +21 -0
  392. package/styled-components/es/components/_Icon/Icon.assets/BlankTxtOutline.js +25 -0
  393. package/styled-components/es/components/_Icon/Icon.assets/BlankXlsOutline.js +25 -0
  394. package/styled-components/es/components/_Icon/Icon.assets/CloseCircleOutline.js +16 -0
  395. package/styled-components/es/components/_Icon/Icon.assets/Plus.js +16 -0
  396. package/styled-components/es/components/_Icon/Icons/IconBlankCsvOutline.js +15 -0
  397. package/styled-components/es/components/_Icon/Icons/IconBlankDocOutline.js +15 -0
  398. package/styled-components/es/components/_Icon/Icons/IconBlankOutline.js +15 -0
  399. package/styled-components/es/components/_Icon/Icons/IconBlankPdfOutline.js +15 -0
  400. package/styled-components/es/components/_Icon/Icons/IconBlankTxtOutline.js +15 -0
  401. package/styled-components/es/components/_Icon/Icons/IconBlankXlsOutline.js +15 -0
  402. package/styled-components/es/components/_Icon/Icons/IconCloseCircleOutline.js +15 -0
  403. package/styled-components/es/components/_Icon/Icons/IconPlus.js +15 -0
  404. package/styled-components/es/components/_Icon/index.js +9 -1
  405. package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.config.js +31 -0
  406. package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.js +5 -0
  407. package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +177 -0
  408. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +9 -12
  409. package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -8
  410. package/styled-components/es/examples/plasma_web/components/Attach/Attach.config.js +31 -0
  411. package/styled-components/es/examples/plasma_web/components/Attach/Attach.js +5 -0
  412. package/styled-components/es/examples/plasma_web/components/Attach/Attach.stories.tsx +168 -0
  413. package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +9 -12
  414. package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -8
  415. package/styled-components/es/index.js +2 -1
  416. package/types/components/Attach/Attach.d.ts +23 -0
  417. package/types/components/Attach/Attach.d.ts.map +1 -0
  418. package/types/components/Attach/Attach.styles.d.ts +5 -0
  419. package/types/components/Attach/Attach.styles.d.ts.map +1 -0
  420. package/types/components/Attach/Attach.tokens.d.ts +119 -0
  421. package/types/components/Attach/Attach.tokens.d.ts.map +1 -0
  422. package/types/components/Attach/Attach.types.d.ts +43 -0
  423. package/types/components/Attach/Attach.types.d.ts.map +1 -0
  424. package/types/components/Attach/components/AttachButton/AttachButton.d.ts +4 -0
  425. package/types/components/Attach/components/AttachButton/AttachButton.d.ts.map +1 -0
  426. package/types/components/Attach/components/AttachButton/index.d.ts +2 -0
  427. package/types/components/Attach/components/AttachButton/index.d.ts.map +1 -0
  428. package/types/components/Attach/index.d.ts +4 -0
  429. package/types/components/Attach/index.d.ts.map +1 -0
  430. package/types/components/Attach/ui/Button/Button.d.ts +2 -0
  431. package/types/components/Attach/ui/Button/Button.d.ts.map +1 -0
  432. package/types/components/Attach/ui/Button/Button.styles.d.ts +45 -0
  433. package/types/components/Attach/ui/Button/Button.styles.d.ts.map +1 -0
  434. package/types/components/Attach/ui/Cell/Cell.d.ts +2 -0
  435. package/types/components/Attach/ui/Cell/Cell.d.ts.map +1 -0
  436. package/types/components/Attach/ui/Cell/Cell.styles.d.ts +33 -0
  437. package/types/components/Attach/ui/Cell/Cell.styles.d.ts.map +1 -0
  438. package/types/components/Attach/ui/IconButton/IconButton.d.ts +2 -0
  439. package/types/components/Attach/ui/IconButton/IconButton.d.ts.map +1 -0
  440. package/types/components/Attach/ui/IconButton/IconButton.styles.d.ts +88 -0
  441. package/types/components/Attach/ui/IconButton/IconButton.styles.d.ts.map +1 -0
  442. package/types/components/Attach/utils/extractExtension.d.ts +2 -0
  443. package/types/components/Attach/utils/extractExtension.d.ts.map +1 -0
  444. package/types/components/Attach/utils/getFileicon.d.ts +3 -0
  445. package/types/components/Attach/utils/getFileicon.d.ts.map +1 -0
  446. package/types/components/Attach/utils/index.d.ts +4 -0
  447. package/types/components/Attach/utils/index.d.ts.map +1 -0
  448. package/types/components/Attach/utils/truncateFilename.d.ts +7 -0
  449. package/types/components/Attach/utils/truncateFilename.d.ts.map +1 -0
  450. package/types/components/Attach/variations/_size/base.d.ts.map +1 -0
  451. package/types/components/Attach/variations/_view/base.d.ts +2 -0
  452. package/types/components/Attach/variations/_view/base.d.ts.map +1 -0
  453. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +0 -120
  454. package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
  455. package/types/components/Cell/Cell.d.ts.map +1 -1
  456. package/types/components/Cell/Cell.types.d.ts +1 -1
  457. package/types/components/Cell/Cell.types.d.ts.map +1 -1
  458. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts +2 -2
  459. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +0 -120
  460. package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
  461. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +0 -120
  462. package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
  463. package/types/components/Range/Range.styles.d.ts +0 -120
  464. package/types/components/Range/Range.styles.d.ts.map +1 -1
  465. package/types/components/Slider/components/Double/Double.styles.d.ts +0 -120
  466. package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
  467. package/types/components/TextField/TextField.d.ts +0 -4
  468. package/types/components/TextField/TextField.d.ts.map +1 -1
  469. package/types/components/TextField/TextField.styles.d.ts +4 -5
  470. package/types/components/TextField/TextField.styles.d.ts.map +1 -1
  471. package/types/components/TextField/TextField.tokens.d.ts +0 -9
  472. package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
  473. package/types/components/TextField/TextField.types.d.ts +1 -20
  474. package/types/components/TextField/TextField.types.d.ts.map +1 -1
  475. package/types/components/TextField/variations/_disabled/base.d.ts.map +1 -1
  476. package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -1
  477. package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -1
  478. package/types/components/_Icon/Icon.assets/BlankCsvOutline.d.ts +4 -0
  479. package/types/components/_Icon/Icon.assets/BlankCsvOutline.d.ts.map +1 -0
  480. package/types/components/_Icon/Icon.assets/BlankDocOutline.d.ts +4 -0
  481. package/types/components/_Icon/Icon.assets/BlankDocOutline.d.ts.map +1 -0
  482. package/types/components/_Icon/Icon.assets/BlankOutline.d.ts +4 -0
  483. package/types/components/_Icon/Icon.assets/BlankOutline.d.ts.map +1 -0
  484. package/types/components/_Icon/Icon.assets/BlankPdfOutline.d.ts +4 -0
  485. package/types/components/_Icon/Icon.assets/BlankPdfOutline.d.ts.map +1 -0
  486. package/types/components/_Icon/Icon.assets/BlankTxtOutline.d.ts +4 -0
  487. package/types/components/_Icon/Icon.assets/BlankTxtOutline.d.ts.map +1 -0
  488. package/types/components/_Icon/Icon.assets/BlankXlsOutline.d.ts +4 -0
  489. package/types/components/_Icon/Icon.assets/BlankXlsOutline.d.ts.map +1 -0
  490. package/types/components/_Icon/Icon.assets/CloseCircleOutline.d.ts +4 -0
  491. package/types/components/_Icon/Icon.assets/CloseCircleOutline.d.ts.map +1 -0
  492. package/types/components/_Icon/Icon.assets/Plus.d.ts +4 -0
  493. package/types/components/_Icon/Icon.assets/Plus.d.ts.map +1 -0
  494. package/types/components/_Icon/Icons/IconBlankCsvOutline.d.ts +4 -0
  495. package/types/components/_Icon/Icons/IconBlankCsvOutline.d.ts.map +1 -0
  496. package/types/components/_Icon/Icons/IconBlankDocOutline.d.ts +4 -0
  497. package/types/components/_Icon/Icons/IconBlankDocOutline.d.ts.map +1 -0
  498. package/types/components/_Icon/Icons/IconBlankOutline.d.ts +4 -0
  499. package/types/components/_Icon/Icons/IconBlankOutline.d.ts.map +1 -0
  500. package/types/components/_Icon/Icons/IconBlankPdfOutline.d.ts +4 -0
  501. package/types/components/_Icon/Icons/IconBlankPdfOutline.d.ts.map +1 -0
  502. package/types/components/_Icon/Icons/IconBlankTxtOutline.d.ts +4 -0
  503. package/types/components/_Icon/Icons/IconBlankTxtOutline.d.ts.map +1 -0
  504. package/types/components/_Icon/Icons/IconBlankXlsOutline.d.ts +4 -0
  505. package/types/components/_Icon/Icons/IconBlankXlsOutline.d.ts.map +1 -0
  506. package/types/components/_Icon/Icons/IconCloseCircleOutline.d.ts +4 -0
  507. package/types/components/_Icon/Icons/IconCloseCircleOutline.d.ts.map +1 -0
  508. package/types/components/_Icon/Icons/IconPlus.d.ts +4 -0
  509. package/types/components/_Icon/Icons/IconPlus.d.ts.map +1 -0
  510. package/types/components/_Icon/index.d.ts +8 -0
  511. package/types/components/_Icon/index.d.ts.map +1 -1
  512. package/types/examples/plasma_b2c/components/Attach/Attach.config.d.ts +30 -0
  513. package/types/examples/plasma_b2c/components/Attach/Attach.config.d.ts.map +1 -0
  514. package/types/examples/plasma_b2c/components/Attach/Attach.d.ts +224 -0
  515. package/types/examples/plasma_b2c/components/Attach/Attach.d.ts.map +1 -0
  516. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +2 -2
  517. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts +0 -236
  518. package/types/examples/plasma_b2c/components/Mask/Mask.d.ts.map +1 -1
  519. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +0 -3
  520. package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +1 -1
  521. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +0 -123
  522. package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +1 -1
  523. package/types/examples/plasma_web/components/Attach/Attach.config.d.ts +30 -0
  524. package/types/examples/plasma_web/components/Attach/Attach.config.d.ts.map +1 -0
  525. package/types/examples/plasma_web/components/Attach/Attach.d.ts +224 -0
  526. package/types/examples/plasma_web/components/Attach/Attach.d.ts.map +1 -0
  527. package/types/examples/plasma_web/components/Cell/Cell.d.ts +2 -2
  528. package/types/examples/plasma_web/components/Mask/Mask.d.ts +0 -236
  529. package/types/examples/plasma_web/components/Mask/Mask.d.ts.map +1 -1
  530. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +0 -3
  531. package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +1 -1
  532. package/types/examples/plasma_web/components/TextField/TextField.d.ts +0 -123
  533. package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +1 -1
  534. package/types/index.d.ts +1 -0
  535. package/types/index.d.ts.map +1 -1
  536. package/cjs/components/TextField/variations/_clear/base.js.map +0 -1
  537. package/cjs/components/TextField/variations/_clear/base_1v36fe3.css +0 -1
  538. package/cjs/components/TextField/variations/_disabled/base_2tv0nz.css +0 -1
  539. package/cjs/components/TextField/variations/_label-placement/base_1ghihns.css +0 -1
  540. package/cjs/components/TextField/variations/_read-only/base_kcc8wi.css +0 -1
  541. package/emotion/cjs/components/TextField/variations/_clear/base.js +0 -10
  542. package/emotion/cjs/components/TextField/variations/_clear/tokens.json +0 -10
  543. package/emotion/es/components/TextField/variations/_clear/base.js +0 -4
  544. package/emotion/es/components/TextField/variations/_clear/tokens.json +0 -10
  545. package/es/components/TextField/variations/_clear/base.js.map +0 -1
  546. package/es/components/TextField/variations/_clear/base_1v36fe3.css +0 -1
  547. package/es/components/TextField/variations/_disabled/base_2tv0nz.css +0 -1
  548. package/es/components/TextField/variations/_label-placement/base_1ghihns.css +0 -1
  549. package/es/components/TextField/variations/_read-only/base_kcc8wi.css +0 -1
  550. package/styled-components/cjs/components/TextField/variations/_clear/base.js +0 -10
  551. package/styled-components/cjs/components/TextField/variations/_clear/tokens.json +0 -10
  552. package/styled-components/es/components/TextField/variations/_clear/base.js +0 -4
  553. package/styled-components/es/components/TextField/variations/_clear/tokens.json +0 -10
  554. package/types/components/TextField/variations/_clear/base.d.ts.map +0 -1
  555. /package/types/components/{TextField/variations/_clear → Attach/variations/_size}/base.d.ts +0 -0
@@ -16,9 +16,6 @@ export declare const TextField: import("react").FunctionComponent<import("../../
16
16
  inner: import("@linaria/core").LinariaClassName;
17
17
  outer: import("@linaria/core").LinariaClassName;
18
18
  };
19
- clear: {
20
- true: import("@linaria/core").LinariaClassName;
21
- };
22
19
  disabled: {
23
20
  true: import("@linaria/core").LinariaClassName;
24
21
  };
@@ -44,63 +41,6 @@ export declare const TextField: import("react").FunctionComponent<import("../../
44
41
  } & {
45
42
  required: true;
46
43
  optional?: false | undefined;
47
- } & {
48
- clear?: boolean | undefined;
49
- hasDivider?: boolean | undefined;
50
- } & {
51
- chips?: undefined;
52
- onChangeChips?: undefined;
53
- enumerationType?: "plain" | undefined;
54
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
55
- } & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
56
- size?: string | undefined;
57
- view?: string | undefined;
58
- readOnly?: boolean | undefined;
59
- disabled?: boolean | undefined;
60
- } & {
61
- label?: string | undefined;
62
- labelPlacement?: "inner" | "outer" | undefined;
63
- leftHelper?: string | undefined;
64
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
65
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
66
- textBefore?: string | undefined;
67
- textAfter?: string | undefined;
68
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
69
- } & {
70
- requiredPlacement?: "left" | "right" | undefined;
71
- } & {
72
- required: true;
73
- optional?: false | undefined;
74
- } & {
75
- clear?: boolean | undefined;
76
- hasDivider?: boolean | undefined;
77
- } & {
78
- enumerationType: "chip";
79
- onSearch?: undefined;
80
- chips?: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
81
- onChangeChips?: ((value: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
82
- } & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
83
- size?: string | undefined;
84
- view?: string | undefined;
85
- readOnly?: boolean | undefined;
86
- disabled?: boolean | undefined;
87
- } & {
88
- label?: string | undefined;
89
- labelPlacement?: "inner" | "outer" | undefined;
90
- leftHelper?: string | undefined;
91
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
92
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
93
- textBefore?: string | undefined;
94
- textAfter?: string | undefined;
95
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
96
- } & {
97
- requiredPlacement?: "left" | "right" | undefined;
98
- } & {
99
- required: true;
100
- optional?: false | undefined;
101
- } & {
102
- clear?: false | undefined;
103
- hasDivider?: undefined;
104
44
  } & {
105
45
  chips?: undefined;
106
46
  onChangeChips?: undefined;
@@ -125,9 +65,6 @@ export declare const TextField: import("react").FunctionComponent<import("../../
125
65
  } & {
126
66
  required: true;
127
67
  optional?: false | undefined;
128
- } & {
129
- clear?: false | undefined;
130
- hasDivider?: undefined;
131
68
  } & {
132
69
  enumerationType: "chip";
133
70
  onSearch?: undefined;
@@ -152,9 +89,6 @@ export declare const TextField: import("react").FunctionComponent<import("../../
152
89
  } & {
153
90
  optional?: true | undefined;
154
91
  required?: false | undefined;
155
- } & {
156
- clear?: boolean | undefined;
157
- hasDivider?: boolean | undefined;
158
92
  } & {
159
93
  chips?: undefined;
160
94
  onChangeChips?: undefined;
@@ -179,63 +113,6 @@ export declare const TextField: import("react").FunctionComponent<import("../../
179
113
  } & {
180
114
  optional?: true | undefined;
181
115
  required?: false | undefined;
182
- } & {
183
- clear?: boolean | undefined;
184
- hasDivider?: boolean | undefined;
185
- } & {
186
- enumerationType: "chip";
187
- onSearch?: undefined;
188
- chips?: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[] | undefined;
189
- onChangeChips?: ((value: import("../../../../components/TextField/TextField.types").TextFieldPrimitiveValue[]) => void) | undefined;
190
- } & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
191
- size?: string | undefined;
192
- view?: string | undefined;
193
- readOnly?: boolean | undefined;
194
- disabled?: boolean | undefined;
195
- } & {
196
- label?: string | undefined;
197
- labelPlacement?: "inner" | "outer" | undefined;
198
- leftHelper?: string | undefined;
199
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
200
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
201
- textBefore?: string | undefined;
202
- textAfter?: string | undefined;
203
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
204
- } & {
205
- requiredPlacement?: "left" | "right" | undefined;
206
- } & {
207
- optional?: true | undefined;
208
- required?: false | undefined;
209
- } & {
210
- clear?: false | undefined;
211
- hasDivider?: undefined;
212
- } & {
213
- chips?: undefined;
214
- onChangeChips?: undefined;
215
- enumerationType?: "plain" | undefined;
216
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
217
- } & Omit<import("../../../../types").InputHTMLAttributes<HTMLInputElement>, "required" | "size"> & import("react").RefAttributes<HTMLInputElement>) | ({
218
- size?: string | undefined;
219
- view?: string | undefined;
220
- readOnly?: boolean | undefined;
221
- disabled?: boolean | undefined;
222
- } & {
223
- label?: string | undefined;
224
- labelPlacement?: "inner" | "outer" | undefined;
225
- leftHelper?: string | undefined;
226
- contentLeft?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
227
- contentRight?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
228
- textBefore?: string | undefined;
229
- textAfter?: string | undefined;
230
- onSearch?: ((value: string, event?: import("react").KeyboardEvent<HTMLInputElement> | undefined) => void) | undefined;
231
- } & {
232
- requiredPlacement?: "left" | "right" | undefined;
233
- } & {
234
- optional?: true | undefined;
235
- required?: false | undefined;
236
- } & {
237
- clear?: false | undefined;
238
- hasDivider?: undefined;
239
116
  } & {
240
117
  enumerationType: "chip";
241
118
  onSearch?: undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qJAA0B,CAAC"}
1
+ {"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/TextField/TextField.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qJAA0B,CAAC"}
package/types/index.d.ts CHANGED
@@ -56,4 +56,5 @@ export * from './components/Autocomplete';
56
56
  export * from './components/EmptyState';
57
57
  export * from './components/Editable';
58
58
  export * from './components/Mask';
59
+ export * from './components/Attach';
59
60
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,uBAAuB,CAAC;AACtC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/TextField/variations/_clear/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../TextField.tokens';\nimport {\n Input,\n InputPlaceholder,\n InputWrapper,\n Label,\n StyledContentLeft,\n StyledContentRight,\n} from '../../TextField.styles';\n\nexport const base = css`\n &.${classes.clear} {\n &[readonly] ${InputWrapper}, ${InputWrapper} {\n background-color: unset;\n box-shadow: none;\n border-radius: 0;\n padding-left: 0;\n padding-right: 0;\n\n &:hover {\n background-color: unset;\n }\n }\n\n ${StyledContentLeft} {\n margin-left: 0;\n }\n\n ${StyledContentRight} {\n margin-right: 0;\n }\n\n ${InputPlaceholder} {\n color: var(${tokens.clearPlaceholderColor});\n }\n\n &.${classes.outerLabelPlacement} {\n ${Label} {\n margin-bottom: var(${tokens.clearLabelOffset});\n }\n }\n\n ${Input} {\n color: var(${tokens.clearColor});\n }\n\n &.${classes.hasDivider} {\n ${InputWrapper} {\n --plasma_private-textfield-divider-color: var(${String(tokens.dividerColor)});\n\n &:before {\n content: '';\n position: absolute;\n height: 0.063rem;\n width: 100%;\n bottom: 0;\n left: 0;\n background-color: var(--plasma_private-textfield-divider-color);\n transition: background-color 0.1s ease-in;\n }\n }\n\n &:not([readonly]) ${InputWrapper}:hover {\n --plasma_private-textfield-divider-color: var(\n ${tokens.dividerColorHover},\n var(${String(tokens.dividerColor)})\n );\n }\n\n &:not([readonly]) ${InputWrapper}:focus-within {\n --plasma_private-textfield-divider-color: var(\n ${tokens.dividerColorFocus},\n var(${String(tokens.dividerColor)})\n );\n }\n }\n }\n`;\n"],"names":["base"],"mappings":";;;;AAYO,IAAMA,IAAI,GAmEhB;;;;"}
@@ -1 +0,0 @@
1
- .bg547ku.textfield-clear[readonly] .iq39zt5,.bg547ku.textfield-clear .iq39zt5{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;}.bg547ku.textfield-clear[readonly] .iq39zt5:hover,.bg547ku.textfield-clear .iq39zt5:hover{background-color:unset;}.bg547ku.textfield-clear .s600610{margin-left:0;}.bg547ku.textfield-clear .suk2zst{margin-right:0;}.bg547ku.textfield-clear .i19ry60d{color:var(--plasma-textfield__clear-placeholder-color);}.bg547ku.textfield-clear.label-placement-outer .lbt1ohz{margin-bottom:var(--plasma-textfield__clear-label-offset);}.bg547ku.textfield-clear .io4bpie{color:var(--plasma-textfield-clear-color);}.bg547ku.textfield-clear.hasDivider .iq39zt5{--plasma_private-textfield-divider-color:var(--plasma-textfield-divider-color);}.bg547ku.textfield-clear.hasDivider .iq39zt5:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.bg547ku.textfield-clear.hasDivider:not([readonly]) .iq39zt5:hover{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-hover, var(--plasma-textfield-divider-color) );}.bg547ku.textfield-clear.hasDivider:not([readonly]) .iq39zt5:focus-within{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-focus, var(--plasma-textfield-divider-color) );}
@@ -1 +0,0 @@
1
- .b15zsg4z[disabled]{pointer-events:none;opacity:var(--plasma-textfield-disabled-opacity);cursor:not-allowed;}.b15zsg4z[disabled] .io4bpie{cursor:not-allowed;min-width:unset;}
@@ -1 +0,0 @@
1
- .b15d3bnf.label-placement-outer .lbt1ohz{position:relative;display:inline-block;margin-bottom:var(--plasma-textfield__label-offset);color:var(--plasma-textfield__label-color);}.b15d3bnf.label-placement-inner .i13qvwoy{padding:var(--plasma-textfield-placement_inner__content-padding);}.b15d3bnf.label-placement-inner .s190z894,.b15d3bnf.label-placement-inner .ssv2kwg{padding:var(--plasma-textfield-placement_inner__content-padding);}.b15d3bnf.label-placement-inner .io4bpie:focus ~ .lbt1ohz,.b15d3bnf.label-placement-inner .io4bpie.has-value ~ .lbt1ohz{color:var(--plasma-textfield__placeholder-color);-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.b15d3bnf.label-placement-inner .lbt1ohz{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;height:var(--plasma-textfield-height);padding-top:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);padding-bottom:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);}.b15d3bnf.label-placement-inner.textfield-clear .lbt1ohz{color:var(--plasma-textfield__clear-placeholder-color);}
@@ -1 +0,0 @@
1
- .b1w985rt[readonly] .iq39zt5{color:var(--plasma-textfield-color-readonly);background-color:var(--plasma-textfield-bg-color-readonly);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma-textfield-border-color-readonly);}.b1w985rt[readonly].hasDivider .iq39zt5:before{background-color:var(--plasma-textfield-divider-color-readonly);}.b1w985rt[readonly] .iq39zt5:hover{background-color:var(--plasma-textfield-bg-color-readonly);}.b1w985rt[readonly] .i19ry60d{color:var(--plasma-textfield__placeholder-color-readonly);}.b1w985rt[readonly] .io4bpie{color:var(--plasma-textfield-color-readonly);cursor:default;min-width:unset;}.b1w985rt[readonly] .l1gjsnfi{color:var(--plasma-textfield__left-helper-color-readonly);}.b1w985rt[readonly].label-placement-outer .lbt1ohz{color:var(--plasma-textfield__label-color-readonly);}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.base = void 0;
7
- var _react = /*#__PURE__*/require("@emotion/react");
8
- var _TextField = /*#__PURE__*/require("../../TextField.tokens");
9
- var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _react.css)("&.", _TextField.classes.clear, "{&[readonly] ", _TextField2.InputWrapper, ",", _TextField2.InputWrapper, "{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}", _TextField2.StyledContentLeft, "{margin-left:0;}", _TextField2.StyledContentRight, "{margin-right:0;}", _TextField2.InputPlaceholder, "{color:var(", _TextField.tokens.clearPlaceholderColor, ");}&.", _TextField.classes.outerLabelPlacement, "{", _TextField2.Label, "{margin-bottom:var(", _TextField.tokens.clearLabelOffset, ");}}", _TextField2.Input, "{color:var(", _TextField.tokens.clearColor, ");}&.", _TextField.classes.hasDivider, "{", _TextField2.InputWrapper, "{--plasma_private-textfield-divider-color:var(", /*#__PURE__*/String(_TextField.tokens.dividerColor), ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", _TextField2.InputWrapper, ":hover{--plasma_private-textfield-divider-color:var(\n ", _TextField.tokens.dividerColorHover, ",\n var(", /*#__PURE__*/String(_TextField.tokens.dividerColor), ")\n );}&:not([readonly]) ", _TextField2.InputWrapper, ":focus-within{--plasma_private-textfield-divider-color:var(\n ", _TextField.tokens.dividerColorFocus, ",\n var(", /*#__PURE__*/String(_TextField.tokens.dividerColor), ")\n );}}};label:plasma-new-hope__base;" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX2NsZWFyL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWXVCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX2NsZWFyL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL1RleHRGaWVsZC50b2tlbnMnO1xuaW1wb3J0IHtcbiAgICBJbnB1dCxcbiAgICBJbnB1dFBsYWNlaG9sZGVyLFxuICAgIElucHV0V3JhcHBlcixcbiAgICBMYWJlbCxcbiAgICBTdHlsZWRDb250ZW50TGVmdCxcbiAgICBTdHlsZWRDb250ZW50UmlnaHQsXG59IGZyb20gJy4uLy4uL1RleHRGaWVsZC5zdHlsZXMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmLiR7Y2xhc3Nlcy5jbGVhcn0ge1xuICAgICAgICAmW3JlYWRvbmx5XSAke0lucHV0V3JhcHBlcn0sICR7SW5wdXRXcmFwcGVyfSB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB1bnNldDtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IG5vbmU7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAwO1xuICAgICAgICAgICAgcGFkZGluZy1yaWdodDogMDtcblxuICAgICAgICAgICAgJjpob3ZlciB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZENvbnRlbnRMZWZ0fSB7XG4gICAgICAgICAgICBtYXJnaW4tbGVmdDogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkQ29udGVudFJpZ2h0fSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgIH1cblxuICAgICAgICAke0lucHV0UGxhY2Vob2xkZXJ9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJQbGFjZWhvbGRlckNvbG9yfSk7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5vdXRlckxhYmVsUGxhY2VtZW50fSB7XG4gICAgICAgICAgICAke0xhYmVsfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogdmFyKCR7dG9rZW5zLmNsZWFyTGFiZWxPZmZzZXR9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7SW5wdXR9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJDb2xvcn0pO1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzRGl2aWRlcn0ge1xuICAgICAgICAgICAgJHtJbnB1dFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRmaWVsZC1kaXZpZGVyLWNvbG9yOiB2YXIoJHtTdHJpbmcodG9rZW5zLmRpdmlkZXJDb2xvcil9KTtcblxuICAgICAgICAgICAgICAgICY6YmVmb3JlIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGVudDogJyc7XG4gICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiAwLjA2M3JlbTtcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcGxhc21hX3ByaXZhdGUtdGV4dGZpZWxkLWRpdmlkZXItY29sb3IpO1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1pbjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICY6bm90KFtyZWFkb25seV0pICR7SW5wdXRXcmFwcGVyfTpob3ZlciB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JIb3Zlcn0sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpub3QoW3JlYWRvbmx5XSkgJHtJbnB1dFdyYXBwZXJ9OmZvY3VzLXdpdGhpbiB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JGb2N1c30sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
@@ -1,10 +0,0 @@
1
- {
2
- "type": "boolean",
3
- "tokens": [
4
- "--plasma-textfield__clear-label-offset",
5
- "--plasma-textfield-divider-color",
6
- "--plasma-textfield-divider-color-hover",
7
- "--plasma-textfield-divider-color-focus",
8
- "--plasma-textfield-clear-color"
9
- ]
10
- }
@@ -1,4 +0,0 @@
1
- import { css } from '@emotion/react';
2
- import { classes, tokens } from '../../TextField.tokens';
3
- import { Input, InputPlaceholder, InputWrapper, Label, StyledContentLeft, StyledContentRight } from '../../TextField.styles';
4
- export var base = /*#__PURE__*/css("&.", classes.clear, "{&[readonly] ", InputWrapper, ",", InputWrapper, "{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}", StyledContentLeft, "{margin-left:0;}", StyledContentRight, "{margin-right:0;}", InputPlaceholder, "{color:var(", tokens.clearPlaceholderColor, ");}&.", classes.outerLabelPlacement, "{", Label, "{margin-bottom:var(", tokens.clearLabelOffset, ");}}", Input, "{color:var(", tokens.clearColor, ");}&.", classes.hasDivider, "{", InputWrapper, "{--plasma_private-textfield-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-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", InputWrapper, ":hover{--plasma_private-textfield-divider-color:var(\n ", tokens.dividerColorHover, ",\n var(", /*#__PURE__*/String(tokens.dividerColor), ")\n );}&:not([readonly]) ", InputWrapper, ":focus-within{--plasma_private-textfield-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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX2NsZWFyL2Jhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWXVCIiwiZmlsZSI6Ii4uLy4uLy4uLy4uLy4uLy4uL3NyYy1lbW90aW9uL2NvbXBvbmVudHMvVGV4dEZpZWxkL3ZhcmlhdGlvbnMvX2NsZWFyL2Jhc2UudHMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL1RleHRGaWVsZC50b2tlbnMnO1xuaW1wb3J0IHtcbiAgICBJbnB1dCxcbiAgICBJbnB1dFBsYWNlaG9sZGVyLFxuICAgIElucHV0V3JhcHBlcixcbiAgICBMYWJlbCxcbiAgICBTdHlsZWRDb250ZW50TGVmdCxcbiAgICBTdHlsZWRDb250ZW50UmlnaHQsXG59IGZyb20gJy4uLy4uL1RleHRGaWVsZC5zdHlsZXMnO1xuXG5leHBvcnQgY29uc3QgYmFzZSA9IGNzc2BcbiAgICAmLiR7Y2xhc3Nlcy5jbGVhcn0ge1xuICAgICAgICAmW3JlYWRvbmx5XSAke0lucHV0V3JhcHBlcn0sICR7SW5wdXRXcmFwcGVyfSB7XG4gICAgICAgICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB1bnNldDtcbiAgICAgICAgICAgIGJveC1zaGFkb3c6IG5vbmU7XG4gICAgICAgICAgICBib3JkZXItcmFkaXVzOiAwO1xuICAgICAgICAgICAgcGFkZGluZy1sZWZ0OiAwO1xuICAgICAgICAgICAgcGFkZGluZy1yaWdodDogMDtcblxuICAgICAgICAgICAgJjpob3ZlciB7XG4gICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZENvbnRlbnRMZWZ0fSB7XG4gICAgICAgICAgICBtYXJnaW4tbGVmdDogMDtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkQ29udGVudFJpZ2h0fSB7XG4gICAgICAgICAgICBtYXJnaW4tcmlnaHQ6IDA7XG4gICAgICAgIH1cblxuICAgICAgICAke0lucHV0UGxhY2Vob2xkZXJ9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJQbGFjZWhvbGRlckNvbG9yfSk7XG4gICAgICAgIH1cblxuICAgICAgICAmLiR7Y2xhc3Nlcy5vdXRlckxhYmVsUGxhY2VtZW50fSB7XG4gICAgICAgICAgICAke0xhYmVsfSB7XG4gICAgICAgICAgICAgICAgbWFyZ2luLWJvdHRvbTogdmFyKCR7dG9rZW5zLmNsZWFyTGFiZWxPZmZzZXR9KTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuXG4gICAgICAgICR7SW5wdXR9IHtcbiAgICAgICAgICAgIGNvbG9yOiB2YXIoJHt0b2tlbnMuY2xlYXJDb2xvcn0pO1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzRGl2aWRlcn0ge1xuICAgICAgICAgICAgJHtJbnB1dFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRmaWVsZC1kaXZpZGVyLWNvbG9yOiB2YXIoJHtTdHJpbmcodG9rZW5zLmRpdmlkZXJDb2xvcil9KTtcblxuICAgICAgICAgICAgICAgICY6YmVmb3JlIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGVudDogJyc7XG4gICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiAwLjA2M3JlbTtcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcGxhc21hX3ByaXZhdGUtdGV4dGZpZWxkLWRpdmlkZXItY29sb3IpO1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1pbjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICY6bm90KFtyZWFkb25seV0pICR7SW5wdXRXcmFwcGVyfTpob3ZlciB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JIb3Zlcn0sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpub3QoW3JlYWRvbmx5XSkgJHtJbnB1dFdyYXBwZXJ9OmZvY3VzLXdpdGhpbiB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JGb2N1c30sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cbmA7XG4iXX0= */"));
@@ -1,10 +0,0 @@
1
- {
2
- "type": "boolean",
3
- "tokens": [
4
- "--plasma-textfield__clear-label-offset",
5
- "--plasma-textfield-divider-color",
6
- "--plasma-textfield-divider-color-hover",
7
- "--plasma-textfield-divider-color-focus",
8
- "--plasma-textfield-clear-color"
9
- ]
10
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.js","sources":["../../../../../src/components/TextField/variations/_clear/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../TextField.tokens';\nimport {\n Input,\n InputPlaceholder,\n InputWrapper,\n Label,\n StyledContentLeft,\n StyledContentRight,\n} from '../../TextField.styles';\n\nexport const base = css`\n &.${classes.clear} {\n &[readonly] ${InputWrapper}, ${InputWrapper} {\n background-color: unset;\n box-shadow: none;\n border-radius: 0;\n padding-left: 0;\n padding-right: 0;\n\n &:hover {\n background-color: unset;\n }\n }\n\n ${StyledContentLeft} {\n margin-left: 0;\n }\n\n ${StyledContentRight} {\n margin-right: 0;\n }\n\n ${InputPlaceholder} {\n color: var(${tokens.clearPlaceholderColor});\n }\n\n &.${classes.outerLabelPlacement} {\n ${Label} {\n margin-bottom: var(${tokens.clearLabelOffset});\n }\n }\n\n ${Input} {\n color: var(${tokens.clearColor});\n }\n\n &.${classes.hasDivider} {\n ${InputWrapper} {\n --plasma_private-textfield-divider-color: var(${String(tokens.dividerColor)});\n\n &:before {\n content: '';\n position: absolute;\n height: 0.063rem;\n width: 100%;\n bottom: 0;\n left: 0;\n background-color: var(--plasma_private-textfield-divider-color);\n transition: background-color 0.1s ease-in;\n }\n }\n\n &:not([readonly]) ${InputWrapper}:hover {\n --plasma_private-textfield-divider-color: var(\n ${tokens.dividerColorHover},\n var(${String(tokens.dividerColor)})\n );\n }\n\n &:not([readonly]) ${InputWrapper}:focus-within {\n --plasma_private-textfield-divider-color: var(\n ${tokens.dividerColorFocus},\n var(${String(tokens.dividerColor)})\n );\n }\n }\n }\n`;\n"],"names":["base"],"mappings":"AAYO,IAAMA,IAAI,GAmEhB;;;;"}
@@ -1 +0,0 @@
1
- .bg547ku.textfield-clear[readonly] .iq39zt5,.bg547ku.textfield-clear .iq39zt5{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;}.bg547ku.textfield-clear[readonly] .iq39zt5:hover,.bg547ku.textfield-clear .iq39zt5:hover{background-color:unset;}.bg547ku.textfield-clear .s600610{margin-left:0;}.bg547ku.textfield-clear .suk2zst{margin-right:0;}.bg547ku.textfield-clear .i19ry60d{color:var(--plasma-textfield__clear-placeholder-color);}.bg547ku.textfield-clear.label-placement-outer .lbt1ohz{margin-bottom:var(--plasma-textfield__clear-label-offset);}.bg547ku.textfield-clear .io4bpie{color:var(--plasma-textfield-clear-color);}.bg547ku.textfield-clear.hasDivider .iq39zt5{--plasma_private-textfield-divider-color:var(--plasma-textfield-divider-color);}.bg547ku.textfield-clear.hasDivider .iq39zt5:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.bg547ku.textfield-clear.hasDivider:not([readonly]) .iq39zt5:hover{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-hover, var(--plasma-textfield-divider-color) );}.bg547ku.textfield-clear.hasDivider:not([readonly]) .iq39zt5:focus-within{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-focus, var(--plasma-textfield-divider-color) );}
@@ -1 +0,0 @@
1
- .b15zsg4z[disabled]{pointer-events:none;opacity:var(--plasma-textfield-disabled-opacity);cursor:not-allowed;}.b15zsg4z[disabled] .io4bpie{cursor:not-allowed;min-width:unset;}
@@ -1 +0,0 @@
1
- .b15d3bnf.label-placement-outer .lbt1ohz{position:relative;display:inline-block;margin-bottom:var(--plasma-textfield__label-offset);color:var(--plasma-textfield__label-color);}.b15d3bnf.label-placement-inner .i13qvwoy{padding:var(--plasma-textfield-placement_inner__content-padding);}.b15d3bnf.label-placement-inner .s190z894,.b15d3bnf.label-placement-inner .ssv2kwg{padding:var(--plasma-textfield-placement_inner__content-padding);}.b15d3bnf.label-placement-inner .io4bpie:focus ~ .lbt1ohz,.b15d3bnf.label-placement-inner .io4bpie.has-value ~ .lbt1ohz{color:var(--plasma-textfield__placeholder-color);-webkit-align-items:flex-start;-webkit-box-align:flex-start;-ms-flex-align:flex-start;align-items:flex-start;padding:var(--plasma-textfield-placement_inner__label-padding);font-family:var(--plasma-textfield-placement_inner__label-font-family);font-size:var(--plasma-textfield-placement_inner__label-font-size);font-style:var(--plasma-textfield-placement_inner__label-font-style);font-weight:var(--plasma-textfield-placement_inner__label-font-weight);-webkit-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-moz-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);-ms-letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);letter-spacing:var(--plasma-textfield-placement_inner__label-letter-spacing);line-height:var(--plasma-textfield-placement_inner__label-line-height);}.b15d3bnf.label-placement-inner .lbt1ohz{color:var(--plasma-textfield__placeholder-color);pointer-events:none;position:absolute;top:0;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;height:var(--plasma-textfield-height);padding-top:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);padding-bottom:calc(calc(var(--plasma-textfield-height) - var(--plasma-textfield__label-line-height)) / 2);}.b15d3bnf.label-placement-inner.textfield-clear .lbt1ohz{color:var(--plasma-textfield__clear-placeholder-color);}
@@ -1 +0,0 @@
1
- .b1w985rt[readonly] .iq39zt5{color:var(--plasma-textfield-color-readonly);background-color:var(--plasma-textfield-bg-color-readonly);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma-textfield-border-color-readonly);}.b1w985rt[readonly].hasDivider .iq39zt5:before{background-color:var(--plasma-textfield-divider-color-readonly);}.b1w985rt[readonly] .iq39zt5:hover{background-color:var(--plasma-textfield-bg-color-readonly);}.b1w985rt[readonly] .i19ry60d{color:var(--plasma-textfield__placeholder-color-readonly);}.b1w985rt[readonly] .io4bpie{color:var(--plasma-textfield-color-readonly);cursor:default;min-width:unset;}.b1w985rt[readonly] .l1gjsnfi{color:var(--plasma-textfield__left-helper-color-readonly);}.b1w985rt[readonly].label-placement-outer .lbt1ohz{color:var(--plasma-textfield__label-color-readonly);}
@@ -1,10 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.base = void 0;
7
- var _styledComponents = /*#__PURE__*/require("styled-components");
8
- var _TextField = /*#__PURE__*/require("../../TextField.tokens");
9
- var _TextField2 = /*#__PURE__*/require("../../TextField.styles");
10
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&.", "{&[readonly] ", ",", "{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}", "{margin-left:0;}", "{margin-right:0;}", "{color:var(", ");}&.", "{", "{margin-bottom:var(", ");}}", "{color:var(", ");}&.", "{", "{--plasma_private-textfield-divider-color:var(", ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", ":hover{--plasma_private-textfield-divider-color:var( ", ",var(", ") );}&:not([readonly]) ", ":focus-within{--plasma_private-textfield-divider-color:var( ", ",var(", ") );}}}"], _TextField.classes.clear, _TextField2.InputWrapper, _TextField2.InputWrapper, _TextField2.StyledContentLeft, _TextField2.StyledContentRight, _TextField2.InputPlaceholder, _TextField.tokens.clearPlaceholderColor, _TextField.classes.outerLabelPlacement, _TextField2.Label, _TextField.tokens.clearLabelOffset, _TextField2.Input, _TextField.tokens.clearColor, _TextField.classes.hasDivider, _TextField2.InputWrapper, /*#__PURE__*/String(_TextField.tokens.dividerColor), _TextField2.InputWrapper, _TextField.tokens.dividerColorHover, /*#__PURE__*/String(_TextField.tokens.dividerColor), _TextField2.InputWrapper, _TextField.tokens.dividerColorFocus, /*#__PURE__*/String(_TextField.tokens.dividerColor));
@@ -1,10 +0,0 @@
1
- {
2
- "type": "boolean",
3
- "tokens": [
4
- "--plasma-textfield__clear-label-offset",
5
- "--plasma-textfield-divider-color",
6
- "--plasma-textfield-divider-color-hover",
7
- "--plasma-textfield-divider-color-focus",
8
- "--plasma-textfield-clear-color"
9
- ]
10
- }
@@ -1,4 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { classes, tokens } from '../../TextField.tokens';
3
- import { Input, InputPlaceholder, InputWrapper, Label, StyledContentLeft, StyledContentRight } from '../../TextField.styles';
4
- export var base = /*#__PURE__*/css(["&.", "{&[readonly] ", ",", "{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}", "{margin-left:0;}", "{margin-right:0;}", "{color:var(", ");}&.", "{", "{margin-bottom:var(", ");}}", "{color:var(", ");}&.", "{", "{--plasma_private-textfield-divider-color:var(", ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", ":hover{--plasma_private-textfield-divider-color:var( ", ",var(", ") );}&:not([readonly]) ", ":focus-within{--plasma_private-textfield-divider-color:var( ", ",var(", ") );}}}"], classes.clear, InputWrapper, InputWrapper, StyledContentLeft, StyledContentRight, InputPlaceholder, tokens.clearPlaceholderColor, classes.outerLabelPlacement, Label, tokens.clearLabelOffset, Input, tokens.clearColor, classes.hasDivider, InputWrapper, /*#__PURE__*/String(tokens.dividerColor), InputWrapper, tokens.dividerColorHover, /*#__PURE__*/String(tokens.dividerColor), InputWrapper, tokens.dividerColorFocus, /*#__PURE__*/String(tokens.dividerColor));
@@ -1,10 +0,0 @@
1
- {
2
- "type": "boolean",
3
- "tokens": [
4
- "--plasma-textfield__clear-label-offset",
5
- "--plasma-textfield-divider-color",
6
- "--plasma-textfield-divider-color-hover",
7
- "--plasma-textfield-divider-color-focus",
8
- "--plasma-textfield-clear-color"
9
- ]
10
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_clear/base.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,IAAI,0CAmEhB,CAAC"}