@salutejs/plasma-new-hope 0.316.0-canary.1877.14207597686.0 → 0.316.0-canary.1880.14207590539.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -52
  2. package/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  3. package/cjs/components/Checkbox/Checkbox.css +10 -10
  4. package/cjs/components/Checkbox/Checkbox.js +2 -2
  5. package/cjs/components/Checkbox/Checkbox.js.map +1 -1
  6. package/cjs/components/Checkbox/Checkbox.styles.js +1 -1
  7. package/cjs/components/Checkbox/Checkbox.styles.js.map +1 -1
  8. package/cjs/components/Checkbox/{Checkbox.styles_1dv1w6k.css → Checkbox.styles_rxomqi.css} +1 -1
  9. package/cjs/components/Checkbox/Checkbox.tokens.js +0 -2
  10. package/cjs/components/Checkbox/Checkbox.tokens.js.map +1 -1
  11. package/cjs/components/Checkbox/variations/_focused/base.js +1 -1
  12. package/cjs/components/Checkbox/variations/_focused/base.js.map +1 -1
  13. package/{es/components/Checkbox/variations/_focused/base_x86p0b.css → cjs/components/Checkbox/variations/_focused/base_hr4zpz.css} +1 -1
  14. package/cjs/components/Checkbox/variations/_view/base.js +1 -1
  15. package/cjs/components/Checkbox/variations/_view/base.js.map +1 -1
  16. package/cjs/components/Checkbox/variations/_view/base_1xk2qu8.css +1 -0
  17. package/cjs/components/Combobox/ComboboxNew/Combobox.css +22 -22
  18. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
  19. package/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  20. package/cjs/components/Combobox/ComboboxNew/ui/Inner/Inner.css +22 -22
  21. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +15 -15
  22. package/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  23. package/{es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1fy6e2z.css → cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1cijcra.css} +1 -1
  24. package/cjs/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.css +22 -22
  25. package/cjs/components/Pagination/Pagination.css +19 -19
  26. package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +19 -19
  27. package/cjs/components/Radiobox/Radiobox.css +11 -11
  28. package/cjs/components/Radiobox/Radiobox.styles.js +1 -1
  29. package/cjs/components/Radiobox/Radiobox.styles.js.map +1 -1
  30. package/cjs/components/Radiobox/{Radiobox.styles_1u9zve5.css → Radiobox.styles_8cwqg9.css} +1 -1
  31. package/cjs/components/Radiobox/Radiobox.tokens.js +0 -2
  32. package/cjs/components/Radiobox/Radiobox.tokens.js.map +1 -1
  33. package/cjs/components/Radiobox/variations/_view/base.js +1 -1
  34. package/cjs/components/Radiobox/variations/_view/base.js.map +1 -1
  35. package/cjs/components/Radiobox/variations/_view/base_11n1fn3.css +1 -0
  36. package/cjs/components/Select/Select.css +19 -19
  37. package/cjs/components/Select/Select.tokens.js +0 -2
  38. package/cjs/components/Select/Select.tokens.js.map +1 -1
  39. package/cjs/components/Select/ui/Inner/Inner.css +19 -19
  40. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +15 -15
  41. package/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  42. package/cjs/components/Select/ui/Inner/ui/Item/{Item.styles_1gk72bp.css → Item.styles_nvzopo.css} +1 -1
  43. package/cjs/components/Select/ui/VirtualList/VirtualList.css +19 -19
  44. package/cjs/components/Table/Table.css +19 -19
  45. package/cjs/components/Table/ui/Cell/Cell.css +19 -19
  46. package/cjs/components/Table/ui/EditableCell/EditableCell.css +19 -19
  47. package/cjs/components/Table/ui/HeadCell/HeadCell.css +19 -19
  48. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +19 -19
  49. package/cjs/index.css +33 -33
  50. package/cjs/index.js +0 -2
  51. package/cjs/index.js.map +1 -1
  52. package/cjs/utils/index.js.map +1 -1
  53. package/emotion/cjs/components/Checkbox/Checkbox.js +2 -2
  54. package/emotion/cjs/components/Checkbox/Checkbox.styles.js +8 -8
  55. package/emotion/cjs/components/Checkbox/Checkbox.template-doc.mdx +13 -0
  56. package/emotion/cjs/components/Checkbox/Checkbox.tokens.js +0 -2
  57. package/emotion/cjs/components/Checkbox/variations/_focused/base.js +2 -2
  58. package/emotion/cjs/components/Checkbox/variations/_view/base.js +1 -1
  59. package/emotion/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
  60. package/emotion/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +13 -13
  61. package/emotion/cjs/components/Radiobox/Radiobox.styles.js +3 -3
  62. package/emotion/cjs/components/Radiobox/Radiobox.tokens.js +0 -2
  63. package/emotion/cjs/components/Radiobox/variations/_view/base.js +1 -1
  64. package/emotion/cjs/components/Select/Select.tokens.js +0 -2
  65. package/emotion/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +11 -11
  66. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +13 -12
  67. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.js +3 -14
  68. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -8
  69. package/emotion/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +15 -15
  70. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +12 -12
  71. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.js +3 -14
  72. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +2 -13
  73. package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +24 -24
  74. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +13 -12
  75. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.js +3 -14
  76. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -8
  77. package/emotion/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +15 -15
  78. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.config.js +12 -12
  79. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.js +3 -14
  80. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +2 -13
  81. package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +24 -24
  82. package/emotion/cjs/utils/index.js +0 -8
  83. package/emotion/es/components/Checkbox/Checkbox.js +2 -2
  84. package/emotion/es/components/Checkbox/Checkbox.styles.js +8 -8
  85. package/emotion/es/components/Checkbox/Checkbox.template-doc.mdx +13 -0
  86. package/emotion/es/components/Checkbox/Checkbox.tokens.js +0 -2
  87. package/emotion/es/components/Checkbox/variations/_focused/base.js +2 -2
  88. package/emotion/es/components/Checkbox/variations/_view/base.js +1 -1
  89. package/emotion/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
  90. package/emotion/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +13 -13
  91. package/emotion/es/components/Radiobox/Radiobox.styles.js +3 -3
  92. package/emotion/es/components/Radiobox/Radiobox.tokens.js +0 -2
  93. package/emotion/es/components/Radiobox/variations/_view/base.js +1 -1
  94. package/emotion/es/components/Select/Select.tokens.js +0 -2
  95. package/emotion/es/components/Select/ui/Inner/ui/Item/Item.styles.js +11 -11
  96. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +13 -12
  97. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.js +2 -13
  98. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -8
  99. package/emotion/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +15 -15
  100. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +12 -12
  101. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.js +2 -13
  102. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +2 -13
  103. package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +24 -24
  104. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +13 -12
  105. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.js +2 -13
  106. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -8
  107. package/emotion/es/examples/plasma_web/components/Combobox/Combobox.config.js +15 -15
  108. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.config.js +12 -12
  109. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.js +2 -13
  110. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +2 -13
  111. package/emotion/es/examples/plasma_web/components/Select/Select.config.js +24 -24
  112. package/emotion/es/utils/index.js +0 -1
  113. package/es/_virtual/_rollupPluginBabelHelpers.js +1 -52
  114. package/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
  115. package/es/components/Checkbox/Checkbox.css +10 -10
  116. package/es/components/Checkbox/Checkbox.js +2 -2
  117. package/es/components/Checkbox/Checkbox.js.map +1 -1
  118. package/es/components/Checkbox/Checkbox.styles.js +1 -1
  119. package/es/components/Checkbox/Checkbox.styles.js.map +1 -1
  120. package/es/components/Checkbox/{Checkbox.styles_1dv1w6k.css → Checkbox.styles_rxomqi.css} +1 -1
  121. package/es/components/Checkbox/Checkbox.tokens.js +0 -2
  122. package/es/components/Checkbox/Checkbox.tokens.js.map +1 -1
  123. package/es/components/Checkbox/variations/_focused/base.js +1 -1
  124. package/es/components/Checkbox/variations/_focused/base.js.map +1 -1
  125. package/{cjs/components/Checkbox/variations/_focused/base_x86p0b.css → es/components/Checkbox/variations/_focused/base_hr4zpz.css} +1 -1
  126. package/es/components/Checkbox/variations/_view/base.js +1 -1
  127. package/es/components/Checkbox/variations/_view/base.js.map +1 -1
  128. package/es/components/Checkbox/variations/_view/base_1xk2qu8.css +1 -0
  129. package/es/components/Combobox/ComboboxNew/Combobox.css +22 -22
  130. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
  131. package/es/components/Combobox/ComboboxNew/Combobox.tokens.js.map +1 -1
  132. package/es/components/Combobox/ComboboxNew/ui/Inner/Inner.css +22 -22
  133. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +15 -15
  134. package/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  135. package/{cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1fy6e2z.css → es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles_1cijcra.css} +1 -1
  136. package/es/components/Combobox/ComboboxNew/ui/VirtualList/VirtualList.css +22 -22
  137. package/es/components/Pagination/Pagination.css +19 -19
  138. package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +19 -19
  139. package/es/components/Radiobox/Radiobox.css +11 -11
  140. package/es/components/Radiobox/Radiobox.styles.js +1 -1
  141. package/es/components/Radiobox/Radiobox.styles.js.map +1 -1
  142. package/es/components/Radiobox/{Radiobox.styles_1u9zve5.css → Radiobox.styles_8cwqg9.css} +1 -1
  143. package/es/components/Radiobox/Radiobox.tokens.js +0 -2
  144. package/es/components/Radiobox/Radiobox.tokens.js.map +1 -1
  145. package/es/components/Radiobox/variations/_view/base.js +1 -1
  146. package/es/components/Radiobox/variations/_view/base.js.map +1 -1
  147. package/es/components/Radiobox/variations/_view/base_11n1fn3.css +1 -0
  148. package/es/components/Select/Select.css +19 -19
  149. package/es/components/Select/Select.tokens.js +0 -2
  150. package/es/components/Select/Select.tokens.js.map +1 -1
  151. package/es/components/Select/ui/Inner/Inner.css +19 -19
  152. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js +15 -15
  153. package/es/components/Select/ui/Inner/ui/Item/Item.styles.js.map +1 -1
  154. package/es/components/Select/ui/Inner/ui/Item/{Item.styles_1gk72bp.css → Item.styles_nvzopo.css} +1 -1
  155. package/es/components/Select/ui/VirtualList/VirtualList.css +19 -19
  156. package/es/components/Table/Table.css +19 -19
  157. package/es/components/Table/ui/Cell/Cell.css +19 -19
  158. package/es/components/Table/ui/EditableCell/EditableCell.css +19 -19
  159. package/es/components/Table/ui/HeadCell/HeadCell.css +19 -19
  160. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +19 -19
  161. package/es/index.css +33 -33
  162. package/es/index.js +0 -1
  163. package/es/index.js.map +1 -1
  164. package/es/utils/index.js.map +1 -1
  165. package/package.json +2 -2
  166. package/styled-components/cjs/components/Checkbox/Checkbox.js +2 -2
  167. package/styled-components/cjs/components/Checkbox/Checkbox.styles.js +1 -1
  168. package/styled-components/cjs/components/Checkbox/Checkbox.template-doc.mdx +13 -0
  169. package/styled-components/cjs/components/Checkbox/Checkbox.tokens.js +0 -2
  170. package/styled-components/cjs/components/Checkbox/variations/_focused/base.js +1 -1
  171. package/styled-components/cjs/components/Checkbox/variations/_view/base.js +1 -1
  172. package/styled-components/cjs/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
  173. package/styled-components/cjs/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  174. package/styled-components/cjs/components/Radiobox/Radiobox.styles.js +1 -1
  175. package/styled-components/cjs/components/Radiobox/Radiobox.tokens.js +0 -2
  176. package/styled-components/cjs/components/Radiobox/variations/_view/base.js +1 -1
  177. package/styled-components/cjs/components/Select/Select.tokens.js +0 -2
  178. package/styled-components/cjs/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -1
  179. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +11 -10
  180. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.js +3 -14
  181. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -8
  182. package/styled-components/cjs/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  183. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +10 -10
  184. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.js +3 -14
  185. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +2 -13
  186. package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +4 -4
  187. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.config.js +11 -10
  188. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.js +3 -14
  189. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -8
  190. package/styled-components/cjs/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  191. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.config.js +10 -10
  192. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.js +3 -14
  193. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +2 -13
  194. package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +4 -4
  195. package/styled-components/cjs/utils/index.js +0 -8
  196. package/styled-components/es/components/Checkbox/Checkbox.js +2 -2
  197. package/styled-components/es/components/Checkbox/Checkbox.styles.js +1 -1
  198. package/styled-components/es/components/Checkbox/Checkbox.template-doc.mdx +13 -0
  199. package/styled-components/es/components/Checkbox/Checkbox.tokens.js +0 -2
  200. package/styled-components/es/components/Checkbox/variations/_focused/base.js +1 -1
  201. package/styled-components/es/components/Checkbox/variations/_view/base.js +1 -1
  202. package/styled-components/es/components/Combobox/ComboboxNew/Combobox.tokens.js +0 -2
  203. package/styled-components/es/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.js +1 -1
  204. package/styled-components/es/components/Radiobox/Radiobox.styles.js +1 -1
  205. package/styled-components/es/components/Radiobox/Radiobox.tokens.js +0 -2
  206. package/styled-components/es/components/Radiobox/variations/_view/base.js +1 -1
  207. package/styled-components/es/components/Select/Select.tokens.js +0 -2
  208. package/styled-components/es/components/Select/ui/Inner/ui/Item/Item.styles.js +1 -1
  209. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.config.js +11 -10
  210. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.js +2 -13
  211. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.stories.tsx +1 -8
  212. package/styled-components/es/examples/plasma_b2c/components/Combobox/Combobox.config.js +4 -4
  213. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.config.js +10 -10
  214. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.js +2 -13
  215. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.stories.tsx +2 -13
  216. package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +4 -4
  217. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.config.js +11 -10
  218. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.js +2 -13
  219. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.stories.tsx +1 -8
  220. package/styled-components/es/examples/plasma_web/components/Combobox/Combobox.config.js +4 -4
  221. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.config.js +10 -10
  222. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.js +2 -13
  223. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.stories.tsx +2 -13
  224. package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +4 -4
  225. package/styled-components/es/utils/index.js +0 -1
  226. package/types/components/Checkbox/Checkbox.tokens.d.ts +0 -2
  227. package/types/components/Checkbox/Checkbox.tokens.d.ts.map +1 -1
  228. package/types/components/Checkbox/variations/_view/base.d.ts.map +1 -1
  229. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts +0 -2
  230. package/types/components/Combobox/ComboboxNew/Combobox.tokens.d.ts.map +1 -1
  231. package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  232. package/types/components/Radiobox/Radiobox.styles.d.ts.map +1 -1
  233. package/types/components/Radiobox/Radiobox.tokens.d.ts +0 -2
  234. package/types/components/Radiobox/Radiobox.tokens.d.ts.map +1 -1
  235. package/types/components/Radiobox/variations/_view/base.d.ts.map +1 -1
  236. package/types/components/Select/Select.tokens.d.ts +0 -2
  237. package/types/components/Select/Select.tokens.d.ts.map +1 -1
  238. package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts.map +1 -1
  239. package/types/utils/index.d.ts +0 -1
  240. package/types/utils/index.d.ts.map +1 -1
  241. package/cjs/components/Checkbox/variations/_view/base_tj850e.css +0 -1
  242. package/cjs/components/Radiobox/variations/_view/base_1f50j99.css +0 -1
  243. package/cjs/utils/createConditionalComponent.js +0 -41
  244. package/cjs/utils/createConditionalComponent.js.map +0 -1
  245. package/emotion/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +0 -47
  246. package/emotion/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +0 -49
  247. package/emotion/cjs/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +0 -47
  248. package/emotion/cjs/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +0 -49
  249. package/emotion/cjs/utils/createConditionalComponent.js +0 -38
  250. package/emotion/es/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +0 -41
  251. package/emotion/es/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +0 -43
  252. package/emotion/es/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +0 -41
  253. package/emotion/es/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +0 -43
  254. package/emotion/es/utils/createConditionalComponent.js +0 -31
  255. package/es/components/Checkbox/variations/_view/base_tj850e.css +0 -1
  256. package/es/components/Radiobox/variations/_view/base_1f50j99.css +0 -1
  257. package/es/utils/createConditionalComponent.js +0 -33
  258. package/es/utils/createConditionalComponent.js.map +0 -1
  259. package/styled-components/cjs/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +0 -47
  260. package/styled-components/cjs/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +0 -49
  261. package/styled-components/cjs/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +0 -47
  262. package/styled-components/cjs/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +0 -49
  263. package/styled-components/cjs/utils/createConditionalComponent.js +0 -38
  264. package/styled-components/es/examples/plasma_b2c/components/Checkbox/Checkbox.outline.config.js +0 -41
  265. package/styled-components/es/examples/plasma_b2c/components/Radiobox/Radiobox.outline.config.js +0 -43
  266. package/styled-components/es/examples/plasma_web/components/Checkbox/Checkbox.outline.config.js +0 -41
  267. package/styled-components/es/examples/plasma_web/components/Radiobox/Radiobox.outline.config.js +0 -43
  268. package/styled-components/es/utils/createConditionalComponent.js +0 -31
  269. package/types/utils/createConditionalComponent.d.ts +0 -12
  270. package/types/utils/createConditionalComponent.d.ts.map +0 -1
