@salutejs/plasma-new-hope 0.195.0-canary.1534.11913376384.0 → 0.195.0-canary.1546.11930615455.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (372) hide show
  1. package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -333
  2. package/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  3. package/cjs/components/Badge/Badge.css +4 -4
  4. package/cjs/components/Badge/Badge.js +17 -7
  5. package/cjs/components/Badge/Badge.js.map +1 -1
  6. package/cjs/components/Badge/Badge.tokens.js +10 -5
  7. package/cjs/components/Badge/Badge.tokens.js.map +1 -1
  8. package/cjs/components/Badge/variations/_clear/base.js +1 -1
  9. package/cjs/components/Badge/variations/_clear/base.js.map +1 -1
  10. package/cjs/components/Badge/variations/_clear/base_wiboj8.css +1 -0
  11. package/cjs/components/Badge/variations/_size/base.js +1 -1
  12. package/cjs/components/Badge/variations/_size/base.js.map +1 -1
  13. package/{es/components/Badge/variations/_size/base_to0y5x.css → cjs/components/Badge/variations/_size/base_bu5opk.css} +1 -1
  14. package/cjs/components/Badge/variations/_transparent/base.js +1 -1
  15. package/cjs/components/Badge/variations/_transparent/base.js.map +1 -1
  16. package/cjs/components/Badge/variations/_transparent/base_aapqhz.css +1 -0
  17. package/cjs/components/Badge/variations/_view/base.js +1 -1
  18. package/cjs/components/Badge/variations/_view/base.js.map +1 -1
  19. package/cjs/components/Badge/variations/_view/base_j3xzf3.css +1 -0
  20. package/cjs/components/Combobox/ComboboxNew/Combobox.js +18 -4
  21. package/cjs/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  22. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  23. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  24. package/cjs/components/Combobox/ComboboxOld/Combobox.css +5 -4
  25. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -4
  26. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -4
  27. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -4
  28. package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -4
  29. package/cjs/components/Dropdown/Dropdown.css +5 -4
  30. package/cjs/components/Dropdown/Dropdown.js +4 -2
  31. package/cjs/components/Dropdown/Dropdown.js.map +1 -1
  32. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -4
  33. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -2
  34. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  35. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +7 -1
  36. package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  37. package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_1b439rx.css → DropdownItem.styles_14yih1y.css} +1 -0
  38. package/cjs/components/Select/Select.js +0 -1
  39. package/cjs/components/Select/Select.js.map +1 -1
  40. package/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  41. package/cjs/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  42. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +18 -3
  43. package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  44. package/cjs/index.css +9 -22
  45. package/cjs/index.js +0 -6
  46. package/cjs/index.js.map +1 -1
  47. package/emotion/cjs/components/Badge/Badge.js +17 -7
  48. package/emotion/cjs/components/Badge/Badge.template-doc.mdx +40 -16
  49. package/emotion/cjs/components/Badge/Badge.tokens.js +10 -6
  50. package/emotion/cjs/components/Badge/variations/_clear/base.js +1 -1
  51. package/emotion/cjs/components/Badge/variations/_size/base.js +2 -1
  52. package/emotion/cjs/components/Badge/variations/_transparent/base.js +1 -1
  53. package/emotion/cjs/components/Badge/variations/_view/base.js +1 -1
  54. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.js +22 -4
  55. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  56. package/emotion/cjs/components/Dropdown/Dropdown.js +4 -2
  57. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -2
  58. package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +15 -11
  59. package/emotion/cjs/components/Select/Select.js +0 -1
  60. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  61. package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +24 -3
  62. package/emotion/cjs/components/_Icon/index.js +1 -8
  63. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +15 -15
  64. package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
  65. package/emotion/cjs/examples/plasma_web/components/Badge/Badge.config.js +14 -14
  66. package/emotion/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
  67. package/emotion/cjs/index.js +0 -11
  68. package/emotion/es/components/Badge/Badge.js +18 -8
  69. package/emotion/es/components/Badge/Badge.template-doc.mdx +40 -16
  70. package/emotion/es/components/Badge/Badge.tokens.js +9 -5
  71. package/emotion/es/components/Badge/variations/_clear/base.js +2 -2
  72. package/emotion/es/components/Badge/variations/_size/base.js +3 -2
  73. package/emotion/es/components/Badge/variations/_transparent/base.js +2 -2
  74. package/emotion/es/components/Badge/variations/_view/base.js +2 -2
  75. package/emotion/es/components/Combobox/ComboboxNew/Combobox.js +22 -4
  76. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  77. package/emotion/es/components/Dropdown/Dropdown.js +4 -2
  78. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -3
  79. package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +15 -11
  80. package/emotion/es/components/Select/Select.js +0 -1
  81. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  82. package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +24 -3
  83. package/emotion/es/components/_Icon/index.js +1 -2
  84. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +15 -15
  85. package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
  86. package/emotion/es/examples/plasma_web/components/Badge/Badge.config.js +14 -14
  87. package/emotion/es/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
  88. package/emotion/es/index.js +1 -2
  89. package/es/_virtual/_rollupPluginBabelHelpers.js +1 -332
  90. package/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  91. package/es/components/Badge/Badge.css +4 -4
  92. package/es/components/Badge/Badge.js +20 -10
  93. package/es/components/Badge/Badge.js.map +1 -1
  94. package/es/components/Badge/Badge.tokens.js +10 -6
  95. package/es/components/Badge/Badge.tokens.js.map +1 -1
  96. package/es/components/Badge/variations/_clear/base.js +1 -1
  97. package/es/components/Badge/variations/_clear/base.js.map +1 -1
  98. package/es/components/Badge/variations/_clear/base_wiboj8.css +1 -0
  99. package/es/components/Badge/variations/_size/base.js +1 -1
  100. package/es/components/Badge/variations/_size/base.js.map +1 -1
  101. package/{cjs/components/Badge/variations/_size/base_to0y5x.css → es/components/Badge/variations/_size/base_bu5opk.css} +1 -1
  102. package/es/components/Badge/variations/_transparent/base.js +1 -1
  103. package/es/components/Badge/variations/_transparent/base.js.map +1 -1
  104. package/es/components/Badge/variations/_transparent/base_aapqhz.css +1 -0
  105. package/es/components/Badge/variations/_view/base.js +1 -1
  106. package/es/components/Badge/variations/_view/base.js.map +1 -1
  107. package/es/components/Badge/variations/_view/base_j3xzf3.css +1 -0
  108. package/es/components/Combobox/ComboboxNew/Combobox.js +19 -5
  109. package/es/components/Combobox/ComboboxNew/Combobox.js.map +1 -1
  110. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  111. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js.map +1 -1
  112. package/es/components/Combobox/ComboboxOld/Combobox.css +5 -4
  113. package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -4
  114. package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -4
  115. package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -4
  116. package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -4
  117. package/es/components/Dropdown/Dropdown.css +5 -4
  118. package/es/components/Dropdown/Dropdown.js +4 -2
  119. package/es/components/Dropdown/Dropdown.js.map +1 -1
  120. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -4
  121. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -3
  122. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
  123. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +7 -2
  124. package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
  125. package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_1b439rx.css → DropdownItem.styles_14yih1y.css} +1 -0
  126. package/es/components/Select/Select.js +0 -1
  127. package/es/components/Select/Select.js.map +1 -1
  128. package/es/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  129. package/es/components/Select/ui/Inner/ui/Item/Item.js.map +1 -1
  130. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +19 -4
  131. package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
  132. package/es/index.css +9 -22
  133. package/es/index.js +0 -2
  134. package/es/index.js.map +1 -1
  135. package/package.json +5 -4
  136. package/styled-components/cjs/components/Badge/Badge.js +17 -7
  137. package/styled-components/cjs/components/Badge/Badge.template-doc.mdx +40 -16
  138. package/styled-components/cjs/components/Badge/Badge.tokens.js +10 -6
  139. package/styled-components/cjs/components/Badge/variations/_clear/base.js +1 -1
  140. package/styled-components/cjs/components/Badge/variations/_size/base.js +2 -1
  141. package/styled-components/cjs/components/Badge/variations/_transparent/base.js +1 -1
  142. package/styled-components/cjs/components/Badge/variations/_view/base.js +1 -1
  143. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.js +22 -4
  144. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  145. package/styled-components/cjs/components/Dropdown/Dropdown.js +4 -2
  146. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +3 -2
  147. package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -2
  148. package/styled-components/cjs/components/Select/Select.js +0 -1
  149. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  150. package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +24 -3
  151. package/styled-components/cjs/components/_Icon/index.js +1 -8
  152. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
  153. package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
  154. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.config.js +5 -5
  155. package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
  156. package/styled-components/cjs/index.js +0 -11
  157. package/styled-components/es/components/Badge/Badge.js +18 -8
  158. package/styled-components/es/components/Badge/Badge.template-doc.mdx +40 -16
  159. package/styled-components/es/components/Badge/Badge.tokens.js +9 -5
  160. package/styled-components/es/components/Badge/variations/_clear/base.js +2 -2
  161. package/styled-components/es/components/Badge/variations/_size/base.js +3 -2
  162. package/styled-components/es/components/Badge/variations/_transparent/base.js +2 -2
  163. package/styled-components/es/components/Badge/variations/_view/base.js +2 -2
  164. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.js +22 -4
  165. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.js +1 -2
  166. package/styled-components/es/components/Dropdown/Dropdown.js +4 -2
  167. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -3
  168. package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -2
  169. package/styled-components/es/components/Select/Select.js +0 -1
  170. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.js +1 -2
  171. package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +24 -3
  172. package/styled-components/es/components/_Icon/index.js +1 -2
  173. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
  174. package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
  175. package/styled-components/es/examples/plasma_web/components/Badge/Badge.config.js +5 -5
  176. package/styled-components/es/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
  177. package/styled-components/es/index.js +1 -2
  178. package/types/components/Badge/Badge.d.ts.map +1 -1
  179. package/types/components/Badge/Badge.tokens.d.ts +8 -4
  180. package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
  181. package/types/components/Badge/Badge.types.d.ts +18 -5
  182. package/types/components/Badge/Badge.types.d.ts.map +1 -1
  183. package/types/components/Badge/variations/_clear/base.d.ts.map +1 -1
  184. package/types/components/Badge/variations/_size/base.d.ts.map +1 -1
  185. package/types/components/Combobox/ComboboxNew/Combobox.d.ts.map +1 -1
  186. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts +1 -2
  187. package/types/components/Combobox/ComboboxNew/Combobox.types.d.ts.map +1 -1
  188. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  189. package/types/components/Dropdown/Dropdown.d.ts +50 -2
  190. package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
  191. package/types/components/Dropdown/Dropdown.types.d.ts +11 -6
  192. package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
  193. package/types/components/Dropdown/index.d.ts +1 -0
  194. package/types/components/Dropdown/index.d.ts.map +1 -1
  195. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
  196. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +1 -0
  197. package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
  198. package/types/components/Select/Select.d.ts.map +1 -1
  199. package/types/components/Select/Select.types.d.ts +1 -2
  200. package/types/components/Select/Select.types.d.ts.map +1 -1
  201. package/types/components/Select/ui/Inner/ui/Item/Item.d.ts.map +1 -1
  202. package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
  203. package/types/components/_Icon/index.d.ts +0 -1
  204. package/types/components/_Icon/index.d.ts.map +1 -1
  205. package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
  206. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +61 -4
  207. package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
  208. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +25 -1
  209. package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -1
  210. package/types/examples/plasma_web/components/Badge/Badge.config.d.ts.map +1 -1
  211. package/types/examples/plasma_web/components/Badge/Badge.d.ts +61 -4
  212. package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
  213. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +25 -1
  214. package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -1
  215. package/types/index.d.ts +0 -1
  216. package/types/index.d.ts.map +1 -1
  217. package/cjs/components/Badge/variations/_clear/base_oopyb7.css +0 -1
  218. package/cjs/components/Badge/variations/_transparent/base_1l6036y.css +0 -1
  219. package/cjs/components/Badge/variations/_view/base_qlxank.css +0 -1
  220. package/cjs/components/Dropzone/Dropzone.css +0 -15
  221. package/cjs/components/Dropzone/Dropzone.js +0 -252
  222. package/cjs/components/Dropzone/Dropzone.js.map +0 -1
  223. package/cjs/components/Dropzone/Dropzone.styles.js +0 -47
  224. package/cjs/components/Dropzone/Dropzone.styles.js.map +0 -1
  225. package/cjs/components/Dropzone/Dropzone.styles_1fo7dbq.css +0 -7
  226. package/cjs/components/Dropzone/Dropzone.tokens.js +0 -47
  227. package/cjs/components/Dropzone/Dropzone.tokens.js.map +0 -1
  228. package/cjs/components/Dropzone/variations/_disabled/base.js +0 -9
  229. package/cjs/components/Dropzone/variations/_disabled/base.js.map +0 -1
  230. package/cjs/components/Dropzone/variations/_disabled/base_3qwygi.css +0 -1
  231. package/cjs/components/Dropzone/variations/_size/base.js +0 -9
  232. package/cjs/components/Dropzone/variations/_size/base.js.map +0 -1
  233. package/cjs/components/Dropzone/variations/_size/base_1bt22g1.css +0 -1
  234. package/cjs/components/Dropzone/variations/_view/base.js +0 -9
  235. package/cjs/components/Dropzone/variations/_view/base.js.map +0 -1
  236. package/cjs/components/Dropzone/variations/_view/base_1pdzq6t.css +0 -1
  237. package/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +0 -24
  238. package/cjs/components/_Icon/Icon.assets/ArrowBarDown.js.map +0 -1
  239. package/cjs/components/_Icon/Icons/IconArrowBarDown.js +0 -23
  240. package/cjs/components/_Icon/Icons/IconArrowBarDown.js.map +0 -1
  241. package/emotion/cjs/components/Dropzone/Dropzone.js +0 -271
  242. package/emotion/cjs/components/Dropzone/Dropzone.styles.js +0 -67
  243. package/emotion/cjs/components/Dropzone/Dropzone.template-docs.mdx +0 -136
  244. package/emotion/cjs/components/Dropzone/Dropzone.tokens.js +0 -44
  245. package/emotion/cjs/components/Dropzone/Dropzone.types.js +0 -5
  246. package/emotion/cjs/components/Dropzone/index.js +0 -31
  247. package/emotion/cjs/components/Dropzone/variations/_disabled/base.js +0 -9
  248. package/emotion/cjs/components/Dropzone/variations/_disabled/tokens.json +0 -4
  249. package/emotion/cjs/components/Dropzone/variations/_size/base.js +0 -10
  250. package/emotion/cjs/components/Dropzone/variations/_size/tokens.json +0 -19
  251. package/emotion/cjs/components/Dropzone/variations/_view/base.js +0 -10
  252. package/emotion/cjs/components/Dropzone/variations/_view/tokens.json +0 -9
  253. package/emotion/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +0 -23
  254. package/emotion/cjs/components/_Icon/Icons/IconArrowBarDown.js +0 -22
  255. package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.config.js +0 -25
  256. package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.js +0 -11
  257. package/emotion/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +0 -57
  258. package/emotion/cjs/examples/plasma_web/components/Dropzone/Dropzone.config.js +0 -25
  259. package/emotion/cjs/examples/plasma_web/components/Dropzone/Dropzone.js +0 -11
  260. package/emotion/cjs/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +0 -57
  261. package/emotion/es/components/Dropzone/Dropzone.js +0 -263
  262. package/emotion/es/components/Dropzone/Dropzone.styles.js +0 -60
  263. package/emotion/es/components/Dropzone/Dropzone.template-docs.mdx +0 -136
  264. package/emotion/es/components/Dropzone/Dropzone.tokens.js +0 -38
  265. package/emotion/es/components/Dropzone/Dropzone.types.js +0 -1
  266. package/emotion/es/components/Dropzone/index.js +0 -2
  267. package/emotion/es/components/Dropzone/variations/_disabled/base.js +0 -3
  268. package/emotion/es/components/Dropzone/variations/_disabled/tokens.json +0 -4
  269. package/emotion/es/components/Dropzone/variations/_size/base.js +0 -4
  270. package/emotion/es/components/Dropzone/variations/_size/tokens.json +0 -19
  271. package/emotion/es/components/Dropzone/variations/_view/base.js +0 -4
  272. package/emotion/es/components/Dropzone/variations/_view/tokens.json +0 -9
  273. package/emotion/es/components/_Icon/Icon.assets/ArrowBarDown.js +0 -16
  274. package/emotion/es/components/_Icon/Icons/IconArrowBarDown.js +0 -15
  275. package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.config.js +0 -19
  276. package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.js +0 -5
  277. package/emotion/es/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +0 -57
  278. package/emotion/es/examples/plasma_web/components/Dropzone/Dropzone.config.js +0 -19
  279. package/emotion/es/examples/plasma_web/components/Dropzone/Dropzone.js +0 -5
  280. package/emotion/es/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +0 -57
  281. package/es/components/Badge/variations/_clear/base_oopyb7.css +0 -1
  282. package/es/components/Badge/variations/_transparent/base_1l6036y.css +0 -1
  283. package/es/components/Badge/variations/_view/base_qlxank.css +0 -1
  284. package/es/components/Dropzone/Dropzone.css +0 -15
  285. package/es/components/Dropzone/Dropzone.js +0 -247
  286. package/es/components/Dropzone/Dropzone.js.map +0 -1
  287. package/es/components/Dropzone/Dropzone.styles.js +0 -37
  288. package/es/components/Dropzone/Dropzone.styles.js.map +0 -1
  289. package/es/components/Dropzone/Dropzone.styles_1fo7dbq.css +0 -7
  290. package/es/components/Dropzone/Dropzone.tokens.js +0 -41
  291. package/es/components/Dropzone/Dropzone.tokens.js.map +0 -1
  292. package/es/components/Dropzone/variations/_disabled/base.js +0 -5
  293. package/es/components/Dropzone/variations/_disabled/base.js.map +0 -1
  294. package/es/components/Dropzone/variations/_disabled/base_3qwygi.css +0 -1
  295. package/es/components/Dropzone/variations/_size/base.js +0 -5
  296. package/es/components/Dropzone/variations/_size/base.js.map +0 -1
  297. package/es/components/Dropzone/variations/_size/base_1bt22g1.css +0 -1
  298. package/es/components/Dropzone/variations/_view/base.js +0 -5
  299. package/es/components/Dropzone/variations/_view/base.js.map +0 -1
  300. package/es/components/Dropzone/variations/_view/base_1pdzq6t.css +0 -1
  301. package/es/components/_Icon/Icon.assets/ArrowBarDown.js +0 -20
  302. package/es/components/_Icon/Icon.assets/ArrowBarDown.js.map +0 -1
  303. package/es/components/_Icon/Icons/IconArrowBarDown.js +0 -19
  304. package/es/components/_Icon/Icons/IconArrowBarDown.js.map +0 -1
  305. package/styled-components/cjs/components/Dropzone/Dropzone.js +0 -271
  306. package/styled-components/cjs/components/Dropzone/Dropzone.styles.js +0 -29
  307. package/styled-components/cjs/components/Dropzone/Dropzone.template-docs.mdx +0 -136
  308. package/styled-components/cjs/components/Dropzone/Dropzone.tokens.js +0 -44
  309. package/styled-components/cjs/components/Dropzone/Dropzone.types.js +0 -5
  310. package/styled-components/cjs/components/Dropzone/index.js +0 -31
  311. package/styled-components/cjs/components/Dropzone/variations/_disabled/base.js +0 -9
  312. package/styled-components/cjs/components/Dropzone/variations/_disabled/tokens.json +0 -4
  313. package/styled-components/cjs/components/Dropzone/variations/_size/base.js +0 -10
  314. package/styled-components/cjs/components/Dropzone/variations/_size/tokens.json +0 -19
  315. package/styled-components/cjs/components/Dropzone/variations/_view/base.js +0 -10
  316. package/styled-components/cjs/components/Dropzone/variations/_view/tokens.json +0 -9
  317. package/styled-components/cjs/components/_Icon/Icon.assets/ArrowBarDown.js +0 -23
  318. package/styled-components/cjs/components/_Icon/Icons/IconArrowBarDown.js +0 -22
  319. package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.config.js +0 -25
  320. package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.js +0 -11
  321. package/styled-components/cjs/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +0 -57
  322. package/styled-components/cjs/examples/plasma_web/components/Dropzone/Dropzone.config.js +0 -25
  323. package/styled-components/cjs/examples/plasma_web/components/Dropzone/Dropzone.js +0 -11
  324. package/styled-components/cjs/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +0 -57
  325. package/styled-components/es/components/Dropzone/Dropzone.js +0 -263
  326. package/styled-components/es/components/Dropzone/Dropzone.styles.js +0 -21
  327. package/styled-components/es/components/Dropzone/Dropzone.template-docs.mdx +0 -136
  328. package/styled-components/es/components/Dropzone/Dropzone.tokens.js +0 -38
  329. package/styled-components/es/components/Dropzone/Dropzone.types.js +0 -1
  330. package/styled-components/es/components/Dropzone/index.js +0 -2
  331. package/styled-components/es/components/Dropzone/variations/_disabled/base.js +0 -3
  332. package/styled-components/es/components/Dropzone/variations/_disabled/tokens.json +0 -4
  333. package/styled-components/es/components/Dropzone/variations/_size/base.js +0 -4
  334. package/styled-components/es/components/Dropzone/variations/_size/tokens.json +0 -19
  335. package/styled-components/es/components/Dropzone/variations/_view/base.js +0 -4
  336. package/styled-components/es/components/Dropzone/variations/_view/tokens.json +0 -9
  337. package/styled-components/es/components/_Icon/Icon.assets/ArrowBarDown.js +0 -16
  338. package/styled-components/es/components/_Icon/Icons/IconArrowBarDown.js +0 -15
  339. package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.config.js +0 -19
  340. package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.js +0 -5
  341. package/styled-components/es/examples/plasma_b2c/components/Dropzone/Dropzone.stories.tsx +0 -57
  342. package/styled-components/es/examples/plasma_web/components/Dropzone/Dropzone.config.js +0 -19
  343. package/styled-components/es/examples/plasma_web/components/Dropzone/Dropzone.js +0 -5
  344. package/styled-components/es/examples/plasma_web/components/Dropzone/Dropzone.stories.tsx +0 -57
  345. package/types/components/Dropzone/Dropzone.d.ts +0 -59
  346. package/types/components/Dropzone/Dropzone.d.ts.map +0 -1
  347. package/types/components/Dropzone/Dropzone.styles.d.ts +0 -9
  348. package/types/components/Dropzone/Dropzone.styles.d.ts.map +0 -1
  349. package/types/components/Dropzone/Dropzone.tokens.d.ts +0 -39
  350. package/types/components/Dropzone/Dropzone.tokens.d.ts.map +0 -1
  351. package/types/components/Dropzone/Dropzone.types.d.ts +0 -77
  352. package/types/components/Dropzone/Dropzone.types.d.ts.map +0 -1
  353. package/types/components/Dropzone/index.d.ts +0 -3
  354. package/types/components/Dropzone/index.d.ts.map +0 -1
  355. package/types/components/Dropzone/variations/_disabled/base.d.ts +0 -2
  356. package/types/components/Dropzone/variations/_disabled/base.d.ts.map +0 -1
  357. package/types/components/Dropzone/variations/_size/base.d.ts +0 -2
  358. package/types/components/Dropzone/variations/_size/base.d.ts.map +0 -1
  359. package/types/components/Dropzone/variations/_view/base.d.ts +0 -2
  360. package/types/components/Dropzone/variations/_view/base.d.ts.map +0 -1
  361. package/types/components/_Icon/Icon.assets/ArrowBarDown.d.ts +0 -4
  362. package/types/components/_Icon/Icon.assets/ArrowBarDown.d.ts.map +0 -1
  363. package/types/components/_Icon/Icons/IconArrowBarDown.d.ts +0 -4
  364. package/types/components/_Icon/Icons/IconArrowBarDown.d.ts.map +0 -1
  365. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.config.d.ts +0 -18
  366. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.config.d.ts.map +0 -1
  367. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.d.ts +0 -29
  368. package/types/examples/plasma_b2c/components/Dropzone/Dropzone.d.ts.map +0 -1
  369. package/types/examples/plasma_web/components/Dropzone/Dropzone.config.d.ts +0 -18
  370. package/types/examples/plasma_web/components/Dropzone/Dropzone.config.d.ts.map +0 -1
  371. package/types/examples/plasma_web/components/Dropzone/Dropzone.d.ts +0 -29
  372. package/types/examples/plasma_web/components/Dropzone/Dropzone.d.ts.map +0 -1
