@salutejs/plasma-new-hope 0.147.0-canary.1437.10892194926.0 → 0.147.0-canary.1439.10898287717.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (331) hide show
  1. package/cjs/components/Autocomplete/Autocomplete.css +5 -5
  2. package/cjs/components/Autocomplete/Autocomplete.styles.js +5 -5
  3. package/cjs/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  4. package/cjs/components/Autocomplete/{Autocomplete.styles_4wbmok.css → Autocomplete.styles_192fzgs.css} +1 -1
  5. package/cjs/components/Autocomplete/Autocomplete.tokens.js +2 -0
  6. package/cjs/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  7. package/cjs/components/Cell/Cell.js +2 -3
  8. package/cjs/components/Cell/Cell.js.map +1 -1
  9. package/cjs/components/Combobox/ComboboxNew/Combobox.css +3 -3
  10. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +11 -11
  11. package/cjs/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  12. package/{es/components/Combobox/ComboboxNew/Combobox.styles_iq2uzw.css → cjs/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css} +1 -1
  13. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  14. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  15. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +3 -3
  16. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +3 -3
  17. package/cjs/components/Pagination/Pagination.css +17 -17
  18. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +17 -17
  19. package/cjs/components/Select/Select.css +17 -17
  20. package/cjs/components/Select/Select.styles.js +3 -3
  21. package/cjs/components/Select/Select.styles.js.map +1 -1
  22. package/cjs/components/Select/{Select.styles_hzoeqc.css → Select.styles_1nzals0.css} +1 -1
  23. package/cjs/components/Select/Select.tokens.js +5 -1
  24. package/cjs/components/Select/Select.tokens.js.map +1 -1
  25. package/cjs/components/Select/ui/Inner/Inner.css +17 -17
  26. package/cjs/components/Select/ui/Inner/ui/Item/Item.css +17 -17
  27. package/cjs/components/Select/ui/Target/Target.css +12 -12
  28. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +12 -12
  29. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +29 -15
  30. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  31. package/{es/components/Select/ui/Target/ui/Textfield/Textfield.styles_rtzthp.css → cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_11yj58s.css} +2 -2
  32. package/cjs/components/TextArea/variations/_view/base.js +1 -1
  33. package/cjs/components/TextArea/variations/_view/base.js.map +1 -1
  34. package/cjs/components/TextArea/variations/_view/base_8npjyq.css +1 -0
  35. package/cjs/index.css +27 -41
  36. package/cjs/index.js +0 -5
  37. package/cjs/index.js.map +1 -1
  38. package/emotion/cjs/components/Autocomplete/Autocomplete.styles.js +5 -5
  39. package/emotion/cjs/components/Autocomplete/Autocomplete.tokens.js +2 -0
  40. package/emotion/cjs/components/Cell/Cell.js +2 -3
  41. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +6 -6
  42. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  43. package/emotion/cjs/components/Select/Select.styles.js +6 -6
  44. package/emotion/cjs/components/Select/Select.tokens.js +5 -1
  45. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +27 -21
  46. package/emotion/cjs/components/TextArea/variations/_view/base.js +1 -1
  47. package/emotion/cjs/index.js +0 -11
  48. package/emotion/es/components/Autocomplete/Autocomplete.styles.js +5 -5
  49. package/emotion/es/components/Autocomplete/Autocomplete.tokens.js +2 -0
  50. package/emotion/es/components/Cell/Cell.js +2 -3
  51. package/emotion/es/components/Combobox/ComboboxNew/Combobox.styles.js +6 -6
  52. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  53. package/emotion/es/components/Select/Select.styles.js +6 -6
  54. package/emotion/es/components/Select/Select.tokens.js +5 -1
  55. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +27 -21
  56. package/emotion/es/components/TextArea/variations/_view/base.js +1 -1
  57. package/emotion/es/index.js +1 -2
  58. package/es/components/Autocomplete/Autocomplete.css +5 -5
  59. package/es/components/Autocomplete/Autocomplete.styles.js +5 -5
  60. package/es/components/Autocomplete/Autocomplete.styles.js.map +1 -1
  61. package/es/components/Autocomplete/{Autocomplete.styles_4wbmok.css → Autocomplete.styles_192fzgs.css} +1 -1
  62. package/es/components/Autocomplete/Autocomplete.tokens.js +2 -0
  63. package/es/components/Autocomplete/Autocomplete.tokens.js.map +1 -1
  64. package/es/components/Cell/Cell.js +2 -3
  65. package/es/components/Cell/Cell.js.map +1 -1
  66. package/es/components/Combobox/ComboboxNew/Combobox.css +3 -3
  67. package/es/components/Combobox/ComboboxNew/Combobox.styles.js +11 -11
  68. package/es/components/Combobox/ComboboxNew/Combobox.styles.js.map +1 -1
  69. package/{cjs/components/Combobox/ComboboxNew/Combobox.styles_iq2uzw.css → es/components/Combobox/ComboboxNew/Combobox.styles_1s09ifw.css} +1 -1
  70. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  71. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  72. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +3 -3
  73. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.css +3 -3
  74. package/es/components/Pagination/Pagination.css +17 -17
  75. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +17 -17
  76. package/es/components/Select/Select.css +17 -17
  77. package/es/components/Select/Select.styles.js +3 -3
  78. package/es/components/Select/Select.styles.js.map +1 -1
  79. package/es/components/Select/{Select.styles_hzoeqc.css → Select.styles_1nzals0.css} +1 -1
  80. package/es/components/Select/Select.tokens.js +5 -1
  81. package/es/components/Select/Select.tokens.js.map +1 -1
  82. package/es/components/Select/ui/Inner/Inner.css +17 -17
  83. package/es/components/Select/ui/Inner/ui/Item/Item.css +17 -17
  84. package/es/components/Select/ui/Target/Target.css +12 -12
  85. package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +12 -12
  86. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +29 -15
  87. package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
  88. package/{cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_rtzthp.css → es/components/Select/ui/Target/ui/Textfield/Textfield.styles_11yj58s.css} +2 -2
  89. package/es/components/TextArea/variations/_view/base.js +1 -1
  90. package/es/components/TextArea/variations/_view/base.js.map +1 -1
  91. package/es/components/TextArea/variations/_view/base_8npjyq.css +1 -0
  92. package/es/index.css +27 -41
  93. package/es/index.js +0 -2
  94. package/es/index.js.map +1 -1
  95. package/package.json +2 -3
  96. package/styled-components/cjs/components/Autocomplete/Autocomplete.styles.js +2 -2
  97. package/styled-components/cjs/components/Autocomplete/Autocomplete.tokens.js +2 -0
  98. package/styled-components/cjs/components/Cell/Cell.js +2 -3
  99. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  100. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  101. package/styled-components/cjs/components/Select/Select.styles.js +2 -2
  102. package/styled-components/cjs/components/Select/Select.tokens.js +5 -1
  103. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +15 -9
  104. package/styled-components/cjs/components/TextArea/variations/_view/base.js +1 -1
  105. package/styled-components/cjs/index.js +0 -11
  106. package/styled-components/es/components/Autocomplete/Autocomplete.styles.js +2 -2
  107. package/styled-components/es/components/Autocomplete/Autocomplete.tokens.js +2 -0
  108. package/styled-components/es/components/Cell/Cell.js +2 -3
  109. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.styles.js +2 -2
  110. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +2 -0
  111. package/styled-components/es/components/Select/Select.styles.js +2 -2
  112. package/styled-components/es/components/Select/Select.tokens.js +5 -1
  113. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +15 -9
  114. package/styled-components/es/components/TextArea/variations/_view/base.js +1 -1
  115. package/styled-components/es/index.js +1 -2
  116. package/types/components/Autocomplete/Autocomplete.styles.d.ts.map +1 -1
  117. package/types/components/Autocomplete/Autocomplete.tokens.d.ts +2 -0
  118. package/types/components/Autocomplete/Autocomplete.tokens.d.ts.map +1 -1
  119. package/types/components/Cell/Cell.d.ts.map +1 -1
  120. package/types/components/Cell/Cell.types.d.ts +1 -1
  121. package/types/components/Cell/Cell.types.d.ts.map +1 -1
  122. package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts.map +1 -1
  123. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +2 -0
  124. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  125. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts +2 -2
  126. package/types/components/Select/Select.styles.d.ts.map +1 -1
  127. package/types/components/Select/Select.tokens.d.ts +5 -1
  128. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  129. package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
  130. package/types/examples/plasma_b2c/components/Cell/Cell.d.ts +2 -2
  131. package/types/examples/plasma_web/components/Cell/Cell.d.ts +2 -2
  132. package/types/index.d.ts +0 -1
  133. package/types/index.d.ts.map +1 -1
  134. package/cjs/components/Attach/Attach.css +0 -45
  135. package/cjs/components/Attach/Attach.js +0 -174
  136. package/cjs/components/Attach/Attach.js.map +0 -1
  137. package/cjs/components/Attach/Attach.styles.js +0 -23
  138. package/cjs/components/Attach/Attach.styles.js.map +0 -1
  139. package/cjs/components/Attach/Attach.styles_17fejif.css +0 -3
  140. package/cjs/components/Attach/Attach.tokens.js +0 -83
  141. package/cjs/components/Attach/Attach.tokens.js.map +0 -1
  142. package/cjs/components/Attach/ui/Button/Button.styles.js +0 -23
  143. package/cjs/components/Attach/ui/Button/Button.styles.js.map +0 -1
  144. package/cjs/components/Attach/ui/Button/Button.styles_oi6jxf.css +0 -1
  145. package/cjs/components/Attach/ui/Cell/Cell.styles.js +0 -25
  146. package/cjs/components/Attach/ui/Cell/Cell.styles.js.map +0 -1
  147. package/cjs/components/Attach/ui/Cell/Cell.styles_1dlvsak.css +0 -1
  148. package/cjs/components/Attach/ui/iconButton/IconButton.styles.js +0 -23
  149. package/cjs/components/Attach/ui/iconButton/IconButton.styles.js.map +0 -1
  150. package/cjs/components/Attach/ui/iconButton/IconButton.styles_14dty7n.css +0 -1
  151. package/cjs/components/Attach/utils/extractExtension.js +0 -10
  152. package/cjs/components/Attach/utils/extractExtension.js.map +0 -1
  153. package/cjs/components/Attach/utils/getFileicon.js +0 -27
  154. package/cjs/components/Attach/utils/getFileicon.js.map +0 -1
  155. package/cjs/components/Attach/utils/truncateFilename.js +0 -16
  156. package/cjs/components/Attach/utils/truncateFilename.js.map +0 -1
  157. package/cjs/components/Attach/variations/_size/base.js +0 -9
  158. package/cjs/components/Attach/variations/_size/base.js.map +0 -1
  159. package/cjs/components/Attach/variations/_size/base_eax0b8.css +0 -1
  160. package/cjs/components/Attach/variations/_view/base.js +0 -9
  161. package/cjs/components/Attach/variations/_view/base.js.map +0 -1
  162. package/cjs/components/Attach/variations/_view/base_1nvsg1b.css +0 -1
  163. package/cjs/components/TextArea/variations/_view/base_jjtr9h.css +0 -1
  164. package/emotion/cjs/components/Attach/Attach.js +0 -180
  165. package/emotion/cjs/components/Attach/Attach.styles.js +0 -36
  166. package/emotion/cjs/components/Attach/Attach.template-doc.mdx +0 -46
  167. package/emotion/cjs/components/Attach/Attach.tokens.js +0 -81
  168. package/emotion/cjs/components/Attach/Attach.types.js +0 -5
  169. package/emotion/cjs/components/Attach/index.js +0 -25
  170. package/emotion/cjs/components/Attach/ui/Button/Button.js +0 -12
  171. package/emotion/cjs/components/Attach/ui/Button/Button.styles.js +0 -17
  172. package/emotion/cjs/components/Attach/ui/Cell/Cell.js +0 -12
  173. package/emotion/cjs/components/Attach/ui/Cell/Cell.styles.js +0 -17
  174. package/emotion/cjs/components/Attach/ui/iconButton/IconButton.js +0 -12
  175. package/emotion/cjs/components/Attach/ui/iconButton/IconButton.styles.js +0 -17
  176. package/emotion/cjs/components/Attach/utils/extractExtension.js +0 -9
  177. package/emotion/cjs/components/Attach/utils/getFileicon.js +0 -26
  178. package/emotion/cjs/components/Attach/utils/index.js +0 -26
  179. package/emotion/cjs/components/Attach/utils/truncateFilename.js +0 -15
  180. package/emotion/cjs/components/Attach/variations/_size/base.js +0 -9
  181. package/emotion/cjs/components/Attach/variations/_view/base.js +0 -9
  182. package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.config.js +0 -25
  183. package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.js +0 -11
  184. package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +0 -61
  185. package/emotion/cjs/examples/plasma_web/components/Attach/Attach.config.js +0 -25
  186. package/emotion/cjs/examples/plasma_web/components/Attach/Attach.js +0 -11
  187. package/emotion/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +0 -61
  188. package/emotion/es/components/Attach/Attach.js +0 -171
  189. package/emotion/es/components/Attach/Attach.styles.js +0 -29
  190. package/emotion/es/components/Attach/Attach.template-doc.mdx +0 -46
  191. package/emotion/es/components/Attach/Attach.tokens.js +0 -75
  192. package/emotion/es/components/Attach/Attach.types.js +0 -1
  193. package/emotion/es/components/Attach/index.js +0 -2
  194. package/emotion/es/components/Attach/ui/Button/Button.js +0 -1
  195. package/emotion/es/components/Attach/ui/Button/Button.styles.js +0 -10
  196. package/emotion/es/components/Attach/ui/Cell/Cell.js +0 -1
  197. package/emotion/es/components/Attach/ui/Cell/Cell.styles.js +0 -10
  198. package/emotion/es/components/Attach/ui/iconButton/IconButton.js +0 -1
  199. package/emotion/es/components/Attach/ui/iconButton/IconButton.styles.js +0 -10
  200. package/emotion/es/components/Attach/utils/extractExtension.js +0 -3
  201. package/emotion/es/components/Attach/utils/getFileicon.js +0 -19
  202. package/emotion/es/components/Attach/utils/index.js +0 -3
  203. package/emotion/es/components/Attach/utils/truncateFilename.js +0 -9
  204. package/emotion/es/components/Attach/variations/_size/base.js +0 -3
  205. package/emotion/es/components/Attach/variations/_view/base.js +0 -3
  206. package/emotion/es/examples/plasma_b2c/components/Attach/Attach.config.js +0 -19
  207. package/emotion/es/examples/plasma_b2c/components/Attach/Attach.js +0 -5
  208. package/emotion/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +0 -61
  209. package/emotion/es/examples/plasma_web/components/Attach/Attach.config.js +0 -19
  210. package/emotion/es/examples/plasma_web/components/Attach/Attach.js +0 -5
  211. package/emotion/es/examples/plasma_web/components/Attach/Attach.stories.tsx +0 -61
  212. package/es/components/Attach/Attach.css +0 -45
  213. package/es/components/Attach/Attach.js +0 -169
  214. package/es/components/Attach/Attach.js.map +0 -1
  215. package/es/components/Attach/Attach.styles.js +0 -17
  216. package/es/components/Attach/Attach.styles.js.map +0 -1
  217. package/es/components/Attach/Attach.styles_17fejif.css +0 -3
  218. package/es/components/Attach/Attach.tokens.js +0 -78
  219. package/es/components/Attach/Attach.tokens.js.map +0 -1
  220. package/es/components/Attach/ui/Button/Button.styles.js +0 -19
  221. package/es/components/Attach/ui/Button/Button.styles.js.map +0 -1
  222. package/es/components/Attach/ui/Button/Button.styles_oi6jxf.css +0 -1
  223. package/es/components/Attach/ui/Cell/Cell.styles.js +0 -21
  224. package/es/components/Attach/ui/Cell/Cell.styles.js.map +0 -1
  225. package/es/components/Attach/ui/Cell/Cell.styles_1dlvsak.css +0 -1
  226. package/es/components/Attach/ui/iconButton/IconButton.styles.js +0 -19
  227. package/es/components/Attach/ui/iconButton/IconButton.styles.js.map +0 -1
  228. package/es/components/Attach/ui/iconButton/IconButton.styles_14dty7n.css +0 -1
  229. package/es/components/Attach/utils/extractExtension.js +0 -6
  230. package/es/components/Attach/utils/extractExtension.js.map +0 -1
  231. package/es/components/Attach/utils/getFileicon.js +0 -23
  232. package/es/components/Attach/utils/getFileicon.js.map +0 -1
  233. package/es/components/Attach/utils/truncateFilename.js +0 -12
  234. package/es/components/Attach/utils/truncateFilename.js.map +0 -1
  235. package/es/components/Attach/variations/_size/base.js +0 -5
  236. package/es/components/Attach/variations/_size/base.js.map +0 -1
  237. package/es/components/Attach/variations/_size/base_eax0b8.css +0 -1
  238. package/es/components/Attach/variations/_view/base.js +0 -5
  239. package/es/components/Attach/variations/_view/base.js.map +0 -1
  240. package/es/components/Attach/variations/_view/base_1nvsg1b.css +0 -1
  241. package/es/components/TextArea/variations/_view/base_jjtr9h.css +0 -1
  242. package/styled-components/cjs/components/Attach/Attach.js +0 -180
  243. package/styled-components/cjs/components/Attach/Attach.styles.js +0 -18
  244. package/styled-components/cjs/components/Attach/Attach.template-doc.mdx +0 -46
  245. package/styled-components/cjs/components/Attach/Attach.tokens.js +0 -81
  246. package/styled-components/cjs/components/Attach/Attach.types.js +0 -5
  247. package/styled-components/cjs/components/Attach/index.js +0 -25
  248. package/styled-components/cjs/components/Attach/ui/Button/Button.js +0 -12
  249. package/styled-components/cjs/components/Attach/ui/Button/Button.styles.js +0 -16
  250. package/styled-components/cjs/components/Attach/ui/Cell/Cell.js +0 -12
  251. package/styled-components/cjs/components/Attach/ui/Cell/Cell.styles.js +0 -16
  252. package/styled-components/cjs/components/Attach/ui/iconButton/IconButton.js +0 -12
  253. package/styled-components/cjs/components/Attach/ui/iconButton/IconButton.styles.js +0 -16
  254. package/styled-components/cjs/components/Attach/utils/extractExtension.js +0 -9
  255. package/styled-components/cjs/components/Attach/utils/getFileicon.js +0 -26
  256. package/styled-components/cjs/components/Attach/utils/index.js +0 -26
  257. package/styled-components/cjs/components/Attach/utils/truncateFilename.js +0 -15
  258. package/styled-components/cjs/components/Attach/variations/_size/base.js +0 -9
  259. package/styled-components/cjs/components/Attach/variations/_view/base.js +0 -9
  260. package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.config.js +0 -25
  261. package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.js +0 -11
  262. package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +0 -61
  263. package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.config.js +0 -25
  264. package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.js +0 -11
  265. package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +0 -61
  266. package/styled-components/es/components/Attach/Attach.js +0 -171
  267. package/styled-components/es/components/Attach/Attach.styles.js +0 -10
  268. package/styled-components/es/components/Attach/Attach.template-doc.mdx +0 -46
  269. package/styled-components/es/components/Attach/Attach.tokens.js +0 -75
  270. package/styled-components/es/components/Attach/Attach.types.js +0 -1
  271. package/styled-components/es/components/Attach/index.js +0 -2
  272. package/styled-components/es/components/Attach/ui/Button/Button.js +0 -1
  273. package/styled-components/es/components/Attach/ui/Button/Button.styles.js +0 -9
  274. package/styled-components/es/components/Attach/ui/Cell/Cell.js +0 -1
  275. package/styled-components/es/components/Attach/ui/Cell/Cell.styles.js +0 -9
  276. package/styled-components/es/components/Attach/ui/iconButton/IconButton.js +0 -1
  277. package/styled-components/es/components/Attach/ui/iconButton/IconButton.styles.js +0 -9
  278. package/styled-components/es/components/Attach/utils/extractExtension.js +0 -3
  279. package/styled-components/es/components/Attach/utils/getFileicon.js +0 -19
  280. package/styled-components/es/components/Attach/utils/index.js +0 -3
  281. package/styled-components/es/components/Attach/utils/truncateFilename.js +0 -9
  282. package/styled-components/es/components/Attach/variations/_size/base.js +0 -3
  283. package/styled-components/es/components/Attach/variations/_view/base.js +0 -3
  284. package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.config.js +0 -19
  285. package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.js +0 -5
  286. package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +0 -61
  287. package/styled-components/es/examples/plasma_web/components/Attach/Attach.config.js +0 -19
  288. package/styled-components/es/examples/plasma_web/components/Attach/Attach.js +0 -5
  289. package/styled-components/es/examples/plasma_web/components/Attach/Attach.stories.tsx +0 -61
  290. package/types/components/Attach/Attach.d.ts +0 -23
  291. package/types/components/Attach/Attach.d.ts.map +0 -1
  292. package/types/components/Attach/Attach.styles.d.ts +0 -5
  293. package/types/components/Attach/Attach.styles.d.ts.map +0 -1
  294. package/types/components/Attach/Attach.tokens.d.ts +0 -73
  295. package/types/components/Attach/Attach.tokens.d.ts.map +0 -1
  296. package/types/components/Attach/Attach.types.d.ts +0 -33
  297. package/types/components/Attach/Attach.types.d.ts.map +0 -1
  298. package/types/components/Attach/index.d.ts +0 -4
  299. package/types/components/Attach/index.d.ts.map +0 -1
  300. package/types/components/Attach/ui/Button/Button.d.ts +0 -2
  301. package/types/components/Attach/ui/Button/Button.d.ts.map +0 -1
  302. package/types/components/Attach/ui/Button/Button.styles.d.ts +0 -45
  303. package/types/components/Attach/ui/Button/Button.styles.d.ts.map +0 -1
  304. package/types/components/Attach/ui/Cell/Cell.d.ts +0 -2
  305. package/types/components/Attach/ui/Cell/Cell.d.ts.map +0 -1
  306. package/types/components/Attach/ui/Cell/Cell.styles.d.ts +0 -33
  307. package/types/components/Attach/ui/Cell/Cell.styles.d.ts.map +0 -1
  308. package/types/components/Attach/ui/iconButton/IconButton.d.ts +0 -2
  309. package/types/components/Attach/ui/iconButton/IconButton.d.ts.map +0 -1
  310. package/types/components/Attach/ui/iconButton/IconButton.styles.d.ts +0 -45
  311. package/types/components/Attach/ui/iconButton/IconButton.styles.d.ts.map +0 -1
  312. package/types/components/Attach/utils/extractExtension.d.ts +0 -2
  313. package/types/components/Attach/utils/extractExtension.d.ts.map +0 -1
  314. package/types/components/Attach/utils/getFileicon.d.ts +0 -3
  315. package/types/components/Attach/utils/getFileicon.d.ts.map +0 -1
  316. package/types/components/Attach/utils/index.d.ts +0 -4
  317. package/types/components/Attach/utils/index.d.ts.map +0 -1
  318. package/types/components/Attach/utils/truncateFilename.d.ts +0 -2
  319. package/types/components/Attach/utils/truncateFilename.d.ts.map +0 -1
  320. package/types/components/Attach/variations/_size/base.d.ts +0 -2
  321. package/types/components/Attach/variations/_size/base.d.ts.map +0 -1
  322. package/types/components/Attach/variations/_view/base.d.ts +0 -2
  323. package/types/components/Attach/variations/_view/base.d.ts.map +0 -1
  324. package/types/examples/plasma_b2c/components/Attach/Attach.config.d.ts +0 -18
  325. package/types/examples/plasma_b2c/components/Attach/Attach.config.d.ts.map +0 -1
  326. package/types/examples/plasma_b2c/components/Attach/Attach.d.ts +0 -13
  327. package/types/examples/plasma_b2c/components/Attach/Attach.d.ts.map +0 -1
  328. package/types/examples/plasma_web/components/Attach/Attach.config.d.ts +0 -18
  329. package/types/examples/plasma_web/components/Attach/Attach.config.d.ts.map +0 -1
  330. package/types/examples/plasma_web/components/Attach/Attach.d.ts +0 -13
  331. package/types/examples/plasma_web/components/Attach/Attach.d.ts.map +0 -1
