@salutejs/plasma-new-hope 0.147.0-canary.1437.10886798256.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 (327) 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.tokens.js +0 -81
  167. package/emotion/cjs/components/Attach/Attach.types.js +0 -5
  168. package/emotion/cjs/components/Attach/index.js +0 -25
  169. package/emotion/cjs/components/Attach/ui/Button/Button.js +0 -12
  170. package/emotion/cjs/components/Attach/ui/Button/Button.styles.js +0 -17
  171. package/emotion/cjs/components/Attach/ui/Cell/Cell.js +0 -12
  172. package/emotion/cjs/components/Attach/ui/Cell/Cell.styles.js +0 -17
  173. package/emotion/cjs/components/Attach/ui/iconButton/IconButton.js +0 -12
  174. package/emotion/cjs/components/Attach/ui/iconButton/IconButton.styles.js +0 -17
  175. package/emotion/cjs/components/Attach/utils/extractExtension.js +0 -9
  176. package/emotion/cjs/components/Attach/utils/getFileicon.js +0 -26
  177. package/emotion/cjs/components/Attach/utils/index.js +0 -26
  178. package/emotion/cjs/components/Attach/utils/truncateFilename.js +0 -15
  179. package/emotion/cjs/components/Attach/variations/_size/base.js +0 -9
  180. package/emotion/cjs/components/Attach/variations/_view/base.js +0 -9
  181. package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.config.js +0 -25
  182. package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.js +0 -11
  183. package/emotion/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +0 -61
  184. package/emotion/cjs/examples/plasma_web/components/Attach/Attach.config.js +0 -25
  185. package/emotion/cjs/examples/plasma_web/components/Attach/Attach.js +0 -11
  186. package/emotion/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +0 -61
  187. package/emotion/es/components/Attach/Attach.js +0 -171
  188. package/emotion/es/components/Attach/Attach.styles.js +0 -29
  189. package/emotion/es/components/Attach/Attach.tokens.js +0 -75
  190. package/emotion/es/components/Attach/Attach.types.js +0 -1
  191. package/emotion/es/components/Attach/index.js +0 -2
  192. package/emotion/es/components/Attach/ui/Button/Button.js +0 -1
  193. package/emotion/es/components/Attach/ui/Button/Button.styles.js +0 -10
  194. package/emotion/es/components/Attach/ui/Cell/Cell.js +0 -1
  195. package/emotion/es/components/Attach/ui/Cell/Cell.styles.js +0 -10
  196. package/emotion/es/components/Attach/ui/iconButton/IconButton.js +0 -1
  197. package/emotion/es/components/Attach/ui/iconButton/IconButton.styles.js +0 -10
  198. package/emotion/es/components/Attach/utils/extractExtension.js +0 -3
  199. package/emotion/es/components/Attach/utils/getFileicon.js +0 -19
  200. package/emotion/es/components/Attach/utils/index.js +0 -3
  201. package/emotion/es/components/Attach/utils/truncateFilename.js +0 -9
  202. package/emotion/es/components/Attach/variations/_size/base.js +0 -3
  203. package/emotion/es/components/Attach/variations/_view/base.js +0 -3
  204. package/emotion/es/examples/plasma_b2c/components/Attach/Attach.config.js +0 -19
  205. package/emotion/es/examples/plasma_b2c/components/Attach/Attach.js +0 -5
  206. package/emotion/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +0 -61
  207. package/emotion/es/examples/plasma_web/components/Attach/Attach.config.js +0 -19
  208. package/emotion/es/examples/plasma_web/components/Attach/Attach.js +0 -5
  209. package/emotion/es/examples/plasma_web/components/Attach/Attach.stories.tsx +0 -61
  210. package/es/components/Attach/Attach.css +0 -45
  211. package/es/components/Attach/Attach.js +0 -169
  212. package/es/components/Attach/Attach.js.map +0 -1
  213. package/es/components/Attach/Attach.styles.js +0 -17
  214. package/es/components/Attach/Attach.styles.js.map +0 -1
  215. package/es/components/Attach/Attach.styles_17fejif.css +0 -3
  216. package/es/components/Attach/Attach.tokens.js +0 -78
  217. package/es/components/Attach/Attach.tokens.js.map +0 -1
  218. package/es/components/Attach/ui/Button/Button.styles.js +0 -19
  219. package/es/components/Attach/ui/Button/Button.styles.js.map +0 -1
  220. package/es/components/Attach/ui/Button/Button.styles_oi6jxf.css +0 -1
  221. package/es/components/Attach/ui/Cell/Cell.styles.js +0 -21
  222. package/es/components/Attach/ui/Cell/Cell.styles.js.map +0 -1
  223. package/es/components/Attach/ui/Cell/Cell.styles_1dlvsak.css +0 -1
  224. package/es/components/Attach/ui/iconButton/IconButton.styles.js +0 -19
  225. package/es/components/Attach/ui/iconButton/IconButton.styles.js.map +0 -1
  226. package/es/components/Attach/ui/iconButton/IconButton.styles_14dty7n.css +0 -1
  227. package/es/components/Attach/utils/extractExtension.js +0 -6
  228. package/es/components/Attach/utils/extractExtension.js.map +0 -1
  229. package/es/components/Attach/utils/getFileicon.js +0 -23
  230. package/es/components/Attach/utils/getFileicon.js.map +0 -1
  231. package/es/components/Attach/utils/truncateFilename.js +0 -12
  232. package/es/components/Attach/utils/truncateFilename.js.map +0 -1
  233. package/es/components/Attach/variations/_size/base.js +0 -5
  234. package/es/components/Attach/variations/_size/base.js.map +0 -1
  235. package/es/components/Attach/variations/_size/base_eax0b8.css +0 -1
  236. package/es/components/Attach/variations/_view/base.js +0 -5
  237. package/es/components/Attach/variations/_view/base.js.map +0 -1
  238. package/es/components/Attach/variations/_view/base_1nvsg1b.css +0 -1
  239. package/es/components/TextArea/variations/_view/base_jjtr9h.css +0 -1
  240. package/styled-components/cjs/components/Attach/Attach.js +0 -180
  241. package/styled-components/cjs/components/Attach/Attach.styles.js +0 -18
  242. package/styled-components/cjs/components/Attach/Attach.tokens.js +0 -81
  243. package/styled-components/cjs/components/Attach/Attach.types.js +0 -5
  244. package/styled-components/cjs/components/Attach/index.js +0 -25
  245. package/styled-components/cjs/components/Attach/ui/Button/Button.js +0 -12
  246. package/styled-components/cjs/components/Attach/ui/Button/Button.styles.js +0 -16
  247. package/styled-components/cjs/components/Attach/ui/Cell/Cell.js +0 -12
  248. package/styled-components/cjs/components/Attach/ui/Cell/Cell.styles.js +0 -16
  249. package/styled-components/cjs/components/Attach/ui/iconButton/IconButton.js +0 -12
  250. package/styled-components/cjs/components/Attach/ui/iconButton/IconButton.styles.js +0 -16
  251. package/styled-components/cjs/components/Attach/utils/extractExtension.js +0 -9
  252. package/styled-components/cjs/components/Attach/utils/getFileicon.js +0 -26
  253. package/styled-components/cjs/components/Attach/utils/index.js +0 -26
  254. package/styled-components/cjs/components/Attach/utils/truncateFilename.js +0 -15
  255. package/styled-components/cjs/components/Attach/variations/_size/base.js +0 -9
  256. package/styled-components/cjs/components/Attach/variations/_view/base.js +0 -9
  257. package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.config.js +0 -25
  258. package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.js +0 -11
  259. package/styled-components/cjs/examples/plasma_b2c/components/Attach/Attach.stories.tsx +0 -61
  260. package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.config.js +0 -25
  261. package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.js +0 -11
  262. package/styled-components/cjs/examples/plasma_web/components/Attach/Attach.stories.tsx +0 -61
  263. package/styled-components/es/components/Attach/Attach.js +0 -171
  264. package/styled-components/es/components/Attach/Attach.styles.js +0 -10
  265. package/styled-components/es/components/Attach/Attach.tokens.js +0 -75
  266. package/styled-components/es/components/Attach/Attach.types.js +0 -1
  267. package/styled-components/es/components/Attach/index.js +0 -2
  268. package/styled-components/es/components/Attach/ui/Button/Button.js +0 -1
  269. package/styled-components/es/components/Attach/ui/Button/Button.styles.js +0 -9
  270. package/styled-components/es/components/Attach/ui/Cell/Cell.js +0 -1
  271. package/styled-components/es/components/Attach/ui/Cell/Cell.styles.js +0 -9
  272. package/styled-components/es/components/Attach/ui/iconButton/IconButton.js +0 -1
  273. package/styled-components/es/components/Attach/ui/iconButton/IconButton.styles.js +0 -9
  274. package/styled-components/es/components/Attach/utils/extractExtension.js +0 -3
  275. package/styled-components/es/components/Attach/utils/getFileicon.js +0 -19
  276. package/styled-components/es/components/Attach/utils/index.js +0 -3
  277. package/styled-components/es/components/Attach/utils/truncateFilename.js +0 -9
  278. package/styled-components/es/components/Attach/variations/_size/base.js +0 -3
  279. package/styled-components/es/components/Attach/variations/_view/base.js +0 -3
  280. package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.config.js +0 -19
  281. package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.js +0 -5
  282. package/styled-components/es/examples/plasma_b2c/components/Attach/Attach.stories.tsx +0 -61
  283. package/styled-components/es/examples/plasma_web/components/Attach/Attach.config.js +0 -19
  284. package/styled-components/es/examples/plasma_web/components/Attach/Attach.js +0 -5
  285. package/styled-components/es/examples/plasma_web/components/Attach/Attach.stories.tsx +0 -61
  286. package/types/components/Attach/Attach.d.ts +0 -23
  287. package/types/components/Attach/Attach.d.ts.map +0 -1
  288. package/types/components/Attach/Attach.styles.d.ts +0 -5
  289. package/types/components/Attach/Attach.styles.d.ts.map +0 -1
  290. package/types/components/Attach/Attach.tokens.d.ts +0 -73
  291. package/types/components/Attach/Attach.tokens.d.ts.map +0 -1
  292. package/types/components/Attach/Attach.types.d.ts +0 -33
  293. package/types/components/Attach/Attach.types.d.ts.map +0 -1
  294. package/types/components/Attach/index.d.ts +0 -4
  295. package/types/components/Attach/index.d.ts.map +0 -1
  296. package/types/components/Attach/ui/Button/Button.d.ts +0 -2
  297. package/types/components/Attach/ui/Button/Button.d.ts.map +0 -1
  298. package/types/components/Attach/ui/Button/Button.styles.d.ts +0 -45
  299. package/types/components/Attach/ui/Button/Button.styles.d.ts.map +0 -1
  300. package/types/components/Attach/ui/Cell/Cell.d.ts +0 -2
  301. package/types/components/Attach/ui/Cell/Cell.d.ts.map +0 -1
  302. package/types/components/Attach/ui/Cell/Cell.styles.d.ts +0 -33
  303. package/types/components/Attach/ui/Cell/Cell.styles.d.ts.map +0 -1
  304. package/types/components/Attach/ui/iconButton/IconButton.d.ts +0 -2
  305. package/types/components/Attach/ui/iconButton/IconButton.d.ts.map +0 -1
  306. package/types/components/Attach/ui/iconButton/IconButton.styles.d.ts +0 -45
  307. package/types/components/Attach/ui/iconButton/IconButton.styles.d.ts.map +0 -1
  308. package/types/components/Attach/utils/extractExtension.d.ts +0 -2
  309. package/types/components/Attach/utils/extractExtension.d.ts.map +0 -1
  310. package/types/components/Attach/utils/getFileicon.d.ts +0 -3
  311. package/types/components/Attach/utils/getFileicon.d.ts.map +0 -1
  312. package/types/components/Attach/utils/index.d.ts +0 -4
  313. package/types/components/Attach/utils/index.d.ts.map +0 -1
  314. package/types/components/Attach/utils/truncateFilename.d.ts +0 -2
  315. package/types/components/Attach/utils/truncateFilename.d.ts.map +0 -1
  316. package/types/components/Attach/variations/_size/base.d.ts +0 -2
  317. package/types/components/Attach/variations/_size/base.d.ts.map +0 -1
  318. package/types/components/Attach/variations/_view/base.d.ts +0 -2
  319. package/types/components/Attach/variations/_view/base.d.ts.map +0 -1
  320. package/types/examples/plasma_b2c/components/Attach/Attach.config.d.ts +0 -18
  321. package/types/examples/plasma_b2c/components/Attach/Attach.config.d.ts.map +0 -1
  322. package/types/examples/plasma_b2c/components/Attach/Attach.d.ts +0 -13
  323. package/types/examples/plasma_b2c/components/Attach/Attach.d.ts.map +0 -1
  324. package/types/examples/plasma_web/components/Attach/Attach.config.d.ts +0 -18
  325. package/types/examples/plasma_web/components/Attach/Attach.config.d.ts.map +0 -1
  326. package/types/examples/plasma_web/components/Attach/Attach.d.ts +0 -13
  327. package/types/examples/plasma_web/components/Attach/Attach.d.ts.map +0 -1
