@salutejs/plasma-new-hope 0.317.0-canary.1888.14214679698.0 → 0.317.0-dev.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 (269) hide show
  1. package/cjs/components/Table/Table.css +22 -24
  2. package/cjs/components/Table/Table.js +16 -11
  3. package/cjs/components/Table/Table.js.map +1 -1
  4. package/cjs/components/Table/Table.styles.js +11 -17
  5. package/cjs/components/Table/Table.styles.js.map +1 -1
  6. package/cjs/components/Table/Table.styles_1eg2zsx.css +11 -0
  7. package/cjs/components/Table/Table.tokens.js +0 -9
  8. package/cjs/components/Table/Table.tokens.js.map +1 -1
  9. package/cjs/components/Table/ui/Cell/Cell.css +22 -24
  10. package/cjs/components/Table/ui/Cell/Cell.js.map +1 -1
  11. package/cjs/components/Table/ui/Cell/Cell.styles.js +1 -1
  12. package/cjs/components/Table/ui/Cell/Cell.styles.js.map +1 -1
  13. package/cjs/components/Table/ui/Cell/Cell.styles_1ikyrwt.css +1 -0
  14. package/cjs/components/Table/ui/EditableCell/EditableCell.css +23 -25
  15. package/cjs/components/Table/ui/EditableCell/EditableCell.js +9 -15
  16. package/cjs/components/Table/ui/EditableCell/EditableCell.js.map +1 -1
  17. package/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +5 -5
  18. package/cjs/components/Table/ui/EditableCell/EditableCell.styles.js.map +1 -1
  19. package/cjs/components/Table/ui/EditableCell/{EditableCell.styles_d8duzc.css → EditableCell.styles_277bjm.css} +2 -2
  20. package/cjs/components/Table/ui/HeadCell/HeadCell.css +22 -24
  21. package/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
  22. package/cjs/components/Table/ui/HeadCell/HeadCell.js.map +1 -1
  23. package/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +1 -7
  24. package/cjs/components/Table/ui/HeadCell/HeadCell.styles.js.map +1 -1
  25. package/{es/components/Table/ui/HeadCell/HeadCell.styles_155gsrn.css → cjs/components/Table/ui/HeadCell/HeadCell.styles_1lo3lcf.css} +0 -1
  26. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +22 -24
  27. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +1 -3
  28. package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js.map +1 -1
  29. package/cjs/engines/linaria.js +4 -2
  30. package/cjs/engines/linaria.js.map +1 -1
  31. package/cjs/index.css +24 -26
  32. package/emotion/cjs/components/Table/Table.js +16 -14
  33. package/emotion/cjs/components/Table/Table.styles.js +16 -20
  34. package/emotion/cjs/components/Table/Table.tokens.js +1 -9
  35. package/emotion/cjs/components/Table/ui/Cell/Cell.styles.js +2 -2
  36. package/emotion/cjs/components/Table/ui/EditableCell/EditableCell.js +9 -15
  37. package/emotion/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +9 -9
  38. package/emotion/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
  39. package/emotion/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +5 -17
  40. package/emotion/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +1 -3
  41. package/emotion/cjs/components/Typography/Typography.template-doc.mdx +16 -0
  42. package/emotion/cjs/examples/plasma_b2c/components/Table/Table.stories.tsx +6 -7
  43. package/emotion/cjs/examples/plasma_web/components/Table/Table.stories.tsx +6 -7
  44. package/emotion/cjs/examples/typography/components/Body/Body.stories.tsx +4 -1
  45. package/emotion/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  46. package/emotion/cjs/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  47. package/emotion/cjs/examples/typography/components/Text/Text.stories.tsx +4 -1
  48. package/emotion/es/components/Table/Table.js +17 -15
  49. package/emotion/es/components/Table/Table.styles.js +15 -19
  50. package/emotion/es/components/Table/Table.tokens.js +0 -8
  51. package/emotion/es/components/Table/ui/Cell/Cell.styles.js +2 -2
  52. package/emotion/es/components/Table/ui/EditableCell/EditableCell.js +9 -15
  53. package/emotion/es/components/Table/ui/EditableCell/EditableCell.styles.js +10 -10
  54. package/emotion/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
  55. package/emotion/es/components/Table/ui/HeadCell/HeadCell.styles.js +4 -16
  56. package/emotion/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +1 -3
  57. package/emotion/es/components/Typography/Typography.template-doc.mdx +16 -0
  58. package/emotion/es/examples/plasma_b2c/components/Table/Table.stories.tsx +6 -7
  59. package/emotion/es/examples/plasma_web/components/Table/Table.stories.tsx +6 -7
  60. package/emotion/es/examples/typography/components/Body/Body.stories.tsx +4 -1
  61. package/emotion/es/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  62. package/emotion/es/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  63. package/emotion/es/examples/typography/components/Text/Text.stories.tsx +4 -1
  64. package/es/components/Table/Table.css +22 -24
  65. package/es/components/Table/Table.js +18 -13
  66. package/es/components/Table/Table.js.map +1 -1
  67. package/es/components/Table/Table.styles.js +12 -17
  68. package/es/components/Table/Table.styles.js.map +1 -1
  69. package/es/components/Table/Table.styles_1eg2zsx.css +11 -0
  70. package/es/components/Table/Table.tokens.js +1 -9
  71. package/es/components/Table/Table.tokens.js.map +1 -1
  72. package/es/components/Table/ui/Cell/Cell.css +22 -24
  73. package/es/components/Table/ui/Cell/Cell.js.map +1 -1
  74. package/es/components/Table/ui/Cell/Cell.styles.js +1 -1
  75. package/es/components/Table/ui/Cell/Cell.styles.js.map +1 -1
  76. package/es/components/Table/ui/Cell/Cell.styles_1ikyrwt.css +1 -0
  77. package/es/components/Table/ui/EditableCell/EditableCell.css +23 -25
  78. package/es/components/Table/ui/EditableCell/EditableCell.js +9 -15
  79. package/es/components/Table/ui/EditableCell/EditableCell.js.map +1 -1
  80. package/es/components/Table/ui/EditableCell/EditableCell.styles.js +5 -5
  81. package/es/components/Table/ui/EditableCell/EditableCell.styles.js.map +1 -1
  82. package/es/components/Table/ui/EditableCell/{EditableCell.styles_d8duzc.css → EditableCell.styles_277bjm.css} +2 -2
  83. package/es/components/Table/ui/HeadCell/HeadCell.css +22 -24
  84. package/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
  85. package/es/components/Table/ui/HeadCell/HeadCell.js.map +1 -1
  86. package/es/components/Table/ui/HeadCell/HeadCell.styles.js +2 -7
  87. package/es/components/Table/ui/HeadCell/HeadCell.styles.js.map +1 -1
  88. package/{cjs/components/Table/ui/HeadCell/HeadCell.styles_155gsrn.css → es/components/Table/ui/HeadCell/HeadCell.styles_1lo3lcf.css} +0 -1
  89. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +22 -24
  90. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +1 -3
  91. package/es/components/Table/ui/HeadCell/ui/Filter/Filter.js.map +1 -1
  92. package/es/engines/linaria.js +4 -2
  93. package/es/engines/linaria.js.map +1 -1
  94. package/es/index.css +24 -26
  95. package/package.json +2 -2
  96. package/styled-components/cjs/components/Table/Table.js +16 -14
  97. package/styled-components/cjs/components/Table/Table.styles.js +10 -13
  98. package/styled-components/cjs/components/Table/Table.tokens.js +1 -9
  99. package/styled-components/cjs/components/Table/ui/Cell/Cell.styles.js +1 -1
  100. package/styled-components/cjs/components/Table/ui/EditableCell/EditableCell.js +9 -15
  101. package/styled-components/cjs/components/Table/ui/EditableCell/EditableCell.styles.js +3 -3
  102. package/styled-components/cjs/components/Table/ui/HeadCell/HeadCell.js +9 -9
  103. package/styled-components/cjs/components/Table/ui/HeadCell/HeadCell.styles.js +2 -5
  104. package/styled-components/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.js +1 -3
  105. package/styled-components/cjs/components/Typography/Typography.template-doc.mdx +16 -0
  106. package/styled-components/cjs/examples/plasma_b2c/components/Table/Table.stories.tsx +6 -7
  107. package/styled-components/cjs/examples/plasma_web/components/Table/Table.stories.tsx +6 -7
  108. package/styled-components/cjs/examples/typography/components/Body/Body.stories.tsx +4 -1
  109. package/styled-components/cjs/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  110. package/styled-components/cjs/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  111. package/styled-components/cjs/examples/typography/components/Text/Text.stories.tsx +4 -1
  112. package/styled-components/es/components/Table/Table.js +17 -15
  113. package/styled-components/es/components/Table/Table.styles.js +9 -12
  114. package/styled-components/es/components/Table/Table.tokens.js +0 -8
  115. package/styled-components/es/components/Table/ui/Cell/Cell.styles.js +1 -1
  116. package/styled-components/es/components/Table/ui/EditableCell/EditableCell.js +9 -15
  117. package/styled-components/es/components/Table/ui/EditableCell/EditableCell.styles.js +4 -4
  118. package/styled-components/es/components/Table/ui/HeadCell/HeadCell.js +10 -10
  119. package/styled-components/es/components/Table/ui/HeadCell/HeadCell.styles.js +1 -4
  120. package/styled-components/es/components/Table/ui/HeadCell/ui/Filter/Filter.js +1 -3
  121. package/styled-components/es/components/Typography/Typography.template-doc.mdx +16 -0
  122. package/styled-components/es/examples/plasma_b2c/components/Table/Table.stories.tsx +6 -7
  123. package/styled-components/es/examples/plasma_web/components/Table/Table.stories.tsx +6 -7
  124. package/styled-components/es/examples/typography/components/Body/Body.stories.tsx +4 -1
  125. package/styled-components/es/examples/typography/components/Dspl/Dspl.stories.tsx +4 -1
  126. package/styled-components/es/examples/typography/components/Heading/Heading.stories.tsx +4 -1
  127. package/styled-components/es/examples/typography/components/Text/Text.stories.tsx +4 -1
  128. package/types/components/Table/Table.d.ts +15 -2
  129. package/types/components/Table/Table.d.ts.map +1 -1
  130. package/types/components/Table/Table.styles.d.ts +0 -1
  131. package/types/components/Table/Table.styles.d.ts.map +1 -1
  132. package/types/components/Table/Table.tokens.d.ts +0 -8
  133. package/types/components/Table/Table.tokens.d.ts.map +1 -1
  134. package/types/components/Table/Table.types.d.ts +1 -11
  135. package/types/components/Table/Table.types.d.ts.map +1 -1
  136. package/types/components/Table/ui/Cell/Cell.d.ts +2 -3
  137. package/types/components/Table/ui/Cell/Cell.d.ts.map +1 -1
  138. package/types/components/Table/ui/EditableCell/EditableCell.d.ts +1 -12
  139. package/types/components/Table/ui/EditableCell/EditableCell.d.ts.map +1 -1
  140. package/types/components/Table/ui/HeadCell/HeadCell.d.ts +1 -11
  141. package/types/components/Table/ui/HeadCell/HeadCell.d.ts.map +1 -1
  142. package/types/components/Table/ui/HeadCell/HeadCell.styles.d.ts +0 -1
  143. package/types/components/Table/ui/HeadCell/HeadCell.styles.d.ts.map +1 -1
  144. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.d.ts +1 -10
  145. package/types/components/Table/ui/HeadCell/ui/Filter/Filter.d.ts.map +1 -1
  146. package/types/components/Typography/Body/Body.d.ts +2 -2
  147. package/types/components/Typography/Body/Body.d.ts.map +1 -1
  148. package/types/components/Typography/Dspl/Dspl.d.ts +2 -2
  149. package/types/components/Typography/Dspl/Dspl.d.ts.map +1 -1
  150. package/types/components/Typography/Heading/Heading.d.ts +2 -2
  151. package/types/components/Typography/Heading/Heading.d.ts.map +1 -1
  152. package/types/components/Typography/Text/Text.d.ts +2 -2
  153. package/types/components/Typography/Text/Text.d.ts.map +1 -1
  154. package/types/components/Typography/Typography.d.ts +1 -1
  155. package/types/components/Typography/Typography.d.ts.map +1 -1
  156. package/types/components/Typography/Typography.types.d.ts +2 -1
  157. package/types/components/Typography/Typography.types.d.ts.map +1 -1
  158. package/cjs/components/Table/Table.styles_xngwgy.css +0 -12
  159. package/cjs/components/Table/ui/Cell/Cell.styles_1q2mjxm.css +0 -1
  160. package/emotion/cjs/examples/typography/components/Old/Body/Body.config.js +0 -20
  161. package/emotion/cjs/examples/typography/components/Old/Body/Body.js +0 -11
  162. package/emotion/cjs/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  163. package/emotion/cjs/examples/typography/components/Old/Button/Button.config.js +0 -19
  164. package/emotion/cjs/examples/typography/components/Old/Button/Button.js +0 -11
  165. package/emotion/cjs/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  166. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.config.js +0 -18
  167. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.js +0 -11
  168. package/emotion/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  169. package/emotion/cjs/examples/typography/components/Old/Display/Display.config.js +0 -20
  170. package/emotion/cjs/examples/typography/components/Old/Display/Display.js +0 -11
  171. package/emotion/cjs/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  172. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +0 -19
  173. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.js +0 -11
  174. package/emotion/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  175. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.config.js +0 -21
  176. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.js +0 -11
  177. package/emotion/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  178. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -19
  179. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +0 -11
  180. package/emotion/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  181. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -18
  182. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +0 -11
  183. package/emotion/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  184. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.config.js +0 -18
  185. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.js +0 -11
  186. package/emotion/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  187. package/emotion/es/examples/typography/components/Old/Body/Body.config.js +0 -14
  188. package/emotion/es/examples/typography/components/Old/Body/Body.js +0 -5
  189. package/emotion/es/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  190. package/emotion/es/examples/typography/components/Old/Button/Button.config.js +0 -13
  191. package/emotion/es/examples/typography/components/Old/Button/Button.js +0 -5
  192. package/emotion/es/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  193. package/emotion/es/examples/typography/components/Old/Caption/Caption.config.js +0 -12
  194. package/emotion/es/examples/typography/components/Old/Caption/Caption.js +0 -5
  195. package/emotion/es/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  196. package/emotion/es/examples/typography/components/Old/Display/Display.config.js +0 -14
  197. package/emotion/es/examples/typography/components/Old/Display/Display.js +0 -5
  198. package/emotion/es/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  199. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.config.js +0 -13
  200. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.js +0 -5
  201. package/emotion/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  202. package/emotion/es/examples/typography/components/Old/Headline/Headline.config.js +0 -15
  203. package/emotion/es/examples/typography/components/Old/Headline/Headline.js +0 -5
  204. package/emotion/es/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  205. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -13
  206. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.js +0 -5
  207. package/emotion/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  208. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -12
  209. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.js +0 -5
  210. package/emotion/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  211. package/emotion/es/examples/typography/components/Old/Underline/Underline.config.js +0 -12
  212. package/emotion/es/examples/typography/components/Old/Underline/Underline.js +0 -5
  213. package/emotion/es/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  214. package/es/components/Table/Table.styles_xngwgy.css +0 -12
  215. package/es/components/Table/ui/Cell/Cell.styles_1q2mjxm.css +0 -1
  216. package/styled-components/cjs/examples/typography/components/Old/Body/Body.config.js +0 -20
  217. package/styled-components/cjs/examples/typography/components/Old/Body/Body.js +0 -11
  218. package/styled-components/cjs/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  219. package/styled-components/cjs/examples/typography/components/Old/Button/Button.config.js +0 -19
  220. package/styled-components/cjs/examples/typography/components/Old/Button/Button.js +0 -11
  221. package/styled-components/cjs/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  222. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.config.js +0 -18
  223. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.js +0 -11
  224. package/styled-components/cjs/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  225. package/styled-components/cjs/examples/typography/components/Old/Display/Display.config.js +0 -20
  226. package/styled-components/cjs/examples/typography/components/Old/Display/Display.js +0 -11
  227. package/styled-components/cjs/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  228. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.config.js +0 -19
  229. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.js +0 -11
  230. package/styled-components/cjs/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  231. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.config.js +0 -21
  232. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.js +0 -11
  233. package/styled-components/cjs/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  234. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -19
  235. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.js +0 -11
  236. package/styled-components/cjs/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  237. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -18
  238. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.js +0 -11
  239. package/styled-components/cjs/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  240. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.config.js +0 -18
  241. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.js +0 -11
  242. package/styled-components/cjs/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
  243. package/styled-components/es/examples/typography/components/Old/Body/Body.config.js +0 -14
  244. package/styled-components/es/examples/typography/components/Old/Body/Body.js +0 -5
  245. package/styled-components/es/examples/typography/components/Old/Body/Body.stories.tsx +0 -40
  246. package/styled-components/es/examples/typography/components/Old/Button/Button.config.js +0 -13
  247. package/styled-components/es/examples/typography/components/Old/Button/Button.js +0 -5
  248. package/styled-components/es/examples/typography/components/Old/Button/Button.stories.tsx +0 -40
  249. package/styled-components/es/examples/typography/components/Old/Caption/Caption.config.js +0 -12
  250. package/styled-components/es/examples/typography/components/Old/Caption/Caption.js +0 -5
  251. package/styled-components/es/examples/typography/components/Old/Caption/Caption.stories.tsx +0 -40
  252. package/styled-components/es/examples/typography/components/Old/Display/Display.config.js +0 -14
  253. package/styled-components/es/examples/typography/components/Old/Display/Display.js +0 -5
  254. package/styled-components/es/examples/typography/components/Old/Display/Display.stories.tsx +0 -40
  255. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.config.js +0 -13
  256. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.js +0 -5
  257. package/styled-components/es/examples/typography/components/Old/Footnote/Footnote.stories.tsx +0 -40
  258. package/styled-components/es/examples/typography/components/Old/Headline/Headline.config.js +0 -15
  259. package/styled-components/es/examples/typography/components/Old/Headline/Headline.js +0 -5
  260. package/styled-components/es/examples/typography/components/Old/Headline/Headline.stories.tsx +0 -40
  261. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.config.js +0 -13
  262. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.js +0 -5
  263. package/styled-components/es/examples/typography/components/Old/Paragraph/Paragraph.stories.tsx +0 -42
  264. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.config.js +0 -12
  265. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.js +0 -5
  266. package/styled-components/es/examples/typography/components/Old/Subtitle/Subtitle.stories.tsx +0 -39
  267. package/styled-components/es/examples/typography/components/Old/Underline/Underline.config.js +0 -12
  268. package/styled-components/es/examples/typography/components/Old/Underline/Underline.js +0 -5
  269. package/styled-components/es/examples/typography/components/Old/Underline/Underline.stories.tsx +0 -40
