@max-ts/components 0.0.2 → 0.1.1

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 (216) hide show
  1. package/.storybook/main.ts +14 -14
  2. package/.turbo/turbo-build.log +11 -493
  3. package/.turbo/turbo-type$colon$check.log +1 -756
  4. package/CHANGELOG.md +12 -0
  5. package/dist/components/Autocomplete/styles.d.ts +1 -1
  6. package/dist/components/Button/Button.d.ts +4 -4
  7. package/dist/components/Button/useLogic/useLogic.d.ts +1 -1
  8. package/dist/components/ConfirmDialog/ConfirmDialog.d.ts +37 -0
  9. package/dist/components/ConfirmDialog/index.d.ts +1 -0
  10. package/dist/components/ConfirmDialog/styles.d.ts +9 -0
  11. package/dist/components/ConfirmDialog/useLogic/index.d.ts +1 -0
  12. package/dist/components/ConfirmDialog/useLogic/useLogic.d.ts +10 -0
  13. package/dist/components/DataGrid/Row/NestedChildren/styles.d.ts +1 -1
  14. package/dist/components/DataGrid/Row/styles.d.ts +1 -1
  15. package/dist/components/DropdownButton/DropdownButton.d.ts +9 -0
  16. package/dist/components/DropdownButton/index.d.ts +1 -0
  17. package/dist/components/Filename/Filename.d.ts +21 -0
  18. package/dist/components/Filename/index.d.ts +1 -0
  19. package/dist/components/Filename/styles.d.ts +17 -0
  20. package/dist/components/Filename/useLogic/index.d.ts +1 -0
  21. package/dist/components/Filename/useLogic/useLogic.d.ts +16 -0
  22. package/dist/components/Filename/useLogic/utils/findExtension/constants.d.ts +1 -0
  23. package/dist/components/Filename/useLogic/utils/findExtension/findExtension.d.ts +1 -0
  24. package/dist/components/Filename/useLogic/utils/findExtension/index.d.ts +1 -0
  25. package/dist/components/Filename/useLogic/utils/index.d.ts +1 -0
  26. package/dist/components/Filename/useLogic/utils/truncateString/constants.d.ts +1 -0
  27. package/dist/components/Filename/useLogic/utils/truncateString/index.d.ts +1 -0
  28. package/dist/components/Filename/useLogic/utils/truncateString/truncateString.d.ts +4 -0
  29. package/dist/components/FormLabel/FormLabel.d.ts +4 -0
  30. package/dist/components/FormLabel/index.d.ts +1 -0
  31. package/dist/components/FormLabel/styles.d.ts +1 -0
  32. package/dist/components/IconButton/IconButton.d.ts +2 -2
  33. package/dist/components/IconButton/styles.d.ts +2 -2
  34. package/dist/components/ListItemButton/ListItemButton.d.ts +2 -2
  35. package/dist/components/MenuItem/MenuItem.d.ts +1 -1
  36. package/dist/components/MenuList/types.d.ts +2 -2
  37. package/dist/components/NavMenu/Item/ItemButton/ItemButton.d.ts +1 -1
  38. package/dist/components/NavMenu/Item/ItemButton/styles.d.ts +1 -1
  39. package/dist/components/ProgressBar/ProgressBar.d.ts +12 -0
  40. package/dist/components/ProgressBar/index.d.ts +1 -0
  41. package/dist/components/Radio/Icon/Icon.d.ts +6 -0
  42. package/dist/components/Radio/Icon/index.d.ts +1 -0
  43. package/dist/components/Radio/Radio.d.ts +9 -0
  44. package/dist/components/Radio/constants.d.ts +8 -0
  45. package/dist/components/Radio/index.d.ts +1 -0
  46. package/dist/components/Radio/styles.d.ts +5 -0
  47. package/dist/components/RadioField/RadioField.d.ts +25 -0
  48. package/dist/components/RadioField/index.d.ts +1 -0
  49. package/dist/components/RadioField/styles.d.ts +2 -0
  50. package/dist/components/RadioGroup/RadioGroup.d.ts +30 -0
  51. package/dist/components/RadioGroup/RadioGroupContext/RadioGroupContext.d.ts +4 -0
  52. package/dist/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.d.ts +6 -0
  53. package/dist/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/index.d.ts +1 -0
  54. package/dist/components/RadioGroup/RadioGroupContext/index.d.ts +2 -0
  55. package/dist/components/RadioGroup/index.d.ts +2 -0
  56. package/dist/components/RadioGroupField/RadioGroupField.d.ts +8 -0
  57. package/dist/components/RadioGroupField/index.d.ts +1 -0
  58. package/dist/components/SearchField/styles.d.ts +1 -1
  59. package/dist/components/Select/styles.d.ts +2 -2
  60. package/dist/components/Skeleton/Skeleton.d.ts +14 -0
  61. package/dist/components/Skeleton/index.d.ts +1 -0
  62. package/dist/components/Skeleton/styles.d.ts +1 -0
  63. package/dist/components/Switch/Switch.d.ts +4 -0
  64. package/dist/components/Switch/index.d.ts +1 -0
  65. package/dist/components/Switch/styles.d.ts +1 -0
  66. package/dist/components/Tab/Tab.d.ts +7 -0
  67. package/dist/components/Tab/index.d.ts +1 -0
  68. package/dist/components/Tab/styles.d.ts +1 -0
  69. package/dist/components/Tabs/Tabs.d.ts +13 -0
  70. package/dist/components/Tabs/index.d.ts +1 -0
  71. package/dist/components/Tabs/styles.d.ts +2 -0
  72. package/dist/components/TextArea/TextArea.d.ts +3 -0
  73. package/dist/components/TextArea/index.d.ts +1 -0
  74. package/dist/components/index.d.ts +14 -0
  75. package/dist/hooks/index.d.ts +1 -0
  76. package/dist/hooks/useToggle/index.d.ts +1 -0
  77. package/dist/hooks/useToggle/useToggle.d.ts +43 -0
  78. package/dist/index.js +183 -49
  79. package/dist/index.mjs +312 -178
  80. package/package.json +1 -1
  81. package/rslib.config.ts +26 -26
  82. package/src/components/Accordion/Accordion.stories.tsx +2 -0
  83. package/src/components/ActionCell/ActionCell.stories.tsx +1 -0
  84. package/src/components/ActionCell/MainAction/MainAction.tsx +1 -0
  85. package/src/components/AsyncAutocomplete/AsyncAutocomplete.stories.tsx +1 -0
  86. package/src/components/Autocomplete/Autocomplete.stories.tsx +1 -0
  87. package/src/components/Badge/Badge.stories.tsx +1 -0
  88. package/src/components/BottomDrawer/BottomDrawer.stories.tsx +2 -1
  89. package/src/components/Button/Button.stories.tsx +2 -1
  90. package/src/components/Button/Button.tsx +9 -10
  91. package/src/components/Button/useLogic/useLogic.ts +2 -5
  92. package/src/components/Checkbox/Checkbox.stories.tsx +1 -3
  93. package/src/components/CheckboxField/CheckboxField.stories.tsx +1 -0
  94. package/src/components/Chevron/Chevron.stories.tsx +1 -0
  95. package/src/components/CircularProgress/CircularProgress.stories.tsx +1 -0
  96. package/src/components/Collapse/Collapse.stories.tsx +1 -0
  97. package/src/components/ConfirmAction/ConfirmAction.stories.tsx +1 -3
  98. package/src/components/ConfirmDialog/ConfirmDialog.stories.tsx +69 -0
  99. package/src/components/ConfirmDialog/ConfirmDialog.tsx +83 -0
  100. package/src/components/ConfirmDialog/index.ts +1 -0
  101. package/src/components/ConfirmDialog/styles.ts +8 -0
  102. package/src/components/ConfirmDialog/useLogic/index.ts +1 -0
  103. package/src/components/ConfirmDialog/useLogic/useLogic.ts +23 -0
  104. package/src/components/ContentState/ContentState.stories.tsx +1 -0
  105. package/src/components/CopyTypography/CopyTypography.stories.tsx +1 -2
  106. package/src/components/DataGrid/DataGrid.stories.tsx +1 -0
  107. package/src/components/DataGridActionCell/DataGridActionCell.stories.tsx +1 -0
  108. package/src/components/DataGridPagination/DataGridPagination.stories.tsx +1 -0
  109. package/src/components/Description/Description.stories.tsx +1 -0
  110. package/src/components/DescriptionList/DescriptionList.stories.tsx +1 -0
  111. package/src/components/Dialog/Dialog.stories.tsx +1 -0
  112. package/src/components/DialogActions/DialogActions.stories.tsx +1 -3
  113. package/src/components/DialogContent/DialogContent.stories.tsx +1 -3
  114. package/src/components/DialogContentText/DialogContentText.stories.tsx +1 -0
  115. package/src/components/DialogHeader/DialogHeader.stories.tsx +1 -0
  116. package/src/components/Divider/Divider.stories.tsx +1 -0
  117. package/src/components/DropdownButton/DropdownButton.stories.tsx +191 -0
  118. package/src/components/DropdownButton/DropdownButton.tsx +46 -0
  119. package/src/components/DropdownButton/index.ts +1 -0
  120. package/src/components/ErrorBoundary/ErrorBoundary.stories.tsx +1 -0
  121. package/src/components/Filename/Filename.stories.tsx +244 -0
  122. package/src/components/Filename/Filename.tsx +57 -0
  123. package/src/components/Filename/index.ts +1 -0
  124. package/src/components/Filename/styles.ts +18 -0
  125. package/src/components/Filename/useLogic/index.ts +1 -0
  126. package/src/components/Filename/useLogic/useLogic.ts +36 -0
  127. package/src/components/Filename/useLogic/utils/findExtension/constants.ts +16 -0
  128. package/src/components/Filename/useLogic/utils/findExtension/findExtension.ts +17 -0
  129. package/src/components/Filename/useLogic/utils/findExtension/index.ts +1 -0
  130. package/src/components/Filename/useLogic/utils/index.ts +1 -0
  131. package/src/components/Filename/useLogic/utils/truncateString/constants.ts +1 -0
  132. package/src/components/Filename/useLogic/utils/truncateString/index.ts +1 -0
  133. package/src/components/Filename/useLogic/utils/truncateString/truncateString.ts +24 -0
  134. package/src/components/FormLabel/FormLabel.tsx +11 -0
  135. package/src/components/FormLabel/index.ts +1 -0
  136. package/src/components/FormLabel/styles.ts +6 -0
  137. package/src/components/GuidTypography/GuidTypography.stories.tsx +1 -0
  138. package/src/components/IconButton/IconButton.stories.tsx +1 -1
  139. package/src/components/IconButton/IconButton.tsx +11 -16
  140. package/src/components/IconButton/styles.ts +24 -24
  141. package/src/components/IconDropdownButton/IconDropdownButton.stories.tsx +1 -0
  142. package/src/components/InternalErrorPlaceholder/InternalErrorPlaceholder.stories.tsx +1 -0
  143. package/src/components/Link/Link.stories.tsx +1 -0
  144. package/src/components/List/List.stories.tsx +1 -0
  145. package/src/components/ListItem/ListItem.stories.tsx +1 -0
  146. package/src/components/ListItemButton/ListItemButton.stories.tsx +1 -0
  147. package/src/components/ListItemButton/ListItemButton.tsx +3 -9
  148. package/src/components/ListItemIcon/ListItemIcon.stories.tsx +1 -0
  149. package/src/components/ListItemText/ListItemText.stories.tsx +1 -0
  150. package/src/components/ListSubheader/ListSubheader.stories.tsx +1 -0
  151. package/src/components/Menu/Menu.stories.tsx +1 -0
  152. package/src/components/MenuItem/MenuItem.stories.tsx +1 -0
  153. package/src/components/MenuItem/MenuItem.tsx +1 -2
  154. package/src/components/MenuList/MenuList.stories.tsx +1 -0
  155. package/src/components/MenuList/types.ts +3 -8
  156. package/src/components/NavMenu/Item/ItemButton/ItemButton.tsx +1 -2
  157. package/src/components/NavMenu/NavMenu.stories.tsx +1 -0
  158. package/src/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.stories.tsx +1 -0
  159. package/src/components/OverflowTypography/OverflowTypography.stories.tsx +1 -8
  160. package/src/components/Pagination/Pagination.stories.tsx +1 -0
  161. package/src/components/Placeholder/Placeholder.stories.tsx +1 -0
  162. package/src/components/Popover/Popover.stories.tsx +1 -0
  163. package/src/components/ProgressBar/ProgressBar.stories.tsx +31 -0
  164. package/src/components/ProgressBar/ProgressBar.tsx +26 -0
  165. package/src/components/ProgressBar/index.ts +1 -0
  166. package/src/components/Radio/Icon/Icon.tsx +37 -0
  167. package/src/components/Radio/Icon/index.ts +1 -0
  168. package/src/components/Radio/Radio.stories.tsx +32 -0
  169. package/src/components/Radio/Radio.tsx +24 -0
  170. package/src/components/Radio/constants.ts +9 -0
  171. package/src/components/Radio/index.ts +1 -0
  172. package/src/components/Radio/styles.ts +70 -0
  173. package/src/components/RadioField/RadioField.stories.tsx +74 -0
  174. package/src/components/RadioField/RadioField.tsx +55 -0
  175. package/src/components/RadioField/index.ts +1 -0
  176. package/src/components/RadioField/styles.ts +10 -0
  177. package/src/components/RadioGroup/RadioGroup.stories.tsx +60 -0
  178. package/src/components/RadioGroup/RadioGroup.tsx +79 -0
  179. package/src/components/RadioGroup/RadioGroupContext/RadioGroupContext.ts +9 -0
  180. package/src/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.tsx +18 -0
  181. package/src/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/index.ts +1 -0
  182. package/src/components/RadioGroup/RadioGroupContext/index.ts +3 -0
  183. package/src/components/RadioGroup/index.ts +3 -0
  184. package/src/components/RadioGroupField/RadioGroupField.tsx +17 -0
  185. package/src/components/RadioGroupField/index.ts +1 -0
  186. package/src/components/Select/Select.stories.tsx +0 -4
  187. package/src/components/Skeleton/Skeleton.stories.tsx +78 -0
  188. package/src/components/Skeleton/Skeleton.tsx +31 -0
  189. package/src/components/Skeleton/index.ts +1 -0
  190. package/src/components/Skeleton/styles.ts +16 -0
  191. package/src/components/Switch/Switch.stories.tsx +179 -0
  192. package/src/components/Switch/Switch.tsx +14 -0
  193. package/src/components/Switch/index.ts +1 -0
  194. package/src/components/Switch/styles.ts +14 -0
  195. package/src/components/Tab/Tab.stories.tsx +53 -0
  196. package/src/components/Tab/Tab.tsx +20 -0
  197. package/src/components/Tab/index.ts +1 -0
  198. package/src/components/Tab/styles.ts +22 -0
  199. package/src/components/Tabs/Tabs.stories.tsx +74 -0
  200. package/src/components/Tabs/Tabs.tsx +27 -0
  201. package/src/components/Tabs/index.ts +1 -0
  202. package/src/components/Tabs/styles.ts +20 -0
  203. package/src/components/Tag/Tag.stories.tsx +1 -1
  204. package/src/components/TagBadge/TagBadge.stories.tsx +1 -5
  205. package/src/components/TextArea/TextArea.stories.tsx +81 -0
  206. package/src/components/TextArea/TextArea.tsx +8 -0
  207. package/src/components/TextArea/index.ts +1 -0
  208. package/src/components/TextField/TextField.stories.tsx +1 -4
  209. package/src/components/Tooltip/Tooltip.stories.tsx +1 -4
  210. package/src/components/Typography/Typography.stories.tsx +2 -4
  211. package/src/components/index.ts +28 -0
  212. package/src/hooks/index.ts +1 -0
  213. package/src/hooks/useToggle/index.ts +1 -0
  214. package/src/hooks/useToggle/useToggle.ts +76 -0
  215. package/test.tsx +1 -0
  216. package/tsconfig.json +3 -2