@@ -1,180 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.attachRoot = exports.attachConfig = void 0;
8
- var _react = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("react"));
9
- var _plasmaIcons = /*#__PURE__*/require("@salutejs/plasma-icons");
10
- var _plasmaCore = /*#__PURE__*/require("@salutejs/plasma-core");
11
- var _utils = /*#__PURE__*/require("../../utils");
12
- var _base = /*#__PURE__*/require("./variations/_size/base");
13
- var _base2 = /*#__PURE__*/require("./variations/_view/base");
14
- var _Attach = /*#__PURE__*/require("./Attach.styles");
15
- var _Button = /*#__PURE__*/require("./ui/Button/Button");
16
- var _Cell = /*#__PURE__*/require("./ui/Cell/Cell");
17
- var _IconButton = /*#__PURE__*/require("./ui/iconButton/IconButton");
18
- var _utils2 = /*#__PURE__*/require("./utils");
19
- var _Attach2 = /*#__PURE__*/require("./Attach.tokens");
20
- var _IconCloseCircleOutli;
21
- var _excluded = ["flow", "text", "hasAttachment", "acceptedFileFormats", "size", "view", "className"];
22
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
23
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
24
- function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
25
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
26
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
27
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
28
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
29
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
30
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
31
- function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
32
- function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
33
- var attachRoot = exports.attachRoot = function attachRoot(Root) {
34
- return /*#__PURE__*/(0, _react.forwardRef)(function (props, outerRef) {
35
- var _props$flow = props.flow,
36
- flow = _props$flow === void 0 ? 'auto' : _props$flow,
37
- _props$text = props.text,
38
- text = _props$text === void 0 ? 'Загрузить файл' : _props$text,
39
- _props$hasAttachment = props.hasAttachment,
40
- hasAttachment = _props$hasAttachment === void 0 ? true : _props$hasAttachment,
41
- acceptedFileFormats = props.acceptedFileFormats,
42
- size = props.size,
43
- view = props.view,
44
- className = props.className,
45
- rest = _objectWithoutProperties(props, _excluded);
46
- var inputRef = (0, _react.useRef)(null);
47
- var inputHelperRef = (0, _react.useRef)(null);
48
- var cellRef = (0, _react.useRef)(null);
49
- var innerRef = (0, _react.useRef)(null);
50
- var ref = (0, _plasmaCore.useForkRef)(outerRef, innerRef);
51
- var _useState = (0, _react.useState)(null),
52
- _useState2 = _slicedToArray(_useState, 2),
53
- containerWidth = _useState2[0],
54
- setContainerWidth = _useState2[1];
55
- var _useState3 = (0, _react.useState)(null),
56
- _useState4 = _slicedToArray(_useState3, 2),
57
- origFilename = _useState4[0],
58
- setOrigFilename = _useState4[1];
59
- var _useState5 = (0, _react.useState)(null),
60
- _useState6 = _slicedToArray(_useState5, 2),
61
- filename = _useState6[0],
62
- setFilename = _useState6[1];
63
- var _useState7 = (0, _react.useState)(false),
64
- _useState8 = _slicedToArray(_useState7, 2),
65
- shouldUpdateFilename = _useState8[0],
66
- setShouldUpdateFilename = _useState8[1];
67
- var horizontalClass = flow === 'horizontal' ? _Attach2.classes.horizontal : undefined;
68
- var verticalClass = flow === 'vertical' ? _Attach2.classes.vertical : undefined;
69
- var autoClass = flow === 'auto' ? _Attach2.classes.auto : undefined;
70
- var cellHiddenClass = shouldUpdateFilename ? _Attach2.classes.cellHidden : undefined;
71
- var accept = acceptedFileFormats === null || acceptedFileFormats === void 0 ? void 0 : acceptedFileFormats.join(',');
72
- var extension = filename ? (0, _utils2.extractExtension)(filename) : null;
73
- var contentLeft = extension ? (0, _utils2.getFileicon)(extension) : null;
74
- var handleClick = function handleClick() {
75
- if (!inputRef.current) {
76
- return;
77
- }
78
- inputRef.current.click();
79
- };
80
- var handleChange = function handleChange() {
81
- if (!inputRef.current || !inputRef.current.files) {
82
- return;
83
- }
84
- setOrigFilename(inputRef.current.files[0].name);
85
- };
86
- var handleClear = function handleClear() {
87
- if (!inputRef.current) {
88
- return;
89
- }
90
- inputRef.current.value = '';
91
- setOrigFilename(null);
92
- };
93
- (0, _plasmaCore.useResizeObserver)(innerRef, function (container) {
94
- setContainerWidth(container.offsetWidth);
95
- });
96
- (0, _react.useEffect)(function () {
97
- setFilename(origFilename);
98
- setShouldUpdateFilename(true);
99
- }, [size, view, flow, origFilename, containerWidth]);
100
- (0, _react.useEffect)(function () {
101
- if (!cellRef.current || !cellRef.current.parentElement || !inputHelperRef.current || !inputHelperRef.current.textContent || !origFilename || !shouldUpdateFilename) {
102
- setShouldUpdateFilename(false);
103
- return;
104
- }
105
- var textWidth = inputHelperRef.current.offsetWidth;
106
- var _cellRef$current$getB = cellRef.current.getBoundingClientRect(),
107
- cellWidth = _cellRef$current$getB.width,
108
- cellLeft = _cellRef$current$getB.left;
109
- var _cellRef$current$pare = cellRef.current.parentElement.getBoundingClientRect(),
110
- parentWidth = _cellRef$current$pare.width,
111
- parentLeft = _cellRef$current$pare.left;
112
- var cellLeftRightContentWidth = cellWidth - textWidth;
113
- var leftDiff = cellLeft - parentLeft;
114
- var index = origFilename.length - 1;
115
- var currentTextWidth = textWidth;
116
- var resultFilename = origFilename;
117
- while (currentTextWidth + cellLeftRightContentWidth + leftDiff > parentWidth && index >= 1) {
118
- var truncatedFilename = (0, _utils2.truncateFilename)(inputHelperRef.current.textContent, index);
119
- inputHelperRef.current.textContent = truncatedFilename;
120
- resultFilename = truncatedFilename;
121
- currentTextWidth = inputHelperRef.current.offsetWidth;
122
- index -= 1;
123
- }
124
- inputHelperRef.current.textContent = origFilename;
125
- setFilename(resultFilename);
126
- setShouldUpdateFilename(false);
127
- }, [shouldUpdateFilename]);
128
- return /*#__PURE__*/_react["default"].createElement(Root, _extends({
129
- className: (0, _utils.cx)(horizontalClass, verticalClass, autoClass, className),
130
- size: size,
131
- view: view,
132
- ref: ref
133
- }, rest), /*#__PURE__*/_react["default"].createElement(_Attach.StyledHiddenInput, {
134
- ref: inputRef,
135
- accept: accept,
136
- type: "file",
137
- id: "attachHiddenInput",
138
- name: "attachHiddenInput",
139
- onChange: handleChange
140
- }), /*#__PURE__*/_react["default"].createElement(_Attach.StyledHiddenInputHelper, {
141
- ref: inputHelperRef,
142
- id: "attachHiddenInputHelper"
143
- }, origFilename), /*#__PURE__*/_react["default"].createElement(_Button.StyledButton, {
144
- size: size,
145
- view: view,
146
- onClick: handleClick,
147
- text: text
148
- }), hasAttachment && filename && /*#__PURE__*/_react["default"].createElement(_Cell.StyledCell, {
149
- className: cellHiddenClass,
150
- ref: cellRef,
151
- size: size,
152
- view: view,
153
- title: filename,
154
- contentLeft: contentLeft,
155
- contentRight: /*#__PURE__*/_react["default"].createElement(_IconButton.StyledIconButton, {
156
- onClick: handleClear
157
- }, _IconCloseCircleOutli || (_IconCloseCircleOutli = /*#__PURE__*/_react["default"].createElement(_plasmaIcons.IconCloseCircleOutline, {
158
- size: "xs"
159
- })))
160
- }));
161
- });
162
- };
163
- var attachConfig = exports.attachConfig = {
164
- name: 'Attach',
165
- tag: 'div',
166
- layout: attachRoot,
167
- base: _Attach.base,
168
- variations: {
169
- view: {
170
- css: _base2.base
171
- },
172
- size: {
173
- css: _base.base
174
- }
175
- },
176
- defaults: {
177
- view: 'default',
178
- size: 'm'
179
- }
180
- };
@@ -1,18 +0,0 @@
1
- "use strict";
2
-
3
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
4
- Object.defineProperty(exports, "__esModule", {
5
- value: true
6
- });
7
- exports.base = exports.StyledHiddenInputHelper = exports.StyledHiddenInput = void 0;
8
- var _styledComponents = /*#__PURE__*/_interopRequireWildcard( /*#__PURE__*/require("styled-components"));
9
- var _Attach = /*#__PURE__*/require("./Attach.tokens");
10
- function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
11
- function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
12
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["position:relative;display:flex;width:fit-content;"]);
13
- var StyledHiddenInput = exports.StyledHiddenInput = /*#__PURE__*/_styledComponents["default"].input.withConfig({
14
- componentId: "plasma-new-hope__sc-15vkopl-0"
15
- })(["display:none;"]);
16
- var StyledHiddenInputHelper = exports.StyledHiddenInputHelper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
17
- componentId: "plasma-new-hope__sc-15vkopl-1"
18
- })(["position:absolute;visibility:hidden;font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");"], _Attach.tokens.cellTitleFontFamily, _Attach.tokens.cellTitleFontSize, _Attach.tokens.cellTitleFontStyle, _Attach.tokens.cellTitleFontWeight, _Attach.tokens.cellTitleLetterSpacing, _Attach.tokens.cellTitleLineHeight);
@@ -1,81 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.tokens = exports.classes = void 0;
7
- var classes = exports.classes = {
8
- auto: 'auto',
9
- horizontal: 'horizontal',
10
- vertical: 'vertical',
11
- cellHidden: 'cell-hidden'
12
- };
13
- var tokens = exports.tokens = {
14
- horizontalGap: '--plasma-attach-horizontal-gap',
15
- verticalGap: '--plasma-attach-vertical-gap',
16
- // Токены для Button
17
- buttonColor: '--plasma-attach-button-color',
18
- buttonBackgroundColor: '--plasma-attach-button-background-color',
19
- buttonColorHover: '--plasma-attach-button-color-hover',
20
- buttonBackgroundColorHover: '--plasma-attach-button-background-color-hover',
21
- buttonColorActive: '--plasma-attach-button-color-active',
22
- buttonBackgroundColorActive: '--plasma-attach-button-background-color-active',
23
- buttonHeight: '--plasma-attach-button-height',
24
- buttonWidth: '--plasma-attach-button-width',
25
- buttonPadding: '--plasma-attach-button-padding',
26
- buttonRadius: '--plasma-attach-button-radius',
27
- buttonFontFamily: '--plasma-attach-button-font-family',
28
- buttonFontSize: '--plasma-attach-button-font-size',
29
- buttonFontStyle: '--plasma-attach-button-font-style',
30
- buttonFontWeight: '--plasma-attach-button-font-weight',
31
- buttonLetterSpacing: '--plasma-attach-button-letter-spacing',
32
- buttonLineHeight: '--plasma-attach-button-line-height',
33
- // Токены для Cell
34
- cellColor: '--plasma-attach-cell-color',
35
- cellLabelColor: '--plasma-attach-cell-label-color',
36
- cellTitleColor: '--plasma-attach-cell-title-color',
37
- cellSubtitleColor: '--plasma-attach-cell-subtitle-color',
38
- cellBackgroundColor: '--plasma-attach-cell-background-color',
39
- cellWidth: '--plasma-attach-cell-width',
40
- cellPadding: '--plasma-attach-cell-padding',
41
- cellPaddingLeftContent: '--plasma-attach-cell-padding-left-content',
42
- cellPaddingContent: '--plasma-attach-cell-padding-content',
43
- cellPaddingRightContent: '--plasma-attach-cell-padding-right-content',
44
- cellTextboxGap: '--plasma-attach-cell-textbox-gap',
45
- cellGap: '--plasma-attach-cell-gap',
46
- cellLabelFontFamily: '--plasma-attach-cell-label-font-family',
47
- cellLabelFontSize: '--plasma-attach-cell-label-font-size',
48
- cellLabelFontStyle: '--plasma-attach-cell-label-font-style',
49
- cellLabelFontWeight: '--plasma-attach-cell-label-font-weight',
50
- cellLabelLetterSpacing: '--plasma-attach-cell-label-letter-spacing',
51
- cellLabelLineHeight: '--plasma-attach-cell-label-line-height',
52
- cellTitleFontFamily: '--plasma-attach-cell-title-font-family',
53
- cellTitleFontSize: '--plasma-attach-cell-title-font-size',
54
- cellTitleFontStyle: '--plasma-attach-cell-title-font-style',
55
- cellTitleFontWeight: '--plasma-attach-cell-title-font-weight',
56
- cellTitleLetterSpacing: '--plasma-attach-cell-title-letter-spacing',
57
- cellTitleLineHeight: '--plasma-attach-cell-title-line-height',
58
- cellSubtitleFontFamily: '--plasma-attach-cell-subtitle-font-family',
59
- cellSubtitleFontSize: '--plasma-attach-cell-subtitle-font-size',
60
- cellSubtitleFontStyle: '--plasma-attach-cell-subtitle-font-style',
61
- cellSubtitleFontWeight: '--plasma-attach-cell-subtitle-font-weight',
62
- cellSubtitleLetterSpacing: '--plasma-attach-cell-subtitle-letter-spacing',
63
- cellSubtitleLineHeight: '--plasma-attach-cell-subtitle-line-height',
64
- // Токены для IconButton
65
- iconButtonColor: '--plasma-attach-icon-button-color',
66
- iconButtonBackgroundColor: '--plasma-attach-icon-button-background-color',
67
- iconButtonColorHover: '--plasma-attach-icon-button-color-hover',
68
- iconButtonBackgroundColorHover: '--plasma-attach-icon-button-background-color-hover',
69
- iconButtonColorActive: '--plasma-attach-icon-button-color-active',
70
- iconButtonBackgroundColorActive: '--plasma-attach-icon-button-background-color-active',
71
- iconButtonHeight: '--plasma-attach-icon-button-height',
72
- iconButtonWidth: '--plasma-attach-icon-button-width',
73
- iconButtonPadding: '--plasma-attach-icon-button-padding',
74
- iconButtonRadius: '--plasma-attach-icon-button-radius',
75
- iconButtonFontFamily: '--plasma-attach-icon-button-font-family',
76
- iconButtonFontSize: '--plasma-attach-icon-button-font-size',
77
- iconButtonFontStyle: '--plasma-attach-icon-button-font-style',
78
- iconButtonFontWeight: '--plasma-attach-icon-button-font-weight',
79
- iconButtonLetterSpacing: '--plasma-attach-icon-button-letter-spacing',
80
- iconButtonLineHeight: '--plasma-attach-icon-button-line-height'
81
- };
@@ -1,5 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
@@ -1,25 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "attachConfig", {
7
- enumerable: true,
8
- get: function get() {
9
- return _Attach.attachConfig;
10
- }
11
- });
12
- Object.defineProperty(exports, "attachRoot", {
13
- enumerable: true,
14
- get: function get() {
15
- return _Attach.attachRoot;
16
- }
17
- });
18
- Object.defineProperty(exports, "attachTokens", {
19
- enumerable: true,
20
- get: function get() {
21
- return _Attach2.tokens;
22
- }
23
- });
24
- var _Attach = /*#__PURE__*/require("./Attach");
25
- var _Attach2 = /*#__PURE__*/require("./Attach.tokens");
@@ -1,12 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "StyledButton", {
7
- enumerable: true,
8
- get: function get() {
9
- return _Button.StyledButton;
10
- }
11
- });
12
- var _Button = /*#__PURE__*/require("./Button.styles");
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.StyledButton = void 0;
7
- var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
- var _engines = /*#__PURE__*/require("../../../../engines");
9
- var _Button = /*#__PURE__*/require("../../../Button");
10
- var _Attach = /*#__PURE__*/require("../../Attach.tokens");
11
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
- var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Button.buttonConfig);
13
- var Button = /*#__PURE__*/(0, _engines.component)(mergedConfig);
14
- var StyledButton = exports.StyledButton = /*#__PURE__*/(0, _styledComponents["default"])(Button).withConfig({
15
- componentId: "plasma-new-hope__sc-elwbwo-0"
16
- })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], _Button.buttonTokens.buttonColor, _Attach.tokens.buttonColor, _Button.buttonTokens.buttonBackgroundColor, _Attach.tokens.buttonBackgroundColor, _Button.buttonTokens.buttonColorHover, _Attach.tokens.buttonColorHover, _Button.buttonTokens.buttonBackgroundColorHover, _Attach.tokens.buttonBackgroundColorHover, _Button.buttonTokens.buttonColorActive, _Attach.tokens.buttonColorActive, _Button.buttonTokens.buttonBackgroundColorActive, _Attach.tokens.buttonBackgroundColorActive, _Button.buttonTokens.buttonHeight, _Attach.tokens.buttonHeight, _Button.buttonTokens.buttonWidth, _Attach.tokens.buttonWidth, _Button.buttonTokens.buttonPadding, _Attach.tokens.buttonPadding, _Button.buttonTokens.buttonRadius, _Attach.tokens.buttonRadius, _Button.buttonTokens.buttonFontFamily, _Attach.tokens.buttonFontFamily, _Button.buttonTokens.buttonFontSize, _Attach.tokens.buttonFontSize, _Button.buttonTokens.buttonFontStyle, _Attach.tokens.buttonFontStyle, _Button.buttonTokens.buttonFontWeight, _Attach.tokens.buttonFontWeight, _Button.buttonTokens.buttonLetterSpacing, _Attach.tokens.buttonLetterSpacing, _Button.buttonTokens.buttonLineHeight, _Attach.tokens.buttonLineHeight);
@@ -1,12 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "StyledCell", {
7
- enumerable: true,
8
- get: function get() {
9
- return _Cell.StyledCell;
10
- }
11
- });
12
- var _Cell = /*#__PURE__*/require("./Cell.styles");
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.StyledCell = void 0;
7
- var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
- var _engines = /*#__PURE__*/require("../../../../engines");
9
- var _Cell = /*#__PURE__*/require("../../../Cell");
10
- var _Attach = /*#__PURE__*/require("../../Attach.tokens");
11
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
- var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Cell.cellConfig);
13
- var Cell = /*#__PURE__*/(0, _engines.component)(mergedConfig);
14
- var StyledCell = exports.StyledCell = /*#__PURE__*/(0, _styledComponents["default"])(Cell).withConfig({
15
- componentId: "plasma-new-hope__sc-15m5uhg-0"
16
- })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");width:fit-content !important;&.", "{visibility:hidden;}"], _Cell.cellTokens.cellLabelColor, _Attach.tokens.cellLabelColor, _Cell.cellTokens.cellTitleColor, _Attach.tokens.cellTitleColor, _Cell.cellTokens.cellSubtitleColor, _Attach.tokens.cellSubtitleColor, _Cell.cellTokens.cellBackgroundColor, _Attach.tokens.cellBackgroundColor, _Cell.cellTokens.cellWidth, _Attach.tokens.cellWidth, _Cell.cellTokens.cellPadding, _Attach.tokens.cellPadding, _Cell.cellTokens.cellPaddingLeftContent, _Attach.tokens.cellPaddingLeftContent, _Cell.cellTokens.cellPaddingContent, _Attach.tokens.cellPaddingContent, _Cell.cellTokens.cellPaddingRightContent, _Attach.tokens.cellPaddingRightContent, _Cell.cellTokens.cellTextboxGap, _Attach.tokens.cellTextboxGap, _Cell.cellTokens.cellGap, _Attach.tokens.cellGap, _Cell.cellTokens.cellLabelFontFamily, _Attach.tokens.cellLabelFontFamily, _Cell.cellTokens.cellLabelFontSize, _Attach.tokens.cellLabelFontSize, _Cell.cellTokens.cellLabelFontStyle, _Attach.tokens.cellLabelFontStyle, _Cell.cellTokens.cellLabelFontWeight, _Attach.tokens.cellLabelFontWeight, _Cell.cellTokens.cellLabelLetterSpacing, _Attach.tokens.cellLabelLetterSpacing, _Cell.cellTokens.cellLabelLineHeight, _Attach.tokens.cellLabelLineHeight, _Cell.cellTokens.cellTitleFontFamily, _Attach.tokens.cellTitleFontFamily, _Cell.cellTokens.cellTitleFontSize, _Attach.tokens.cellTitleFontSize, _Cell.cellTokens.cellTitleFontStyle, _Attach.tokens.cellTitleFontStyle, _Cell.cellTokens.cellTitleFontWeight, _Attach.tokens.cellTitleFontWeight, _Cell.cellTokens.cellTitleLetterSpacing, _Attach.tokens.cellTitleLetterSpacing, _Cell.cellTokens.cellTitleLineHeight, _Attach.tokens.cellTitleLineHeight, _Cell.cellTokens.cellSubtitleFontFamily, _Attach.tokens.cellSubtitleFontFamily, _Cell.cellTokens.cellSubtitleFontSize, _Attach.tokens.cellSubtitleFontSize, _Cell.cellTokens.cellSubtitleFontStyle, _Attach.tokens.cellSubtitleFontStyle, _Cell.cellTokens.cellSubtitleFontWeight, _Attach.tokens.cellSubtitleFontWeight, _Cell.cellTokens.cellSubtitleLetterSpacing, _Attach.tokens.cellSubtitleLetterSpacing, _Cell.cellTokens.cellSubtitleLineHeight, _Attach.tokens.cellSubtitleLineHeight, _Attach.classes.cellHidden);
@@ -1,12 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "StyledIconButton", {
7
- enumerable: true,
8
- get: function get() {
9
- return _IconButton.StyledIconButton;
10
- }
11
- });
12
- var _IconButton = /*#__PURE__*/require("./IconButton.styles");
@@ -1,16 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.StyledIconButton = void 0;
7
- var _styledComponents = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("styled-components"));
8
- var _engines = /*#__PURE__*/require("../../../../engines");
9
- var _IconButton = /*#__PURE__*/require("../../../IconButton");
10
- var _Attach = /*#__PURE__*/require("../../Attach.tokens");
11
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
12
- var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_IconButton.iconButtonConfig);
13
- var IconButton = /*#__PURE__*/(0, _engines.component)(mergedConfig);
14
- var StyledIconButton = exports.StyledIconButton = /*#__PURE__*/(0, _styledComponents["default"])(IconButton).withConfig({
15
- componentId: "plasma-new-hope__sc-7q1s1x-0"
16
- })(["", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");", ":var(", ");"], _IconButton.iconButtonTokens.iconButtonColor, _Attach.tokens.iconButtonColor, _IconButton.iconButtonTokens.iconButtonBackgroundColor, _Attach.tokens.iconButtonBackgroundColor, _IconButton.iconButtonTokens.iconButtonColorHover, _Attach.tokens.iconButtonColorHover, _IconButton.iconButtonTokens.iconButtonBackgroundColorHover, _Attach.tokens.iconButtonBackgroundColorHover, _IconButton.iconButtonTokens.iconButtonColorActive, _Attach.tokens.iconButtonColorActive, _IconButton.iconButtonTokens.iconButtonBackgroundColorActive, _Attach.tokens.iconButtonBackgroundColorActive, _IconButton.iconButtonTokens.iconButtonHeight, _Attach.tokens.iconButtonHeight, _IconButton.iconButtonTokens.iconButtonWidth, _Attach.tokens.iconButtonWidth, _IconButton.iconButtonTokens.iconButtonPadding, _Attach.tokens.iconButtonPadding, _IconButton.iconButtonTokens.iconButtonRadius, _Attach.tokens.iconButtonRadius, _IconButton.iconButtonTokens.iconButtonFontFamily, _Attach.tokens.iconButtonFontFamily, _IconButton.iconButtonTokens.iconButtonFontSize, _Attach.tokens.iconButtonFontSize, _IconButton.iconButtonTokens.iconButtonFontStyle, _Attach.tokens.iconButtonFontStyle, _IconButton.iconButtonTokens.iconButtonFontWeight, _Attach.tokens.iconButtonFontWeight, _IconButton.iconButtonTokens.iconButtonLetterSpacing, _Attach.tokens.iconButtonLetterSpacing, _IconButton.iconButtonTokens.iconButtonLineHeight, _Attach.tokens.iconButtonLineHeight);
@@ -1,9 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.extractExtension = void 0;
7
- var extractExtension = exports.extractExtension = function extractExtension(filename) {
8
- return filename.split('.').pop();
9
- };
@@ -1,26 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getFileicon = void 0;
7
- var _react = /*#__PURE__*/_interopRequireDefault( /*#__PURE__*/require("react"));
8
- var _plasmaIcons = /*#__PURE__*/require("@salutejs/plasma-icons");
9
- var _IconBlankPdfOutline, _IconBlankDocOutline, _IconBlankXlsOutline, _IconBlankTxtOutline, _IconBlankCsvOutline, _IconBlankOutline;
10
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
11
- var getFileicon = exports.getFileicon = function getFileicon(extension) {
12
- switch (extension) {
13
- case 'pdf':
14
- return _IconBlankPdfOutline || (_IconBlankPdfOutline = /*#__PURE__*/_react["default"].createElement(_plasmaIcons.IconBlankPdfOutline, null));
15
- case 'doc':
16
- return _IconBlankDocOutline || (_IconBlankDocOutline = /*#__PURE__*/_react["default"].createElement(_plasmaIcons.IconBlankDocOutline, null));
17
- case 'xls':
18
- return _IconBlankXlsOutline || (_IconBlankXlsOutline = /*#__PURE__*/_react["default"].createElement(_plasmaIcons.IconBlankXlsOutline, null));
19
- case 'txt':
20
- return _IconBlankTxtOutline || (_IconBlankTxtOutline = /*#__PURE__*/_react["default"].createElement(_plasmaIcons.IconBlankTxtOutline, null));
21
- case 'csv':
22
- return _IconBlankCsvOutline || (_IconBlankCsvOutline = /*#__PURE__*/_react["default"].createElement(_plasmaIcons.IconBlankCsvOutline, null));
23
- default:
24
- return _IconBlankOutline || (_IconBlankOutline = /*#__PURE__*/_react["default"].createElement(_plasmaIcons.IconBlankOutline, null));
25
- }
26
- };
@@ -1,26 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "extractExtension", {
7
- enumerable: true,
8
- get: function get() {
9
- return _extractExtension.extractExtension;
10
- }
11
- });
12
- Object.defineProperty(exports, "getFileicon", {
13
- enumerable: true,
14
- get: function get() {
15
- return _getFileicon.getFileicon;
16
- }
17
- });
18
- Object.defineProperty(exports, "truncateFilename", {
19
- enumerable: true,
20
- get: function get() {
21
- return _truncateFilename.truncateFilename;
22
- }
23
- });
24
- var _extractExtension = /*#__PURE__*/require("./extractExtension");
25
- var _getFileicon = /*#__PURE__*/require("./getFileicon");
26
- var _truncateFilename = /*#__PURE__*/require("./truncateFilename");
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.truncateFilename = void 0;
7
- var truncateFilename = exports.truncateFilename = function truncateFilename(filename, startTruncationIndex) {
8
- var separator = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '...';
9
- var strings = filename.split('.');
10
- var extension = strings.length > 1 ? strings[strings.length - 1] : null;
11
- var left = strings.length > 1 ? strings.slice(0, -1).join('.') : strings[0];
12
- var lastFilenameLetter = left[left.length - 1];
13
- var truncatedFilename = "".concat(left.substring(0, startTruncationIndex)).concat(separator).concat(lastFilenameLetter);
14
- return extension ? "".concat(truncatedFilename, ".").concat(extension) : truncatedFilename;
15
- };
@@ -1,9 +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 _Attach = /*#__PURE__*/require("../../Attach.tokens");
9
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&.", "{column-gap:var(", ");}&.", "{row-gap:var(", ");}&.", "{row-gap:var(", ");column-gap:var(", ");}}"], _Attach.classes.horizontal, _Attach.tokens.horizontalGap, _Attach.classes.vertical, _Attach.tokens.verticalGap, _Attach.classes.auto, _Attach.tokens.verticalGap, _Attach.tokens.horizontalGap);
@@ -1,9 +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 _Attach = /*#__PURE__*/require("../../Attach.tokens");
9
- var base = exports.base = /*#__PURE__*/(0, _styledComponents.css)(["&.", "{flex-direction:row;}&.", "{flex-direction:column;}&.", "{flex-wrap:wrap;}"], _Attach.classes.horizontal, _Attach.classes.vertical, _Attach.classes.auto);
@@ -1,25 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.config = void 0;
7
- var _styledComponents = /*#__PURE__*/require("styled-components");
8
- var _Attach = /*#__PURE__*/require("../../../../components/Attach");
9
- var config = exports.config = {
10
- defaults: {
11
- view: 'default',
12
- size: 'm'
13
- },
14
- variations: {
15
- view: {
16
- "default": /*#__PURE__*/(0, _styledComponents.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);"], _Attach.attachTokens.buttonColor, _Attach.attachTokens.buttonBackgroundColor, _Attach.attachTokens.buttonColorHover, _Attach.attachTokens.buttonBackgroundColorHover, _Attach.attachTokens.buttonColorActive, _Attach.attachTokens.buttonBackgroundColorActive, _Attach.attachTokens.cellColor, _Attach.attachTokens.cellLabelColor, _Attach.attachTokens.cellTitleColor, _Attach.attachTokens.cellSubtitleColor, _Attach.attachTokens.cellBackgroundColor, _Attach.attachTokens.iconButtonColor, _Attach.attachTokens.iconButtonBackgroundColor, _Attach.attachTokens.iconButtonColorHover, _Attach.attachTokens.iconButtonBackgroundColorHover, _Attach.attachTokens.iconButtonColorActive, _Attach.attachTokens.iconButtonBackgroundColorActive)
17
- },
18
- size: {
19
- l: /*#__PURE__*/(0, _styledComponents.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);"], _Attach.attachTokens.horizontalGap, _Attach.attachTokens.verticalGap, _Attach.attachTokens.buttonHeight, _Attach.attachTokens.buttonWidth, _Attach.attachTokens.buttonPadding, _Attach.attachTokens.buttonRadius, _Attach.attachTokens.buttonFontFamily, _Attach.attachTokens.buttonFontSize, _Attach.attachTokens.buttonFontStyle, _Attach.attachTokens.buttonFontWeight, _Attach.attachTokens.buttonLetterSpacing, _Attach.attachTokens.buttonLineHeight, _Attach.attachTokens.cellWidth, _Attach.attachTokens.cellPadding, _Attach.attachTokens.cellPaddingLeftContent, _Attach.attachTokens.cellPaddingContent, _Attach.attachTokens.cellPaddingRightContent, _Attach.attachTokens.cellTextboxGap, _Attach.attachTokens.cellGap, _Attach.attachTokens.cellLabelFontFamily, _Attach.attachTokens.cellLabelFontSize, _Attach.attachTokens.cellLabelFontStyle, _Attach.attachTokens.cellLabelFontWeight, _Attach.attachTokens.cellLabelLetterSpacing, _Attach.attachTokens.cellLabelLineHeight, _Attach.attachTokens.cellTitleFontFamily, _Attach.attachTokens.cellTitleFontSize, _Attach.attachTokens.cellTitleFontStyle, _Attach.attachTokens.cellTitleFontWeight, _Attach.attachTokens.cellTitleLetterSpacing, _Attach.attachTokens.cellTitleLineHeight, _Attach.attachTokens.cellSubtitleFontFamily, _Attach.attachTokens.cellSubtitleFontSize, _Attach.attachTokens.cellSubtitleFontStyle, _Attach.attachTokens.cellSubtitleFontWeight, _Attach.attachTokens.cellSubtitleLetterSpacing, _Attach.attachTokens.cellSubtitleLineHeight, _Attach.attachTokens.iconButtonHeight, _Attach.attachTokens.iconButtonWidth, _Attach.attachTokens.iconButtonPadding, _Attach.attachTokens.iconButtonRadius, _Attach.attachTokens.iconButtonFontFamily, _Attach.attachTokens.iconButtonFontSize, _Attach.attachTokens.iconButtonFontStyle, _Attach.attachTokens.iconButtonFontWeight, _Attach.attachTokens.iconButtonLetterSpacing, _Attach.attachTokens.iconButtonLineHeight),
20
- m: /*#__PURE__*/(0, _styledComponents.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);"], _Attach.attachTokens.horizontalGap, _Attach.attachTokens.verticalGap, _Attach.attachTokens.buttonHeight, _Attach.attachTokens.buttonWidth, _Attach.attachTokens.buttonPadding, _Attach.attachTokens.buttonRadius, _Attach.attachTokens.buttonFontFamily, _Attach.attachTokens.buttonFontSize, _Attach.attachTokens.buttonFontStyle, _Attach.attachTokens.buttonFontWeight, _Attach.attachTokens.buttonLetterSpacing, _Attach.attachTokens.buttonLineHeight, _Attach.attachTokens.cellWidth, _Attach.attachTokens.cellPadding, _Attach.attachTokens.cellPaddingLeftContent, _Attach.attachTokens.cellPaddingContent, _Attach.attachTokens.cellPaddingRightContent, _Attach.attachTokens.cellTextboxGap, _Attach.attachTokens.cellGap, _Attach.attachTokens.cellLabelFontFamily, _Attach.attachTokens.cellLabelFontSize, _Attach.attachTokens.cellLabelFontStyle, _Attach.attachTokens.cellLabelFontWeight, _Attach.attachTokens.cellLabelLetterSpacing, _Attach.attachTokens.cellLabelLineHeight, _Attach.attachTokens.cellTitleFontFamily, _Attach.attachTokens.cellTitleFontSize, _Attach.attachTokens.cellTitleFontStyle, _Attach.attachTokens.cellTitleFontWeight, _Attach.attachTokens.cellTitleLetterSpacing, _Attach.attachTokens.cellTitleLineHeight, _Attach.attachTokens.cellSubtitleFontFamily, _Attach.attachTokens.cellSubtitleFontSize, _Attach.attachTokens.cellSubtitleFontStyle, _Attach.attachTokens.cellSubtitleFontWeight, _Attach.attachTokens.cellSubtitleLetterSpacing, _Attach.attachTokens.cellSubtitleLineHeight, _Attach.attachTokens.iconButtonHeight, _Attach.attachTokens.iconButtonWidth, _Attach.attachTokens.iconButtonPadding, _Attach.attachTokens.iconButtonRadius, _Attach.attachTokens.iconButtonFontFamily, _Attach.attachTokens.iconButtonFontSize, _Attach.attachTokens.iconButtonFontStyle, _Attach.attachTokens.iconButtonFontWeight, _Attach.attachTokens.iconButtonLetterSpacing, _Attach.attachTokens.iconButtonLineHeight),
21
- s: /*#__PURE__*/(0, _styledComponents.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);"], _Attach.attachTokens.horizontalGap, _Attach.attachTokens.verticalGap, _Attach.attachTokens.buttonHeight, _Attach.attachTokens.buttonWidth, _Attach.attachTokens.buttonPadding, _Attach.attachTokens.buttonRadius, _Attach.attachTokens.buttonFontFamily, _Attach.attachTokens.buttonFontSize, _Attach.attachTokens.buttonFontStyle, _Attach.attachTokens.buttonFontWeight, _Attach.attachTokens.buttonLetterSpacing, _Attach.attachTokens.buttonLineHeight, _Attach.attachTokens.cellWidth, _Attach.attachTokens.cellPadding, _Attach.attachTokens.cellPaddingLeftContent, _Attach.attachTokens.cellPaddingContent, _Attach.attachTokens.cellPaddingRightContent, _Attach.attachTokens.cellTextboxGap, _Attach.attachTokens.cellGap, _Attach.attachTokens.cellLabelFontFamily, _Attach.attachTokens.cellLabelFontSize, _Attach.attachTokens.cellLabelFontStyle, _Attach.attachTokens.cellLabelFontWeight, _Attach.attachTokens.cellLabelLetterSpacing, _Attach.attachTokens.cellLabelLineHeight, _Attach.attachTokens.cellTitleFontFamily, _Attach.attachTokens.cellTitleFontSize, _Attach.attachTokens.cellTitleFontStyle, _Attach.attachTokens.cellTitleFontWeight, _Attach.attachTokens.cellTitleLetterSpacing, _Attach.attachTokens.cellTitleLineHeight, _Attach.attachTokens.cellSubtitleFontFamily, _Attach.attachTokens.cellSubtitleFontSize, _Attach.attachTokens.cellSubtitleFontStyle, _Attach.attachTokens.cellSubtitleFontWeight, _Attach.attachTokens.cellSubtitleLetterSpacing, _Attach.attachTokens.cellSubtitleLineHeight, _Attach.attachTokens.iconButtonHeight, _Attach.attachTokens.iconButtonWidth, _Attach.attachTokens.iconButtonPadding, _Attach.attachTokens.iconButtonRadius, _Attach.attachTokens.iconButtonFontFamily, _Attach.attachTokens.iconButtonFontSize, _Attach.attachTokens.iconButtonFontStyle, _Attach.attachTokens.iconButtonFontWeight, _Attach.attachTokens.iconButtonLetterSpacing, _Attach.attachTokens.iconButtonLineHeight),
22
- xs: /*#__PURE__*/(0, _styledComponents.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);"], _Attach.attachTokens.horizontalGap, _Attach.attachTokens.verticalGap, _Attach.attachTokens.buttonHeight, _Attach.attachTokens.buttonWidth, _Attach.attachTokens.buttonPadding, _Attach.attachTokens.buttonRadius, _Attach.attachTokens.buttonFontFamily, _Attach.attachTokens.buttonFontSize, _Attach.attachTokens.buttonFontStyle, _Attach.attachTokens.buttonFontWeight, _Attach.attachTokens.buttonLetterSpacing, _Attach.attachTokens.buttonLineHeight, _Attach.attachTokens.cellWidth, _Attach.attachTokens.cellPadding, _Attach.attachTokens.cellPaddingLeftContent, _Attach.attachTokens.cellPaddingContent, _Attach.attachTokens.cellPaddingRightContent, _Attach.attachTokens.cellTextboxGap, _Attach.attachTokens.cellGap, _Attach.attachTokens.cellLabelFontFamily, _Attach.attachTokens.cellLabelFontSize, _Attach.attachTokens.cellLabelFontStyle, _Attach.attachTokens.cellLabelFontWeight, _Attach.attachTokens.cellLabelLetterSpacing, _Attach.attachTokens.cellLabelLineHeight, _Attach.attachTokens.cellTitleFontFamily, _Attach.attachTokens.cellTitleFontSize, _Attach.attachTokens.cellTitleFontStyle, _Attach.attachTokens.cellTitleFontWeight, _Attach.attachTokens.cellTitleLetterSpacing, _Attach.attachTokens.cellTitleLineHeight, _Attach.attachTokens.cellSubtitleFontFamily, _Attach.attachTokens.cellSubtitleFontSize, _Attach.attachTokens.cellSubtitleFontStyle, _Attach.attachTokens.cellSubtitleFontWeight, _Attach.attachTokens.cellSubtitleLetterSpacing, _Attach.attachTokens.cellSubtitleLineHeight, _Attach.attachTokens.iconButtonHeight, _Attach.attachTokens.iconButtonWidth, _Attach.attachTokens.iconButtonPadding, _Attach.attachTokens.iconButtonRadius, _Attach.attachTokens.iconButtonFontFamily, _Attach.attachTokens.iconButtonFontSize, _Attach.attachTokens.iconButtonFontStyle, _Attach.attachTokens.iconButtonFontWeight, _Attach.attachTokens.iconButtonLetterSpacing, _Attach.attachTokens.iconButtonLineHeight)
23
- }
24
- }
25
- };
@@ -1,11 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Attach = void 0;
7
- var _Attach = /*#__PURE__*/require("../../../../components/Attach");
8
- var _engines = /*#__PURE__*/require("../../../../engines");
9
- var _Attach2 = /*#__PURE__*/require("./Attach.config");
10
- var mergedConfig = /*#__PURE__*/(0, _engines.mergeConfig)(_Attach.attachConfig, _Attach2.config);
11
- var Attach = exports.Attach = /*#__PURE__*/(0, _engines.component)(mergedConfig);