@@ -9,7 +9,7 @@ import { Dspl } from './Dspl';
9
9
  import { config } from './Dspl.config';
10
10
 
11
11
  const meta: Meta<typeof Dspl> = {
12
- title: 'Data Display/Typography/Dspl',
12
+ title: 'typography/Dspl',
13
13
  decorators: [WithTheme],
14
14
  component: Dspl,
15
15
  argTypes: {
@@ -19,6 +19,9 @@ const meta: Meta<typeof Dspl> = {
19
19
  type: 'color',
20
20
  },
21
21
  },
22
+ as: {
23
+ control: 'text',
24
+ },
22
25
  },
23
26
  args: {
24
27
  noWrap: false,
@@ -9,7 +9,7 @@ import { Heading } from './Heading';
9
9
  import { config } from './Heading.config';
10
10
 
11
11
  const meta: Meta<typeof Heading> = {
12
- title: 'Data Display/Typography/Heading',
12
+ title: 'typography/Heading',
13
13
  decorators: [WithTheme],
14
14
  component: Heading,
15
15
  argTypes: {
@@ -19,6 +19,9 @@ const meta: Meta<typeof Heading> = {
19
19
  type: 'color',
20
20
  },
21
21
  },
22
+ as: {
23
+ control: 'text',
24
+ },
22
25
  },
23
26
  args: {
24
27
  noWrap: false,
@@ -9,7 +9,7 @@ import { Text } from './Text';
9
9
  import { config } from './Text.config';
10
10
 
11
11
  const meta: Meta<typeof Text> = {
12
- title: 'Data Display/Typography/Text',
12
+ title: 'typography/Text',
13
13
  decorators: [WithTheme],
14
14
  component: Text,
15
15
  argTypes: {
@@ -19,6 +19,9 @@ const meta: Meta<typeof Text> = {
19
19
  type: 'color',
20
20
  },
21
21
  },
22
+ as: {
23
+ control: 'text',
24
+ },
22
25
  },
23
26
  args: {
24
27
  noWrap: false,
@@ -1,5 +1,3 @@
1
- var _excluded = ["data", "onChange", "columns", "view", "size", "borderVariant", "enableSelection", "selected", "filtered", "sorted", "maxHeight", "stickyHeader", "onCellUpdate"];
2
- 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); }
3
1
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
4
2
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
3
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
@@ -10,14 +8,12 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
10
8
  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; }