@@ -1,760 +1,5 @@
1
1
 
2
2
  
3
- > @max-ts/components@0.0.1 type:check /Users/maksim/Projects/PET/toolkit/packages/components
3
+ > @max-ts/components@0.0.2 type:check /Users/maksim/Projects/PET/toolkit/packages/components
4
4
  > tsc --noEmit
5
5
 
6
- src/components/AsyncAutocomplete/AsyncAutocomplete.stories.tsx:26:10 - error TS2304: Cannot find name 'getFakeUsers'.
7
-
8
- 26 return getFakeUsers(search, { signal: abortSignal });
9
-    ~~~~~~~~~~~~
10
-
11
- src/components/AsyncAutocomplete/useLogic/useLogic.ts:43:5 - error TS2304: Cannot find name 'debounce'.
12
-
13
- 43 debounce((search: string) => {
14
-    ~~~~~~~~
15
-
16
- src/components/Autocomplete/Autocomplete.stories.tsx:8:24 - error TS2307: Cannot find module '../styles' or its corresponding type declarations.
17
-
18
- 8 import { styled } from '../styles';
19
-    ~~~~~~~~~~~
20
-
21
- src/components/Autocomplete/Autocomplete.tsx:196:16 - error TS2554: Expected 4 arguments, but got 3.
22
-
23
- 196 return externalRenderOption(optionProps, option, optionState);
24
-    ~~~~~~~~~~~~~~~~~~~~
25
-
26
- ../../node_modules/.pnpm/@mui+material@6.4.4_@emotion+react@11.14.0_@types+react@19.0.8_react@19.0.0__@emotion+styled@_7egkizikgut56d2yaxlxrjv3iy/node_modules/@mui/material/Autocomplete/Autocomplete.d.ts:333:5
27
- 333 ownerState: AutocompleteOwnerState<Value, Multiple, DisableClearable, FreeSolo, ChipComponent>,
28
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
29
- An argument for 'ownerState' was not provided.
30
-
31
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:6:8 - error TS2307: Cannot find module '@astral/icons' or its corresponding type declarations.
32
-
33
- 6 } from '@astral/icons';
34
-    ~~~~~~~~~~~~~~~
35
-
36
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:9:26 - error TS2307: Cannot find module 'mobx-react-lite' or its corresponding type declarations.
37
-
38
- 9 import { observer } from 'mobx-react-lite';
39
-    ~~~~~~~~~~~~~~~~~
40
-
41
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:13:8 - error TS2307: Cannot find module '@astral/features' or its corresponding type declarations.
42
-
43
- 13 } from '@astral/features';
44
-    ~~~~~~~~~~~~~~~~~~
45
-
46
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:15:33 - error TS2307: Cannot find module '../DashboardLayout' or its corresponding type declarations.
47
-
48
- 15 import { DashboardLayout } from '../DashboardLayout';
49
-    ~~~~~~~~~~~~~~~~~~~~
50
-
51
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:16:33 - error TS2307: Cannot find module '../ProductSwitcher' or its corresponding type declarations.
52
-
53
- 16 import { ProductSwitcher } from '../ProductSwitcher';
54
-    ~~~~~~~~~~~~~~~~~~~~
55
-
56
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:17:35 - error TS2307: Cannot find module '../ProductSwitcher/faker' or its corresponding type declarations.
57
-
58
- 17 import { handleGetProducts } from '../ProductSwitcher/faker';
59
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~
60
-
61
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:18:24 - error TS2307: Cannot find module '../styles/styled' or its corresponding type declarations.
62
-
63
- 18 import { styled } from '../styles/styled';
64
-    ~~~~~~~~~~~~~~~~~~
65
-
66
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:19:35 - error TS2307: Cannot find module '../DashboardLayout/Sidebar' or its corresponding type declarations.
67
-
68
- 19 import { type SidebarProps } from '../DashboardLayout/Sidebar';
69
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70
-
71
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:21:24 - error TS2307: Cannot find module '../Select' or its corresponding type declarations.
72
-
73
- 21 import { Select } from '../Select';
74
-    ~~~~~~~~~~~
75
-
76
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:22:28 - error TS2307: Cannot find module '../PageLayout' or its corresponding type declarations.
77
-
78
- 22 import { PageLayout } from '../PageLayout';
79
-    ~~~~~~~~~~~~~~~
80
-
81
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:23:22 - error TS2307: Cannot find module '../Grid' or its corresponding type declarations.
82
-
83
- 23 import { Grid } from '../Grid';
84
-    ~~~~~~~~~
85
-
86
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:25:28 - error TS2307: Cannot find module '../DatePicker' or its corresponding type declarations.
87
-
88
- 25 import { DatePicker } from '../DatePicker';
89
-    ~~~~~~~~~~~~~~~
90
-
91
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:26:26 - error TS2307: Cannot find module '../TextArea' or its corresponding type declarations.
92
-
93
- 26 import { TextArea } from '../TextArea';
94
-    ~~~~~~~~~~~~~
95
-
96
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:75:17 - error TS7031: Binding element 'theme' implicitly has an 'any' type.
97
-
98
- 75 padding: ${({ theme }) => theme.spacing(0, 4)};
99
-    ~~~~~
100
-
101
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:81:17 - error TS7031: Binding element 'theme' implicitly has an 'any' type.
102
-
103
- 81 padding: ${({ theme }) => theme.spacing(10)};
104
-    ~~~~~
105
-
106
- src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:82:13 - error TS7031: Binding element 'theme' implicitly has an 'any' type.
107
-
108
- 82 gap: ${({ theme }) => theme.spacing(3)};
109
-    ~~~~~
110
-
111
- src/components/AutoSaveIndicator/AutoSaveIndicator.tsx:1:32 - error TS2307: Cannot find module '@astral/icons' or its corresponding type declarations.
112
-
113
- 1 import { CrossOutlineSm } from '@astral/icons';
114
-    ~~~~~~~~~~~~~~~
115
-
116
- src/components/AutoSaveIndicator/DefaultState/DefaultState.tsx:1:32 - error TS2307: Cannot find module '@astral/icons' or its corresponding type declarations.
117
-
118
- 1 import { AutosaveFillMd } from '@astral/icons';
119
-    ~~~~~~~~~~~~~~~
120
-
121
- src/components/AutoSaveIndicator/LoadingState/styles.ts:1:38 - error TS2307: Cannot find module '@astral/icons' or its corresponding type declarations.
122
-
123
- 1 import { AutosaveLoaderFillMd } from '@astral/icons';
124
-    ~~~~~~~~~~~~~~~
125
-
126
- src/components/AutoSaveIndicator/LoadingState/styles.ts:3:27 - error TS2307: Cannot find module '../../styles' or its corresponding type declarations.
127
-
128
- 3 import { keyframes } from '../../styles';
129
-    ~~~~~~~~~~~~~~
130
-
131
- src/components/AutoSaveIndicator/LoadingState/styles.ts:4:24 - error TS2307: Cannot find module '../../styles/styled' or its corresponding type declarations.
132
-
133
- 4 import { styled } from '../../styles/styled';
134
-    ~~~~~~~~~~~~~~~~~~~~~
135
-
136
- src/components/AutoSaveIndicator/LoadingState/styles.ts:21:23 - error TS7031: Binding element 'theme' implicitly has an 'any' type.
137
-
138
- 21 padding-right: ${({ theme }) => theme.spacing(2)};
139
-    ~~~~~
140
-
141
- src/components/AutoSaveIndicator/styles.ts:1:24 - error TS2307: Cannot find module '../styles' or its corresponding type declarations.
142
-
143
- 1 import { styled } from '../styles';
144
-    ~~~~~~~~~~~
145
-
146
- src/components/AutoSaveIndicator/styles.ts:14:16 - error TS7031: Binding element 'theme' implicitly has an 'any' type.
147
-
148
- 14 margin: ${({ theme }) => theme.spacing(2)};
149
-    ~~~~~
150
-
151
- src/components/AutoSaveIndicator/styles.ts:18:23 - error TS7031: Binding element 'theme' implicitly has an 'any' type.
152
-
153
- 18 padding-right: ${({ theme }) => theme.spacing(2)};
154
-    ~~~~~
155
-
156
- src/components/AutoSaveIndicator/useLogic/useLogic.ts:3:33 - error TS2307: Cannot find module '../../hooks' or its corresponding type declarations.
157
-
158
- 3 import { useLocalStorage } from '../../hooks';
159
-    ~~~~~~~~~~~~~
160
-
161
- src/components/BottomDrawer/ButtomDrawer.test.tsx:1:52 - error TS2307: Cannot find module '@astral/tests' or its corresponding type declarations.
162
-
163
- 1 import { fireEvent, renderWithTheme, screen } from '@astral/tests';
164
-    ~~~~~~~~~~~~~~~
165
-
166
- src/components/CheckboxField/CheckboxField.test.tsx:1:53 - error TS2307: Cannot find module '@astral/tests' or its corresponding type declarations.
167
-
168
- 1 import { renderWithTheme, screen, userEvents } from '@astral/tests';
169
-    ~~~~~~~~~~~~~~~
170
-
171
- src/components/CheckboxField/CheckboxField.test.tsx:9:48 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
172
-
173
- 9 expect(screen.getByLabelText('My Checkbox')).toBeInTheDocument();
174
-    ~~~~~~~~~~~~~~~~~
175
-
176
- src/components/CheckboxField/CheckboxField.test.tsx:18:44 - error TS2339: Property 'toBeVisible' does not exist on type 'Assertion<any>'.
177
-
178
- 18 expect(screen.getByText('helper text')).toBeVisible();
179
-    ~~~~~~~~~~~
180
-
181
- src/components/CheckboxField/CheckboxField.test.tsx:47:20 - error TS2339: Property 'toHaveTextContent' does not exist on type 'Assertion<any>'.
182
-
183
- 47 expect(tooltip).toHaveTextContent(/^helper text$/);
184
-    ~~~~~~~~~~~~~~~~~
185
-
186
- src/components/ContentState/ContentState.stories.tsx:75:30 - error TS2304: Cannot find name 'styled'.
187
-
188
- 75 const BaseContentContainer = styled(Grid)`
189
-    ~~~~~~
190
-
191
- src/components/ContentState/ContentState.stories.tsx:75:37 - error TS2304: Cannot find name 'Grid'.
192
-
193
- 75 const BaseContentContainer = styled(Grid)`
194
-    ~~~~
195
-
196
- src/components/ContentState/ContentState.stories.tsx:88:4 - error TS2304: Cannot find name 'Grid'.
197
-
198
- 88 <Grid container spacing={2}>
199
-    ~~~~
200
-
201
- src/components/ContentState/ContentState.stories.tsx:92:5 - error TS2304: Cannot find name 'Grid'.
202
-
203
- 92 </Grid>
204
-    ~~~~
205
-
206
- src/components/ContentState/ContentState.stories.tsx:105:14 - error TS2304: Cannot find name 'errorIllustration'.
207
-
208
- 105 imgSrc: errorIllustration,
209
-    ~~~~~~~~~~~~~~~~~
210
-
211
- src/components/ContentState/ContentState.stories.tsx:156:26 - error TS2304: Cannot find name 'errorIllustration'.
212
-
213
- 156 defaultErrorImgSrc: errorIllustration,
214
-    ~~~~~~~~~~~~~~~~~
215
-
216
- src/components/ContentState/ContentState.stories.tsx:157:20 - error TS2304: Cannot find name 'noDataIllustration'.
217
-
218
- 157 noDataImgSrc: noDataIllustration,
219
-    ~~~~~~~~~~~~~~~~~~
220
-
221
- src/components/ContentState/ContentState.stories.tsx:158:34 - error TS2304: Cannot find name 'outdatedReleaseIllustration'.
222
-
223
- 158 outdatedReleaseErrorImgSrc: outdatedReleaseIllustration,
224
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
225
-
226
- src/components/ContentState/ContentState.stories.tsx:189:26 - error TS2304: Cannot find name 'errorIllustration'.
227
-
228
- 189 defaultErrorImgSrc: errorIllustration,
229
-    ~~~~~~~~~~~~~~~~~
230
-
231
- src/components/ContentState/ContentState.stories.tsx:190:20 - error TS2304: Cannot find name 'noDataIllustration'.
232
-
233
- 190 noDataImgSrc: noDataIllustration,
234
-    ~~~~~~~~~~~~~~~~~~
235
-
236
- src/components/ContentState/ContentState.stories.tsx:191:34 - error TS2304: Cannot find name 'outdatedReleaseIllustration'.
237
-
238
- 191 outdatedReleaseErrorImgSrc: outdatedReleaseIllustration,
239
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
240
-
241
- src/components/ContentState/ContentState.stories.tsx:198:15 - error TS2304: Cannot find name 'techSupIllustration'.
242
-
243
- 198 imgSrc: techSupIllustration,
244
-    ~~~~~~~~~~~~~~~~~~~
245
-
246
- src/components/ContentState/ContentState.stories.tsx:225:14 - error TS2304: Cannot find name 'certificatesNotFound'.
247
-
248
- 225 imgSrc: certificatesNotFound,
249
-    ~~~~~~~~~~~~~~~~~~~~
250
-
251
- src/components/CopyTypography/CopyTypography.test.tsx:1:53 - error TS2307: Cannot find module '@astral/tests' or its corresponding type declarations.
252
-
253
- 1 import { renderWithTheme, screen, userEvents } from '@astral/tests';
254
-    ~~~~~~~~~~~~~~~
255
-
256
- src/components/DataGrid/Cell/Cell.tsx:59:11 - error TS2322: Type '{ children: unknown; }' is not assignable to type '{ children?: ReactNode; }'.
257
- Types of property 'children' are incompatible.
258
- Type 'unknown' is not assignable to type 'ReactNode'.
259
-
260
- 59 <>{formattedValue}</>
261
-    ~~
262
-
263
- src/components/DataGrid/DataGrid.stories.tsx:6:8 - error TS2307: Cannot find module '@astral/icons' or its corresponding type declarations.
264
-
265
- 6 } from '@astral/icons';
266
-    ~~~~~~~~~~~~~~~
267
-
268
- src/components/DataGrid/DataGrid.stories.tsx:473:19 - error TS7006: Parameter 'row' implicitly has an 'any' type.
269
-
270
- 473 onClick: (row) => alert(`Delete: ${JSON.stringify(row)}`),
271
-    ~~~
272
-
273
- src/components/DataGrid/DataGrid.stories.tsx:1842:29 - error TS2304: Cannot find name 'errorIllustration'.
274
-
275
- 1842 defaultErrorImgSrc: errorIllustration,
276
-    ~~~~~~~~~~~~~~~~~
277
-
278
- src/components/DataGrid/DataGrid.stories.tsx:1869:29 - error TS2304: Cannot find name 'errorIllustration'.
279
-
280
- 1869 defaultErrorImgSrc: errorIllustration,
281
-    ~~~~~~~~~~~~~~~~~
282
-
283
- src/components/DataGrid/DataGrid.tsx:270:6 - error TS2322: Type '{ children: Element[]; inert: string | undefined; }' is not assignable to type 'HTMLAttributes<HTMLDivElement>'.
284
- Types of property 'inert' are incompatible.
285
- Type 'string | undefined' is not assignable to type 'boolean | undefined'.
286
- Type 'string' is not assignable to type 'boolean | undefined'.
287
-
288
- 270 <TableContainer {...{ inert: isDataGridDisabled ? '' : undefined }}>
289
-    ~~~~~~~~~~~~~~
290
-
291
- src/components/DataGrid/HeadCell/HeadCell.tsx:1:58 - error TS2307: Cannot find module '@astral/icons' or its corresponding type declarations.
292
-
293
- 1 import { SortDownFillSm, SortFillSm, SortUpFillSm } from '@astral/icons';
294
-    ~~~~~~~~~~~~~~~
295
-
296
- src/components/DataGrid/HeadCell/styles.ts:2:24 - error TS2307: Cannot find module '../../styles' or its corresponding type declarations.
297
-
298
- 2 import { styled } from '../../styles';
299
-    ~~~~~~~~~~~~~~
300
-
301
- src/components/DataGrid/HeadCell/styles.ts:13:22 - error TS7006: Parameter 'prop' implicitly has an 'any' type.
302
-
303
- 13 shouldForwardProp: (prop) =>
304
-    ~~~~
305
-
306
- src/components/DataGrid/HeadCell/styles.ts:16:16 - error TS7031: Binding element '$isSortable' implicitly has an 'any' type.
307
-
308
- 16 cursor: ${({ $isSortable }) => ($isSortable ? 'pointer' : 'initial')};
309
-    ~~~~~~~~~~~
310
-
311
- src/components/DataGrid/HeadCell/styles.ts:21:25 - error TS7031: Binding element '$align' implicitly has an 'any' type.
312
-
313
- 21 justify-content: ${({ $align }) => alignToJustifyContent($align)};
314
-    ~~~~~~
315
-
316
- src/components/DataGrid/HeadCell/styles.ts:24:17 - error TS7031: Binding element 'theme' implicitly has an 'any' type.
317
-
318
- 24 padding: ${({ theme, $hasStartAdornment }) =>
319
-    ~~~~~
320
-
321
- src/components/DataGrid/HeadCell/styles.ts:24:24 - error TS7031: Binding element '$hasStartAdornment' implicitly has an 'any' type.
322
-
323
- 24 padding: ${({ theme, $hasStartAdornment }) =>
324
-    ~~~~~~~~~~~~~~~~~~
325
-
326
- src/components/DataGrid/HeadCell/styles.ts:27:15 - error TS7031: Binding element 'theme' implicitly has an 'any' type.
327
-
328
- 27 color: ${({ theme }) => theme.palette.grey[700]};
329
-    ~~~~~
330
-
331
- src/components/DataGrid/Loader/styles.ts:4:24 - error TS2307: Cannot find module '../../styles' or its corresponding type declarations.
332
-
333
- 4 import { styled } from '../../styles';
334
-    ~~~~~~~~~~~~~~
335
-
336
- src/components/DataGrid/Loader/styles.ts:14:26 - error TS7031: Binding element 'theme' implicitly has an 'any' type.
337
-
338
- 14 background-color: ${({ theme }) => theme.palette.background.element};
339
-    ~~~~~
340
-
341
- src/components/DataGridActionCell/DataGridActionCell.stories.tsx:2:60 - error TS2307: Cannot find module '@astral/icons' or its corresponding type declarations.
342
-
343
- 2 import { BinOutlineMd, EditOutlineMd, SaveOutlineMd } from '@astral/icons';
344
-    ~~~~~~~~~~~~~~~
345
-
346
- src/components/DataGridActionCell/DataGridActionCell.stories.tsx:5:51 - error TS2307: Cannot find module '../NewDataGrid' or its corresponding type declarations.
347
-
348
- 5 import { type DataGridColumns, NewDataGrid } from '../NewDataGrid';
349
-    ~~~~~~~~~~~~~~~~
350
-
351
- src/components/DataGridActionCell/DataGridActionCell.stories.tsx:167:20 - error TS7006: Parameter 'row' implicitly has an 'any' type.
352
-
353
- 167 renderCell: (row) => <FakeActionCell row={row} />,
354
-    ~~~
355
-
356
- src/components/DataGridActionCell/styles.ts:1:24 - error TS2307: Cannot find module '../styles' or its corresponding type declarations.
357
-
358
- 1 import { styled } from '../styles';
359
-    ~~~~~~~~~~~
360
-
361
- src/components/DataGridActionCell/types.ts:109:6 - error TS2707: Generic type 'IconButtonProps' requires between 1 and 2 type arguments.
362
-
363
- 109 | (IconButtonProps & SingleAction<TAction>)
364
-    ~~~~~~~~~~~~~~~
365
-
366
- src/components/DataGridOld/DataGridOld.tsx:50:11 - error TS2322: Type 'DataGridColumn<TRow>[]' is not assignable to type 'DataGridColumn<Record<string, unknown>>[]'.
367
- Type 'DataGridColumn<TRow>' is not assignable to type 'DataGridColumn<Record<string, unknown>>'.
368
- Type 'Record<string, unknown>' is not assignable to type 'TRow'.
369
- 'TRow' could be instantiated with an arbitrary type which could be unrelated to 'Record<string, unknown>'.
370
-
371
- 50 <Head columns={columns} rowHeight={rowHeight} />
372
-    ~~~~~~~
373
-
374
- src/components/DataGridOld/Head/Head.tsx:7:2
375
- 7 columns: DataGridColumn<TRow>[];
376
-    ~~~~~~~
377
- The expected type comes from property 'columns' which is declared here on type 'IntrinsicAttributes & DataGridHeaderProps<Record<string, unknown>>'
378
-
379
- src/components/DataGridPagination/DataGridPagination.stories.tsx:8:8 - error TS2307: Cannot find module '../NewDataGrid' or its corresponding type declarations.
380
-
381
- 8 } from '../NewDataGrid';
382
-    ~~~~~~~~~~~~~~~~
383
-
384
- src/components/DataGridPagination/DataGridPagination.stories.tsx:9:24 - error TS2307: Cannot find module '../styles' or its corresponding type declarations.
385
-
386
- 9 import { styled } from '../styles';
387
-    ~~~~~~~~~~~
388
-
389
- src/components/DataGridPagination/DataGridPagination.stories.tsx:10:29 - error TS2307: Cannot find module '../SearchField' or its corresponding type declarations.
390
-
391
- 10 import { SearchField } from '../SearchField';
392
-    ~~~~~~~~~~~~~~~~
393
-
394
- src/components/DataGridPagination/DataGridPagination.stories.tsx:92:18 - error TS7031: Binding element 'createDate' implicitly has an 'any' type.
395
-
396
- 92 format: ({ createDate }) => new Date(createDate).toLocaleDateString(),
397
-    ~~~~~~~~~~
398
-
399
- src/components/DataGridPagination/DataGridPagination.stories.tsx:143:20 - error TS7006: Parameter 'event' implicitly has an 'any' type.
400
-
401
- 143 onChange={(event) => setDocumentName(event.target.value)}
402
-    ~~~~~
403
-
404
- src/components/DataGridPagination/DataGridPagination.test.tsx:2:41 - error TS2307: Cannot find module '@astral/tests' or its corresponding type declarations.
405
-
406
- 2 import { renderWithTheme, screen } from '@astral/tests';
407
-    ~~~~~~~~~~~~~~~
408
-
409
- src/components/DataGridPagination/DataGridPagination.test.tsx:27:20 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
410
-
411
- 27 expect(text).toBeInTheDocument();
412
-    ~~~~~~~~~~~~~~~~~
413
-
414
- src/components/DataGridPagination/DataGridPagination.test.tsx:36:23 - error TS2339: Property 'toBeEmptyDOMElement' does not exist on type 'Assertion<any>'.
415
-
416
- 36 expect(container).toBeEmptyDOMElement();
417
-    ~~~~~~~~~~~~~~~~~~~
418
-
419
- src/components/DataGridPagination/DataGridPagination.test.tsx:50:40 - error TS7006: Parameter 'button' implicitly has an 'any' type.
420
-
421
- 50 const selectButton = buttons.find((button) => button.textContent === '10');
422
-    ~~~~~~
423
-
424
- src/components/DataGridPagination/DataGridPagination.test.tsx:66:40 - error TS7006: Parameter 'button' implicitly has an 'any' type.
425
-
426
- 66 const selectButton = buttons.find((button) => button.textContent === '20');
427
-    ~~~~~~
428
-
429
- src/components/DataGridPagination/DataGridPagination.test.tsx:68:26 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
430
-
431
- 68 expect(selectButton).toBeInTheDocument();
432
-    ~~~~~~~~~~~~~~~~~
433
-
434
- src/components/DataGridPagination/DataGridPagination.test.tsx:86:40 - error TS7006: Parameter 'button' implicitly has an 'any' type.
435
-
436
- 86 const selectButton = buttons.find((button) => button.textContent === '15');
437
-    ~~~~~~
438
-
439
- src/components/DataGridPagination/DataGridPagination.test.tsx:88:26 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
440
-
441
- 88 expect(selectButton).toBeInTheDocument();
442
-    ~~~~~~~~~~~~~~~~~
443
-
444
- src/components/DataGridPagination/DataGridPagination.test.tsx:102:52 - error TS2339: Property 'toBeVisible' does not exist on type 'Assertion<any>'.
445
-
446
- 102 expect(screen.getByText('1 — 8 из 8 записей')).toBeVisible();
447
-    ~~~~~~~~~~~
448
-
449
- src/components/DataGridPagination/DataGridPagination.tsx:4:24 - error TS2307: Cannot find module '../Select' or its corresponding type declarations.
450
-
451
- 4 import { Select } from '../Select';
452
-    ~~~~~~~~~~~
453
-
454
- src/components/DataGridPagination/faker.ts:7:8 - error TS2307: Cannot find module '../NewDataGrid' or its corresponding type declarations.
455
-
456
- 7 } from '../NewDataGrid';
457
-    ~~~~~~~~~~~~~~~~
458
-
459
- src/components/DataGridPagination/styles.ts:3:24 - error TS2307: Cannot find module '../styles' or its corresponding type declarations.
460
-
461
- 3 import { styled } from '../styles';
462
-    ~~~~~~~~~~~
463
-
464
- src/components/DataGridPagination/styles.ts:12:21 - error TS7031: Binding element 'theme' implicitly has an 'any' type.
465
-
466
- 12 padding-top: ${({ theme }) => theme.spacing(4)};
467
-    ~~~~~
468
-
469
- src/components/DataGridPagination/styles.ts:16:15 - error TS7031: Binding element 'theme' implicitly has an 'any' type.
470
-
471
- 16 color: ${({ theme }) => theme.palette.grey['700']};
472
-    ~~~~~
473
-
474
- src/components/DataGridPagination/styles.ts:21:13 - error TS7031: Binding element 'theme' implicitly has an 'any' type.
475
-
476
- 21 gap: ${({ theme }) => theme.spacing(3)};
477
-    ~~~~~
478
-
479
- src/components/Description/Description.test.tsx:1:53 - error TS2307: Cannot find module '@astral/tests' or its corresponding type declarations.
480
-
481
- 1 import { renderWithTheme, screen, userEvents } from '@astral/tests';
482
-    ~~~~~~~~~~~~~~~
483
-
484
- src/components/Description/Description.test.tsx:19:35 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
485
-
486
- 19 expect(defaultSeparatorElement).toBeInTheDocument();
487
-    ~~~~~~~~~~~~~~~~~
488
-
489
- src/components/Description/Description.test.tsx:34:34 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
490
-
491
- 34 expect(customSeparatorElement).toBeInTheDocument();
492
-    ~~~~~~~~~~~~~~~~~
493
-
494
- src/components/Description/Description.test.tsx:46:30 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
495
-
496
- 46 expect(defaultEmptySymbol).toBeInTheDocument();
497
-    ~~~~~~~~~~~~~~~~~
498
-
499
- src/components/Description/Description.test.tsx:60:23 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
500
-
501
- 60 expect(stubElement).toBeInTheDocument();
502
-    ~~~~~~~~~~~~~~~~~
503
-
504
- src/components/Description/Description.test.tsx:74:27 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
505
-
506
- 74 expect(childrenElement).toBeInTheDocument();
507
-    ~~~~~~~~~~~~~~~~~
508
-
509
- src/components/Description/Description.test.tsx:86:27 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
510
-
511
- 86 expect(childrenElement).toBeInTheDocument();
512
-    ~~~~~~~~~~~~~~~~~
513
-
514
- src/components/DescriptionList/DescriptionList.test.tsx:1:41 - error TS2307: Cannot find module '@astral/tests' or its corresponding type declarations.
515
-
516
- 1 import { renderWithTheme, screen } from '@astral/tests';
517
-    ~~~~~~~~~~~~~~~
518
-
519
- src/components/DescriptionList/DescriptionList.test.tsx:35:6 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
520
-
521
- 35 ).toBeInTheDocument();
522
-    ~~~~~~~~~~~~~~~~~
523
-
524
- src/components/DescriptionList/DescriptionList.test.tsx:37:46 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
525
-
526
- 37 expect(screen.getByText(value as string)).toBeInTheDocument();
527
-    ~~~~~~~~~~~~~~~~~
528
-
529
- src/components/DescriptionList/DescriptionList.test.tsx:51:6 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
530
-
531
- 51 ).toBeInTheDocument();
532
-    ~~~~~~~~~~~~~~~~~
533
-
534
- src/components/DescriptionList/DescriptionList.test.tsx:53:51 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
535
-
536
- 53 expect(screen.getByText(item.value as string)).toBeInTheDocument();
537
-    ~~~~~~~~~~~~~~~~~
538
-
539
- src/components/DescriptionList/DescriptionList.test.tsx:98:39 - error TS2339: Property 'toBeInTheDocument' does not exist on type 'Assertion<any>'.
540
-
541
- 98 expect(screen.getByText(fakeTitle)).toBeInTheDocument();
542
-    ~~~~~~~~~~~~~~~~~
543
-
544
- src/components/Divider/Divider.stories.tsx:3:22 - error TS2307: Cannot find module '../Grid' or its corresponding type declarations.
545
-
546
- 3 import { Grid } from '../Grid';
547
-    ~~~~~~~~~
548
-
549
- src/components/Divider/Divider.stories.tsx:8:24 - error TS2307: Cannot find module '../styles' or its corresponding type declarations.
550
-
551
- 8 import { styled } from '../styles';
552
-    ~~~~~~~~~~~
553
-
554
- src/components/ErrorBoundary/ErrorBoundary.stories.tsx:23:25 - error TS2304: Cannot find name 'errorIllustration'.
555
-
556
- 23 defaultErrorImgSrc: errorIllustration,
557
-    ~~~~~~~~~~~~~~~~~
558
-
559
- src/components/ErrorBoundary/ErrorBoundary.stories.tsx:24:19 - error TS2304: Cannot find name 'errorIllustration'.
560
-
561
- 24 noDataImgSrc: errorIllustration,
562
-    ~~~~~~~~~~~~~~~~~
563
-
564
- src/components/ErrorBoundary/ErrorBoundary.stories.tsx:25:33 - error TS2304: Cannot find name 'outdatedReleaseIllustration'.
565
-
566
- 25 outdatedReleaseErrorImgSrc: outdatedReleaseIllustration,
567
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
568
-
569
- src/components/ErrorBoundary/ErrorBoundary.stories.tsx:44:24 - error TS2304: Cannot find name 'errorIllustration'.
570
-
571
- 44 defaultErrorImgSrc: errorIllustration,
572
-    ~~~~~~~~~~~~~~~~~
573
-
574
- src/components/ErrorBoundary/ErrorBoundary.stories.tsx:45:18 - error TS2304: Cannot find name 'errorIllustration'.
575
-
576
- 45 noDataImgSrc: errorIllustration,
577
-    ~~~~~~~~~~~~~~~~~
578
-
579
- src/components/ErrorBoundary/ErrorBoundary.stories.tsx:46:32 - error TS2304: Cannot find name 'outdatedReleaseIllustration'.
580
-
581
- 46 outdatedReleaseErrorImgSrc: outdatedReleaseIllustration,
582
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
583
-
584
- src/components/ErrorBoundary/ErrorBoundary.test.tsx:1:53 - error TS2307: Cannot find module '@astral/tests' or its corresponding type declarations.
585
-
586
- 1 import { renderWithTheme, screen, userEvents } from '@astral/tests';
587
-    ~~~~~~~~~~~~~~~
588
-
589
- src/components/ErrorBoundary/ErrorBoundary.test.tsx:5:31 - error TS2307: Cannot find module '../../../ui/illustrations/error.svg' or its corresponding type declarations.
590
-
591
- 5 import errorIllustration from '../../../ui/illustrations/error.svg';
592
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
593
-
594
- src/components/ErrorBoundary/ErrorBoundary.test.tsx:6:41 - error TS2307: Cannot find module '../../../ui/illustrations/outdated-release.svg' or its corresponding type declarations.
595
-
596
- 6 import outdatedReleaseIllustration from '../../../ui/illustrations/outdated-release.svg';
597
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
598
-
599
- src/components/ErrorBoundary/ErrorBoundary.test.tsx:39:63 - error TS2339: Property 'toBeVisible' does not exist on type 'Assertion<any>'.
600
-
601
- 39 expect(screen.getByText('Произошла непредвиденная ошибка')).toBeVisible();
602
-    ~~~~~~~~~~~
603
-
604
- src/components/ErrorBoundary/ErrorBoundary.test.tsx:50:52 - error TS2339: Property 'toBeVisible' does not exist on type 'Assertion<any>'.
605
-
606
- 50 expect(screen.getByText('Обновление в сервисе')).toBeVisible();
607
-    ~~~~~~~~~~~
608
-
609
- src/components/ErrorBoundary/ErrorBoundary.test.tsx:61:52 - error TS2339: Property 'toBeVisible' does not exist on type 'Assertion<any>'.
610
-
611
- 61 expect(screen.getByText('Обновление в сервисе')).toBeVisible();
612
-    ~~~~~~~~~~~
613
-
614
- src/components/InternalErrorPlaceholder/InternalErrorPlaceholder.stories.tsx:22:25 - error TS2304: Cannot find name 'errorIllustration'.
615
-
616
- 22 defaultErrorImgSrc: errorIllustration,
617
-    ~~~~~~~~~~~~~~~~~
618
-
619
- src/components/InternalErrorPlaceholder/InternalErrorPlaceholder.stories.tsx:23:19 - error TS2304: Cannot find name 'errorIllustration'.
620
-
621
- 23 noDataImgSrc: errorIllustration,
622
-    ~~~~~~~~~~~~~~~~~
623
-
624
- src/components/InternalErrorPlaceholder/InternalErrorPlaceholder.stories.tsx:24:33 - error TS2304: Cannot find name 'errorIllustration'.
625
-
626
- 24 outdatedReleaseErrorImgSrc: errorIllustration,
627
-    ~~~~~~~~~~~~~~~~~
628
-
629
- src/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.stories.tsx:21:25 - error TS2304: Cannot find name 'outdatedReleaseIllustration'.
630
-
631
- 21 defaultErrorImgSrc: outdatedReleaseIllustration,
632
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
633
-
634
- src/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.stories.tsx:22:19 - error TS2304: Cannot find name 'outdatedReleaseIllustration'.
635
-
636
- 22 noDataImgSrc: outdatedReleaseIllustration,
637
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
638
-
639
- src/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.stories.tsx:23:33 - error TS2304: Cannot find name 'outdatedReleaseIllustration'.
640
-
641
- 23 outdatedReleaseErrorImgSrc: outdatedReleaseIllustration,
642
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~
643
-
644
- src/components/OverflowTypography/hooks/useOverflowed/useOverflowed.ts:17:23 - error TS2304: Cannot find name 'useFirstMountState'.
645
-
646
- 17 const isFirstMount = useFirstMountState();
647
-    ~~~~~~~~~~~~~~~~~~
648
-
649
- src/components/OverflowTypography/hooks/useOverflowed/useOverflowed.ts:43:47 - error TS2345: Argument of type 'Funnel<[thisArg: unknown, ...args: any[]]>' is not assignable to parameter of type 'ResizeObserverCallback'.
650
- Type 'Funnel<[thisArg: unknown, ...args: any[]]>' provides no match for the signature '(entries: ResizeObserverEntry[], observer: ResizeObserver): void'.
651
-
652
- 43 const resizeObserver = new ResizeObserver(funnel(checkOverflow, 500));
653
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~
654
-
655
- src/components/OverflowTypography/hooks/useOverflowed/useOverflowed.ts:43:69 - error TS2345: Argument of type 'number' is not assignable to parameter of type 'FunnelOptions<[thisArg: unknown, ...args: any[]], ResizeObserverDataOptions[]>'.
656
-
657
- 43 const resizeObserver = new ResizeObserver(funnel(checkOverflow, 500));
658
-    ~~~
659
-
660
- src/components/Pagination/Pagination.stories.tsx:4:22 - error TS2307: Cannot find module '../Grid' or its corresponding type declarations.
661
-
662
- 4 import { Grid } from '../Grid';
663
-    ~~~~~~~~~
664
-
665
- src/components/Placeholder/Placeholder.stories.tsx:30:11 - error TS2304: Cannot find name 'certificatesNotFound'.
666
-
667
- 30 imgSrc: certificatesNotFound,
668
-    ~~~~~~~~~~~~~~~~~~~~
669
-
670
- src/components/Placeholder/Placeholder.stories.tsx:52:11 - error TS2304: Cannot find name 'certificatesNotFound'.
671
-
672
- 52 imgSrc={certificatesNotFound}
673
-    ~~~~~~~~~~~~~~~~~~~~
674
-
675
- src/components/Placeholder/Placeholder.stories.tsx:63:14 - error TS2304: Cannot find name 'styled'.
676
-
677
- 63 const List = styled.div`
678
-    ~~~~~~
679
-
680
- src/components/Placeholder/Placeholder.stories.tsx:75:13 - error TS2304: Cannot find name 'certificatesNotFound'.
681
-
682
- 75 imgSrc={certificatesNotFound}
683
-    ~~~~~~~~~~~~~~~~~~~~
684
-
685
- src/components/Placeholder/Placeholder.stories.tsx:89:13 - error TS2304: Cannot find name 'certificatesNotFound'.
686
-
687
- 89 imgSrc={certificatesNotFound}
688
-    ~~~~~~~~~~~~~~~~~~~~
689
-
690
- src/components/Placeholder/Placeholder.stories.tsx:103:13 - error TS2304: Cannot find name 'certificatesNotFound'.
691
-
692
- 103 imgSrc={certificatesNotFound}
693
-    ~~~~~~~~~~~~~~~~~~~~
694
-
695
- src/components/Placeholder/Placeholder.stories.tsx:138:12 - error TS2304: Cannot find name 'Clock'.
696
-
697
- 138 imgSrc={Clock}
698
-    ~~~~~
699
-
700
- src/components/Placeholder/Placeholder.stories.tsx:181:14 - error TS2304: Cannot find name 'Clock'.
701
-
702
- 181 imgSrc={Clock}
703
-    ~~~~~
704
-
705
- src/components/Placeholder/Placeholder.stories.tsx:194:14 - error TS2304: Cannot find name 'Clock'.
706
-
707
- 194 imgSrc={Clock}
708
-    ~~~~~
709
-
710
- src/components/Typography/hooks/useTypographyColor/useTypographyColor.tsx:47:13 - error TS7053: Element implicitly has an 'any' type because expression of type 'Intensity' can't be used to index type 'PaletteColor | Color | (PaletteColor & Color)'.
711
- Property '900' does not exist on type 'PaletteColor | Color | (PaletteColor & Color)'.
712
-
713
- 47 return theme.palette[colorName]?.[colorIntensity] || colorName;
714
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
715
-
716
-
717
- Found 138 errors in 40 files.
718
-
719
- Errors Files
720
- 1 src/components/AsyncAutocomplete/AsyncAutocomplete.stories.tsx:26
721
- 1 src/components/AsyncAutocomplete/useLogic/useLogic.ts:43
722
- 1 src/components/Autocomplete/Autocomplete.stories.tsx:8
723
- 1 src/components/Autocomplete/Autocomplete.tsx:196
724
- 16 src/components/AutoSaveIndicator/AutoSaveIndicator.stories.tsx:6
725
- 1 src/components/AutoSaveIndicator/AutoSaveIndicator.tsx:1
726
- 1 src/components/AutoSaveIndicator/DefaultState/DefaultState.tsx:1
727
- 4 src/components/AutoSaveIndicator/LoadingState/styles.ts:1
728
- 3 src/components/AutoSaveIndicator/styles.ts:1
729
- 1 src/components/AutoSaveIndicator/useLogic/useLogic.ts:3
730
- 1 src/components/BottomDrawer/ButtomDrawer.test.tsx:1
731
- 4 src/components/CheckboxField/CheckboxField.test.tsx:1
732
- 13 src/components/ContentState/ContentState.stories.tsx:75
733
- 1 src/components/CopyTypography/CopyTypography.test.tsx:1
734
- 1 src/components/DataGrid/Cell/Cell.tsx:59
735
- 4 src/components/DataGrid/DataGrid.stories.tsx:6
736
- 1 src/components/DataGrid/DataGrid.tsx:270
737
- 1 src/components/DataGrid/HeadCell/HeadCell.tsx:1
738
- 7 src/components/DataGrid/HeadCell/styles.ts:2
739
- 2 src/components/DataGrid/Loader/styles.ts:4
740
- 3 src/components/DataGridActionCell/DataGridActionCell.stories.tsx:2
741
- 1 src/components/DataGridActionCell/styles.ts:1
742
- 1 src/components/DataGridActionCell/types.ts:109
743
- 1 src/components/DataGridOld/DataGridOld.tsx:50
744
- 5 src/components/DataGridPagination/DataGridPagination.stories.tsx:8
745
- 9 src/components/DataGridPagination/DataGridPagination.test.tsx:2
746
- 1 src/components/DataGridPagination/DataGridPagination.tsx:4
747
- 1 src/components/DataGridPagination/faker.ts:7
748
- 4 src/components/DataGridPagination/styles.ts:3
749
- 7 src/components/Description/Description.test.tsx:1
750
- 6 src/components/DescriptionList/DescriptionList.test.tsx:1
751
- 2 src/components/Divider/Divider.stories.tsx:3
752
- 6 src/components/ErrorBoundary/ErrorBoundary.stories.tsx:23
753
- 6 src/components/ErrorBoundary/ErrorBoundary.test.tsx:1
754
- 3 src/components/InternalErrorPlaceholder/InternalErrorPlaceholder.stories.tsx:22
755
- 3 src/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.stories.tsx:21
756
- 3 src/components/OverflowTypography/hooks/useOverflowed/useOverflowed.ts:17
757
- 1 src/components/Pagination/Pagination.stories.tsx:4
758
- 9 src/components/Placeholder/Placeholder.stories.tsx:30
759
- 1 src/components/Typography/hooks/useTypographyColor/useTypographyColor.tsx:47
760
-  ELIFECYCLE  Command failed with exit code 2.