@@ -1,19 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { attachTokens } from '../../../../components/Attach';
3
- export var config = {
4
- defaults: {
5
- view: 'default',
6
- size: 'm'
7
- },
8
- variations: {
9
- view: {
10
- "default": /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--surface-accent-hover);", ":var(--on-dark-text-primary);", ":var(--surface-accent-active);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-active);", ":var(--surface-clear);"], attachTokens.buttonColor, attachTokens.buttonBackgroundColor, attachTokens.buttonColorHover, attachTokens.buttonBackgroundColorHover, attachTokens.buttonColorActive, attachTokens.buttonBackgroundColorActive, attachTokens.cellColor, attachTokens.cellLabelColor, attachTokens.cellTitleColor, attachTokens.cellSubtitleColor, attachTokens.cellBackgroundColor, attachTokens.iconButtonColor, attachTokens.iconButtonBackgroundColor, attachTokens.iconButtonColorHover, attachTokens.iconButtonBackgroundColorHover, attachTokens.iconButtonColorActive, attachTokens.iconButtonBackgroundColorActive)
11
- },
12
- size: {
13
- l: /*#__PURE__*/css(["", ":1.5rem;", ":0.5rem;", ":3.5rem;", ":12.5rem;", ":1.5rem;", ":0.875rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":15rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], attachTokens.horizontalGap, attachTokens.verticalGap, attachTokens.buttonHeight, attachTokens.buttonWidth, attachTokens.buttonPadding, attachTokens.buttonRadius, attachTokens.buttonFontFamily, attachTokens.buttonFontSize, attachTokens.buttonFontStyle, attachTokens.buttonFontWeight, attachTokens.buttonLetterSpacing, attachTokens.buttonLineHeight, attachTokens.cellWidth, attachTokens.cellPadding, attachTokens.cellPaddingLeftContent, attachTokens.cellPaddingContent, attachTokens.cellPaddingRightContent, attachTokens.cellTextboxGap, attachTokens.cellGap, attachTokens.cellLabelFontFamily, attachTokens.cellLabelFontSize, attachTokens.cellLabelFontStyle, attachTokens.cellLabelFontWeight, attachTokens.cellLabelLetterSpacing, attachTokens.cellLabelLineHeight, attachTokens.cellTitleFontFamily, attachTokens.cellTitleFontSize, attachTokens.cellTitleFontStyle, attachTokens.cellTitleFontWeight, attachTokens.cellTitleLetterSpacing, attachTokens.cellTitleLineHeight, attachTokens.cellSubtitleFontFamily, attachTokens.cellSubtitleFontSize, attachTokens.cellSubtitleFontStyle, attachTokens.cellSubtitleFontWeight, attachTokens.cellSubtitleLetterSpacing, attachTokens.cellSubtitleLineHeight, attachTokens.iconButtonHeight, attachTokens.iconButtonWidth, attachTokens.iconButtonPadding, attachTokens.iconButtonRadius, attachTokens.iconButtonFontFamily, attachTokens.iconButtonFontSize, attachTokens.iconButtonFontStyle, attachTokens.iconButtonFontWeight, attachTokens.iconButtonLetterSpacing, attachTokens.iconButtonLineHeight),
14
- m: /*#__PURE__*/css(["", ":1.25rem;", ":0.5rem;", ":3rem;", ":11.25rem;", ":1.25rem;", ":0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-bold-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":15rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":2rem;", ":2rem;", ":0.75rem;", ":0.5rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], attachTokens.horizontalGap, attachTokens.verticalGap, attachTokens.buttonHeight, attachTokens.buttonWidth, attachTokens.buttonPadding, attachTokens.buttonRadius, attachTokens.buttonFontFamily, attachTokens.buttonFontSize, attachTokens.buttonFontStyle, attachTokens.buttonFontWeight, attachTokens.buttonLetterSpacing, attachTokens.buttonLineHeight, attachTokens.cellWidth, attachTokens.cellPadding, attachTokens.cellPaddingLeftContent, attachTokens.cellPaddingContent, attachTokens.cellPaddingRightContent, attachTokens.cellTextboxGap, attachTokens.cellGap, attachTokens.cellLabelFontFamily, attachTokens.cellLabelFontSize, attachTokens.cellLabelFontStyle, attachTokens.cellLabelFontWeight, attachTokens.cellLabelLetterSpacing, attachTokens.cellLabelLineHeight, attachTokens.cellTitleFontFamily, attachTokens.cellTitleFontSize, attachTokens.cellTitleFontStyle, attachTokens.cellTitleFontWeight, attachTokens.cellTitleLetterSpacing, attachTokens.cellTitleLineHeight, attachTokens.cellSubtitleFontFamily, attachTokens.cellSubtitleFontSize, attachTokens.cellSubtitleFontStyle, attachTokens.cellSubtitleFontWeight, attachTokens.cellSubtitleLetterSpacing, attachTokens.cellSubtitleLineHeight, attachTokens.iconButtonHeight, attachTokens.iconButtonWidth, attachTokens.iconButtonPadding, attachTokens.iconButtonRadius, attachTokens.iconButtonFontFamily, attachTokens.iconButtonFontSize, attachTokens.iconButtonFontStyle, attachTokens.iconButtonFontWeight, attachTokens.iconButtonLetterSpacing, attachTokens.iconButtonLineHeight),
15
- s: /*#__PURE__*/css(["", ":1rem;", ":0.375rem;", ":2.5rem;", ":11.25rem;", ":1rem;", ":0.625rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-bold-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":15rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":2.5rem;", ":2.5rem;", ":1rem;", ":0.625rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-bold-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], attachTokens.horizontalGap, attachTokens.verticalGap, attachTokens.buttonHeight, attachTokens.buttonWidth, attachTokens.buttonPadding, attachTokens.buttonRadius, attachTokens.buttonFontFamily, attachTokens.buttonFontSize, attachTokens.buttonFontStyle, attachTokens.buttonFontWeight, attachTokens.buttonLetterSpacing, attachTokens.buttonLineHeight, attachTokens.cellWidth, attachTokens.cellPadding, attachTokens.cellPaddingLeftContent, attachTokens.cellPaddingContent, attachTokens.cellPaddingRightContent, attachTokens.cellTextboxGap, attachTokens.cellGap, attachTokens.cellLabelFontFamily, attachTokens.cellLabelFontSize, attachTokens.cellLabelFontStyle, attachTokens.cellLabelFontWeight, attachTokens.cellLabelLetterSpacing, attachTokens.cellLabelLineHeight, attachTokens.cellTitleFontFamily, attachTokens.cellTitleFontSize, attachTokens.cellTitleFontStyle, attachTokens.cellTitleFontWeight, attachTokens.cellTitleLetterSpacing, attachTokens.cellTitleLineHeight, attachTokens.cellSubtitleFontFamily, attachTokens.cellSubtitleFontSize, attachTokens.cellSubtitleFontStyle, attachTokens.cellSubtitleFontWeight, attachTokens.cellSubtitleLetterSpacing, attachTokens.cellSubtitleLineHeight, attachTokens.iconButtonHeight, attachTokens.iconButtonWidth, attachTokens.iconButtonPadding, attachTokens.iconButtonRadius, attachTokens.iconButtonFontFamily, attachTokens.iconButtonFontSize, attachTokens.iconButtonFontStyle, attachTokens.iconButtonFontWeight, attachTokens.iconButtonLetterSpacing, attachTokens.iconButtonLineHeight),
16
- xs: /*#__PURE__*/css(["", ":0.75rem;", ":0.25rem;", ":2rem;", ":10rem;", ":0.75rem;", ":0.5rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":15rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":2rem;", ":2rem;", ":0.75rem;", ":0.5rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], attachTokens.horizontalGap, attachTokens.verticalGap, attachTokens.buttonHeight, attachTokens.buttonWidth, attachTokens.buttonPadding, attachTokens.buttonRadius, attachTokens.buttonFontFamily, attachTokens.buttonFontSize, attachTokens.buttonFontStyle, attachTokens.buttonFontWeight, attachTokens.buttonLetterSpacing, attachTokens.buttonLineHeight, attachTokens.cellWidth, attachTokens.cellPadding, attachTokens.cellPaddingLeftContent, attachTokens.cellPaddingContent, attachTokens.cellPaddingRightContent, attachTokens.cellTextboxGap, attachTokens.cellGap, attachTokens.cellLabelFontFamily, attachTokens.cellLabelFontSize, attachTokens.cellLabelFontStyle, attachTokens.cellLabelFontWeight, attachTokens.cellLabelLetterSpacing, attachTokens.cellLabelLineHeight, attachTokens.cellTitleFontFamily, attachTokens.cellTitleFontSize, attachTokens.cellTitleFontStyle, attachTokens.cellTitleFontWeight, attachTokens.cellTitleLetterSpacing, attachTokens.cellTitleLineHeight, attachTokens.cellSubtitleFontFamily, attachTokens.cellSubtitleFontSize, attachTokens.cellSubtitleFontStyle, attachTokens.cellSubtitleFontWeight, attachTokens.cellSubtitleLetterSpacing, attachTokens.cellSubtitleLineHeight, attachTokens.iconButtonHeight, attachTokens.iconButtonWidth, attachTokens.iconButtonPadding, attachTokens.iconButtonRadius, attachTokens.iconButtonFontFamily, attachTokens.iconButtonFontSize, attachTokens.iconButtonFontStyle, attachTokens.iconButtonFontWeight, attachTokens.iconButtonLetterSpacing, attachTokens.iconButtonLineHeight)
17
- }
18
- }
19
- };
@@ -1,5 +0,0 @@
1
- import { attachConfig } from '../../../../components/Attach';
2
- import { component, mergeConfig } from '../../../../engines';
3
- import { config } from './Attach.config';
4
- var mergedConfig = /*#__PURE__*/mergeConfig(attachConfig, config);
5
- export var Attach = /*#__PURE__*/component(mergedConfig);
@@ -1,61 +0,0 @@
1
- import React from 'react';
2
- import type { ComponentProps } from 'react';
3
- import type { StoryObj, Meta } from '@storybook/react';
4
-
5
- import { mergeConfig } from '../../../../engines';
6
- import { WithTheme, argTypesFromConfig } from '../../../_helpers';
7
- import { attachConfig } from '../../../../components/Attach';
8
-
9
- import { Attach } from './Attach';
10
- import { config } from './Attach.config';
11
-
12
- const flowOptions = ['horizontal', 'vertical', 'auto'];
13
- const fileFormatOptions = ['all', '.doc', '.xls', '.pdf', '.csv', '.txt'];
14
-
15
- type CustomStoryProps = {
16
- fileFormat?: string;
17
- width?: string;
18
- };
19
-
20
- type StoryAttachProps = ComponentProps<typeof Attach> & CustomStoryProps;
21
-
22
- const meta: Meta<StoryAttachProps> = {
23
- title: 'plasma_b2c/Attach',
24
- decorators: [WithTheme],
25
- component: Attach,
26
- argTypes: {
27
- ...argTypesFromConfig(mergeConfig(attachConfig, config)),
28
- flow: {
29
- options: flowOptions,
30
- control: {
31
- type: 'select',
32
- },
33
- },
34
- fileFormat: {
35
- options: fileFormatOptions,
36
- control: {
37
- type: 'select',
38
- },
39
- },
40
- },
41
- };
42
-
43
- export default meta;
44
-
45
- const StoryAttach = (props: StoryAttachProps) => {
46
- return <Attach {...props} />;
47
- };
48
-
49
- export const Default: StoryObj<StoryAttachProps> = {
50
- args: {
51
- fileFormat: 'all',
52
- text: 'Загрузить файл',
53
- flow: 'horizontal',
54
- hasAttachment: true,
55
- width: '400px',
56
- },
57
- render: ({ fileFormat, width, ...rest }) => {
58
- const accepted = fileFormat && fileFormat !== 'all' ? [fileFormat] : undefined;
59
- return <StoryAttach style={{ width }} acceptedFileFormats={accepted} {...rest} />;
60
- },
61
- };
@@ -1,19 +0,0 @@
1
- import { css } from 'styled-components';
2
- import { attachTokens } from '../../../../components/Attach';
3
- export var config = {
4
- defaults: {
5
- view: 'default',
6
- size: 'm'
7
- },
8
- variations: {
9
- view: {
10
- "default": /*#__PURE__*/css(["", ":var(--on-dark-text-primary);", ":var(--surface-accent);", ":var(--on-dark-text-primary);", ":var(--surface-accent-hover);", ":var(--on-dark-text-primary);", ":var(--surface-accent-active);", ":var(--text-primary);", ":var(--text-secondary);", ":var(--text-primary);", ":var(--text-secondary);", ":transparent;", ":var(--text-primary);", ":var(--surface-clear);", ":var(--text-primary-hover);", ":var(--surface-clear);", ":var(--text-primary-active);", ":var(--surface-clear);"], attachTokens.buttonColor, attachTokens.buttonBackgroundColor, attachTokens.buttonColorHover, attachTokens.buttonBackgroundColorHover, attachTokens.buttonColorActive, attachTokens.buttonBackgroundColorActive, attachTokens.cellColor, attachTokens.cellLabelColor, attachTokens.cellTitleColor, attachTokens.cellSubtitleColor, attachTokens.cellBackgroundColor, attachTokens.iconButtonColor, attachTokens.iconButtonBackgroundColor, attachTokens.iconButtonColorHover, attachTokens.iconButtonBackgroundColorHover, attachTokens.iconButtonColorActive, attachTokens.iconButtonBackgroundColorActive)
11
- },
12
- size: {
13
- l: /*#__PURE__*/css(["", ":1.5rem;", ":0.5rem;", ":3.5rem;", ":12.5rem;", ":1.5rem;", ":0.875rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":15rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":3.5rem;", ":3.5rem;", ":1.5rem;", ":0.875rem;", ":var(--plasma-typo-body-l-font-family);", ":var(--plasma-typo-body-l-font-size);", ":var(--plasma-typo-body-l-font-style);", ":var(--plasma-typo-body-l-bold-font-weight);", ":var(--plasma-typo-body-l-letter-spacing);", ":var(--plasma-typo-body-l-line-height);"], attachTokens.horizontalGap, attachTokens.verticalGap, attachTokens.buttonHeight, attachTokens.buttonWidth, attachTokens.buttonPadding, attachTokens.buttonRadius, attachTokens.buttonFontFamily, attachTokens.buttonFontSize, attachTokens.buttonFontStyle, attachTokens.buttonFontWeight, attachTokens.buttonLetterSpacing, attachTokens.buttonLineHeight, attachTokens.cellWidth, attachTokens.cellPadding, attachTokens.cellPaddingLeftContent, attachTokens.cellPaddingContent, attachTokens.cellPaddingRightContent, attachTokens.cellTextboxGap, attachTokens.cellGap, attachTokens.cellLabelFontFamily, attachTokens.cellLabelFontSize, attachTokens.cellLabelFontStyle, attachTokens.cellLabelFontWeight, attachTokens.cellLabelLetterSpacing, attachTokens.cellLabelLineHeight, attachTokens.cellTitleFontFamily, attachTokens.cellTitleFontSize, attachTokens.cellTitleFontStyle, attachTokens.cellTitleFontWeight, attachTokens.cellTitleLetterSpacing, attachTokens.cellTitleLineHeight, attachTokens.cellSubtitleFontFamily, attachTokens.cellSubtitleFontSize, attachTokens.cellSubtitleFontStyle, attachTokens.cellSubtitleFontWeight, attachTokens.cellSubtitleLetterSpacing, attachTokens.cellSubtitleLineHeight, attachTokens.iconButtonHeight, attachTokens.iconButtonWidth, attachTokens.iconButtonPadding, attachTokens.iconButtonRadius, attachTokens.iconButtonFontFamily, attachTokens.iconButtonFontSize, attachTokens.iconButtonFontStyle, attachTokens.iconButtonFontWeight, attachTokens.iconButtonLetterSpacing, attachTokens.iconButtonLineHeight),
14
- m: /*#__PURE__*/css(["", ":1.25rem;", ":0.5rem;", ":3rem;", ":11.25rem;", ":1.25rem;", ":0.75rem;", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-bold-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":15rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-m-font-family);", ":var(--plasma-typo-body-m-font-size);", ":var(--plasma-typo-body-m-font-style);", ":var(--plasma-typo-body-m-font-weight);", ":var(--plasma-typo-body-m-letter-spacing);", ":var(--plasma-typo-body-m-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":2rem;", ":2rem;", ":0.75rem;", ":0.5rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], attachTokens.horizontalGap, attachTokens.verticalGap, attachTokens.buttonHeight, attachTokens.buttonWidth, attachTokens.buttonPadding, attachTokens.buttonRadius, attachTokens.buttonFontFamily, attachTokens.buttonFontSize, attachTokens.buttonFontStyle, attachTokens.buttonFontWeight, attachTokens.buttonLetterSpacing, attachTokens.buttonLineHeight, attachTokens.cellWidth, attachTokens.cellPadding, attachTokens.cellPaddingLeftContent, attachTokens.cellPaddingContent, attachTokens.cellPaddingRightContent, attachTokens.cellTextboxGap, attachTokens.cellGap, attachTokens.cellLabelFontFamily, attachTokens.cellLabelFontSize, attachTokens.cellLabelFontStyle, attachTokens.cellLabelFontWeight, attachTokens.cellLabelLetterSpacing, attachTokens.cellLabelLineHeight, attachTokens.cellTitleFontFamily, attachTokens.cellTitleFontSize, attachTokens.cellTitleFontStyle, attachTokens.cellTitleFontWeight, attachTokens.cellTitleLetterSpacing, attachTokens.cellTitleLineHeight, attachTokens.cellSubtitleFontFamily, attachTokens.cellSubtitleFontSize, attachTokens.cellSubtitleFontStyle, attachTokens.cellSubtitleFontWeight, attachTokens.cellSubtitleLetterSpacing, attachTokens.cellSubtitleLineHeight, attachTokens.iconButtonHeight, attachTokens.iconButtonWidth, attachTokens.iconButtonPadding, attachTokens.iconButtonRadius, attachTokens.iconButtonFontFamily, attachTokens.iconButtonFontSize, attachTokens.iconButtonFontStyle, attachTokens.iconButtonFontWeight, attachTokens.iconButtonLetterSpacing, attachTokens.iconButtonLineHeight),
15
- s: /*#__PURE__*/css(["", ":1rem;", ":0.375rem;", ":2.5rem;", ":11.25rem;", ":1rem;", ":0.625rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-bold-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":15rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.375rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":2.5rem;", ":2.5rem;", ":1rem;", ":0.625rem;", ":var(--plasma-typo-body-s-font-family);", ":var(--plasma-typo-body-s-font-size);", ":var(--plasma-typo-body-s-font-style);", ":var(--plasma-typo-body-s-bold-font-weight);", ":var(--plasma-typo-body-s-letter-spacing);", ":var(--plasma-typo-body-s-line-height);"], attachTokens.horizontalGap, attachTokens.verticalGap, attachTokens.buttonHeight, attachTokens.buttonWidth, attachTokens.buttonPadding, attachTokens.buttonRadius, attachTokens.buttonFontFamily, attachTokens.buttonFontSize, attachTokens.buttonFontStyle, attachTokens.buttonFontWeight, attachTokens.buttonLetterSpacing, attachTokens.buttonLineHeight, attachTokens.cellWidth, attachTokens.cellPadding, attachTokens.cellPaddingLeftContent, attachTokens.cellPaddingContent, attachTokens.cellPaddingRightContent, attachTokens.cellTextboxGap, attachTokens.cellGap, attachTokens.cellLabelFontFamily, attachTokens.cellLabelFontSize, attachTokens.cellLabelFontStyle, attachTokens.cellLabelFontWeight, attachTokens.cellLabelLetterSpacing, attachTokens.cellLabelLineHeight, attachTokens.cellTitleFontFamily, attachTokens.cellTitleFontSize, attachTokens.cellTitleFontStyle, attachTokens.cellTitleFontWeight, attachTokens.cellTitleLetterSpacing, attachTokens.cellTitleLineHeight, attachTokens.cellSubtitleFontFamily, attachTokens.cellSubtitleFontSize, attachTokens.cellSubtitleFontStyle, attachTokens.cellSubtitleFontWeight, attachTokens.cellSubtitleLetterSpacing, attachTokens.cellSubtitleLineHeight, attachTokens.iconButtonHeight, attachTokens.iconButtonWidth, attachTokens.iconButtonPadding, attachTokens.iconButtonRadius, attachTokens.iconButtonFontFamily, attachTokens.iconButtonFontSize, attachTokens.iconButtonFontStyle, attachTokens.iconButtonFontWeight, attachTokens.iconButtonLetterSpacing, attachTokens.iconButtonLineHeight),
16
- xs: /*#__PURE__*/css(["", ":0.75rem;", ":0.25rem;", ":2rem;", ":10rem;", ":0.75rem;", ":0.5rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":15rem;", ":0rem;", ":0rem;", ":0rem;", ":0rem;", ":0.125rem;", ":0.25rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);", ":2rem;", ":2rem;", ":0.75rem;", ":0.5rem;", ":var(--plasma-typo-body-xs-font-family);", ":var(--plasma-typo-body-xs-font-size);", ":var(--plasma-typo-body-xs-font-style);", ":var(--plasma-typo-body-xs-bold-font-weight);", ":var(--plasma-typo-body-xs-letter-spacing);", ":var(--plasma-typo-body-xs-line-height);"], attachTokens.horizontalGap, attachTokens.verticalGap, attachTokens.buttonHeight, attachTokens.buttonWidth, attachTokens.buttonPadding, attachTokens.buttonRadius, attachTokens.buttonFontFamily, attachTokens.buttonFontSize, attachTokens.buttonFontStyle, attachTokens.buttonFontWeight, attachTokens.buttonLetterSpacing, attachTokens.buttonLineHeight, attachTokens.cellWidth, attachTokens.cellPadding, attachTokens.cellPaddingLeftContent, attachTokens.cellPaddingContent, attachTokens.cellPaddingRightContent, attachTokens.cellTextboxGap, attachTokens.cellGap, attachTokens.cellLabelFontFamily, attachTokens.cellLabelFontSize, attachTokens.cellLabelFontStyle, attachTokens.cellLabelFontWeight, attachTokens.cellLabelLetterSpacing, attachTokens.cellLabelLineHeight, attachTokens.cellTitleFontFamily, attachTokens.cellTitleFontSize, attachTokens.cellTitleFontStyle, attachTokens.cellTitleFontWeight, attachTokens.cellTitleLetterSpacing, attachTokens.cellTitleLineHeight, attachTokens.cellSubtitleFontFamily, attachTokens.cellSubtitleFontSize, attachTokens.cellSubtitleFontStyle, attachTokens.cellSubtitleFontWeight, attachTokens.cellSubtitleLetterSpacing, attachTokens.cellSubtitleLineHeight, attachTokens.iconButtonHeight, attachTokens.iconButtonWidth, attachTokens.iconButtonPadding, attachTokens.iconButtonRadius, attachTokens.iconButtonFontFamily, attachTokens.iconButtonFontSize, attachTokens.iconButtonFontStyle, attachTokens.iconButtonFontWeight, attachTokens.iconButtonLetterSpacing, attachTokens.iconButtonLineHeight)
17
- }
18
- }
19
- };
@@ -1,5 +0,0 @@
1
- import { attachConfig } from '../../../../components/Attach';
2
- import { component, mergeConfig } from '../../../../engines';
3
- import { config } from './Attach.config';
4
- var mergedConfig = /*#__PURE__*/mergeConfig(attachConfig, config);
5
- export var Attach = /*#__PURE__*/component(mergedConfig);
@@ -1,61 +0,0 @@
1
- import React from 'react';
2
- import type { ComponentProps } from 'react';
3
- import type { StoryObj, Meta } from '@storybook/react';
4
-
5
- import { mergeConfig } from '../../../../engines';
6
- import { WithTheme, argTypesFromConfig } from '../../../_helpers';
7
- import { attachConfig } from '../../../../components/Attach';
8
-
9
- import { Attach } from './Attach';
10
- import { config } from './Attach.config';
11
-
12
- const flowOptions = ['horizontal', 'vertical', 'auto'];
13
- const fileFormatOptions = ['all', '.doc', '.xls', '.pdf', '.csv', '.txt'];
14
-
15
- type CustomStoryProps = {
16
- fileFormat?: string;
17
- width?: string;
18
- };
19
-
20
- type StoryAttachProps = ComponentProps<typeof Attach> & CustomStoryProps;
21
-
22
- const meta: Meta<StoryAttachProps> = {
23
- title: 'plasma_web/Attach',
24
- decorators: [WithTheme],
25
- component: Attach,
26
- argTypes: {
27
- ...argTypesFromConfig(mergeConfig(attachConfig, config)),
28
- flow: {
29
- options: flowOptions,
30
- control: {
31
- type: 'select',
32
- },
33
- },
34
- fileFormat: {
35
- options: fileFormatOptions,
36
- control: {
37
- type: 'select',
38
- },
39
- },
40
- },
41
- };
42
-
43
- export default meta;
44
-
45
- const StoryAttach = (props: StoryAttachProps) => {
46
- return <Attach {...props} />;
47
- };
48
-
49
- export const Default: StoryObj<StoryAttachProps> = {
50
- args: {
51
- fileFormat: 'all',
52
- text: 'Загрузить файл',
53
- flow: 'horizontal',
54
- hasAttachment: true,
55
- width: '400px',
56
- },
57
- render: ({ fileFormat, width, ...rest }) => {
58
- const accepted = fileFormat && fileFormat !== 'all' ? [fileFormat] : undefined;
59
- return <StoryAttach style={{ width }} acceptedFileFormats={accepted} {...rest} />;
60
- },
61
- };
@@ -1,23 +0,0 @@
1
- import React from 'react';
2
- import { RootProps } from '../../engines';
3
- import { AttachProps } from './Attach.types';
4
- export declare const attachRoot: (Root: RootProps<HTMLDivElement, AttachProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import("./Attach.types").CustomAttachProps & React.RefAttributes<HTMLDivElement>>;
5
- export declare const attachConfig: {
6
- name: string;
7
- tag: string;
8
- layout: (Root: RootProps<HTMLDivElement, AttachProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import("./Attach.types").CustomAttachProps & React.RefAttributes<HTMLDivElement>>;
9
- base: import("@linaria/core").LinariaClassName;
10
- variations: {
11
- view: {
12
- css: import("@linaria/core").LinariaClassName;
13
- };
14
- size: {
15
- css: import("@linaria/core").LinariaClassName;
16
- };
17
- };
18
- defaults: {
19
- view: string;
20
- size: string;
21
- };
22
- };
23
- //# sourceMappingURL=Attach.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Attach.d.ts","sourceRoot":"","sources":["../../../src/components/Attach/Attach.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAIvE,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAU7C,eAAO,MAAM,UAAU,SAAU,UAAU,cAAc,EAAE,WAAW,CAAC,6JAkJjE,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBApJQ,UAAU,cAAc,EAAE,WAAW,CAAC;;;;;;;;;;;;;;CAqKtE,CAAC"}
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const base: import("@linaria/core").LinariaClassName;
3
- export declare const StyledHiddenInput: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
4
- export declare const StyledHiddenInputHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
5
- //# sourceMappingURL=Attach.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Attach.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Attach/Attach.styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,IAAI,0CAIhB,CAAC;AAEF,eAAO,MAAM,iBAAiB,8KAE7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,qKAUnC,CAAC"}
@@ -1,73 +0,0 @@
1
- export declare const classes: {
2
- auto: string;
3
- horizontal: string;
4
- vertical: string;
5
- cellHidden: string;
6
- };
7
- export declare const tokens: {
8
- horizontalGap: string;
9
- verticalGap: string;
10
- buttonColor: string;
11
- buttonBackgroundColor: string;
12
- buttonColorHover: string;
13
- buttonBackgroundColorHover: string;
14
- buttonColorActive: string;
15
- buttonBackgroundColorActive: string;
16
- buttonHeight: string;
17
- buttonWidth: string;
18
- buttonPadding: string;
19
- buttonRadius: string;
20
- buttonFontFamily: string;
21
- buttonFontSize: string;
22
- buttonFontStyle: string;
23
- buttonFontWeight: string;
24
- buttonLetterSpacing: string;
25
- buttonLineHeight: string;
26
- cellColor: string;
27
- cellLabelColor: string;
28
- cellTitleColor: string;
29
- cellSubtitleColor: string;
30
- cellBackgroundColor: string;
31
- cellWidth: string;
32
- cellPadding: string;
33
- cellPaddingLeftContent: string;
34
- cellPaddingContent: string;
35
- cellPaddingRightContent: string;
36
- cellTextboxGap: string;
37
- cellGap: string;
38
- cellLabelFontFamily: string;
39
- cellLabelFontSize: string;
40
- cellLabelFontStyle: string;
41
- cellLabelFontWeight: string;
42
- cellLabelLetterSpacing: string;
43
- cellLabelLineHeight: string;
44
- cellTitleFontFamily: string;
45
- cellTitleFontSize: string;
46
- cellTitleFontStyle: string;
47
- cellTitleFontWeight: string;
48
- cellTitleLetterSpacing: string;
49
- cellTitleLineHeight: string;
50
- cellSubtitleFontFamily: string;
51
- cellSubtitleFontSize: string;
52
- cellSubtitleFontStyle: string;
53
- cellSubtitleFontWeight: string;
54
- cellSubtitleLetterSpacing: string;
55
- cellSubtitleLineHeight: string;
56
- iconButtonColor: string;
57
- iconButtonBackgroundColor: string;
58
- iconButtonColorHover: string;
59
- iconButtonBackgroundColorHover: string;
60
- iconButtonColorActive: string;
61
- iconButtonBackgroundColorActive: string;
62
- iconButtonHeight: string;
63
- iconButtonWidth: string;
64
- iconButtonPadding: string;
65
- iconButtonRadius: string;
66
- iconButtonFontFamily: string;
67
- iconButtonFontSize: string;
68
- iconButtonFontStyle: string;
69
- iconButtonFontWeight: string;
70
- iconButtonLetterSpacing: string;
71
- iconButtonLineHeight: string;
72
- };
73
- //# sourceMappingURL=Attach.tokens.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Attach.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Attach/Attach.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;CAKnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+ElB,CAAC"}
@@ -1,33 +0,0 @@
1
- import type { HTMLAttributes } from 'react';
2
- export declare type CustomAttachProps = {
3
- /**
4
- * Массив форматов файлов, которые могут быть прикреплены (см. HTML-атрибут `accept` для `input`).
5
- */
6
- acceptedFileFormats?: string[];
7
- /**
8
- * Отображать прикрепленный файл
9
- * @default true
10
- */
11
- hasAttachment?: boolean;
12
- /**
13
- * Текст внутри кнопки
14
- * @default 'Загрузить файл'
15
- */
16
- text?: string;
17
- /**
18
- * Расположение элементов.
19
- * По умолчанию 'auto' – автоматический перенос элемента в случае нехватки ширины контейнера.
20
- * @default 'auto'
21
- */
22
- flow?: 'horizontal' | 'vertical' | 'auto';
23
- /**
24
- * Размер Attach
25
- */
26
- size?: string;
27
- /**
28
- * Вид Attach
29
- */
30
- view?: string;
31
- };
32
- export declare type AttachProps = HTMLAttributes<HTMLDivElement> & CustomAttachProps;
33
- //# sourceMappingURL=Attach.types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Attach.types.d.ts","sourceRoot":"","sources":["../../../src/components/Attach/Attach.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,oBAAY,iBAAiB,GAAG;IAC5B;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,GAAG,UAAU,GAAG,MAAM,CAAC;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,WAAW,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,iBAAiB,CAAC"}
@@ -1,4 +0,0 @@
1
- export { attachRoot, attachConfig } from './Attach';
2
- export type { AttachProps } from './Attach.types';
3
- export { tokens as attachTokens } from './Attach.tokens';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Attach/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AACpD,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { StyledButton } from './Button.styles';
2
- //# sourceMappingURL=Button.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/components/Attach/ui/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC"}
@@ -1,45 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const StyledButton: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../../../types").AsProps<any> & {
3
- text?: string | undefined;
4
- contentLeft?: import("react").ReactNode;
5
- contentPlacing?: ("default" | "relaxed") | undefined;
6
- isLoading?: boolean | undefined;
7
- loader?: import("react").ReactNode;
8
- stretch?: boolean | undefined;
9
- stretching?: ("auto" | "fixed" | "filled") | undefined;
10
- square?: boolean | undefined;
11
- focused?: boolean | undefined;
12
- disabled?: boolean | undefined;
13
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
14
- view?: string | undefined;
15
- size?: string | undefined;
16
- outlined?: boolean | undefined;
17
- shiftLeft?: boolean | undefined;
18
- shiftRight?: boolean | undefined;
19
- blur?: "small" | "medium" | "large" | undefined;
20
- } & {
21
- value?: string | number | undefined;
22
- contentRight?: undefined;
23
- } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../../../types").AsProps<any> & {
24
- text?: string | undefined;
25
- contentLeft?: import("react").ReactNode;
26
- contentPlacing?: ("default" | "relaxed") | undefined;
27
- isLoading?: boolean | undefined;
28
- loader?: import("react").ReactNode;
29
- stretch?: boolean | undefined;
30
- stretching?: ("auto" | "fixed" | "filled") | undefined;
31
- square?: boolean | undefined;
32
- focused?: boolean | undefined;
33
- disabled?: boolean | undefined;
34
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
35
- view?: string | undefined;
36
- size?: string | undefined;
37
- outlined?: boolean | undefined;
38
- shiftLeft?: boolean | undefined;
39
- shiftRight?: boolean | undefined;
40
- blur?: "small" | "medium" | "large" | undefined;
41
- } & {
42
- value?: undefined;
43
- contentRight?: import("react").ReactNode;
44
- } & import("react").RefAttributes<HTMLButtonElement>))>;
45
- //# sourceMappingURL=Button.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Attach/ui/Button/Button.styles.tsx"],"names":[],"mappings":";AASA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAmBxB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { StyledCell } from './Cell.styles';
2
- //# sourceMappingURL=Cell.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../../../src/components/Attach/ui/Cell/Cell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
@@ -1,33 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const StyledCell: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & (({
3
- size?: string | undefined;
4
- view?: string | undefined;
5
- contentLeft?: import("react").ReactNode;
6
- contentRight?: import("react").ReactNode;
7
- alignContentLeft?: import("../../../Cell/Cell.types").AlignProp | undefined;
8
- alignContentRight?: import("../../../Cell/Cell.types").AlignProp | undefined;
9
- stretching?: "auto" | "fixed" | "filled" | undefined;
10
- content?: import("react").ReactNode;
11
- description?: string | undefined;
12
- } & {
13
- title?: string | undefined;
14
- subtitle?: string | undefined;
15
- label?: string | undefined;
16
- children?: undefined;
17
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>) | ({
18
- size?: string | undefined;
19
- view?: string | undefined;
20
- contentLeft?: import("react").ReactNode;
21
- contentRight?: import("react").ReactNode;
22
- alignContentLeft?: import("../../../Cell/Cell.types").AlignProp | undefined;
23
- alignContentRight?: import("../../../Cell/Cell.types").AlignProp | undefined;
24
- stretching?: "auto" | "fixed" | "filled" | undefined;
25
- content?: import("react").ReactNode;
26
- description?: string | undefined;
27
- } & {
28
- title?: undefined;
29
- subtitle?: undefined;
30
- label?: undefined;
31
- children?: import("react").ReactNode;
32
- } & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>))>;
33
- //# sourceMappingURL=Cell.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Cell.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Attach/ui/Cell/Cell.styles.tsx"],"names":[],"mappings":";AASA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAyCtB,CAAC"}
@@ -1,2 +0,0 @@
1
- export { StyledIconButton } from './IconButton.styles';
2
- //# sourceMappingURL=IconButton.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/Attach/ui/iconButton/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -1,45 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const StyledIconButton: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & ((Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../../../types").AsProps<any> & {
3
- text?: string | undefined;
4
- contentLeft?: import("react").ReactNode;
5
- contentPlacing?: ("default" | "relaxed") | undefined;
6
- isLoading?: boolean | undefined;
7
- loader?: import("react").ReactNode;
8
- stretch?: boolean | undefined;
9
- stretching?: ("auto" | "fixed" | "filled") | undefined;
10
- square?: boolean | undefined;
11
- focused?: boolean | undefined;
12
- disabled?: boolean | undefined;
13
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
14
- view?: string | undefined;
15
- size?: string | undefined;
16
- outlined?: boolean | undefined;
17
- shiftLeft?: boolean | undefined;
18
- shiftRight?: boolean | undefined;
19
- blur?: "small" | "medium" | "large" | undefined;
20
- } & {
21
- value?: string | number | undefined;
22
- contentRight?: undefined;
23
- } & import("react").RefAttributes<HTMLButtonElement>) | (Omit<import("react").ButtonHTMLAttributes<HTMLElement>, "value"> & Omit<import("react").AnchorHTMLAttributes<HTMLElement>, "type"> & import("../../../../types").AsProps<any> & {
24
- text?: string | undefined;
25
- contentLeft?: import("react").ReactNode;
26
- contentPlacing?: ("default" | "relaxed") | undefined;
27
- isLoading?: boolean | undefined;
28
- loader?: import("react").ReactNode;
29
- stretch?: boolean | undefined;
30
- stretching?: ("auto" | "fixed" | "filled") | undefined;
31
- square?: boolean | undefined;
32
- focused?: boolean | undefined;
33
- disabled?: boolean | undefined;
34
- pin?: "square-square" | "square-clear" | "clear-square" | "clear-clear" | "clear-circle" | "circle-clear" | "circle-circle" | undefined;
35
- view?: string | undefined;
36
- size?: string | undefined;
37
- outlined?: boolean | undefined;
38
- shiftLeft?: boolean | undefined;
39
- shiftRight?: boolean | undefined;
40
- blur?: "small" | "medium" | "large" | undefined;
41
- } & {
42
- value?: undefined;
43
- contentRight?: import("react").ReactNode;
44
- } & import("react").RefAttributes<HTMLButtonElement>))>;
45
- //# sourceMappingURL=IconButton.styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"IconButton.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Attach/ui/iconButton/IconButton.styles.tsx"],"names":[],"mappings":";AASA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uDAkB5B,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const extractExtension: (filename: string) => string | undefined;
2
- //# sourceMappingURL=extractExtension.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"extractExtension.d.ts","sourceRoot":"","sources":["../../../../src/components/Attach/utils/extractExtension.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,aAAc,MAAM,uBAA8B,CAAC"}
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const getFileicon: (extension: string) => JSX.Element;
3
- //# sourceMappingURL=getFileicon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getFileicon.d.ts","sourceRoot":"","sources":["../../../../src/components/Attach/utils/getFileicon.tsx"],"names":[],"mappings":";AAUA,eAAO,MAAM,WAAW,cAAe,MAAM,gBAe5C,CAAC"}
@@ -1,4 +0,0 @@
1
- export { extractExtension } from './extractExtension';
2
- export { getFileicon } from './getFileicon';
3
- export { truncateFilename } from './truncateFilename';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Attach/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const truncateFilename: (filename: string, startTruncationIndex: number, separator?: string) => string;
2
- //# sourceMappingURL=truncateFilename.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"truncateFilename.d.ts","sourceRoot":"","sources":["../../../../src/components/Attach/utils/truncateFilename.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,aAAc,MAAM,wBAAwB,MAAM,+BAU9E,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const base: import("@linaria/core").LinariaClassName;
2
- //# sourceMappingURL=base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Attach/variations/_size/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAchB,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const base: import("@linaria/core").LinariaClassName;
2
- //# sourceMappingURL=base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/Attach/variations/_view/base.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,IAAI,0CAYhB,CAAC"}