@@ -34,6 +34,10 @@ const meta: Meta<typeof Badge> = {
34
34
  maxWidth: {
35
35
  control: { type: 'text' },
36
36
  },
37
+ text: {
38
+ control: { type: 'text' },
39
+ if: { arg: 'enableText', truthy: true },
40
+ },
37
41
  ...disableProps(['contentLeft', 'contentRight']),
38
42
  },
39
43
  };
@@ -43,6 +47,7 @@ export default meta;
43
47
  type StoryProps = ComponentProps<typeof Badge> & {
44
48
  enableContentLeft: boolean;
45
49
  enableContentRight: boolean;
50
+ enableText: boolean;
46
51
  };
47
52
  type Story = StoryObj<StoryProps>;
48
53
 
@@ -63,13 +68,14 @@ export const Default: Story = {
63
68
  },
64
69
  enableContentRight: {
65
70
  control: { type: 'boolean' },
66
- if: { arg: 'enableContentLeft', truthy: false },
71
+ if: { arg: 'enableText', truthy: true },
67
72
  },
68
73
  },
69
74
  args: {
70
- text: 'Hello Kitty',
71
75
  view: 'default',
72
76
  size: 'm',
77
+ enableText: true,
78
+ text: 'Hello',
73
79
  enableContentLeft: false,
74
80
  enableContentRight: false,
75
81
  clear: false,
@@ -77,13 +83,24 @@ export const Default: Story = {
77
83
  transparent: false,
78
84
  maxWidth: '',
79
85
  },
80
- render: ({ enableContentLeft, enableContentRight, size, ...rest }: StoryProps) => {
81
- const iconSize = size === 'l' ? '1rem' : '0.75rem';
86
+ render: ({ enableContentLeft, enableContentRight, enableText, size, ...rest }: StoryProps) => {
87
+ const iconSize = () => {
88
+ switch (size) {
89
+ case 'l':
90
+ return '1rem';
91
+ case 'xs':
92
+ return '0.625rem';
93
+ default:
94
+ return '0.75rem';
95
+ }
96
+ };
82
97
 
83
98
  return (
84
99
  <Badge
85
- contentLeft={enableContentLeft ? <BellIcon width={iconSize} height={iconSize} /> : undefined}
86
- contentRight={enableContentRight ? <BellIcon width={iconSize} height={iconSize} /> : undefined}
100
+ contentLeft={
101
+ enableContentLeft || !enableText ? <BellIcon width={iconSize()} height={iconSize()} /> : undefined
102
+ }
103
+ contentRight={enableContentRight ? <BellIcon width={iconSize()} height={iconSize()} /> : undefined}
87
104
  size={size}
88
105
  {...rest}
89
106
  />