11
9
  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; } }
12
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
13
- 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; }
14
- 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; }
15
11
  import React, { forwardRef, useState, useMemo, useRef } from 'react';
16
12
  import { getCoreRowModel, useReactTable, getSortedRowModel, getFilteredRowModel } from '@tanstack/react-table';
17
13
  import { useForkRef } from '@salutejs/plasma-core';
18
14
  import { HeadCell, Cell, EditableCell } from './ui';
19
- import { base, Table, Tr, Thead, StyledCheckbox, Tbody } from './Table.styles';
20
- export var SELECT_COLUMN_ID = 'SELECT_COLUMN_UNIQUE_ID';
15
+ import { base, Table, Tr, Thead, StyledCheckbox } from './Table.styles';
16
+ export var SELECT_COLUMN_ID = 'select#65768756432';
21
17
  export var tableRoot = function tableRoot(Root) {
22
18
  return /*#__PURE__*/forwardRef(function (_ref, ref) {
23
19
  var data = _ref.data,
@@ -33,8 +29,7 @@ export var tableRoot = function tableRoot(Root) {
33
29
  outerSorted = _ref.sorted,
34
30
  maxHeight = _ref.maxHeight,
35
31
  stickyHeader = _ref.stickyHeader,
36
- onCellUpdate = _ref.onCellUpdate,
37
- props = _objectWithoutProperties(_ref, _excluded);
32
+ onCellUpdate = _ref.onCellUpdate;
38
33
  var _useState = useState(outerSelected || {}),
39
34
  _useState2 = _slicedToArray(_useState, 2),
40
35
  innerSelected = _useState2[0],
@@ -128,10 +123,17 @@ export var tableRoot = function tableRoot(Root) {
128
123
  enableSorting: enableSorting,
129
124
  enableResizing: enableResizing,
130
125
  filterFn: function filterFn(row, columnId, filterArr) {
131
- if ((filterArr === null || filterArr === void 0 ? void 0 : filterArr.length) !== 0 && outerFilterFn && filterArr && Array.isArray(filterArr)) {
132
- return filterArr.some(function (filterValue) {
133
- return outerFilterFn(filterValue, row.getValue(columnId));
134
- });
126
+ if (outerFilterFn && filterArr && Array.isArray(filterArr)) {
127
+ if (filterArr.length === 0) {
128
+ return true;
129
+ }
130
+ for (var i = 0; i < filterArr.length; i++) {
131
+ var filterValue = filterArr[i];
132
+ if (outerFilterFn(filterValue, row.getValue(columnId))) {
133
+ return true;
134
+ }
135
+ }
136
+ return false;
135
137
  }
136
138
  return true;
137
139
  },
@@ -172,7 +174,7 @@ export var tableRoot = function tableRoot(Root) {
172
174
  }
173
175
  }
174
176
  });
175
- return /*#__PURE__*/React.createElement(Root, _extends({
177
+ return /*#__PURE__*/React.createElement(Root, {
176
178
  ref: rootRef,
177
179
  data: data,
178
180
  columns: columns,
@@ -181,7 +183,7 @@ export var tableRoot = function tableRoot(Root) {
181
183
  style: {
182
184
  maxHeight: maxHeight || 'none'
183
185
  }
184
- }, props), /*#__PURE__*/React.createElement(Table, {
186
+ }, /*#__PURE__*/React.createElement(Table, {
185
187
  borderVariant: borderVariant,
186
188
  stickyHeader: stickyHeader
187
189
  }, /*#__PURE__*/React.createElement(Thead, {
@@ -201,7 +203,7 @@ export var tableRoot = function tableRoot(Root) {
201
203
  tableContainerRef: tableContainerRef
202
204
  });
203
205
  }));
204
- })), /*#__PURE__*/React.createElement(Tbody, null, table.getRowModel().rows.map(function (row) {
206
+ })), /*#__PURE__*/React.createElement("tbody", null, table.getRowModel().rows.map(function (row) {
205
207
  return /*#__PURE__*/React.createElement(Tr, {
206
208
  key: row.id,
207
209
  selected: row.getIsSelected()