@@ -1,16 +1,5 @@
1
1
  import { radioboxConfig } from '../../../../components/Radiobox';
2
2
  import { component, mergeConfig } from '../../../../engines';
3
- import { createConditionalComponent } from '../../../../utils/createConditionalComponent';
4
3
  import { config } from './Radiobox.config';
5
- import { config as outlineConfig } from './Radiobox.outline.config';
6
- var mergedConfigDefault = /*#__PURE__*/mergeConfig(radioboxConfig, config);
7
- export var RadioboxDefalut = /*#__PURE__*/component(mergedConfigDefault);
8
- var mergedConfigOutline = /*#__PURE__*/mergeConfig(radioboxConfig, outlineConfig);
9
- export var RadioboxOutline = /*#__PURE__*/component(mergedConfigOutline);
10
- export var Radiobox = /*#__PURE__*/createConditionalComponent(RadioboxDefalut, [{
11
- conditions: {
12
- prop: 'appearance',
13
- value: 'outline'
14
- },
15
- component: RadioboxOutline
16
- }]);
4
+ var mergedConfig = /*#__PURE__*/mergeConfig(radioboxConfig, config);
5
+ export var Radiobox = /*#__PURE__*/component(mergedConfig);
@@ -30,19 +30,12 @@ const meta: Meta<typeof Radiobox> = {
30
30
  type: 'radio',
31
31
  },
32
32
  },
33
- appearance: {
34
- options: ['default', 'outline'],
35
- control: {
36
- type: 'radio',
37
- },
38
- },
39
33
  },
40
34
  args: {
41
35
  view: 'accent',
42
36
  size: 'm',
43
37
  disabled: false,
44
38
  focused: true,
45
- appearance: 'default',
46
39
  },
47
40
  };
48
41
 
@@ -112,7 +105,7 @@ export const LongText: StoryObj<RadioboxProps> = {
112
105
  render: (args) => <StoryDefault {...args} />,
113
106
  };
114
107
 
115
- const StoryRadioGroup = ({ appearance, ...props }) => {
108
+ const StoryRadioGroup = () => {
116
109
  const [value, setValue] = useState('c');
117
110
 
118
111
  return (
@@ -129,7 +122,6 @@ const StoryRadioGroup = ({ appearance, ...props }) => {
129
122
  disabled={item.disabled}
130
123
  checked={value[item.value]}
131
124
  description={item.description}
132
- appearance={appearance}
133
125
  onChange={(event) => {
134
126
  setValue(item.value);
135
127
  onChange(event);
@@ -143,8 +135,5 @@ const StoryRadioGroup = ({ appearance, ...props }) => {
143
135
  };
144
136
 
145
137
  export const ExampleRadioGroup: StoryObj<RadioboxProps> = {
146
- args: {
147
- appearance: 'default',
148
- },
149
- render: (args) => <StoryRadioGroup {...args} />,
138
+ render: () => <StoryRadioGroup />,
150
139
  };