@max-ts/components 0.1.0 → 0.2.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 (1939) hide show
  1. package/lib/_virtual/jsx-runtime.cjs +1 -0
  2. package/lib/_virtual/jsx-runtime.mjs +5 -0
  3. package/lib/_virtual/jsx-runtime2.cjs +1 -0
  4. package/lib/_virtual/jsx-runtime2.mjs +4 -0
  5. package/lib/_virtual/react-jsx-runtime.development.cjs +1 -0
  6. package/lib/_virtual/react-jsx-runtime.development.mjs +4 -0
  7. package/lib/_virtual/react-jsx-runtime.production.cjs +1 -0
  8. package/lib/_virtual/react-jsx-runtime.production.mjs +4 -0
  9. package/lib/components/Accordion/Accordion.cjs +1 -0
  10. package/lib/components/Accordion/Accordion.d.ts +39 -0
  11. package/lib/components/Accordion/Accordion.mjs +35 -0
  12. package/lib/components/Accordion/styles.cjs +17 -0
  13. package/lib/components/Accordion/styles.d.ts +21 -0
  14. package/lib/components/Accordion/styles.mjs +25 -0
  15. package/lib/components/ActionCell/ActionCell.cjs +1 -0
  16. package/lib/components/ActionCell/ActionCell.d.ts +24 -0
  17. package/lib/components/ActionCell/ActionCell.mjs +40 -0
  18. package/lib/components/ActionCell/MainAction/MainAction.cjs +1 -0
  19. package/lib/components/ActionCell/MainAction/MainAction.d.ts +13 -0
  20. package/lib/components/ActionCell/MainAction/MainAction.mjs +78 -0
  21. package/lib/components/ActionCell/SecondaryAction/SecondaryActions.cjs +1 -0
  22. package/lib/components/ActionCell/SecondaryAction/SecondaryActions.d.ts +13 -0
  23. package/lib/components/ActionCell/SecondaryAction/SecondaryActions.mjs +34 -0
  24. package/lib/components/ActionCell/styles.cjs +4 -0
  25. package/lib/components/ActionCell/styles.d.ts +1 -0
  26. package/lib/components/ActionCell/styles.mjs +8 -0
  27. package/lib/components/ActionCell/types.d.ts +66 -0
  28. package/lib/components/ActionCell/useLogic/useLogic.cjs +1 -0
  29. package/lib/components/ActionCell/useLogic/useLogic.d.ts +11 -0
  30. package/lib/components/ActionCell/useLogic/useLogic.mjs +23 -0
  31. package/lib/components/AsyncAutocomplete/AsyncAutocomplete.cjs +1 -0
  32. package/lib/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +61 -0
  33. package/lib/components/AsyncAutocomplete/AsyncAutocomplete.mjs +45 -0
  34. package/lib/components/AsyncAutocomplete/constants.cjs +1 -0
  35. package/lib/components/AsyncAutocomplete/constants.mjs +7 -0
  36. package/lib/components/AsyncAutocomplete/useLogic/useLogic.cjs +1 -0
  37. package/lib/components/AsyncAutocomplete/useLogic/useLogic.d.ts +12 -0
  38. package/lib/components/AsyncAutocomplete/useLogic/useLogic.mjs +47 -0
  39. package/lib/components/Autocomplete/Autocomplete.cjs +1 -0
  40. package/lib/components/Autocomplete/Autocomplete.d.ts +47 -0
  41. package/lib/components/Autocomplete/Autocomplete.mjs +134 -0
  42. package/lib/components/Autocomplete/constants.cjs +1 -0
  43. package/lib/components/Autocomplete/constants.mjs +5 -0
  44. package/lib/components/Autocomplete/enums.cjs +1 -0
  45. package/lib/components/Autocomplete/enums.mjs +4 -0
  46. package/lib/components/Autocomplete/styles.cjs +7 -0
  47. package/lib/components/Autocomplete/styles.d.ts +7 -0
  48. package/lib/components/Autocomplete/styles.mjs +12 -0
  49. package/lib/components/Autocomplete/useLogic/useLogic.cjs +1 -0
  50. package/lib/components/Autocomplete/useLogic/useLogic.d.ts +15 -0
  51. package/lib/components/Autocomplete/useLogic/useLogic.mjs +34 -0
  52. package/lib/components/Autocomplete/useLogic/utils/checkIsInputEmpty/checkIsInputEmpty.cjs +1 -0
  53. package/lib/components/Autocomplete/useLogic/utils/checkIsInputEmpty/checkIsInputEmpty.mjs +4 -0
  54. package/lib/components/Badge/Badge.cjs +1 -0
  55. package/lib/components/Badge/Badge.d.ts +18 -0
  56. package/lib/components/Badge/Badge.mjs +23 -0
  57. package/lib/components/Badge/styles.cjs +21 -0
  58. package/lib/components/Badge/styles.d.ts +8 -0
  59. package/lib/components/Badge/styles.mjs +73 -0
  60. package/lib/components/BottomDrawer/BottomDrawer.cjs +1 -0
  61. package/lib/components/BottomDrawer/BottomDrawer.d.ts +15 -0
  62. package/lib/components/BottomDrawer/BottomDrawer.mjs +26 -0
  63. package/lib/components/BottomDrawer/constants.cjs +1 -0
  64. package/lib/components/BottomDrawer/constants.mjs +5 -0
  65. package/lib/components/BottomDrawer/styles.cjs +26 -0
  66. package/lib/components/BottomDrawer/styles.d.ts +20 -0
  67. package/lib/components/BottomDrawer/styles.mjs +34 -0
  68. package/lib/components/Button/Button.cjs +1 -0
  69. package/lib/components/Button/Button.d.ts +35 -0
  70. package/lib/components/Button/Button.mjs +38 -0
  71. package/lib/components/Button/constants.cjs +1 -0
  72. package/lib/components/Button/constants.mjs +4 -0
  73. package/lib/components/Button/enums.cjs +1 -0
  74. package/lib/components/Button/enums.mjs +7 -0
  75. package/lib/components/Button/styles.cjs +10 -0
  76. package/lib/components/Button/styles.d.ts +5 -0
  77. package/lib/components/Button/styles.mjs +17 -0
  78. package/lib/components/Button/types.d.ts +19 -0
  79. package/lib/components/Button/useLogic/useLogic.cjs +1 -0
  80. package/lib/components/Button/useLogic/useLogic.d.ts +5 -0
  81. package/lib/components/Button/useLogic/useLogic.mjs +9 -0
  82. package/lib/components/Checkbox/Checkbox.cjs +1 -0
  83. package/lib/components/Checkbox/Checkbox.d.ts +9 -0
  84. package/lib/components/Checkbox/Checkbox.mjs +24 -0
  85. package/lib/components/Checkbox/icons.cjs +1 -0
  86. package/lib/components/Checkbox/icons.d.ts +4 -0
  87. package/lib/components/Checkbox/icons.mjs +45 -0
  88. package/lib/components/Checkbox/styles.cjs +59 -0
  89. package/lib/components/Checkbox/styles.d.ts +5 -0
  90. package/lib/components/Checkbox/styles.mjs +65 -0
  91. package/lib/components/CheckboxField/CheckboxField.cjs +1 -0
  92. package/lib/components/CheckboxField/CheckboxField.d.ts +24 -0
  93. package/lib/components/CheckboxField/CheckboxField.mjs +41 -0
  94. package/lib/components/CheckboxField/styles.cjs +5 -0
  95. package/lib/components/CheckboxField/styles.d.ts +8 -0
  96. package/lib/components/CheckboxField/styles.mjs +12 -0
  97. package/lib/components/Chevron/Chevron.cjs +1 -0
  98. package/lib/components/Chevron/Chevron.d.ts +7 -0
  99. package/lib/components/Chevron/Chevron.mjs +6 -0
  100. package/lib/components/Chevron/styles.cjs +6 -0
  101. package/lib/components/Chevron/styles.d.ts +5 -0
  102. package/lib/components/Chevron/styles.mjs +16 -0
  103. package/lib/components/CircularProgress/CircularProgress.cjs +1 -0
  104. package/lib/components/CircularProgress/CircularProgress.d.ts +19 -0
  105. package/lib/components/CircularProgress/CircularProgress.mjs +18 -0
  106. package/lib/components/CircularProgress/constants.cjs +1 -0
  107. package/lib/components/CircularProgress/constants.mjs +4 -0
  108. package/lib/components/CircularProgress/useLogic/useLogic.cjs +1 -0
  109. package/lib/components/CircularProgress/useLogic/useLogic.d.ts +6 -0
  110. package/lib/components/CircularProgress/useLogic/useLogic.mjs +4 -0
  111. package/lib/components/Collapse/Collapse.cjs +1 -0
  112. package/lib/components/Collapse/Collapse.d.ts +4 -0
  113. package/lib/components/Collapse/Collapse.mjs +6 -0
  114. package/lib/components/ConfigProvider/ConfigProvider.cjs +2 -0
  115. package/lib/components/ConfigProvider/ConfigProvider.d.ts +91 -0
  116. package/lib/components/ConfigProvider/ConfigProvider.mjs +53 -0
  117. package/lib/components/ConfirmAction/ConfirmAction.cjs +1 -0
  118. package/lib/components/ConfirmAction/ConfirmAction.d.ts +38 -0
  119. package/lib/components/ConfirmAction/ConfirmAction.mjs +43 -0
  120. package/lib/components/ConfirmAction/constants.cjs +1 -0
  121. package/lib/components/ConfirmAction/constants.mjs +11 -0
  122. package/lib/components/ConfirmAction/styles.cjs +10 -0
  123. package/lib/components/ConfirmAction/styles.d.ts +16 -0
  124. package/lib/components/ConfirmAction/styles.mjs +17 -0
  125. package/lib/components/ConfirmAction/useLogic/useLogic.cjs +1 -0
  126. package/lib/components/ConfirmAction/useLogic/useLogic.d.ts +22 -0
  127. package/lib/components/ConfirmAction/useLogic/useLogic.mjs +36 -0
  128. package/lib/components/ConfirmDialog/ConfirmDialog.cjs +1 -0
  129. package/lib/components/ConfirmDialog/ConfirmDialog.d.ts +37 -0
  130. package/lib/components/ConfirmDialog/ConfirmDialog.mjs +26 -0
  131. package/lib/components/ConfirmDialog/styles.cjs +5 -0
  132. package/lib/components/ConfirmDialog/styles.d.ts +9 -0
  133. package/lib/components/ConfirmDialog/styles.mjs +10 -0
  134. package/lib/components/ConfirmDialog/useLogic/useLogic.cjs +1 -0
  135. package/lib/components/ConfirmDialog/useLogic/useLogic.d.ts +10 -0
  136. package/lib/components/ConfirmDialog/useLogic/useLogic.mjs +12 -0
  137. package/lib/components/Container/Container.cjs +1 -0
  138. package/lib/components/Container/Container.d.ts +8 -0
  139. package/lib/components/Container/Container.mjs +6 -0
  140. package/lib/components/Container/styles.cjs +19 -0
  141. package/lib/components/Container/styles.d.ts +24 -0
  142. package/lib/components/Container/styles.mjs +48 -0
  143. package/lib/components/ContentState/ContentState.cjs +1 -0
  144. package/lib/components/ContentState/ContentState.d.ts +36 -0
  145. package/lib/components/ContentState/ContentState.mjs +49 -0
  146. package/lib/components/ContentState/styles.cjs +9 -0
  147. package/lib/components/ContentState/styles.d.ts +1 -0
  148. package/lib/components/ContentState/styles.mjs +13 -0
  149. package/lib/components/ContentState/types.d.ts +29 -0
  150. package/lib/components/CopyTypography/CopyTypography.cjs +1 -0
  151. package/lib/components/CopyTypography/CopyTypography.d.ts +17 -0
  152. package/lib/components/CopyTypography/CopyTypography.mjs +32 -0
  153. package/lib/components/CopyTypography/enums.cjs +1 -0
  154. package/lib/components/CopyTypography/enums.mjs +4 -0
  155. package/lib/components/CopyTypography/styles.cjs +18 -0
  156. package/lib/components/CopyTypography/styles.d.ts +17 -0
  157. package/lib/components/CopyTypography/styles.mjs +27 -0
  158. package/lib/components/CopyTypography/useLogic/useLogic.cjs +1 -0
  159. package/lib/components/CopyTypography/useLogic/useLogic.d.ts +10 -0
  160. package/lib/components/CopyTypography/useLogic/useLogic.mjs +20 -0
  161. package/lib/components/DataGrid/Body/Body.cjs +1 -0
  162. package/lib/components/DataGrid/Body/Body.d.ts +99 -0
  163. package/lib/components/DataGrid/Body/Body.mjs +53 -0
  164. package/lib/components/DataGrid/Body/styles.cjs +9 -0
  165. package/lib/components/DataGrid/Body/styles.d.ts +4 -0
  166. package/lib/components/DataGrid/Body/styles.mjs +16 -0
  167. package/lib/components/DataGrid/Body/useLogic/useLogic.cjs +1 -0
  168. package/lib/components/DataGrid/Body/useLogic/useLogic.d.ts +11 -0
  169. package/lib/components/DataGrid/Body/useLogic/useLogic.mjs +17 -0
  170. package/lib/components/DataGrid/Cell/Cell.cjs +1 -0
  171. package/lib/components/DataGrid/Cell/Cell.d.ts +26 -0
  172. package/lib/components/DataGrid/Cell/Cell.mjs +25 -0
  173. package/lib/components/DataGrid/Cell/styles.cjs +11 -0
  174. package/lib/components/DataGrid/Cell/styles.d.ts +8 -0
  175. package/lib/components/DataGrid/Cell/styles.mjs +19 -0
  176. package/lib/components/DataGrid/Cell/useLogic/useLogic.cjs +1 -0
  177. package/lib/components/DataGrid/Cell/useLogic/useLogic.d.ts +8 -0
  178. package/lib/components/DataGrid/Cell/useLogic/useLogic.mjs +13 -0
  179. package/lib/components/DataGrid/DataGrid.cjs +1 -0
  180. package/lib/components/DataGrid/DataGrid.d.ts +154 -0
  181. package/lib/components/DataGrid/DataGrid.mjs +90 -0
  182. package/lib/components/DataGrid/DataGridContext/DataGridContext.cjs +1 -0
  183. package/lib/components/DataGrid/DataGridContext/DataGridContext.d.ts +7 -0
  184. package/lib/components/DataGrid/DataGridContext/DataGridContext.mjs +12 -0
  185. package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.cjs +1 -0
  186. package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +6 -0
  187. package/lib/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.mjs +41 -0
  188. package/lib/components/DataGrid/Head/Head.cjs +1 -0
  189. package/lib/components/DataGrid/Head/Head.d.ts +37 -0
  190. package/lib/components/DataGrid/Head/Head.mjs +35 -0
  191. package/lib/components/DataGrid/Head/styles.cjs +12 -0
  192. package/lib/components/DataGrid/Head/styles.d.ts +4 -0
  193. package/lib/components/DataGrid/Head/styles.mjs +20 -0
  194. package/lib/components/DataGrid/Head/useLogic/useLogic.cjs +1 -0
  195. package/lib/components/DataGrid/Head/useLogic/useLogic.d.ts +12 -0
  196. package/lib/components/DataGrid/Head/useLogic/useLogic.mjs +39 -0
  197. package/lib/components/DataGrid/HeadCell/HeadCell.cjs +1 -0
  198. package/lib/components/DataGrid/HeadCell/HeadCell.d.ts +18 -0
  199. package/lib/components/DataGrid/HeadCell/HeadCell.mjs +32 -0
  200. package/lib/components/DataGrid/HeadCell/styles.cjs +21 -0
  201. package/lib/components/DataGrid/HeadCell/styles.d.ts +22 -0
  202. package/lib/components/DataGrid/HeadCell/styles.mjs +30 -0
  203. package/lib/components/DataGrid/HeadCell/useLogic/useLogic.cjs +1 -0
  204. package/lib/components/DataGrid/HeadCell/useLogic/useLogic.d.ts +10 -0
  205. package/lib/components/DataGrid/HeadCell/useLogic/useLogic.mjs +16 -0
  206. package/lib/components/DataGrid/Loader/Loader.cjs +1 -0
  207. package/lib/components/DataGrid/Loader/Loader.mjs +14 -0
  208. package/lib/components/DataGrid/Loader/styles.cjs +16 -0
  209. package/lib/components/DataGrid/Loader/styles.d.ts +4 -0
  210. package/lib/components/DataGrid/Loader/styles.mjs +24 -0
  211. package/lib/components/DataGrid/NoData/NoData.cjs +1 -0
  212. package/lib/components/DataGrid/NoData/NoData.d.ts +34 -0
  213. package/lib/components/DataGrid/NoData/NoData.mjs +29 -0
  214. package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.cjs +1 -0
  215. package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.d.ts +55 -0
  216. package/lib/components/DataGrid/Row/NestedChildren/NestedChildren.mjs +72 -0
  217. package/lib/components/DataGrid/Row/NestedChildren/styles.cjs +54 -0
  218. package/lib/components/DataGrid/Row/NestedChildren/styles.d.ts +20 -0
  219. package/lib/components/DataGrid/Row/NestedChildren/styles.mjs +68 -0
  220. package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.cjs +1 -0
  221. package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.d.ts +18 -0
  222. package/lib/components/DataGrid/Row/NestedChildren/useLogic/useLogic.mjs +27 -0
  223. package/lib/components/DataGrid/Row/Row.cjs +1 -0
  224. package/lib/components/DataGrid/Row/Row.d.ts +91 -0
  225. package/lib/components/DataGrid/Row/Row.mjs +159 -0
  226. package/lib/components/DataGrid/Row/RowContext/RowContext.cjs +1 -0
  227. package/lib/components/DataGrid/Row/RowContext/RowContext.d.ts +7 -0
  228. package/lib/components/DataGrid/Row/RowContext/RowContext.mjs +11 -0
  229. package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.cjs +1 -0
  230. package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.d.ts +6 -0
  231. package/lib/components/DataGrid/Row/RowContext/RowProvider/RowProvider.mjs +25 -0
  232. package/lib/components/DataGrid/Row/constants.cjs +1 -0
  233. package/lib/components/DataGrid/Row/constants.mjs +5 -0
  234. package/lib/components/DataGrid/Row/styles.cjs +80 -0
  235. package/lib/components/DataGrid/Row/styles.d.ts +31 -0
  236. package/lib/components/DataGrid/Row/styles.mjs +102 -0
  237. package/lib/components/DataGrid/Row/useLogic/useLogic.cjs +1 -0
  238. package/lib/components/DataGrid/Row/useLogic/useLogic.d.ts +35 -0
  239. package/lib/components/DataGrid/Row/useLogic/useLogic.mjs +79 -0
  240. package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.cjs +1 -0
  241. package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.d.ts +4 -0
  242. package/lib/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.mjs +8 -0
  243. package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.cjs +1 -0
  244. package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.d.ts +2 -0
  245. package/lib/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.mjs +14 -0
  246. package/lib/components/DataGrid/Row/utils/checkIsDisabled/checkIsDisabled.cjs +1 -0
  247. package/lib/components/DataGrid/Row/utils/checkIsDisabled/checkIsDisabled.mjs +4 -0
  248. package/lib/components/DataGrid/constants.cjs +1 -0
  249. package/lib/components/DataGrid/constants.mjs +9 -0
  250. package/lib/components/DataGrid/enums.cjs +1 -0
  251. package/lib/components/DataGrid/enums.mjs +5 -0
  252. package/lib/components/DataGrid/faker.d.ts +24 -0
  253. package/lib/components/DataGrid/styles.cjs +22 -0
  254. package/lib/components/DataGrid/styles.d.ts +5 -0
  255. package/lib/components/DataGrid/styles.mjs +30 -0
  256. package/lib/components/DataGrid/types.d.ts +91 -0
  257. package/lib/components/DataGrid/useLogic/useLogic.cjs +1 -0
  258. package/lib/components/DataGrid/useLogic/useLogic.d.ts +32 -0
  259. package/lib/components/DataGrid/useLogic/useLogic.mjs +79 -0
  260. package/lib/components/DataGrid/useLogic/utils/getGridTemplateColumns/getGridTemplateColumns.cjs +1 -0
  261. package/lib/components/DataGrid/useLogic/utils/getGridTemplateColumns/getGridTemplateColumns.mjs +4 -0
  262. package/lib/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.cjs +1 -0
  263. package/lib/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.d.ts +5 -0
  264. package/lib/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.mjs +5 -0
  265. package/lib/components/DataGrid/utils/alignToJustifyContent/constants.cjs +1 -0
  266. package/lib/components/DataGrid/utils/alignToJustifyContent/constants.mjs +9 -0
  267. package/lib/components/DataGridActionCell/DataGridActionCell.cjs +1 -0
  268. package/lib/components/DataGridActionCell/DataGridActionCell.d.ts +22 -0
  269. package/lib/components/DataGridActionCell/DataGridActionCell.mjs +35 -0
  270. package/lib/components/DataGridActionCell/MainAction/MainAction.cjs +1 -0
  271. package/lib/components/DataGridActionCell/MainAction/MainAction.d.ts +22 -0
  272. package/lib/components/DataGridActionCell/MainAction/MainAction.mjs +57 -0
  273. package/lib/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.cjs +1 -0
  274. package/lib/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.d.ts +19 -0
  275. package/lib/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.mjs +54 -0
  276. package/lib/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.cjs +1 -0
  277. package/lib/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.d.ts +11 -0
  278. package/lib/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.mjs +17 -0
  279. package/lib/components/DataGridActionCell/SecondaryAction/SecondaryAction.cjs +1 -0
  280. package/lib/components/DataGridActionCell/SecondaryAction/SecondaryAction.d.ts +22 -0
  281. package/lib/components/DataGridActionCell/SecondaryAction/SecondaryAction.mjs +34 -0
  282. package/lib/components/DataGridActionCell/styles.cjs +4 -0
  283. package/lib/components/DataGridActionCell/styles.d.ts +1 -0
  284. package/lib/components/DataGridActionCell/styles.mjs +8 -0
  285. package/lib/components/DataGridActionCell/types.d.ts +98 -0
  286. package/lib/components/DataGridActionCell/useLogic/useLogic.cjs +1 -0
  287. package/lib/components/DataGridActionCell/useLogic/useLogic.d.ts +10 -0
  288. package/lib/components/DataGridActionCell/useLogic/useLogic.mjs +49 -0
  289. package/lib/components/DataGridOld/Body/Body.d.ts +13 -0
  290. package/lib/components/DataGridOld/Body/styles.d.ts +1 -0
  291. package/lib/components/DataGridOld/Cell/Cell.d.ts +7 -0
  292. package/lib/components/DataGridOld/Cell/styles.d.ts +4 -0
  293. package/lib/components/DataGridOld/DataGridOld.d.ts +20 -0
  294. package/lib/components/DataGridOld/Head/Head.d.ts +7 -0
  295. package/lib/components/DataGridOld/Head/styles.d.ts +4 -0
  296. package/lib/components/DataGridOld/HeadCell/HeadCell.d.ts +5 -0
  297. package/lib/components/DataGridOld/HeadCell/styles.d.ts +3 -0
  298. package/lib/components/DataGridOld/Row/Row.d.ts +11 -0
  299. package/lib/components/DataGridOld/Row/styles.d.ts +5 -0
  300. package/lib/components/DataGridOld/State/styles.d.ts +1 -0
  301. package/lib/components/DataGridOld/styles.d.ts +7 -0
  302. package/lib/components/DataGridOld/types.d.ts +15 -0
  303. package/lib/components/DataGridPagination/DataGridPagination.cjs +1 -0
  304. package/lib/components/DataGridPagination/DataGridPagination.d.ts +25 -0
  305. package/lib/components/DataGridPagination/DataGridPagination.mjs +57 -0
  306. package/lib/components/DataGridPagination/constants.cjs +1 -0
  307. package/lib/components/DataGridPagination/constants.mjs +5 -0
  308. package/lib/components/DataGridPagination/faker.d.ts +3 -0
  309. package/lib/components/DataGridPagination/styles.cjs +18 -0
  310. package/lib/components/DataGridPagination/styles.d.ts +16 -0
  311. package/lib/components/DataGridPagination/styles.mjs +25 -0
  312. package/lib/components/DataGridPagination/useLogic/useLogic.cjs +1 -0
  313. package/lib/components/DataGridPagination/useLogic/useLogic.d.ts +10 -0
  314. package/lib/components/DataGridPagination/useLogic/useLogic.mjs +28 -0
  315. package/lib/components/Description/Description.cjs +1 -0
  316. package/lib/components/Description/Description.d.ts +34 -0
  317. package/lib/components/Description/Description.mjs +39 -0
  318. package/lib/components/Description/DescriptionContext/DescriptionContext.cjs +1 -0
  319. package/lib/components/Description/DescriptionContext/DescriptionContext.d.ts +6 -0
  320. package/lib/components/Description/DescriptionContext/DescriptionContext.mjs +10 -0
  321. package/lib/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.cjs +1 -0
  322. package/lib/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.d.ts +7 -0
  323. package/lib/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.mjs +11 -0
  324. package/lib/components/Description/Name/Name.cjs +1 -0
  325. package/lib/components/Description/Name/Name.d.ts +3 -0
  326. package/lib/components/Description/Name/Name.mjs +22 -0
  327. package/lib/components/Description/Name/styles.cjs +18 -0
  328. package/lib/components/Description/Name/styles.d.ts +6 -0
  329. package/lib/components/Description/Name/styles.mjs +25 -0
  330. package/lib/components/Description/Value/Value.cjs +1 -0
  331. package/lib/components/Description/Value/Value.d.ts +22 -0
  332. package/lib/components/Description/Value/Value.mjs +37 -0
  333. package/lib/components/Description/Value/styles.cjs +35 -0
  334. package/lib/components/Description/Value/styles.d.ts +43 -0
  335. package/lib/components/Description/Value/styles.mjs +47 -0
  336. package/lib/components/Description/Value/useLogic/useLogic.cjs +1 -0
  337. package/lib/components/Description/Value/useLogic/useLogic.d.ts +9 -0
  338. package/lib/components/Description/Value/useLogic/useLogic.mjs +11 -0
  339. package/lib/components/Description/constants.cjs +1 -0
  340. package/lib/components/Description/constants.mjs +6 -0
  341. package/lib/components/Description/styles.cjs +17 -0
  342. package/lib/components/Description/styles.d.ts +4 -0
  343. package/lib/components/Description/styles.mjs +23 -0
  344. package/lib/components/Description/useLogic/useLogic.cjs +1 -0
  345. package/lib/components/Description/useLogic/useLogic.d.ts +9 -0
  346. package/lib/components/Description/useLogic/useLogic.mjs +15 -0
  347. package/lib/components/DescriptionList/DescriptionList.cjs +1 -0
  348. package/lib/components/DescriptionList/DescriptionList.d.ts +2 -0
  349. package/lib/components/DescriptionList/DescriptionList.mjs +78 -0
  350. package/lib/components/DescriptionList/styles.cjs +30 -0
  351. package/lib/components/DescriptionList/styles.d.ts +22 -0
  352. package/lib/components/DescriptionList/styles.mjs +46 -0
  353. package/lib/components/DescriptionList/types.d.ts +32 -0
  354. package/lib/components/DescriptionList/utils/getTooltipProps/getTooltipProps.cjs +1 -0
  355. package/lib/components/DescriptionList/utils/getTooltipProps/getTooltipProps.mjs +4 -0
  356. package/lib/components/Dialog/Dialog.cjs +1 -0
  357. package/lib/components/Dialog/Dialog.d.ts +20 -0
  358. package/lib/components/Dialog/Dialog.mjs +25 -0
  359. package/lib/components/Dialog/constants.cjs +1 -0
  360. package/lib/components/Dialog/constants.mjs +10 -0
  361. package/lib/components/Dialog/styles.cjs +9 -0
  362. package/lib/components/Dialog/styles.d.ts +5 -0
  363. package/lib/components/Dialog/styles.mjs +16 -0
  364. package/lib/components/DialogActions/DialogActions.cjs +1 -0
  365. package/lib/components/DialogActions/DialogActions.d.ts +4 -0
  366. package/lib/components/DialogActions/DialogActions.mjs +10 -0
  367. package/lib/components/DialogActions/styles.cjs +12 -0
  368. package/lib/components/DialogActions/styles.d.ts +6 -0
  369. package/lib/components/DialogActions/styles.mjs +18 -0
  370. package/lib/components/DialogContent/DialogContent.cjs +1 -0
  371. package/lib/components/DialogContent/DialogContent.d.ts +4 -0
  372. package/lib/components/DialogContent/DialogContent.mjs +6 -0
  373. package/lib/components/DialogContent/styles.cjs +7 -0
  374. package/lib/components/DialogContent/styles.d.ts +2 -0
  375. package/lib/components/DialogContent/styles.mjs +11 -0
  376. package/lib/components/DialogContentText/DialogContentText.cjs +1 -0
  377. package/lib/components/DialogContentText/DialogContentText.d.ts +4 -0
  378. package/lib/components/DialogContentText/DialogContentText.mjs +6 -0
  379. package/lib/components/DialogContentText/styles.cjs +3 -0
  380. package/lib/components/DialogContentText/styles.d.ts +1 -0
  381. package/lib/components/DialogContentText/styles.mjs +7 -0
  382. package/lib/components/DialogHeader/DialogHeader.cjs +1 -0
  383. package/lib/components/DialogHeader/DialogHeader.d.ts +16 -0
  384. package/lib/components/DialogHeader/DialogHeader.mjs +39 -0
  385. package/lib/components/DialogHeader/styles.cjs +20 -0
  386. package/lib/components/DialogHeader/styles.d.ts +18 -0
  387. package/lib/components/DialogHeader/styles.mjs +31 -0
  388. package/lib/components/DialogTitle/DialogTitle.cjs +1 -0
  389. package/lib/components/DialogTitle/DialogTitle.d.ts +6 -0
  390. package/lib/components/DialogTitle/DialogTitle.mjs +28 -0
  391. package/lib/components/Divider/Divider.cjs +1 -0
  392. package/lib/components/Divider/Divider.d.ts +4 -0
  393. package/lib/components/Divider/Divider.mjs +6 -0
  394. package/lib/components/DropdownButton/DropdownButton.cjs +1 -0
  395. package/lib/components/DropdownButton/DropdownButton.d.ts +9 -0
  396. package/lib/components/DropdownButton/DropdownButton.mjs +32 -0
  397. package/lib/components/ErrorBoundary/ErrorBoundary.cjs +1 -0
  398. package/lib/components/ErrorBoundary/ErrorBoundary.d.ts +36 -0
  399. package/lib/components/ErrorBoundary/ErrorBoundary.mjs +33 -0
  400. package/lib/components/ErrorBoundary/constants.cjs +1 -0
  401. package/lib/components/ErrorBoundary/constants.mjs +11 -0
  402. package/lib/components/ErrorBoundary/enums.cjs +1 -0
  403. package/lib/components/ErrorBoundary/enums.mjs +4 -0
  404. package/lib/components/Filename/Filename.cjs +1 -0
  405. package/lib/components/Filename/Filename.d.ts +21 -0
  406. package/lib/components/Filename/Filename.mjs +34 -0
  407. package/lib/components/Filename/styles.cjs +11 -0
  408. package/lib/components/Filename/styles.d.ts +17 -0
  409. package/lib/components/Filename/styles.mjs +19 -0
  410. package/lib/components/Filename/useLogic/useLogic.cjs +1 -0
  411. package/lib/components/Filename/useLogic/useLogic.d.ts +16 -0
  412. package/lib/components/Filename/useLogic/useLogic.mjs +16 -0
  413. package/lib/components/Filename/useLogic/utils/findExtension/constants.cjs +1 -0
  414. package/lib/components/Filename/useLogic/utils/findExtension/constants.mjs +19 -0
  415. package/lib/components/Filename/useLogic/utils/findExtension/findExtension.cjs +1 -0
  416. package/lib/components/Filename/useLogic/utils/findExtension/findExtension.mjs +12 -0
  417. package/lib/components/Filename/useLogic/utils/truncateString/constants.cjs +1 -0
  418. package/lib/components/Filename/useLogic/utils/truncateString/constants.mjs +4 -0
  419. package/lib/components/Filename/useLogic/utils/truncateString/truncateString.cjs +1 -0
  420. package/lib/components/Filename/useLogic/utils/truncateString/truncateString.mjs +19 -0
  421. package/lib/components/FormControl/FormControl.cjs +1 -0
  422. package/lib/components/FormControl/FormControl.d.ts +4 -0
  423. package/lib/components/FormControl/FormControl.mjs +6 -0
  424. package/lib/components/FormControlLabel/FormControlLabel.cjs +1 -0
  425. package/lib/components/FormControlLabel/FormControlLabel.d.ts +2 -0
  426. package/lib/components/FormControlLabel/FormControlLabel.mjs +6 -0
  427. package/lib/components/FormControlLabel/styles.cjs +8 -0
  428. package/lib/components/FormControlLabel/styles.d.ts +2 -0
  429. package/lib/components/FormControlLabel/styles.mjs +14 -0
  430. package/lib/components/FormControlLabel/types.d.ts +3 -0
  431. package/lib/components/FormHelperText/FormHelperText.cjs +1 -0
  432. package/lib/components/FormHelperText/FormHelperText.d.ts +7 -0
  433. package/lib/components/FormHelperText/FormHelperText.mjs +12 -0
  434. package/lib/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.cjs +1 -0
  435. package/lib/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.d.ts +7 -0
  436. package/lib/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.mjs +17 -0
  437. package/lib/components/FormHelperText/FormHelperTextContent/styles.cjs +14 -0
  438. package/lib/components/FormHelperText/FormHelperTextContent/styles.d.ts +9 -0
  439. package/lib/components/FormHelperText/FormHelperTextContent/styles.mjs +22 -0
  440. package/lib/components/FormLabel/FormLabel.cjs +1 -0
  441. package/lib/components/FormLabel/FormLabel.d.ts +4 -0
  442. package/lib/components/FormLabel/FormLabel.mjs +6 -0
  443. package/lib/components/FormLabel/styles.cjs +4 -0
  444. package/lib/components/FormLabel/styles.d.ts +1 -0
  445. package/lib/components/FormLabel/styles.mjs +8 -0
  446. package/lib/components/GuidTypography/GuidTypography.cjs +1 -0
  447. package/lib/components/GuidTypography/GuidTypography.d.ts +3 -0
  448. package/lib/components/GuidTypography/GuidTypography.mjs +6 -0
  449. package/lib/components/IconButton/IconButton.cjs +1 -0
  450. package/lib/components/IconButton/IconButton.d.ts +9 -0
  451. package/lib/components/IconButton/IconButton.mjs +28 -0
  452. package/lib/components/IconButton/styles.cjs +11 -0
  453. package/lib/components/IconButton/styles.d.ts +23 -0
  454. package/lib/components/IconButton/styles.mjs +33 -0
  455. package/lib/components/IconDropdownButton/IconDropdownButton.cjs +1 -0
  456. package/lib/components/IconDropdownButton/IconDropdownButton.d.ts +9 -0
  457. package/lib/components/IconDropdownButton/IconDropdownButton.mjs +25 -0
  458. package/lib/components/InternalErrorPlaceholder/InternalErrorPlaceholder.cjs +1 -0
  459. package/lib/components/InternalErrorPlaceholder/InternalErrorPlaceholder.mjs +35 -0
  460. package/lib/components/Link/Link.cjs +1 -0
  461. package/lib/components/Link/Link.d.ts +24 -0
  462. package/lib/components/Link/Link.mjs +18 -0
  463. package/lib/components/Link/styles.cjs +35 -0
  464. package/lib/components/Link/styles.d.ts +1 -0
  465. package/lib/components/Link/styles.mjs +39 -0
  466. package/lib/components/List/List.cjs +1 -0
  467. package/lib/components/List/List.d.ts +4 -0
  468. package/lib/components/List/List.mjs +6 -0
  469. package/lib/components/ListItem/ListItem.cjs +1 -0
  470. package/lib/components/ListItem/ListItem.d.ts +4 -0
  471. package/lib/components/ListItem/ListItem.mjs +6 -0
  472. package/lib/components/ListItem/constants.cjs +1 -0
  473. package/lib/components/ListItem/constants.d.ts +5 -0
  474. package/lib/components/ListItem/constants.mjs +4 -0
  475. package/lib/components/ListItem/styles.cjs +11 -0
  476. package/lib/components/ListItem/styles.d.ts +11 -0
  477. package/lib/components/ListItem/styles.mjs +25 -0
  478. package/lib/components/ListItemButton/ListItemButton.cjs +1 -0
  479. package/lib/components/ListItemButton/ListItemButton.d.ts +21 -0
  480. package/lib/components/ListItemButton/ListItemButton.mjs +33 -0
  481. package/lib/components/ListItemIcon/ListItemIcon.cjs +1 -0
  482. package/lib/components/ListItemIcon/ListItemIcon.d.ts +5 -0
  483. package/lib/components/ListItemIcon/ListItemIcon.mjs +9 -0
  484. package/lib/components/ListItemIcon/styles.cjs +3 -0
  485. package/lib/components/ListItemIcon/styles.d.ts +1 -0
  486. package/lib/components/ListItemIcon/styles.mjs +7 -0
  487. package/lib/components/ListItemText/ListItemText.cjs +1 -0
  488. package/lib/components/ListItemText/ListItemText.d.ts +4 -0
  489. package/lib/components/ListItemText/ListItemText.mjs +6 -0
  490. package/lib/components/ListSubheader/ListSubheader.cjs +1 -0
  491. package/lib/components/ListSubheader/ListSubheader.d.ts +4 -0
  492. package/lib/components/ListSubheader/ListSubheader.mjs +6 -0
  493. package/lib/components/Menu/Menu.cjs +1 -0
  494. package/lib/components/Menu/Menu.d.ts +9 -0
  495. package/lib/components/Menu/Menu.mjs +19 -0
  496. package/lib/components/MenuItem/MenuItem.cjs +1 -0
  497. package/lib/components/MenuItem/MenuItem.d.ts +28 -0
  498. package/lib/components/MenuItem/MenuItem.mjs +35 -0
  499. package/lib/components/MenuList/MenuList.cjs +1 -0
  500. package/lib/components/MenuList/MenuList.d.ts +2 -0
  501. package/lib/components/MenuList/MenuList.mjs +6 -0
  502. package/lib/components/MenuList/styles.cjs +8 -0
  503. package/lib/components/MenuList/styles.d.ts +1 -0
  504. package/lib/components/MenuList/styles.mjs +12 -0
  505. package/lib/components/MenuList/types.d.ts +3 -0
  506. package/lib/components/NavMenu/Item/Item.cjs +1 -0
  507. package/lib/components/NavMenu/Item/Item.d.ts +16 -0
  508. package/lib/components/NavMenu/Item/Item.mjs +44 -0
  509. package/lib/components/NavMenu/Item/ItemButton/ItemButton.cjs +1 -0
  510. package/lib/components/NavMenu/Item/ItemButton/ItemButton.d.ts +11 -0
  511. package/lib/components/NavMenu/Item/ItemButton/ItemButton.mjs +49 -0
  512. package/lib/components/NavMenu/Item/ItemButton/styles.cjs +105 -0
  513. package/lib/components/NavMenu/Item/ItemButton/styles.d.ts +639 -0
  514. package/lib/components/NavMenu/Item/ItemButton/styles.mjs +126 -0
  515. package/lib/components/NavMenu/Item/List/List.cjs +1 -0
  516. package/lib/components/NavMenu/Item/List/List.d.ts +13 -0
  517. package/lib/components/NavMenu/Item/List/List.mjs +23 -0
  518. package/lib/components/NavMenu/NavMenu.cjs +1 -0
  519. package/lib/components/NavMenu/NavMenu.d.ts +15 -0
  520. package/lib/components/NavMenu/NavMenu.mjs +10 -0
  521. package/lib/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.cjs +1 -0
  522. package/lib/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.mjs +26 -0
  523. package/lib/components/OverflowTypography/OverflowTypography.cjs +1 -0
  524. package/lib/components/OverflowTypography/OverflowTypography.d.ts +34 -0
  525. package/lib/components/OverflowTypography/OverflowTypography.mjs +46 -0
  526. package/lib/components/OverflowTypography/hooks/useOverflowed/useOverflowed.cjs +1 -0
  527. package/lib/components/OverflowTypography/hooks/useOverflowed/useOverflowed.d.ts +5 -0
  528. package/lib/components/OverflowTypography/hooks/useOverflowed/useOverflowed.mjs +27 -0
  529. package/lib/components/OverflowTypography/styles.cjs +20 -0
  530. package/lib/components/OverflowTypography/styles.d.ts +35 -0
  531. package/lib/components/OverflowTypography/styles.mjs +30 -0
  532. package/lib/components/OverflowTypography/useLogic/useLogic.cjs +1 -0
  533. package/lib/components/OverflowTypography/useLogic/useLogic.d.ts +8 -0
  534. package/lib/components/OverflowTypography/useLogic/useLogic.mjs +19 -0
  535. package/lib/components/OverflowTypography/utils/truncateString/truncateString.cjs +1 -0
  536. package/lib/components/OverflowTypography/utils/truncateString/truncateString.mjs +7 -0
  537. package/lib/components/Pagination/Pagination.cjs +1 -0
  538. package/lib/components/Pagination/Pagination.d.ts +2 -0
  539. package/lib/components/Pagination/Pagination.mjs +6 -0
  540. package/lib/components/Pagination/types.d.ts +3 -0
  541. package/lib/components/Paper/Paper.cjs +1 -0
  542. package/lib/components/Paper/Paper.d.ts +14 -0
  543. package/lib/components/Paper/Paper.mjs +6 -0
  544. package/lib/components/Placeholder/Image/Image.cjs +1 -0
  545. package/lib/components/Placeholder/Image/Image.d.ts +21 -0
  546. package/lib/components/Placeholder/Image/Image.mjs +6 -0
  547. package/lib/components/Placeholder/Image/styles.cjs +17 -0
  548. package/lib/components/Placeholder/Image/styles.d.ts +4 -0
  549. package/lib/components/Placeholder/Image/styles.mjs +24 -0
  550. package/lib/components/Placeholder/Placeholder.cjs +1 -0
  551. package/lib/components/Placeholder/Placeholder.d.ts +45 -0
  552. package/lib/components/Placeholder/Placeholder.mjs +42 -0
  553. package/lib/components/Placeholder/constants.cjs +1 -0
  554. package/lib/components/Placeholder/constants.d.ts +14 -0
  555. package/lib/components/Placeholder/constants.mjs +28 -0
  556. package/lib/components/Placeholder/styles.cjs +59 -0
  557. package/lib/components/Placeholder/styles.d.ts +35 -0
  558. package/lib/components/Placeholder/styles.mjs +77 -0
  559. package/lib/components/Popover/Popover.cjs +1 -0
  560. package/lib/components/Popover/Popover.d.ts +9 -0
  561. package/lib/components/Popover/Popover.mjs +18 -0
  562. package/lib/components/ProgressBar/ProgressBar.cjs +1 -0
  563. package/lib/components/ProgressBar/ProgressBar.mjs +16 -0
  564. package/lib/components/Radio/Icon/Icon.cjs +1 -0
  565. package/lib/components/Radio/Icon/Icon.mjs +46 -0
  566. package/lib/components/Radio/Radio.cjs +1 -0
  567. package/lib/components/Radio/Radio.d.ts +9 -0
  568. package/lib/components/Radio/Radio.mjs +11 -0
  569. package/lib/components/Radio/constants.cjs +1 -0
  570. package/lib/components/Radio/constants.mjs +11 -0
  571. package/lib/components/Radio/styles.cjs +57 -0
  572. package/lib/components/Radio/styles.d.ts +5 -0
  573. package/lib/components/Radio/styles.mjs +64 -0
  574. package/lib/components/RadioField/RadioField.cjs +1 -0
  575. package/lib/components/RadioField/RadioField.d.ts +25 -0
  576. package/lib/components/RadioField/RadioField.mjs +33 -0
  577. package/lib/components/RadioField/styles.cjs +4 -0
  578. package/lib/components/RadioField/styles.d.ts +2 -0
  579. package/lib/components/RadioField/styles.mjs +10 -0
  580. package/lib/components/RadioGroup/RadioGroup.cjs +1 -0
  581. package/lib/components/RadioGroup/RadioGroup.d.ts +30 -0
  582. package/lib/components/RadioGroup/RadioGroup.mjs +43 -0
  583. package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContext.cjs +1 -0
  584. package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContext.d.ts +4 -0
  585. package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContext.mjs +7 -0
  586. package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.cjs +1 -0
  587. package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.d.ts +6 -0
  588. package/lib/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.mjs +6 -0
  589. package/lib/components/RadioGroupField/RadioGroupField.cjs +1 -0
  590. package/lib/components/RadioGroupField/RadioGroupField.d.ts +8 -0
  591. package/lib/components/RadioGroupField/RadioGroupField.mjs +14 -0
  592. package/lib/components/SearchField/SearchField.cjs +1 -0
  593. package/lib/components/SearchField/SearchField.d.ts +3 -0
  594. package/lib/components/SearchField/SearchField.mjs +57 -0
  595. package/lib/components/SearchField/styles.cjs +23 -0
  596. package/lib/components/SearchField/styles.d.ts +22 -0
  597. package/lib/components/SearchField/styles.mjs +35 -0
  598. package/lib/components/Select/Select.cjs +1 -0
  599. package/lib/components/Select/Select.d.ts +25 -0
  600. package/lib/components/Select/Select.mjs +125 -0
  601. package/lib/components/Select/constants.cjs +1 -0
  602. package/lib/components/Select/constants.mjs +4 -0
  603. package/lib/components/Select/styles.cjs +44 -0
  604. package/lib/components/Select/styles.d.ts +23 -0
  605. package/lib/components/Select/styles.mjs +56 -0
  606. package/lib/components/Select/useLogic/useLogic.cjs +1 -0
  607. package/lib/components/Select/useLogic/useLogic.d.ts +10 -0
  608. package/lib/components/Select/useLogic/useLogic.mjs +33 -0
  609. package/lib/components/Skeleton/Skeleton.cjs +1 -0
  610. package/lib/components/Skeleton/Skeleton.d.ts +14 -0
  611. package/lib/components/Skeleton/Skeleton.mjs +6 -0
  612. package/lib/components/Skeleton/styles.cjs +14 -0
  613. package/lib/components/Skeleton/styles.d.ts +1 -0
  614. package/lib/components/Skeleton/styles.mjs +18 -0
  615. package/lib/components/Switch/Switch.cjs +1 -0
  616. package/lib/components/Switch/Switch.d.ts +4 -0
  617. package/lib/components/Switch/Switch.mjs +9 -0
  618. package/lib/components/Switch/styles.cjs +12 -0
  619. package/lib/components/Switch/styles.d.ts +1 -0
  620. package/lib/components/Switch/styles.mjs +16 -0
  621. package/lib/components/Tab/Tab.cjs +1 -0
  622. package/lib/components/Tab/Tab.d.ts +7 -0
  623. package/lib/components/Tab/Tab.mjs +6 -0
  624. package/lib/components/Tab/styles.cjs +20 -0
  625. package/lib/components/Tab/styles.d.ts +1 -0
  626. package/lib/components/Tab/styles.mjs +24 -0
  627. package/lib/components/Tabs/Tabs.cjs +1 -0
  628. package/lib/components/Tabs/Tabs.d.ts +13 -0
  629. package/lib/components/Tabs/Tabs.mjs +10 -0
  630. package/lib/components/Tabs/styles.cjs +16 -0
  631. package/lib/components/Tabs/styles.d.ts +2 -0
  632. package/lib/components/Tabs/styles.mjs +21 -0
  633. package/lib/components/Tag/Tag.cjs +1 -0
  634. package/lib/components/Tag/Tag.d.ts +36 -0
  635. package/lib/components/Tag/Tag.mjs +59 -0
  636. package/lib/components/Tag/enums.cjs +1 -0
  637. package/lib/components/Tag/enums.mjs +6 -0
  638. package/lib/components/Tag/styles.cjs +79 -0
  639. package/lib/components/Tag/styles.d.ts +26 -0
  640. package/lib/components/Tag/styles.mjs +214 -0
  641. package/lib/components/Tag/types.d.ts +5 -0
  642. package/lib/components/TagBadge/TagBadge.cjs +1 -0
  643. package/lib/components/TagBadge/TagBadge.d.ts +23 -0
  644. package/lib/components/TagBadge/TagBadge.mjs +25 -0
  645. package/lib/components/TagBadge/styles.cjs +11 -0
  646. package/lib/components/TagBadge/styles.d.ts +5 -0
  647. package/lib/components/TagBadge/styles.mjs +16 -0
  648. package/lib/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.cjs +1 -0
  649. package/lib/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.d.ts +15 -0
  650. package/lib/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.mjs +9 -0
  651. package/lib/components/TagsList/Tag/Tag.cjs +1 -0
  652. package/lib/components/TagsList/Tag/Tag.d.ts +25 -0
  653. package/lib/components/TagsList/Tag/Tag.mjs +19 -0
  654. package/lib/components/TagsList/Tag/styles.cjs +10 -0
  655. package/lib/components/TagsList/Tag/styles.d.ts +11 -0
  656. package/lib/components/TagsList/Tag/styles.mjs +17 -0
  657. package/lib/components/TagsList/Tag/useLogic/useLogic.cjs +1 -0
  658. package/lib/components/TagsList/Tag/useLogic/useLogic.d.ts +4 -0
  659. package/lib/components/TagsList/Tag/useLogic/useLogic.mjs +8 -0
  660. package/lib/components/TagsList/TagsList.cjs +1 -0
  661. package/lib/components/TagsList/TagsList.d.ts +34 -0
  662. package/lib/components/TagsList/TagsList.mjs +34 -0
  663. package/lib/components/TagsList/styles.cjs +4 -0
  664. package/lib/components/TagsList/styles.d.ts +1 -0
  665. package/lib/components/TagsList/styles.mjs +8 -0
  666. package/lib/components/TagsList/useLogic/useLogic.cjs +1 -0
  667. package/lib/components/TagsList/useLogic/useLogic.d.ts +14 -0
  668. package/lib/components/TagsList/useLogic/useLogic.mjs +69 -0
  669. package/lib/components/TagsList/utils/getElementByText/getElementByText.cjs +1 -0
  670. package/lib/components/TagsList/utils/getElementByText/getElementByText.mjs +13 -0
  671. package/lib/components/TagsList/utils/getKey/getKey.cjs +1 -0
  672. package/lib/components/TagsList/utils/getKey/getKey.d.ts +2 -0
  673. package/lib/components/TagsList/utils/getKey/getKey.mjs +9 -0
  674. package/lib/components/TextArea/TextArea.cjs +1 -0
  675. package/lib/components/TextArea/TextArea.d.ts +3 -0
  676. package/lib/components/TextArea/TextArea.mjs +6 -0
  677. package/lib/components/TextField/TextField.cjs +1 -0
  678. package/lib/components/TextField/TextField.d.ts +28 -0
  679. package/lib/components/TextField/TextField.mjs +56 -0
  680. package/lib/components/Tooltip/Tooltip.cjs +1 -0
  681. package/lib/components/Tooltip/Tooltip.d.ts +16 -0
  682. package/lib/components/Tooltip/Tooltip.mjs +27 -0
  683. package/lib/components/Tooltip/constants.cjs +1 -0
  684. package/lib/components/Tooltip/constants.mjs +4 -0
  685. package/lib/components/Tooltip/styles.cjs +37 -0
  686. package/lib/components/Tooltip/styles.d.ts +7 -0
  687. package/lib/components/Tooltip/styles.mjs +46 -0
  688. package/lib/components/Tooltip/types.d.ts +2 -0
  689. package/lib/components/Typography/Typography.cjs +1 -0
  690. package/lib/components/Typography/Typography.d.ts +34 -0
  691. package/lib/components/Typography/Typography.mjs +25 -0
  692. package/lib/components/Typography/enums.cjs +1 -0
  693. package/lib/components/Typography/enums.mjs +4 -0
  694. package/lib/components/Typography/hooks/useTypographyColor/useTypographyColor.cjs +1 -0
  695. package/lib/components/Typography/hooks/useTypographyColor/useTypographyColor.d.ts +16 -0
  696. package/lib/components/Typography/hooks/useTypographyColor/useTypographyColor.mjs +24 -0
  697. package/lib/components/Typography/styles.cjs +3 -0
  698. package/lib/components/Typography/styles.mjs +9 -0
  699. package/lib/components/Typography/types.d.ts +4 -0
  700. package/lib/components/index.d.ts +76 -0
  701. package/lib/hooks/useMenu/useMenu.cjs +1 -0
  702. package/lib/hooks/useMenu/useMenu.d.ts +21 -0
  703. package/lib/hooks/useMenu/useMenu.mjs +10 -0
  704. package/lib/hooks/usePopover/usePopover.cjs +1 -0
  705. package/lib/hooks/usePopover/usePopover.d.ts +11 -0
  706. package/lib/hooks/usePopover/usePopover.mjs +11 -0
  707. package/lib/hooks/useToggle/useToggle.cjs +1 -0
  708. package/lib/hooks/useToggle/useToggle.mjs +12 -0
  709. package/lib/hooks/useViewportType/useViewportType.cjs +1 -0
  710. package/lib/hooks/useViewportType/useViewportType.mjs +8 -0
  711. package/lib/index.cjs +1 -0
  712. package/lib/index.mjs +215 -0
  713. package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.cjs +23 -0
  714. package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.development.mjs +408 -0
  715. package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.production.cjs +9 -0
  716. package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/cjs/react-jsx-runtime.production.mjs +35 -0
  717. package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.cjs +1 -0
  718. package/lib/node_modules/.pnpm/react@19.0.0/node_modules/react/jsx-runtime.mjs +10 -0
  719. package/lib/theme/baseTheme/baseTheme.cjs +1 -0
  720. package/lib/theme/baseTheme/baseTheme.d.ts +9 -0
  721. package/lib/theme/baseTheme/baseTheme.mjs +28 -0
  722. package/lib/theme/breakpoints.cjs +1 -0
  723. package/lib/theme/breakpoints.d.ts +2 -0
  724. package/lib/theme/breakpoints.mjs +12 -0
  725. package/lib/theme/components/MuiAlert.cjs +1 -0
  726. package/lib/theme/components/MuiAlert.d.ts +3 -0
  727. package/lib/theme/components/MuiAlert.mjs +67 -0
  728. package/lib/theme/components/MuiAutocomplete.cjs +1 -0
  729. package/lib/theme/components/MuiAutocomplete.d.ts +3 -0
  730. package/lib/theme/components/MuiAutocomplete.mjs +85 -0
  731. package/lib/theme/components/MuiButton.cjs +1 -0
  732. package/lib/theme/components/MuiButton.d.ts +32 -0
  733. package/lib/theme/components/MuiButton.mjs +296 -0
  734. package/lib/theme/components/MuiButtonBase.cjs +1 -0
  735. package/lib/theme/components/MuiButtonBase.d.ts +3 -0
  736. package/lib/theme/components/MuiButtonBase.mjs +15 -0
  737. package/lib/theme/components/MuiCircularProgress.cjs +1 -0
  738. package/lib/theme/components/MuiCircularProgress.d.ts +4 -0
  739. package/lib/theme/components/MuiCircularProgress.mjs +14 -0
  740. package/lib/theme/components/MuiDialog.cjs +1 -0
  741. package/lib/theme/components/MuiDialog.d.ts +3 -0
  742. package/lib/theme/components/MuiDialog.mjs +12 -0
  743. package/lib/theme/components/MuiDialogActions.cjs +1 -0
  744. package/lib/theme/components/MuiDialogActions.d.ts +3 -0
  745. package/lib/theme/components/MuiDialogActions.mjs +13 -0
  746. package/lib/theme/components/MuiDialogContent.cjs +1 -0
  747. package/lib/theme/components/MuiDialogContent.d.ts +3 -0
  748. package/lib/theme/components/MuiDialogContent.mjs +12 -0
  749. package/lib/theme/components/MuiDialogTitle.cjs +1 -0
  750. package/lib/theme/components/MuiDialogTitle.d.ts +3 -0
  751. package/lib/theme/components/MuiDialogTitle.mjs +23 -0
  752. package/lib/theme/components/MuiDrawer.cjs +1 -0
  753. package/lib/theme/components/MuiDrawer.d.ts +3 -0
  754. package/lib/theme/components/MuiDrawer.mjs +15 -0
  755. package/lib/theme/components/MuiFormHelperText.cjs +1 -0
  756. package/lib/theme/components/MuiFormHelperText.d.ts +4 -0
  757. package/lib/theme/components/MuiFormHelperText.mjs +20 -0
  758. package/lib/theme/components/MuiFormLabel.cjs +1 -0
  759. package/lib/theme/components/MuiFormLabel.d.ts +4 -0
  760. package/lib/theme/components/MuiFormLabel.mjs +14 -0
  761. package/lib/theme/components/MuiInputLabel.cjs +1 -0
  762. package/lib/theme/components/MuiInputLabel.d.ts +4 -0
  763. package/lib/theme/components/MuiInputLabel.mjs +31 -0
  764. package/lib/theme/components/MuiLinearProgress.cjs +1 -0
  765. package/lib/theme/components/MuiLinearProgress.d.ts +4 -0
  766. package/lib/theme/components/MuiLinearProgress.mjs +20 -0
  767. package/lib/theme/components/MuiListItemButton.cjs +1 -0
  768. package/lib/theme/components/MuiListItemButton.d.ts +3 -0
  769. package/lib/theme/components/MuiListItemButton.mjs +15 -0
  770. package/lib/theme/components/MuiListItemText.cjs +1 -0
  771. package/lib/theme/components/MuiListItemText.d.ts +3 -0
  772. package/lib/theme/components/MuiListItemText.mjs +15 -0
  773. package/lib/theme/components/MuiMenu.cjs +1 -0
  774. package/lib/theme/components/MuiMenu.d.ts +4 -0
  775. package/lib/theme/components/MuiMenu.mjs +31 -0
  776. package/lib/theme/components/MuiMenuItem.cjs +1 -0
  777. package/lib/theme/components/MuiMenuItem.d.ts +4 -0
  778. package/lib/theme/components/MuiMenuItem.mjs +30 -0
  779. package/lib/theme/components/MuiOutlinedInput.cjs +1 -0
  780. package/lib/theme/components/MuiOutlinedInput.d.ts +4 -0
  781. package/lib/theme/components/MuiOutlinedInput.mjs +73 -0
  782. package/lib/theme/components/MuiPaginationItem.cjs +1 -0
  783. package/lib/theme/components/MuiPaginationItem.d.ts +3 -0
  784. package/lib/theme/components/MuiPaginationItem.mjs +15 -0
  785. package/lib/theme/components/MuiPaper.cjs +1 -0
  786. package/lib/theme/components/MuiPaper.d.ts +3 -0
  787. package/lib/theme/components/MuiPaper.mjs +17 -0
  788. package/lib/theme/components/MuiStep.cjs +1 -0
  789. package/lib/theme/components/MuiStep.d.ts +3 -0
  790. package/lib/theme/components/MuiStep.mjs +15 -0
  791. package/lib/theme/components/MuiStepConnector.cjs +1 -0
  792. package/lib/theme/components/MuiStepConnector.d.ts +3 -0
  793. package/lib/theme/components/MuiStepConnector.mjs +10 -0
  794. package/lib/theme/components/MuiStepLabel.cjs +1 -0
  795. package/lib/theme/components/MuiStepLabel.d.ts +3 -0
  796. package/lib/theme/components/MuiStepLabel.mjs +28 -0
  797. package/lib/theme/components/MuiSwitch.cjs +1 -0
  798. package/lib/theme/components/MuiSwitch.d.ts +3 -0
  799. package/lib/theme/components/MuiSwitch.mjs +123 -0
  800. package/lib/theme/components/MuiTab.cjs +1 -0
  801. package/lib/theme/components/MuiTab.d.ts +3 -0
  802. package/lib/theme/components/MuiTab.mjs +14 -0
  803. package/lib/theme/components/MuiTableCell.cjs +1 -0
  804. package/lib/theme/components/MuiTableCell.d.ts +3 -0
  805. package/lib/theme/components/MuiTableCell.mjs +15 -0
  806. package/lib/theme/components/MuiTableHead.cjs +1 -0
  807. package/lib/theme/components/MuiTableHead.d.ts +3 -0
  808. package/lib/theme/components/MuiTableHead.mjs +14 -0
  809. package/lib/theme/components/MuiTableRow.cjs +1 -0
  810. package/lib/theme/components/MuiTableRow.d.ts +3 -0
  811. package/lib/theme/components/MuiTableRow.mjs +18 -0
  812. package/lib/theme/components/MuiTabs.cjs +1 -0
  813. package/lib/theme/components/MuiTabs.d.ts +3 -0
  814. package/lib/theme/components/MuiTabs.mjs +18 -0
  815. package/lib/theme/components/MuiTextField.cjs +1 -0
  816. package/lib/theme/components/MuiTextField.d.ts +3 -0
  817. package/lib/theme/components/MuiTextField.mjs +24 -0
  818. package/lib/theme/components/MuiToggleButton.cjs +1 -0
  819. package/lib/theme/components/MuiToggleButton.d.ts +3 -0
  820. package/lib/theme/components/MuiToggleButton.mjs +13 -0
  821. package/lib/theme/components/MuiToggleButtonGroup.cjs +1 -0
  822. package/lib/theme/components/MuiToggleButtonGroup.d.ts +3 -0
  823. package/lib/theme/components/MuiToggleButtonGroup.mjs +9 -0
  824. package/lib/theme/components/MuiTypography.cjs +1 -0
  825. package/lib/theme/components/MuiTypography.d.ts +21 -0
  826. package/lib/theme/components/MuiTypography.mjs +22 -0
  827. package/lib/theme/components/components.cjs +30 -0
  828. package/lib/theme/components/components.d.ts +21 -0
  829. package/lib/theme/components/components.mjs +120 -0
  830. package/lib/theme/constants.cjs +1 -0
  831. package/lib/theme/constants.mjs +4 -0
  832. package/lib/theme/elevation.cjs +1 -0
  833. package/lib/theme/elevation.mjs +10 -0
  834. package/lib/theme/hooks/useTheme/index.cjs +1 -0
  835. package/lib/theme/hooks/useTheme/index.d.ts +2 -0
  836. package/lib/theme/hooks/useTheme/index.mjs +5 -0
  837. package/lib/theme/palette/componentsColors/componentsColors.cjs +1 -0
  838. package/lib/theme/palette/componentsColors/componentsColors.d.ts +5 -0
  839. package/lib/theme/palette/componentsColors/componentsColors.mjs +7 -0
  840. package/lib/theme/palette/componentsColors/linkColors/linkColors.cjs +1 -0
  841. package/lib/theme/palette/componentsColors/linkColors/linkColors.mjs +9 -0
  842. package/lib/theme/palette/palette.cjs +1 -0
  843. package/lib/theme/palette/palette.d.ts +2 -0
  844. package/lib/theme/palette/palette.mjs +125 -0
  845. package/lib/theme/palette/types.d.ts +44 -0
  846. package/lib/theme/shape.cjs +1 -0
  847. package/lib/theme/shape.mjs +8 -0
  848. package/lib/theme/types.d.ts +19 -0
  849. package/lib/theme/typography.cjs +1 -0
  850. package/lib/theme/typography.d.ts +3 -0
  851. package/lib/theme/typography.mjs +95 -0
  852. package/package.json +19 -10
  853. package/.storybook/main.ts +0 -26
  854. package/.storybook/preview.ts +0 -14
  855. package/.turbo/turbo-build.log +0 -26
  856. package/.turbo/turbo-type$colon$check.log +0 -5
  857. package/CHANGELOG.md +0 -13
  858. package/dist/components/Accordion/Accordion.d.ts +0 -39
  859. package/dist/components/Accordion/styles.d.ts +0 -21
  860. package/dist/components/ActionCell/ActionCell.d.ts +0 -24
  861. package/dist/components/ActionCell/MainAction/MainAction.d.ts +0 -13
  862. package/dist/components/ActionCell/SecondaryAction/SecondaryActions.d.ts +0 -13
  863. package/dist/components/ActionCell/styles.d.ts +0 -1
  864. package/dist/components/ActionCell/types.d.ts +0 -66
  865. package/dist/components/ActionCell/useLogic/useLogic.d.ts +0 -11
  866. package/dist/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +0 -61
  867. package/dist/components/AsyncAutocomplete/useLogic/useLogic.d.ts +0 -12
  868. package/dist/components/Autocomplete/Autocomplete.d.ts +0 -47
  869. package/dist/components/Autocomplete/styles.d.ts +0 -7
  870. package/dist/components/Autocomplete/useLogic/useLogic.d.ts +0 -15
  871. package/dist/components/Badge/Badge.d.ts +0 -18
  872. package/dist/components/Badge/styles.d.ts +0 -8
  873. package/dist/components/BottomDrawer/BottomDrawer.d.ts +0 -15
  874. package/dist/components/BottomDrawer/styles.d.ts +0 -20
  875. package/dist/components/Button/Button.d.ts +0 -35
  876. package/dist/components/Button/styles.d.ts +0 -5
  877. package/dist/components/Button/types.d.ts +0 -19
  878. package/dist/components/Button/useLogic/useLogic.d.ts +0 -5
  879. package/dist/components/Checkbox/Checkbox.d.ts +0 -9
  880. package/dist/components/Checkbox/icons.d.ts +0 -4
  881. package/dist/components/Checkbox/styles.d.ts +0 -5
  882. package/dist/components/CheckboxField/CheckboxField.d.ts +0 -24
  883. package/dist/components/CheckboxField/styles.d.ts +0 -8
  884. package/dist/components/Chevron/Chevron.d.ts +0 -7
  885. package/dist/components/Chevron/styles.d.ts +0 -5
  886. package/dist/components/CircularProgress/CircularProgress.d.ts +0 -19
  887. package/dist/components/CircularProgress/useLogic/useLogic.d.ts +0 -6
  888. package/dist/components/Collapse/Collapse.d.ts +0 -4
  889. package/dist/components/ConfigProvider/ConfigProvider.d.ts +0 -91
  890. package/dist/components/ConfirmAction/ConfirmAction.d.ts +0 -38
  891. package/dist/components/ConfirmAction/styles.d.ts +0 -16
  892. package/dist/components/ConfirmAction/useLogic/useLogic.d.ts +0 -22
  893. package/dist/components/ConfirmDialog/ConfirmDialog.d.ts +0 -37
  894. package/dist/components/ConfirmDialog/styles.d.ts +0 -9
  895. package/dist/components/ConfirmDialog/useLogic/useLogic.d.ts +0 -10
  896. package/dist/components/Container/Container.d.ts +0 -8
  897. package/dist/components/Container/styles.d.ts +0 -24
  898. package/dist/components/ContentState/ContentState.d.ts +0 -36
  899. package/dist/components/ContentState/styles.d.ts +0 -1
  900. package/dist/components/ContentState/types.d.ts +0 -29
  901. package/dist/components/CopyTypography/CopyTypography.d.ts +0 -17
  902. package/dist/components/CopyTypography/styles.d.ts +0 -17
  903. package/dist/components/CopyTypography/useLogic/useLogic.d.ts +0 -10
  904. package/dist/components/DataGrid/Body/Body.d.ts +0 -99
  905. package/dist/components/DataGrid/Body/styles.d.ts +0 -4
  906. package/dist/components/DataGrid/Body/useLogic/useLogic.d.ts +0 -11
  907. package/dist/components/DataGrid/Cell/Cell.d.ts +0 -26
  908. package/dist/components/DataGrid/Cell/styles.d.ts +0 -8
  909. package/dist/components/DataGrid/Cell/useLogic/useLogic.d.ts +0 -8
  910. package/dist/components/DataGrid/DataGrid.d.ts +0 -154
  911. package/dist/components/DataGrid/DataGridContext/DataGridContext.d.ts +0 -7
  912. package/dist/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +0 -6
  913. package/dist/components/DataGrid/Head/Head.d.ts +0 -37
  914. package/dist/components/DataGrid/Head/styles.d.ts +0 -4
  915. package/dist/components/DataGrid/Head/useLogic/useLogic.d.ts +0 -12
  916. package/dist/components/DataGrid/HeadCell/HeadCell.d.ts +0 -18
  917. package/dist/components/DataGrid/HeadCell/styles.d.ts +0 -22
  918. package/dist/components/DataGrid/HeadCell/useLogic/useLogic.d.ts +0 -10
  919. package/dist/components/DataGrid/Loader/styles.d.ts +0 -4
  920. package/dist/components/DataGrid/NoData/NoData.d.ts +0 -34
  921. package/dist/components/DataGrid/Row/NestedChildren/NestedChildren.d.ts +0 -55
  922. package/dist/components/DataGrid/Row/NestedChildren/styles.d.ts +0 -20
  923. package/dist/components/DataGrid/Row/NestedChildren/useLogic/useLogic.d.ts +0 -18
  924. package/dist/components/DataGrid/Row/Row.d.ts +0 -91
  925. package/dist/components/DataGrid/Row/RowContext/RowContext.d.ts +0 -7
  926. package/dist/components/DataGrid/Row/RowContext/RowProvider/RowProvider.d.ts +0 -6
  927. package/dist/components/DataGrid/Row/styles.d.ts +0 -31
  928. package/dist/components/DataGrid/Row/useLogic/useLogic.d.ts +0 -35
  929. package/dist/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.d.ts +0 -4
  930. package/dist/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.d.ts +0 -2
  931. package/dist/components/DataGrid/faker.d.ts +0 -24
  932. package/dist/components/DataGrid/styles.d.ts +0 -5
  933. package/dist/components/DataGrid/types.d.ts +0 -91
  934. package/dist/components/DataGrid/useLogic/useLogic.d.ts +0 -32
  935. package/dist/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.d.ts +0 -5
  936. package/dist/components/DataGridActionCell/DataGridActionCell.d.ts +0 -22
  937. package/dist/components/DataGridActionCell/MainAction/MainAction.d.ts +0 -22
  938. package/dist/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.d.ts +0 -19
  939. package/dist/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.d.ts +0 -11
  940. package/dist/components/DataGridActionCell/SecondaryAction/SecondaryAction.d.ts +0 -22
  941. package/dist/components/DataGridActionCell/styles.d.ts +0 -1
  942. package/dist/components/DataGridActionCell/types.d.ts +0 -98
  943. package/dist/components/DataGridActionCell/useLogic/useLogic.d.ts +0 -10
  944. package/dist/components/DataGridOld/Body/Body.d.ts +0 -13
  945. package/dist/components/DataGridOld/Body/styles.d.ts +0 -1
  946. package/dist/components/DataGridOld/Cell/Cell.d.ts +0 -7
  947. package/dist/components/DataGridOld/Cell/styles.d.ts +0 -4
  948. package/dist/components/DataGridOld/DataGridOld.d.ts +0 -20
  949. package/dist/components/DataGridOld/Head/Head.d.ts +0 -7
  950. package/dist/components/DataGridOld/Head/styles.d.ts +0 -4
  951. package/dist/components/DataGridOld/HeadCell/HeadCell.d.ts +0 -5
  952. package/dist/components/DataGridOld/HeadCell/styles.d.ts +0 -3
  953. package/dist/components/DataGridOld/Row/Row.d.ts +0 -11
  954. package/dist/components/DataGridOld/Row/styles.d.ts +0 -5
  955. package/dist/components/DataGridOld/State/styles.d.ts +0 -1
  956. package/dist/components/DataGridOld/styles.d.ts +0 -7
  957. package/dist/components/DataGridOld/types.d.ts +0 -15
  958. package/dist/components/DataGridPagination/DataGridPagination.d.ts +0 -25
  959. package/dist/components/DataGridPagination/faker.d.ts +0 -3
  960. package/dist/components/DataGridPagination/styles.d.ts +0 -16
  961. package/dist/components/DataGridPagination/useLogic/useLogic.d.ts +0 -10
  962. package/dist/components/Description/Description.d.ts +0 -34
  963. package/dist/components/Description/DescriptionContext/DescriptionContext.d.ts +0 -6
  964. package/dist/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.d.ts +0 -7
  965. package/dist/components/Description/Name/Name.d.ts +0 -3
  966. package/dist/components/Description/Name/styles.d.ts +0 -6
  967. package/dist/components/Description/Value/Value.d.ts +0 -22
  968. package/dist/components/Description/Value/styles.d.ts +0 -43
  969. package/dist/components/Description/Value/useLogic/useLogic.d.ts +0 -9
  970. package/dist/components/Description/styles.d.ts +0 -4
  971. package/dist/components/Description/useLogic/useLogic.d.ts +0 -9
  972. package/dist/components/DescriptionList/DescriptionList.d.ts +0 -2
  973. package/dist/components/DescriptionList/styles.d.ts +0 -22
  974. package/dist/components/DescriptionList/types.d.ts +0 -32
  975. package/dist/components/Dialog/Dialog.d.ts +0 -20
  976. package/dist/components/Dialog/styles.d.ts +0 -5
  977. package/dist/components/DialogActions/DialogActions.d.ts +0 -4
  978. package/dist/components/DialogActions/styles.d.ts +0 -6
  979. package/dist/components/DialogContent/DialogContent.d.ts +0 -4
  980. package/dist/components/DialogContent/styles.d.ts +0 -2
  981. package/dist/components/DialogContentText/DialogContentText.d.ts +0 -4
  982. package/dist/components/DialogContentText/styles.d.ts +0 -1
  983. package/dist/components/DialogHeader/DialogHeader.d.ts +0 -17
  984. package/dist/components/DialogHeader/styles.d.ts +0 -18
  985. package/dist/components/DialogTitle/DialogTitle.d.ts +0 -6
  986. package/dist/components/Divider/Divider.d.ts +0 -4
  987. package/dist/components/DropdownButton/DropdownButton.d.ts +0 -9
  988. package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +0 -36
  989. package/dist/components/Filename/Filename.d.ts +0 -21
  990. package/dist/components/Filename/styles.d.ts +0 -17
  991. package/dist/components/Filename/useLogic/useLogic.d.ts +0 -16
  992. package/dist/components/FormControl/FormControl.d.ts +0 -4
  993. package/dist/components/FormControlLabel/FormControlLabel.d.ts +0 -2
  994. package/dist/components/FormControlLabel/styles.d.ts +0 -2
  995. package/dist/components/FormControlLabel/types.d.ts +0 -3
  996. package/dist/components/FormHelperText/FormHelperText.d.ts +0 -7
  997. package/dist/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.d.ts +0 -7
  998. package/dist/components/FormHelperText/FormHelperTextContent/styles.d.ts +0 -9
  999. package/dist/components/FormLabel/FormLabel.d.ts +0 -4
  1000. package/dist/components/FormLabel/styles.d.ts +0 -1
  1001. package/dist/components/GuidTypography/GuidTypography.d.ts +0 -3
  1002. package/dist/components/IconButton/IconButton.d.ts +0 -9
  1003. package/dist/components/IconButton/styles.d.ts +0 -23
  1004. package/dist/components/IconDropdownButton/IconDropdownButton.d.ts +0 -9
  1005. package/dist/components/Link/Link.d.ts +0 -24
  1006. package/dist/components/Link/styles.d.ts +0 -1
  1007. package/dist/components/List/List.d.ts +0 -4
  1008. package/dist/components/ListItem/ListItem.d.ts +0 -4
  1009. package/dist/components/ListItemButton/ListItemButton.d.ts +0 -21
  1010. package/dist/components/ListItemIcon/ListItemIcon.d.ts +0 -5
  1011. package/dist/components/ListItemIcon/styles.d.ts +0 -1
  1012. package/dist/components/ListItemText/ListItemText.d.ts +0 -4
  1013. package/dist/components/ListSubheader/ListSubheader.d.ts +0 -4
  1014. package/dist/components/Menu/Menu.d.ts +0 -9
  1015. package/dist/components/MenuItem/MenuItem.d.ts +0 -28
  1016. package/dist/components/MenuList/MenuList.d.ts +0 -2
  1017. package/dist/components/MenuList/styles.d.ts +0 -1
  1018. package/dist/components/MenuList/types.d.ts +0 -3
  1019. package/dist/components/NavMenu/Item/Item.d.ts +0 -16
  1020. package/dist/components/NavMenu/Item/ItemButton/ItemButton.d.ts +0 -11
  1021. package/dist/components/NavMenu/Item/ItemButton/styles.d.ts +0 -639
  1022. package/dist/components/NavMenu/Item/List/List.d.ts +0 -13
  1023. package/dist/components/NavMenu/NavMenu.d.ts +0 -15
  1024. package/dist/components/OverflowTypography/OverflowTypography.d.ts +0 -35
  1025. package/dist/components/OverflowTypography/hooks/useOverflowed/useOverflowed.d.ts +0 -5
  1026. package/dist/components/OverflowTypography/styles.d.ts +0 -35
  1027. package/dist/components/OverflowTypography/useLogic/useLogic.d.ts +0 -8
  1028. package/dist/components/Pagination/Pagination.d.ts +0 -2
  1029. package/dist/components/Pagination/types.d.ts +0 -3
  1030. package/dist/components/Paper/Paper.d.ts +0 -14
  1031. package/dist/components/Placeholder/Image/Image.d.ts +0 -21
  1032. package/dist/components/Placeholder/Image/styles.d.ts +0 -4
  1033. package/dist/components/Placeholder/Placeholder.d.ts +0 -45
  1034. package/dist/components/Placeholder/constants.d.ts +0 -14
  1035. package/dist/components/Placeholder/styles.d.ts +0 -35
  1036. package/dist/components/Popover/Popover.d.ts +0 -9
  1037. package/dist/components/Radio/Radio.d.ts +0 -9
  1038. package/dist/components/Radio/styles.d.ts +0 -5
  1039. package/dist/components/RadioField/RadioField.d.ts +0 -25
  1040. package/dist/components/RadioField/styles.d.ts +0 -2
  1041. package/dist/components/RadioGroup/RadioGroup.d.ts +0 -30
  1042. package/dist/components/RadioGroup/RadioGroupContext/RadioGroupContext.d.ts +0 -4
  1043. package/dist/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.d.ts +0 -6
  1044. package/dist/components/RadioGroupField/RadioGroupField.d.ts +0 -8
  1045. package/dist/components/SearchField/SearchField.d.ts +0 -3
  1046. package/dist/components/SearchField/styles.d.ts +0 -22
  1047. package/dist/components/Select/Select.d.ts +0 -25
  1048. package/dist/components/Select/styles.d.ts +0 -23
  1049. package/dist/components/Select/useLogic/useLogic.d.ts +0 -10
  1050. package/dist/components/Skeleton/Skeleton.d.ts +0 -14
  1051. package/dist/components/Skeleton/styles.d.ts +0 -1
  1052. package/dist/components/Switch/Switch.d.ts +0 -4
  1053. package/dist/components/Switch/styles.d.ts +0 -1
  1054. package/dist/components/Tab/Tab.d.ts +0 -7
  1055. package/dist/components/Tab/styles.d.ts +0 -1
  1056. package/dist/components/Tabs/Tabs.d.ts +0 -13
  1057. package/dist/components/Tabs/styles.d.ts +0 -2
  1058. package/dist/components/Tag/Tag.d.ts +0 -36
  1059. package/dist/components/Tag/styles.d.ts +0 -27
  1060. package/dist/components/Tag/types.d.ts +0 -5
  1061. package/dist/components/TagBadge/TagBadge.d.ts +0 -23
  1062. package/dist/components/TagBadge/styles.d.ts +0 -5
  1063. package/dist/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.d.ts +0 -15
  1064. package/dist/components/TagsList/Tag/Tag.d.ts +0 -25
  1065. package/dist/components/TagsList/Tag/styles.d.ts +0 -11
  1066. package/dist/components/TagsList/Tag/useLogic/useLogic.d.ts +0 -4
  1067. package/dist/components/TagsList/TagsList.d.ts +0 -34
  1068. package/dist/components/TagsList/styles.d.ts +0 -1
  1069. package/dist/components/TagsList/useLogic/useLogic.d.ts +0 -14
  1070. package/dist/components/TagsList/utils/getKey/getKey.d.ts +0 -2
  1071. package/dist/components/TextArea/TextArea.d.ts +0 -3
  1072. package/dist/components/TextField/TextField.d.ts +0 -28
  1073. package/dist/components/Tooltip/Tooltip.d.ts +0 -16
  1074. package/dist/components/Tooltip/styles.d.ts +0 -7
  1075. package/dist/components/Tooltip/types.d.ts +0 -2
  1076. package/dist/components/Typography/Typography.d.ts +0 -48
  1077. package/dist/components/Typography/hooks/useTypographyColor/useTypographyColor.d.ts +0 -16
  1078. package/dist/components/Typography/types.d.ts +0 -4
  1079. package/dist/components/index.d.ts +0 -62
  1080. package/dist/hooks/useMenu/useMenu.d.ts +0 -21
  1081. package/dist/hooks/usePopover/usePopover.d.ts +0 -11
  1082. package/dist/index.js +0 -1080
  1083. package/dist/index.mjs +0 -1080
  1084. package/dist/theme/baseTheme/baseTheme.d.ts +0 -9
  1085. package/dist/theme/breakpoints.d.ts +0 -2
  1086. package/dist/theme/components/MuiAlert.d.ts +0 -3
  1087. package/dist/theme/components/MuiAutocomplete.d.ts +0 -3
  1088. package/dist/theme/components/MuiButton.d.ts +0 -32
  1089. package/dist/theme/components/MuiButtonBase.d.ts +0 -3
  1090. package/dist/theme/components/MuiCircularProgress.d.ts +0 -4
  1091. package/dist/theme/components/MuiDialog.d.ts +0 -3
  1092. package/dist/theme/components/MuiDialogActions.d.ts +0 -3
  1093. package/dist/theme/components/MuiDialogContent.d.ts +0 -3
  1094. package/dist/theme/components/MuiDialogTitle.d.ts +0 -3
  1095. package/dist/theme/components/MuiDrawer.d.ts +0 -3
  1096. package/dist/theme/components/MuiFormHelperText.d.ts +0 -4
  1097. package/dist/theme/components/MuiFormLabel.d.ts +0 -4
  1098. package/dist/theme/components/MuiInputLabel.d.ts +0 -4
  1099. package/dist/theme/components/MuiLinearProgress.d.ts +0 -4
  1100. package/dist/theme/components/MuiListItemButton.d.ts +0 -3
  1101. package/dist/theme/components/MuiListItemText.d.ts +0 -3
  1102. package/dist/theme/components/MuiMenu.d.ts +0 -4
  1103. package/dist/theme/components/MuiMenuItem.d.ts +0 -4
  1104. package/dist/theme/components/MuiOutlinedInput.d.ts +0 -4
  1105. package/dist/theme/components/MuiPaginationItem.d.ts +0 -3
  1106. package/dist/theme/components/MuiPaper.d.ts +0 -3
  1107. package/dist/theme/components/MuiStep.d.ts +0 -3
  1108. package/dist/theme/components/MuiStepConnector.d.ts +0 -3
  1109. package/dist/theme/components/MuiStepLabel.d.ts +0 -3
  1110. package/dist/theme/components/MuiSwitch.d.ts +0 -3
  1111. package/dist/theme/components/MuiTab.d.ts +0 -3
  1112. package/dist/theme/components/MuiTableCell.d.ts +0 -3
  1113. package/dist/theme/components/MuiTableHead.d.ts +0 -3
  1114. package/dist/theme/components/MuiTableRow.d.ts +0 -3
  1115. package/dist/theme/components/MuiTabs.d.ts +0 -3
  1116. package/dist/theme/components/MuiTextField.d.ts +0 -3
  1117. package/dist/theme/components/MuiToggleButton.d.ts +0 -3
  1118. package/dist/theme/components/MuiToggleButtonGroup.d.ts +0 -3
  1119. package/dist/theme/components/MuiTypography.d.ts +0 -21
  1120. package/dist/theme/components/components.d.ts +0 -21
  1121. package/dist/theme/hooks/useTheme/index.d.ts +0 -2
  1122. package/dist/theme/palette/componentsColors/componentsColors.d.ts +0 -5
  1123. package/dist/theme/palette/palette.d.ts +0 -2
  1124. package/dist/theme/palette/types.d.ts +0 -44
  1125. package/dist/theme/types.d.ts +0 -21
  1126. package/dist/theme/typography.d.ts +0 -153
  1127. package/rslib.config.ts +0 -32
  1128. package/src/components/Accordion/Accordion.stories.tsx +0 -128
  1129. package/src/components/Accordion/Accordion.tsx +0 -80
  1130. package/src/components/Accordion/index.ts +0 -1
  1131. package/src/components/Accordion/styles.ts +0 -30
  1132. package/src/components/ActionCell/ActionCell.stories.tsx +0 -227
  1133. package/src/components/ActionCell/ActionCell.tsx +0 -71
  1134. package/src/components/ActionCell/MainAction/MainAction.tsx +0 -86
  1135. package/src/components/ActionCell/MainAction/index.ts +0 -1
  1136. package/src/components/ActionCell/SecondaryAction/SecondaryActions.tsx +0 -45
  1137. package/src/components/ActionCell/SecondaryAction/index.ts +0 -1
  1138. package/src/components/ActionCell/index.ts +0 -1
  1139. package/src/components/ActionCell/styles.ts +0 -6
  1140. package/src/components/ActionCell/types.ts +0 -89
  1141. package/src/components/ActionCell/useLogic/index.ts +0 -1
  1142. package/src/components/ActionCell/useLogic/useLogic.ts +0 -46
  1143. package/src/components/AsyncAutocomplete/AsyncAutocomplete.stories.tsx +0 -245
  1144. package/src/components/AsyncAutocomplete/AsyncAutocomplete.tsx +0 -139
  1145. package/src/components/AsyncAutocomplete/constants.ts +0 -7
  1146. package/src/components/AsyncAutocomplete/index.ts +0 -1
  1147. package/src/components/AsyncAutocomplete/useLogic/index.ts +0 -1
  1148. package/src/components/AsyncAutocomplete/useLogic/useLogic.ts +0 -117
  1149. package/src/components/Autocomplete/Autocomplete.stories.tsx +0 -276
  1150. package/src/components/Autocomplete/Autocomplete.tsx +0 -301
  1151. package/src/components/Autocomplete/constants.ts +0 -3
  1152. package/src/components/Autocomplete/enums.ts +0 -4
  1153. package/src/components/Autocomplete/index.ts +0 -1
  1154. package/src/components/Autocomplete/styles.ts +0 -10
  1155. package/src/components/Autocomplete/useLogic/index.ts +0 -1
  1156. package/src/components/Autocomplete/useLogic/useLogic.ts +0 -88
  1157. package/src/components/Autocomplete/useLogic/utils/checkIsInputEmpty/checkIsInputEmpty.ts +0 -8
  1158. package/src/components/Autocomplete/useLogic/utils/checkIsInputEmpty/index.ts +0 -1
  1159. package/src/components/Autocomplete/useLogic/utils/index.ts +0 -1
  1160. package/src/components/Badge/Badge.stories.tsx +0 -190
  1161. package/src/components/Badge/Badge.tsx +0 -43
  1162. package/src/components/Badge/index.ts +0 -3
  1163. package/src/components/Badge/styles.ts +0 -104
  1164. package/src/components/Badge/types.ts +0 -9
  1165. package/src/components/BottomDrawer/BottomDrawer.stories.tsx +0 -105
  1166. package/src/components/BottomDrawer/BottomDrawer.tsx +0 -52
  1167. package/src/components/BottomDrawer/constants.ts +0 -3
  1168. package/src/components/BottomDrawer/index.ts +0 -1
  1169. package/src/components/BottomDrawer/styles.ts +0 -44
  1170. package/src/components/Button/Button.stories.tsx +0 -204
  1171. package/src/components/Button/Button.tsx +0 -84
  1172. package/src/components/Button/constants.ts +0 -1
  1173. package/src/components/Button/enums.ts +0 -26
  1174. package/src/components/Button/index.ts +0 -7
  1175. package/src/components/Button/styles.ts +0 -19
  1176. package/src/components/Button/types.ts +0 -30
  1177. package/src/components/Button/useLogic/index.ts +0 -1
  1178. package/src/components/Button/useLogic/useLogic.ts +0 -19
  1179. package/src/components/Checkbox/Checkbox.stories.tsx +0 -152
  1180. package/src/components/Checkbox/Checkbox.tsx +0 -39
  1181. package/src/components/Checkbox/icons.tsx +0 -41
  1182. package/src/components/Checkbox/index.ts +0 -1
  1183. package/src/components/Checkbox/styles.ts +0 -70
  1184. package/src/components/CheckboxField/CheckboxField.stories.tsx +0 -51
  1185. package/src/components/CheckboxField/CheckboxField.tsx +0 -64
  1186. package/src/components/CheckboxField/index.ts +0 -1
  1187. package/src/components/CheckboxField/styles.ts +0 -17
  1188. package/src/components/Chevron/Chevron.stories.tsx +0 -36
  1189. package/src/components/Chevron/Chevron.tsx +0 -12
  1190. package/src/components/Chevron/index.ts +0 -1
  1191. package/src/components/Chevron/styles.tsx +0 -17
  1192. package/src/components/CircularProgress/CircularProgress.stories.tsx +0 -53
  1193. package/src/components/CircularProgress/CircularProgress.tsx +0 -42
  1194. package/src/components/CircularProgress/constants.ts +0 -9
  1195. package/src/components/CircularProgress/index.ts +0 -1
  1196. package/src/components/CircularProgress/useLogic/index.ts +0 -1
  1197. package/src/components/CircularProgress/useLogic/useLogic.ts +0 -9
  1198. package/src/components/Collapse/Collapse.stories.tsx +0 -69
  1199. package/src/components/Collapse/Collapse.tsx +0 -10
  1200. package/src/components/Collapse/index.ts +0 -1
  1201. package/src/components/ConfigProvider/ConfigProvider.tsx +0 -165
  1202. package/src/components/ConfigProvider/index.ts +0 -1
  1203. package/src/components/ConfirmAction/ConfirmAction.stories.tsx +0 -116
  1204. package/src/components/ConfirmAction/ConfirmAction.tsx +0 -97
  1205. package/src/components/ConfirmAction/constants.ts +0 -9
  1206. package/src/components/ConfirmAction/index.ts +0 -1
  1207. package/src/components/ConfirmAction/styles.ts +0 -17
  1208. package/src/components/ConfirmAction/useLogic/index.ts +0 -1
  1209. package/src/components/ConfirmAction/useLogic/useLogic.ts +0 -46
  1210. package/src/components/ConfirmDialog/ConfirmDialog.stories.tsx +0 -69
  1211. package/src/components/ConfirmDialog/ConfirmDialog.tsx +0 -83
  1212. package/src/components/ConfirmDialog/index.ts +0 -1
  1213. package/src/components/ConfirmDialog/styles.ts +0 -8
  1214. package/src/components/ConfirmDialog/useLogic/index.ts +0 -1
  1215. package/src/components/ConfirmDialog/useLogic/useLogic.ts +0 -23
  1216. package/src/components/Container/Container.tsx +0 -15
  1217. package/src/components/Container/index.ts +0 -1
  1218. package/src/components/Container/styles.ts +0 -76
  1219. package/src/components/ContentState/ContentState.stories.tsx +0 -244
  1220. package/src/components/ContentState/ContentState.tsx +0 -90
  1221. package/src/components/ContentState/index.ts +0 -3
  1222. package/src/components/ContentState/styles.ts +0 -11
  1223. package/src/components/ContentState/types.ts +0 -30
  1224. package/src/components/CopyTypography/CopyTypography.stories.tsx +0 -94
  1225. package/src/components/CopyTypography/CopyTypography.tsx +0 -55
  1226. package/src/components/CopyTypography/enums.ts +0 -5
  1227. package/src/components/CopyTypography/index.ts +0 -1
  1228. package/src/components/CopyTypography/styles.ts +0 -28
  1229. package/src/components/CopyTypography/useLogic/index.ts +0 -1
  1230. package/src/components/CopyTypography/useLogic/useLogic.ts +0 -38
  1231. package/src/components/DataGrid/Body/Body.tsx +0 -185
  1232. package/src/components/DataGrid/Body/index.ts +0 -1
  1233. package/src/components/DataGrid/Body/styles.tsx +0 -16
  1234. package/src/components/DataGrid/Body/useLogic/index.ts +0 -1
  1235. package/src/components/DataGrid/Body/useLogic/useLogic.ts +0 -20
  1236. package/src/components/DataGrid/Cell/Cell.tsx +0 -63
  1237. package/src/components/DataGrid/Cell/index.ts +0 -1
  1238. package/src/components/DataGrid/Cell/styles.ts +0 -26
  1239. package/src/components/DataGrid/Cell/useLogic/index.ts +0 -1
  1240. package/src/components/DataGrid/Cell/useLogic/useLogic.ts +0 -35
  1241. package/src/components/DataGrid/DataGrid.stories.tsx +0 -1883
  1242. package/src/components/DataGrid/DataGrid.tsx +0 -307
  1243. package/src/components/DataGrid/DataGridContext/DataGridContext.ts +0 -15
  1244. package/src/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.tsx +0 -83
  1245. package/src/components/DataGrid/DataGridContext/DataGridProvider/index.ts +0 -1
  1246. package/src/components/DataGrid/DataGridContext/index.ts +0 -3
  1247. package/src/components/DataGrid/Head/Head.tsx +0 -110
  1248. package/src/components/DataGrid/Head/index.ts +0 -1
  1249. package/src/components/DataGrid/Head/styles.ts +0 -21
  1250. package/src/components/DataGrid/Head/useLogic/index.ts +0 -1
  1251. package/src/components/DataGrid/Head/useLogic/useLogic.tsx +0 -65
  1252. package/src/components/DataGrid/HeadCell/HeadCell.tsx +0 -68
  1253. package/src/components/DataGrid/HeadCell/index.ts +0 -1
  1254. package/src/components/DataGrid/HeadCell/styles.ts +0 -39
  1255. package/src/components/DataGrid/HeadCell/useLogic/index.ts +0 -1
  1256. package/src/components/DataGrid/HeadCell/useLogic/useLogic.ts +0 -29
  1257. package/src/components/DataGrid/Loader/Loader.tsx +0 -26
  1258. package/src/components/DataGrid/Loader/index.ts +0 -1
  1259. package/src/components/DataGrid/Loader/styles.ts +0 -26
  1260. package/src/components/DataGrid/NoData/NoData.tsx +0 -65
  1261. package/src/components/DataGrid/NoData/index.ts +0 -1
  1262. package/src/components/DataGrid/Row/NestedChildren/NestedChildren.tsx +0 -158
  1263. package/src/components/DataGrid/Row/NestedChildren/index.ts +0 -1
  1264. package/src/components/DataGrid/Row/NestedChildren/styles.ts +0 -80
  1265. package/src/components/DataGrid/Row/NestedChildren/useLogic/index.ts +0 -1
  1266. package/src/components/DataGrid/Row/NestedChildren/useLogic/useLogic.ts +0 -44
  1267. package/src/components/DataGrid/Row/Row.tsx +0 -307
  1268. package/src/components/DataGrid/Row/RowContext/RowContext.ts +0 -14
  1269. package/src/components/DataGrid/Row/RowContext/RowProvider/RowProvider.tsx +0 -35
  1270. package/src/components/DataGrid/Row/RowContext/RowProvider/index.ts +0 -1
  1271. package/src/components/DataGrid/Row/RowContext/index.ts +0 -3
  1272. package/src/components/DataGrid/Row/constants.ts +0 -3
  1273. package/src/components/DataGrid/Row/index.ts +0 -3
  1274. package/src/components/DataGrid/Row/styles.ts +0 -124
  1275. package/src/components/DataGrid/Row/useLogic/index.ts +0 -1
  1276. package/src/components/DataGrid/Row/useLogic/useLogic.ts +0 -144
  1277. package/src/components/DataGrid/Row/useLogic/utils/getColumnsMap/getColumnsMap.ts +0 -20
  1278. package/src/components/DataGrid/Row/useLogic/utils/getColumnsMap/index.ts +0 -1
  1279. package/src/components/DataGrid/Row/useLogic/utils/index.ts +0 -3
  1280. package/src/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/index.ts +0 -1
  1281. package/src/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/mergeColumnsOptions.ts +0 -34
  1282. package/src/components/DataGrid/Row/utils/checkIsDisabled/checkIsDisabled.ts +0 -15
  1283. package/src/components/DataGrid/Row/utils/checkIsDisabled/index.ts +0 -1
  1284. package/src/components/DataGrid/Row/utils/index.ts +0 -1
  1285. package/src/components/DataGrid/constants.ts +0 -11
  1286. package/src/components/DataGrid/enums.ts +0 -9
  1287. package/src/components/DataGrid/faker.ts +0 -116
  1288. package/src/components/DataGrid/index.ts +0 -11
  1289. package/src/components/DataGrid/styles.ts +0 -31
  1290. package/src/components/DataGrid/types.ts +0 -118
  1291. package/src/components/DataGrid/useLogic/index.ts +0 -1
  1292. package/src/components/DataGrid/useLogic/useLogic.tsx +0 -139
  1293. package/src/components/DataGrid/useLogic/utils/getGridTemplateColumns/getGridTemplateColumns.ts +0 -7
  1294. package/src/components/DataGrid/useLogic/utils/getGridTemplateColumns/index.ts +0 -1
  1295. package/src/components/DataGrid/useLogic/utils/index.ts +0 -1
  1296. package/src/components/DataGrid/utils/alignToJustifyContent/alignToJustifyContent.ts +0 -20
  1297. package/src/components/DataGrid/utils/alignToJustifyContent/constants.ts +0 -7
  1298. package/src/components/DataGrid/utils/alignToJustifyContent/index.ts +0 -1
  1299. package/src/components/DataGrid/utils/index.ts +0 -1
  1300. package/src/components/DataGridActionCell/DataGridActionCell.stories.tsx +0 -272
  1301. package/src/components/DataGridActionCell/DataGridActionCell.tsx +0 -70
  1302. package/src/components/DataGridActionCell/MainAction/MainAction.tsx +0 -76
  1303. package/src/components/DataGridActionCell/MainAction/MainIconButton/MainIconButton.tsx +0 -88
  1304. package/src/components/DataGridActionCell/MainAction/MainIconButton/index.ts +0 -1
  1305. package/src/components/DataGridActionCell/MainAction/MainIconButton/useLogic/index.ts +0 -1
  1306. package/src/components/DataGridActionCell/MainAction/MainIconButton/useLogic/useLogic.ts +0 -31
  1307. package/src/components/DataGridActionCell/MainAction/index.ts +0 -1
  1308. package/src/components/DataGridActionCell/SecondaryAction/SecondaryAction.tsx +0 -54
  1309. package/src/components/DataGridActionCell/SecondaryAction/index.ts +0 -1
  1310. package/src/components/DataGridActionCell/index.ts +0 -1
  1311. package/src/components/DataGridActionCell/styles.ts +0 -6
  1312. package/src/components/DataGridActionCell/types.ts +0 -123
  1313. package/src/components/DataGridActionCell/useLogic/index.ts +0 -1
  1314. package/src/components/DataGridActionCell/useLogic/useLogic.ts +0 -53
  1315. package/src/components/DataGridOld/Body/Body.tsx +0 -56
  1316. package/src/components/DataGridOld/Body/index.ts +0 -1
  1317. package/src/components/DataGridOld/Body/styles.ts +0 -12
  1318. package/src/components/DataGridOld/Cell/Cell.tsx +0 -41
  1319. package/src/components/DataGridOld/Cell/index.ts +0 -1
  1320. package/src/components/DataGridOld/Cell/styles.ts +0 -25
  1321. package/src/components/DataGridOld/DataGridOld.tsx +0 -65
  1322. package/src/components/DataGridOld/Head/Head.tsx +0 -31
  1323. package/src/components/DataGridOld/Head/index.ts +0 -1
  1324. package/src/components/DataGridOld/Head/styles.ts +0 -11
  1325. package/src/components/DataGridOld/HeadCell/HeadCell.tsx +0 -14
  1326. package/src/components/DataGridOld/HeadCell/index.ts +0 -1
  1327. package/src/components/DataGridOld/HeadCell/styles.ts +0 -29
  1328. package/src/components/DataGridOld/Row/Row.tsx +0 -53
  1329. package/src/components/DataGridOld/Row/index.ts +0 -1
  1330. package/src/components/DataGridOld/Row/styles.ts +0 -24
  1331. package/src/components/DataGridOld/State/State.tsx +0 -32
  1332. package/src/components/DataGridOld/State/index.ts +0 -1
  1333. package/src/components/DataGridOld/State/styles.ts +0 -25
  1334. package/src/components/DataGridOld/constants.ts +0 -1
  1335. package/src/components/DataGridOld/index.ts +0 -2
  1336. package/src/components/DataGridOld/styles.ts +0 -24
  1337. package/src/components/DataGridOld/types.ts +0 -18
  1338. package/src/components/DataGridPagination/DataGridPagination.stories.tsx +0 -207
  1339. package/src/components/DataGridPagination/DataGridPagination.tsx +0 -102
  1340. package/src/components/DataGridPagination/constants.ts +0 -3
  1341. package/src/components/DataGridPagination/faker.ts +0 -36
  1342. package/src/components/DataGridPagination/index.ts +0 -1
  1343. package/src/components/DataGridPagination/styles.ts +0 -26
  1344. package/src/components/DataGridPagination/useLogic/index.ts +0 -1
  1345. package/src/components/DataGridPagination/useLogic/useLogic.ts +0 -53
  1346. package/src/components/Description/Description.stories.tsx +0 -328
  1347. package/src/components/Description/Description.tsx +0 -73
  1348. package/src/components/Description/DescriptionContext/DescriptionContext.tsx +0 -15
  1349. package/src/components/Description/DescriptionContext/DescriptionContextProvider/DescriptionContextProvider.tsx +0 -21
  1350. package/src/components/Description/DescriptionContext/DescriptionContextProvider/index.ts +0 -1
  1351. package/src/components/Description/DescriptionContext/index.ts +0 -3
  1352. package/src/components/Description/Name/Name.tsx +0 -28
  1353. package/src/components/Description/Name/index.ts +0 -1
  1354. package/src/components/Description/Name/styles.ts +0 -29
  1355. package/src/components/Description/Value/Value.tsx +0 -73
  1356. package/src/components/Description/Value/index.ts +0 -1
  1357. package/src/components/Description/Value/styles.ts +0 -62
  1358. package/src/components/Description/Value/useLogic/index.ts +0 -1
  1359. package/src/components/Description/Value/useLogic/useLogic.ts +0 -18
  1360. package/src/components/Description/constants.ts +0 -5
  1361. package/src/components/Description/index.ts +0 -3
  1362. package/src/components/Description/styles.ts +0 -27
  1363. package/src/components/Description/useLogic/index.ts +0 -1
  1364. package/src/components/Description/useLogic/useLogic.ts +0 -21
  1365. package/src/components/DescriptionList/DescriptionList.stories.tsx +0 -476
  1366. package/src/components/DescriptionList/DescriptionList.tsx +0 -108
  1367. package/src/components/DescriptionList/index.ts +0 -3
  1368. package/src/components/DescriptionList/styles.ts +0 -67
  1369. package/src/components/DescriptionList/types.ts +0 -46
  1370. package/src/components/DescriptionList/utils/getTooltipProps/getTooltipProps.ts +0 -3
  1371. package/src/components/DescriptionList/utils/getTooltipProps/index.ts +0 -1
  1372. package/src/components/DescriptionList/utils/index.ts +0 -1
  1373. package/src/components/Dialog/Dialog.stories.tsx +0 -430
  1374. package/src/components/Dialog/Dialog.tsx +0 -68
  1375. package/src/components/Dialog/constants.ts +0 -7
  1376. package/src/components/Dialog/index.ts +0 -1
  1377. package/src/components/Dialog/styles.ts +0 -26
  1378. package/src/components/DialogActions/DialogActions.stories.tsx +0 -112
  1379. package/src/components/DialogActions/DialogActions.tsx +0 -19
  1380. package/src/components/DialogActions/index.ts +0 -1
  1381. package/src/components/DialogActions/styles.ts +0 -17
  1382. package/src/components/DialogContent/DialogContent.stories.tsx +0 -68
  1383. package/src/components/DialogContent/DialogContent.tsx +0 -11
  1384. package/src/components/DialogContent/index.ts +0 -1
  1385. package/src/components/DialogContent/styles.ts +0 -13
  1386. package/src/components/DialogContentText/DialogContentText.stories.tsx +0 -65
  1387. package/src/components/DialogContentText/DialogContentText.tsx +0 -12
  1388. package/src/components/DialogContentText/index.ts +0 -1
  1389. package/src/components/DialogContentText/styles.ts +0 -8
  1390. package/src/components/DialogHeader/DialogHeader.stories.tsx +0 -108
  1391. package/src/components/DialogHeader/DialogHeader.tsx +0 -58
  1392. package/src/components/DialogHeader/index.ts +0 -1
  1393. package/src/components/DialogHeader/styles.ts +0 -63
  1394. package/src/components/DialogTitle/DialogTitle.tsx +0 -43
  1395. package/src/components/DialogTitle/index.ts +0 -1
  1396. package/src/components/Divider/Divider.stories.tsx +0 -58
  1397. package/src/components/Divider/Divider.tsx +0 -10
  1398. package/src/components/Divider/index.ts +0 -1
  1399. package/src/components/DropdownButton/DropdownButton.stories.tsx +0 -191
  1400. package/src/components/DropdownButton/DropdownButton.tsx +0 -46
  1401. package/src/components/DropdownButton/index.ts +0 -1
  1402. package/src/components/ErrorBoundary/ErrorBoundary.stories.tsx +0 -58
  1403. package/src/components/ErrorBoundary/ErrorBoundary.stubs.tsx +0 -67
  1404. package/src/components/ErrorBoundary/ErrorBoundary.tsx +0 -73
  1405. package/src/components/ErrorBoundary/constants.ts +0 -15
  1406. package/src/components/ErrorBoundary/enums.ts +0 -9
  1407. package/src/components/ErrorBoundary/index.ts +0 -1
  1408. package/src/components/Filename/Filename.stories.tsx +0 -244
  1409. package/src/components/Filename/Filename.tsx +0 -57
  1410. package/src/components/Filename/index.ts +0 -1
  1411. package/src/components/Filename/styles.ts +0 -18
  1412. package/src/components/Filename/useLogic/index.ts +0 -1
  1413. package/src/components/Filename/useLogic/useLogic.ts +0 -36
  1414. package/src/components/Filename/useLogic/utils/findExtension/constants.ts +0 -16
  1415. package/src/components/Filename/useLogic/utils/findExtension/findExtension.ts +0 -17
  1416. package/src/components/Filename/useLogic/utils/findExtension/index.ts +0 -1
  1417. package/src/components/Filename/useLogic/utils/index.ts +0 -1
  1418. package/src/components/Filename/useLogic/utils/truncateString/constants.ts +0 -1
  1419. package/src/components/Filename/useLogic/utils/truncateString/index.ts +0 -1
  1420. package/src/components/Filename/useLogic/utils/truncateString/truncateString.ts +0 -24
  1421. package/src/components/FormControl/FormControl.tsx +0 -12
  1422. package/src/components/FormControl/index.tsx +0 -1
  1423. package/src/components/FormControlLabel/FormControlLabel.tsx +0 -6
  1424. package/src/components/FormControlLabel/index.ts +0 -3
  1425. package/src/components/FormControlLabel/styles.ts +0 -14
  1426. package/src/components/FormControlLabel/types.ts +0 -6
  1427. package/src/components/FormHelperText/FormHelperText.tsx +0 -29
  1428. package/src/components/FormHelperText/FormHelperTextContent/FormHelperTextContent.tsx +0 -38
  1429. package/src/components/FormHelperText/FormHelperTextContent/index.ts +0 -1
  1430. package/src/components/FormHelperText/FormHelperTextContent/styles.ts +0 -44
  1431. package/src/components/FormHelperText/index.ts +0 -3
  1432. package/src/components/FormLabel/FormLabel.tsx +0 -11
  1433. package/src/components/FormLabel/index.ts +0 -1
  1434. package/src/components/FormLabel/styles.ts +0 -6
  1435. package/src/components/GuidTypography/GuidTypography.stories.tsx +0 -58
  1436. package/src/components/GuidTypography/GuidTypography.tsx +0 -10
  1437. package/src/components/GuidTypography/index.ts +0 -1
  1438. package/src/components/IconButton/IconButton.stories.tsx +0 -236
  1439. package/src/components/IconButton/IconButton.tsx +0 -52
  1440. package/src/components/IconButton/index.ts +0 -1
  1441. package/src/components/IconButton/styles.ts +0 -52
  1442. package/src/components/IconDropdownButton/IconDropdownButton.stories.tsx +0 -197
  1443. package/src/components/IconDropdownButton/IconDropdownButton.tsx +0 -38
  1444. package/src/components/IconDropdownButton/index.ts +0 -1
  1445. package/src/components/InternalErrorPlaceholder/InternalErrorPlaceholder.stories.tsx +0 -34
  1446. package/src/components/InternalErrorPlaceholder/InternalErrorPlaceholder.tsx +0 -39
  1447. package/src/components/InternalErrorPlaceholder/index.ts +0 -1
  1448. package/src/components/Link/Link.stories.tsx +0 -89
  1449. package/src/components/Link/Link.tsx +0 -44
  1450. package/src/components/Link/index.ts +0 -1
  1451. package/src/components/Link/styles.ts +0 -37
  1452. package/src/components/List/List.stories.tsx +0 -255
  1453. package/src/components/List/List.tsx +0 -9
  1454. package/src/components/List/index.ts +0 -1
  1455. package/src/components/ListItem/ListItem.stories.tsx +0 -85
  1456. package/src/components/ListItem/ListItem.tsx +0 -12
  1457. package/src/components/ListItem/index.ts +0 -1
  1458. package/src/components/ListItemButton/ListItemButton.stories.tsx +0 -113
  1459. package/src/components/ListItemButton/ListItemButton.tsx +0 -68
  1460. package/src/components/ListItemButton/constants.ts +0 -5
  1461. package/src/components/ListItemButton/index.ts +0 -1
  1462. package/src/components/ListItemIcon/ListItemIcon.stories.tsx +0 -42
  1463. package/src/components/ListItemIcon/ListItemIcon.tsx +0 -14
  1464. package/src/components/ListItemIcon/index.ts +0 -1
  1465. package/src/components/ListItemIcon/styles.ts +0 -5
  1466. package/src/components/ListItemText/ListItemText.stories.tsx +0 -40
  1467. package/src/components/ListItemText/ListItemText.tsx +0 -11
  1468. package/src/components/ListItemText/index.ts +0 -1
  1469. package/src/components/ListSubheader/ListSubheader.stories.tsx +0 -43
  1470. package/src/components/ListSubheader/ListSubheader.tsx +0 -12
  1471. package/src/components/ListSubheader/index.ts +0 -1
  1472. package/src/components/Menu/Menu.stories.tsx +0 -109
  1473. package/src/components/Menu/Menu.tsx +0 -38
  1474. package/src/components/Menu/index.ts +0 -1
  1475. package/src/components/MenuItem/MenuItem.stories.tsx +0 -111
  1476. package/src/components/MenuItem/MenuItem.tsx +0 -67
  1477. package/src/components/MenuItem/index.ts +0 -1
  1478. package/src/components/MenuList/MenuList.stories.tsx +0 -87
  1479. package/src/components/MenuList/MenuList.tsx +0 -6
  1480. package/src/components/MenuList/index.ts +0 -3
  1481. package/src/components/MenuList/styles.ts +0 -10
  1482. package/src/components/MenuList/types.ts +0 -6
  1483. package/src/components/NavMenu/Item/Item.tsx +0 -87
  1484. package/src/components/NavMenu/Item/ItemButton/ItemButton.tsx +0 -75
  1485. package/src/components/NavMenu/Item/ItemButton/index.ts +0 -1
  1486. package/src/components/NavMenu/Item/ItemButton/styles.ts +0 -143
  1487. package/src/components/NavMenu/Item/List/List.tsx +0 -43
  1488. package/src/components/NavMenu/Item/List/index.ts +0 -1
  1489. package/src/components/NavMenu/Item/index.ts +0 -1
  1490. package/src/components/NavMenu/NavMenu.stories.tsx +0 -117
  1491. package/src/components/NavMenu/NavMenu.tsx +0 -32
  1492. package/src/components/NavMenu/index.ts +0 -1
  1493. package/src/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.stories.tsx +0 -32
  1494. package/src/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.tsx +0 -30
  1495. package/src/components/OutdatedReleasePlaceholder/index.ts +0 -1
  1496. package/src/components/OverflowTypography/OverflowTypography.stories.tsx +0 -105
  1497. package/src/components/OverflowTypography/OverflowTypography.tsx +0 -106
  1498. package/src/components/OverflowTypography/hooks/index.ts +0 -1
  1499. package/src/components/OverflowTypography/hooks/useOverflowed/index.ts +0 -1
  1500. package/src/components/OverflowTypography/hooks/useOverflowed/useOverflowed.ts +0 -58
  1501. package/src/components/OverflowTypography/index.ts +0 -1
  1502. package/src/components/OverflowTypography/styles.ts +0 -39
  1503. package/src/components/OverflowTypography/useLogic/index.ts +0 -1
  1504. package/src/components/OverflowTypography/useLogic/useLogic.ts +0 -29
  1505. package/src/components/OverflowTypography/utils/index.ts +0 -1
  1506. package/src/components/OverflowTypography/utils/truncateString/index.ts +0 -1
  1507. package/src/components/OverflowTypography/utils/truncateString/truncateString.ts +0 -9
  1508. package/src/components/Pagination/Pagination.stories.tsx +0 -56
  1509. package/src/components/Pagination/Pagination.tsx +0 -7
  1510. package/src/components/Pagination/index.ts +0 -3
  1511. package/src/components/Pagination/types.ts +0 -13
  1512. package/src/components/Paper/Paper.tsx +0 -25
  1513. package/src/components/Paper/index.ts +0 -1
  1514. package/src/components/Placeholder/Image/Image.tsx +0 -16
  1515. package/src/components/Placeholder/Image/index.ts +0 -1
  1516. package/src/components/Placeholder/Image/styles.ts +0 -24
  1517. package/src/components/Placeholder/Placeholder.stories.tsx +0 -205
  1518. package/src/components/Placeholder/Placeholder.tsx +0 -108
  1519. package/src/components/Placeholder/constants.ts +0 -31
  1520. package/src/components/Placeholder/index.ts +0 -5
  1521. package/src/components/Placeholder/styles.ts +0 -94
  1522. package/src/components/Placeholder/types.ts +0 -1
  1523. package/src/components/Popover/Popover.stories.tsx +0 -211
  1524. package/src/components/Popover/Popover.tsx +0 -39
  1525. package/src/components/Popover/index.ts +0 -1
  1526. package/src/components/ProgressBar/ProgressBar.stories.tsx +0 -31
  1527. package/src/components/ProgressBar/ProgressBar.tsx +0 -26
  1528. package/src/components/ProgressBar/index.ts +0 -1
  1529. package/src/components/Radio/Icon/Icon.tsx +0 -37
  1530. package/src/components/Radio/Icon/index.ts +0 -1
  1531. package/src/components/Radio/Radio.stories.tsx +0 -32
  1532. package/src/components/Radio/Radio.tsx +0 -24
  1533. package/src/components/Radio/constants.ts +0 -9
  1534. package/src/components/Radio/index.ts +0 -1
  1535. package/src/components/Radio/styles.ts +0 -70
  1536. package/src/components/RadioField/RadioField.stories.tsx +0 -74
  1537. package/src/components/RadioField/RadioField.tsx +0 -55
  1538. package/src/components/RadioField/index.ts +0 -1
  1539. package/src/components/RadioField/styles.ts +0 -10
  1540. package/src/components/RadioGroup/RadioGroup.stories.tsx +0 -60
  1541. package/src/components/RadioGroup/RadioGroup.tsx +0 -79
  1542. package/src/components/RadioGroup/RadioGroupContext/RadioGroupContext.ts +0 -9
  1543. package/src/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/RadioGroupContextProvider.tsx +0 -18
  1544. package/src/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/index.ts +0 -1
  1545. package/src/components/RadioGroup/RadioGroupContext/index.ts +0 -3
  1546. package/src/components/RadioGroup/index.ts +0 -3
  1547. package/src/components/RadioGroupField/RadioGroupField.tsx +0 -17
  1548. package/src/components/RadioGroupField/index.ts +0 -1
  1549. package/src/components/SearchField/SearchField.tsx +0 -93
  1550. package/src/components/SearchField/index.ts +0 -1
  1551. package/src/components/SearchField/styles.ts +0 -38
  1552. package/src/components/Select/Select.stories.tsx +0 -320
  1553. package/src/components/Select/Select.tsx +0 -204
  1554. package/src/components/Select/constants.ts +0 -1
  1555. package/src/components/Select/index.ts +0 -1
  1556. package/src/components/Select/styles.ts +0 -60
  1557. package/src/components/Select/useLogic/index.ts +0 -1
  1558. package/src/components/Select/useLogic/useLogic.ts +0 -53
  1559. package/src/components/Skeleton/Skeleton.stories.tsx +0 -78
  1560. package/src/components/Skeleton/Skeleton.tsx +0 -31
  1561. package/src/components/Skeleton/index.ts +0 -1
  1562. package/src/components/Skeleton/styles.ts +0 -16
  1563. package/src/components/Switch/Switch.stories.tsx +0 -179
  1564. package/src/components/Switch/Switch.tsx +0 -14
  1565. package/src/components/Switch/index.ts +0 -1
  1566. package/src/components/Switch/styles.ts +0 -14
  1567. package/src/components/Tab/Tab.stories.tsx +0 -53
  1568. package/src/components/Tab/Tab.tsx +0 -20
  1569. package/src/components/Tab/index.ts +0 -1
  1570. package/src/components/Tab/styles.ts +0 -22
  1571. package/src/components/Tabs/Tabs.stories.tsx +0 -74
  1572. package/src/components/Tabs/Tabs.tsx +0 -27
  1573. package/src/components/Tabs/index.ts +0 -1
  1574. package/src/components/Tabs/styles.ts +0 -20
  1575. package/src/components/Tag/Tag.stories.tsx +0 -592
  1576. package/src/components/Tag/Tag.tsx +0 -102
  1577. package/src/components/Tag/enums.ts +0 -20
  1578. package/src/components/Tag/index.ts +0 -3
  1579. package/src/components/Tag/styles.ts +0 -332
  1580. package/src/components/Tag/types.ts +0 -9
  1581. package/src/components/TagBadge/TagBadge.stories.tsx +0 -231
  1582. package/src/components/TagBadge/TagBadge.tsx +0 -47
  1583. package/src/components/TagBadge/index.ts +0 -1
  1584. package/src/components/TagBadge/styles.ts +0 -14
  1585. package/src/components/TagBadge/utils/getCheckableTagBadgeBgColor/getCheckableTagBadgeBgColor.ts +0 -31
  1586. package/src/components/TagBadge/utils/getCheckableTagBadgeBgColor/index.ts +0 -1
  1587. package/src/components/TagBadge/utils/index.ts +0 -1
  1588. package/src/components/TagsList/Tag/Tag.tsx +0 -49
  1589. package/src/components/TagsList/Tag/index.ts +0 -1
  1590. package/src/components/TagsList/Tag/styles.ts +0 -19
  1591. package/src/components/TagsList/Tag/useLogic/index.ts +0 -1
  1592. package/src/components/TagsList/Tag/useLogic/useLogic.ts +0 -11
  1593. package/src/components/TagsList/TagsList.tsx +0 -80
  1594. package/src/components/TagsList/index.ts +0 -3
  1595. package/src/components/TagsList/styles.ts +0 -6
  1596. package/src/components/TagsList/types.ts +0 -1
  1597. package/src/components/TagsList/useLogic/index.ts +0 -1
  1598. package/src/components/TagsList/useLogic/useLogic.ts +0 -184
  1599. package/src/components/TagsList/utils/getElementByText/getElementByText.ts +0 -21
  1600. package/src/components/TagsList/utils/getElementByText/index.ts +0 -1
  1601. package/src/components/TagsList/utils/getKey/getKey.ts +0 -11
  1602. package/src/components/TagsList/utils/getKey/index.ts +0 -1
  1603. package/src/components/TagsList/utils/index.ts +0 -3
  1604. package/src/components/TextArea/TextArea.stories.tsx +0 -81
  1605. package/src/components/TextArea/TextArea.tsx +0 -12
  1606. package/src/components/TextArea/index.ts +0 -1
  1607. package/src/components/TextField/TextField.stories.tsx +0 -94
  1608. package/src/components/TextField/TextField.tsx +0 -117
  1609. package/src/components/TextField/index.ts +0 -1
  1610. package/src/components/Tooltip/Tooltip.stories.tsx +0 -234
  1611. package/src/components/Tooltip/Tooltip.tsx +0 -48
  1612. package/src/components/Tooltip/constants.ts +0 -4
  1613. package/src/components/Tooltip/index.ts +0 -3
  1614. package/src/components/Tooltip/styles.tsx +0 -65
  1615. package/src/components/Tooltip/types.ts +0 -3
  1616. package/src/components/Typography/Typography.stories.tsx +0 -191
  1617. package/src/components/Typography/Typography.tsx +0 -107
  1618. package/src/components/Typography/enums.ts +0 -14
  1619. package/src/components/Typography/hooks/index.ts +0 -1
  1620. package/src/components/Typography/hooks/useTypographyColor/index.ts +0 -1
  1621. package/src/components/Typography/hooks/useTypographyColor/useTypographyColor.tsx +0 -54
  1622. package/src/components/Typography/index.ts +0 -3
  1623. package/src/components/Typography/styles.ts +0 -9
  1624. package/src/components/Typography/types.ts +0 -30
  1625. package/src/components/index.ts +0 -123
  1626. package/src/components/types.ts +0 -1
  1627. package/src/hooks/index.ts +0 -4
  1628. package/src/hooks/useMenu/index.ts +0 -1
  1629. package/src/hooks/useMenu/useMenu.stories.tsx +0 -31
  1630. package/src/hooks/useMenu/useMenu.ts +0 -45
  1631. package/src/hooks/usePopover/index.ts +0 -1
  1632. package/src/hooks/usePopover/usePopover.ts +0 -27
  1633. package/src/hooks/useToggle/index.ts +0 -1
  1634. package/src/hooks/useToggle/useToggle.ts +0 -76
  1635. package/src/hooks/useViewportType/index.ts +0 -1
  1636. package/src/hooks/useViewportType/useViewportType.stories.tsx +0 -30
  1637. package/src/hooks/useViewportType/useViewportType.ts +0 -13
  1638. package/src/illustrations/certificates-not-found.svg +0 -91
  1639. package/src/illustrations/data-access-disabled.svg +0 -103
  1640. package/src/illustrations/data-access-success.svg +0 -119
  1641. package/src/illustrations/drop-files-in.svg +0 -40
  1642. package/src/illustrations/drop-files-out.svg +0 -43
  1643. package/src/illustrations/error.svg +0 -159
  1644. package/src/illustrations/features.svg +0 -35
  1645. package/src/illustrations/mail.svg +0 -84
  1646. package/src/illustrations/no-data.svg +0 -1
  1647. package/src/illustrations/no-notifications.svg +0 -102
  1648. package/src/illustrations/outdated-release.svg +0 -173
  1649. package/src/illustrations/placeholder.svg +0 -20
  1650. package/src/illustrations/search.svg +0 -38
  1651. package/src/illustrations/sketchpad.svg +0 -114
  1652. package/src/illustrations/technical-support.svg +0 -341
  1653. package/src/theme/baseTheme/baseTheme.ts +0 -49
  1654. package/src/theme/baseTheme/index.ts +0 -1
  1655. package/src/theme/breakpoints.ts +0 -11
  1656. package/src/theme/components/MuiAlert.ts +0 -70
  1657. package/src/theme/components/MuiAutocomplete.ts +0 -94
  1658. package/src/theme/components/MuiButton.ts +0 -418
  1659. package/src/theme/components/MuiButtonBase.ts +0 -16
  1660. package/src/theme/components/MuiCircularProgress.ts +0 -22
  1661. package/src/theme/components/MuiDialog.ts +0 -13
  1662. package/src/theme/components/MuiDialogActions.ts +0 -17
  1663. package/src/theme/components/MuiDialogContent.ts +0 -13
  1664. package/src/theme/components/MuiDialogTitle.ts +0 -24
  1665. package/src/theme/components/MuiDrawer.ts +0 -15
  1666. package/src/theme/components/MuiFormHelperText.ts +0 -23
  1667. package/src/theme/components/MuiFormLabel.ts +0 -16
  1668. package/src/theme/components/MuiInputLabel.ts +0 -33
  1669. package/src/theme/components/MuiLinearProgress.ts +0 -22
  1670. package/src/theme/components/MuiListItemButton.ts +0 -16
  1671. package/src/theme/components/MuiListItemText.ts +0 -16
  1672. package/src/theme/components/MuiMenu.ts +0 -32
  1673. package/src/theme/components/MuiMenuItem.ts +0 -36
  1674. package/src/theme/components/MuiOutlinedInput.ts +0 -75
  1675. package/src/theme/components/MuiPaginationItem.ts +0 -16
  1676. package/src/theme/components/MuiPaper.ts +0 -38
  1677. package/src/theme/components/MuiStep.ts +0 -16
  1678. package/src/theme/components/MuiStepConnector.ts +0 -11
  1679. package/src/theme/components/MuiStepLabel.ts +0 -30
  1680. package/src/theme/components/MuiSwitch.ts +0 -153
  1681. package/src/theme/components/MuiTab.ts +0 -15
  1682. package/src/theme/components/MuiTableCell.ts +0 -16
  1683. package/src/theme/components/MuiTableHead.ts +0 -15
  1684. package/src/theme/components/MuiTableRow.ts +0 -19
  1685. package/src/theme/components/MuiTabs.ts +0 -19
  1686. package/src/theme/components/MuiTextField.ts +0 -28
  1687. package/src/theme/components/MuiToggleButton.ts +0 -14
  1688. package/src/theme/components/MuiToggleButtonGroup.ts +0 -10
  1689. package/src/theme/components/MuiTypography.ts +0 -41
  1690. package/src/theme/components/components.ts +0 -155
  1691. package/src/theme/components/index.ts +0 -1
  1692. package/src/theme/constants.ts +0 -1
  1693. package/src/theme/elevation.ts +0 -15
  1694. package/src/theme/hooks/index.ts +0 -1
  1695. package/src/theme/hooks/useTheme/index.ts +0 -7
  1696. package/src/theme/index.ts +0 -13
  1697. package/src/theme/palette/componentsColors/componentsColors.ts +0 -9
  1698. package/src/theme/palette/componentsColors/index.ts +0 -1
  1699. package/src/theme/palette/componentsColors/linkColors/index.ts +0 -1
  1700. package/src/theme/palette/componentsColors/linkColors/linkColors.ts +0 -13
  1701. package/src/theme/palette/index.ts +0 -5
  1702. package/src/theme/palette/palette.ts +0 -125
  1703. package/src/theme/palette/types.ts +0 -55
  1704. package/src/theme/shape.ts +0 -11
  1705. package/src/theme/types.ts +0 -30
  1706. package/src/theme/typography.ts +0 -191
  1707. package/test.tsx +0 -1
  1708. package/tsconfig.json +0 -16
  1709. /package/{dist → lib}/components/Accordion/index.d.ts +0 -0
  1710. /package/{dist → lib}/components/ActionCell/MainAction/index.d.ts +0 -0
  1711. /package/{dist → lib}/components/ActionCell/SecondaryAction/index.d.ts +0 -0
  1712. /package/{dist → lib}/components/ActionCell/index.d.ts +0 -0
  1713. /package/{dist → lib}/components/ActionCell/useLogic/index.d.ts +0 -0
  1714. /package/{dist → lib}/components/AsyncAutocomplete/constants.d.ts +0 -0
  1715. /package/{dist → lib}/components/AsyncAutocomplete/index.d.ts +0 -0
  1716. /package/{dist → lib}/components/AsyncAutocomplete/useLogic/index.d.ts +0 -0
  1717. /package/{dist → lib}/components/Autocomplete/constants.d.ts +0 -0
  1718. /package/{dist → lib}/components/Autocomplete/enums.d.ts +0 -0
  1719. /package/{dist → lib}/components/Autocomplete/index.d.ts +0 -0
  1720. /package/{dist → lib}/components/Autocomplete/useLogic/index.d.ts +0 -0
  1721. /package/{dist → lib}/components/Autocomplete/useLogic/utils/checkIsInputEmpty/checkIsInputEmpty.d.ts +0 -0
  1722. /package/{dist → lib}/components/Autocomplete/useLogic/utils/checkIsInputEmpty/index.d.ts +0 -0
  1723. /package/{dist → lib}/components/Autocomplete/useLogic/utils/index.d.ts +0 -0
  1724. /package/{dist → lib}/components/Badge/index.d.ts +0 -0
  1725. /package/{dist → lib}/components/Badge/types.d.ts +0 -0
  1726. /package/{dist → lib}/components/BottomDrawer/constants.d.ts +0 -0
  1727. /package/{dist → lib}/components/BottomDrawer/index.d.ts +0 -0
  1728. /package/{dist → lib}/components/Button/constants.d.ts +0 -0
  1729. /package/{dist → lib}/components/Button/enums.d.ts +0 -0
  1730. /package/{dist → lib}/components/Button/index.d.ts +0 -0
  1731. /package/{dist → lib}/components/Button/useLogic/index.d.ts +0 -0
  1732. /package/{dist → lib}/components/Checkbox/index.d.ts +0 -0
  1733. /package/{dist → lib}/components/CheckboxField/index.d.ts +0 -0
  1734. /package/{dist → lib}/components/Chevron/index.d.ts +0 -0
  1735. /package/{dist → lib}/components/CircularProgress/constants.d.ts +0 -0
  1736. /package/{dist → lib}/components/CircularProgress/index.d.ts +0 -0
  1737. /package/{dist → lib}/components/CircularProgress/useLogic/index.d.ts +0 -0
  1738. /package/{dist → lib}/components/Collapse/index.d.ts +0 -0
  1739. /package/{dist → lib}/components/ConfigProvider/index.d.ts +0 -0
  1740. /package/{dist → lib}/components/ConfirmAction/constants.d.ts +0 -0
  1741. /package/{dist → lib}/components/ConfirmAction/index.d.ts +0 -0
  1742. /package/{dist → lib}/components/ConfirmAction/useLogic/index.d.ts +0 -0
  1743. /package/{dist → lib}/components/ConfirmDialog/index.d.ts +0 -0
  1744. /package/{dist → lib}/components/ConfirmDialog/useLogic/index.d.ts +0 -0
  1745. /package/{dist → lib}/components/Container/index.d.ts +0 -0
  1746. /package/{dist → lib}/components/ContentState/index.d.ts +0 -0
  1747. /package/{dist → lib}/components/CopyTypography/enums.d.ts +0 -0
  1748. /package/{dist → lib}/components/CopyTypography/index.d.ts +0 -0
  1749. /package/{dist → lib}/components/CopyTypography/useLogic/index.d.ts +0 -0
  1750. /package/{dist → lib}/components/DataGrid/Body/index.d.ts +0 -0
  1751. /package/{dist → lib}/components/DataGrid/Body/useLogic/index.d.ts +0 -0
  1752. /package/{dist → lib}/components/DataGrid/Cell/index.d.ts +0 -0
  1753. /package/{dist → lib}/components/DataGrid/Cell/useLogic/index.d.ts +0 -0
  1754. /package/{dist → lib}/components/DataGrid/DataGridContext/DataGridProvider/index.d.ts +0 -0
  1755. /package/{dist → lib}/components/DataGrid/DataGridContext/index.d.ts +0 -0
  1756. /package/{dist → lib}/components/DataGrid/Head/index.d.ts +0 -0
  1757. /package/{dist → lib}/components/DataGrid/Head/useLogic/index.d.ts +0 -0
  1758. /package/{dist → lib}/components/DataGrid/HeadCell/index.d.ts +0 -0
  1759. /package/{dist → lib}/components/DataGrid/HeadCell/useLogic/index.d.ts +0 -0
  1760. /package/{dist → lib}/components/DataGrid/Loader/Loader.d.ts +0 -0
  1761. /package/{dist → lib}/components/DataGrid/Loader/index.d.ts +0 -0
  1762. /package/{dist → lib}/components/DataGrid/NoData/index.d.ts +0 -0
  1763. /package/{dist → lib}/components/DataGrid/Row/NestedChildren/index.d.ts +0 -0
  1764. /package/{dist → lib}/components/DataGrid/Row/NestedChildren/useLogic/index.d.ts +0 -0
  1765. /package/{dist → lib}/components/DataGrid/Row/RowContext/RowProvider/index.d.ts +0 -0
  1766. /package/{dist → lib}/components/DataGrid/Row/RowContext/index.d.ts +0 -0
  1767. /package/{dist → lib}/components/DataGrid/Row/constants.d.ts +0 -0
  1768. /package/{dist → lib}/components/DataGrid/Row/index.d.ts +0 -0
  1769. /package/{dist → lib}/components/DataGrid/Row/useLogic/index.d.ts +0 -0
  1770. /package/{dist → lib}/components/DataGrid/Row/useLogic/utils/getColumnsMap/index.d.ts +0 -0
  1771. /package/{dist → lib}/components/DataGrid/Row/useLogic/utils/index.d.ts +0 -0
  1772. /package/{dist → lib}/components/DataGrid/Row/useLogic/utils/mergeColumnsOptions/index.d.ts +0 -0
  1773. /package/{dist → lib}/components/DataGrid/Row/utils/checkIsDisabled/checkIsDisabled.d.ts +0 -0
  1774. /package/{dist → lib}/components/DataGrid/Row/utils/checkIsDisabled/index.d.ts +0 -0
  1775. /package/{dist → lib}/components/DataGrid/Row/utils/index.d.ts +0 -0
  1776. /package/{dist → lib}/components/DataGrid/constants.d.ts +0 -0
  1777. /package/{dist → lib}/components/DataGrid/enums.d.ts +0 -0
  1778. /package/{dist → lib}/components/DataGrid/index.d.ts +0 -0
  1779. /package/{dist → lib}/components/DataGrid/useLogic/index.d.ts +0 -0
  1780. /package/{dist → lib}/components/DataGrid/useLogic/utils/getGridTemplateColumns/getGridTemplateColumns.d.ts +0 -0
  1781. /package/{dist → lib}/components/DataGrid/useLogic/utils/getGridTemplateColumns/index.d.ts +0 -0
  1782. /package/{dist → lib}/components/DataGrid/useLogic/utils/index.d.ts +0 -0
  1783. /package/{dist → lib}/components/DataGrid/utils/alignToJustifyContent/constants.d.ts +0 -0
  1784. /package/{dist → lib}/components/DataGrid/utils/alignToJustifyContent/index.d.ts +0 -0
  1785. /package/{dist → lib}/components/DataGrid/utils/index.d.ts +0 -0
  1786. /package/{dist → lib}/components/DataGridActionCell/MainAction/MainIconButton/index.d.ts +0 -0
  1787. /package/{dist → lib}/components/DataGridActionCell/MainAction/MainIconButton/useLogic/index.d.ts +0 -0
  1788. /package/{dist → lib}/components/DataGridActionCell/MainAction/index.d.ts +0 -0
  1789. /package/{dist → lib}/components/DataGridActionCell/SecondaryAction/index.d.ts +0 -0
  1790. /package/{dist → lib}/components/DataGridActionCell/index.d.ts +0 -0
  1791. /package/{dist → lib}/components/DataGridActionCell/useLogic/index.d.ts +0 -0
  1792. /package/{dist → lib}/components/DataGridOld/Body/index.d.ts +0 -0
  1793. /package/{dist → lib}/components/DataGridOld/Cell/index.d.ts +0 -0
  1794. /package/{dist → lib}/components/DataGridOld/Head/index.d.ts +0 -0
  1795. /package/{dist → lib}/components/DataGridOld/HeadCell/index.d.ts +0 -0
  1796. /package/{dist → lib}/components/DataGridOld/Row/index.d.ts +0 -0
  1797. /package/{dist → lib}/components/DataGridOld/State/State.d.ts +0 -0
  1798. /package/{dist → lib}/components/DataGridOld/State/index.d.ts +0 -0
  1799. /package/{dist → lib}/components/DataGridOld/constants.d.ts +0 -0
  1800. /package/{dist → lib}/components/DataGridOld/index.d.ts +0 -0
  1801. /package/{dist → lib}/components/DataGridPagination/constants.d.ts +0 -0
  1802. /package/{dist → lib}/components/DataGridPagination/index.d.ts +0 -0
  1803. /package/{dist → lib}/components/DataGridPagination/useLogic/index.d.ts +0 -0
  1804. /package/{dist → lib}/components/Description/DescriptionContext/DescriptionContextProvider/index.d.ts +0 -0
  1805. /package/{dist → lib}/components/Description/DescriptionContext/index.d.ts +0 -0
  1806. /package/{dist → lib}/components/Description/Name/index.d.ts +0 -0
  1807. /package/{dist → lib}/components/Description/Value/index.d.ts +0 -0
  1808. /package/{dist → lib}/components/Description/Value/useLogic/index.d.ts +0 -0
  1809. /package/{dist → lib}/components/Description/constants.d.ts +0 -0
  1810. /package/{dist → lib}/components/Description/index.d.ts +0 -0
  1811. /package/{dist → lib}/components/Description/useLogic/index.d.ts +0 -0
  1812. /package/{dist → lib}/components/DescriptionList/index.d.ts +0 -0
  1813. /package/{dist → lib}/components/DescriptionList/utils/getTooltipProps/getTooltipProps.d.ts +0 -0
  1814. /package/{dist → lib}/components/DescriptionList/utils/getTooltipProps/index.d.ts +0 -0
  1815. /package/{dist → lib}/components/DescriptionList/utils/index.d.ts +0 -0
  1816. /package/{dist → lib}/components/Dialog/constants.d.ts +0 -0
  1817. /package/{dist → lib}/components/Dialog/index.d.ts +0 -0
  1818. /package/{dist → lib}/components/DialogActions/index.d.ts +0 -0
  1819. /package/{dist → lib}/components/DialogContent/index.d.ts +0 -0
  1820. /package/{dist → lib}/components/DialogContentText/index.d.ts +0 -0
  1821. /package/{dist → lib}/components/DialogHeader/index.d.ts +0 -0
  1822. /package/{dist → lib}/components/DialogTitle/index.d.ts +0 -0
  1823. /package/{dist → lib}/components/Divider/index.d.ts +0 -0
  1824. /package/{dist → lib}/components/DropdownButton/index.d.ts +0 -0
  1825. /package/{dist → lib}/components/ErrorBoundary/ErrorBoundary.stubs.d.ts +0 -0
  1826. /package/{dist → lib}/components/ErrorBoundary/constants.d.ts +0 -0
  1827. /package/{dist → lib}/components/ErrorBoundary/enums.d.ts +0 -0
  1828. /package/{dist → lib}/components/ErrorBoundary/index.d.ts +0 -0
  1829. /package/{dist → lib}/components/Filename/index.d.ts +0 -0
  1830. /package/{dist → lib}/components/Filename/useLogic/index.d.ts +0 -0
  1831. /package/{dist → lib}/components/Filename/useLogic/utils/findExtension/constants.d.ts +0 -0
  1832. /package/{dist → lib}/components/Filename/useLogic/utils/findExtension/findExtension.d.ts +0 -0
  1833. /package/{dist → lib}/components/Filename/useLogic/utils/findExtension/index.d.ts +0 -0
  1834. /package/{dist → lib}/components/Filename/useLogic/utils/index.d.ts +0 -0
  1835. /package/{dist → lib}/components/Filename/useLogic/utils/truncateString/constants.d.ts +0 -0
  1836. /package/{dist → lib}/components/Filename/useLogic/utils/truncateString/index.d.ts +0 -0
  1837. /package/{dist → lib}/components/Filename/useLogic/utils/truncateString/truncateString.d.ts +0 -0
  1838. /package/{dist → lib}/components/FormControl/index.d.ts +0 -0
  1839. /package/{dist → lib}/components/FormControlLabel/index.d.ts +0 -0
  1840. /package/{dist → lib}/components/FormHelperText/FormHelperTextContent/index.d.ts +0 -0
  1841. /package/{dist → lib}/components/FormHelperText/index.d.ts +0 -0
  1842. /package/{dist → lib}/components/FormLabel/index.d.ts +0 -0
  1843. /package/{dist → lib}/components/GuidTypography/index.d.ts +0 -0
  1844. /package/{dist → lib}/components/IconButton/index.d.ts +0 -0
  1845. /package/{dist → lib}/components/IconDropdownButton/index.d.ts +0 -0
  1846. /package/{dist → lib}/components/InternalErrorPlaceholder/InternalErrorPlaceholder.d.ts +0 -0
  1847. /package/{dist → lib}/components/InternalErrorPlaceholder/index.d.ts +0 -0
  1848. /package/{dist → lib}/components/Link/index.d.ts +0 -0
  1849. /package/{dist → lib}/components/List/index.d.ts +0 -0
  1850. /package/{dist → lib}/components/ListItem/index.d.ts +0 -0
  1851. /package/{dist → lib}/components/ListItemButton/constants.d.ts +0 -0
  1852. /package/{dist → lib}/components/ListItemButton/index.d.ts +0 -0
  1853. /package/{dist → lib}/components/ListItemIcon/index.d.ts +0 -0
  1854. /package/{dist → lib}/components/ListItemText/index.d.ts +0 -0
  1855. /package/{dist → lib}/components/ListSubheader/index.d.ts +0 -0
  1856. /package/{dist → lib}/components/Menu/index.d.ts +0 -0
  1857. /package/{dist → lib}/components/MenuItem/index.d.ts +0 -0
  1858. /package/{dist → lib}/components/MenuList/index.d.ts +0 -0
  1859. /package/{dist → lib}/components/NavMenu/Item/ItemButton/index.d.ts +0 -0
  1860. /package/{dist → lib}/components/NavMenu/Item/List/index.d.ts +0 -0
  1861. /package/{dist → lib}/components/NavMenu/Item/index.d.ts +0 -0
  1862. /package/{dist → lib}/components/NavMenu/index.d.ts +0 -0
  1863. /package/{dist → lib}/components/OutdatedReleasePlaceholder/OutdatedReleasePlaceholder.d.ts +0 -0
  1864. /package/{dist → lib}/components/OutdatedReleasePlaceholder/index.d.ts +0 -0
  1865. /package/{dist → lib}/components/OverflowTypography/hooks/index.d.ts +0 -0
  1866. /package/{dist → lib}/components/OverflowTypography/hooks/useOverflowed/index.d.ts +0 -0
  1867. /package/{dist → lib}/components/OverflowTypography/index.d.ts +0 -0
  1868. /package/{dist → lib}/components/OverflowTypography/useLogic/index.d.ts +0 -0
  1869. /package/{dist → lib}/components/OverflowTypography/utils/index.d.ts +0 -0
  1870. /package/{dist → lib}/components/OverflowTypography/utils/truncateString/index.d.ts +0 -0
  1871. /package/{dist → lib}/components/OverflowTypography/utils/truncateString/truncateString.d.ts +0 -0
  1872. /package/{dist → lib}/components/Pagination/index.d.ts +0 -0
  1873. /package/{dist → lib}/components/Paper/index.d.ts +0 -0
  1874. /package/{dist → lib}/components/Placeholder/Image/index.d.ts +0 -0
  1875. /package/{dist → lib}/components/Placeholder/index.d.ts +0 -0
  1876. /package/{dist → lib}/components/Placeholder/types.d.ts +0 -0
  1877. /package/{dist → lib}/components/Popover/index.d.ts +0 -0
  1878. /package/{dist → lib}/components/ProgressBar/ProgressBar.d.ts +0 -0
  1879. /package/{dist → lib}/components/ProgressBar/index.d.ts +0 -0
  1880. /package/{dist → lib}/components/Radio/Icon/Icon.d.ts +0 -0
  1881. /package/{dist → lib}/components/Radio/Icon/index.d.ts +0 -0
  1882. /package/{dist → lib}/components/Radio/constants.d.ts +0 -0
  1883. /package/{dist → lib}/components/Radio/index.d.ts +0 -0
  1884. /package/{dist → lib}/components/RadioField/index.d.ts +0 -0
  1885. /package/{dist → lib}/components/RadioGroup/RadioGroupContext/RadioGroupContextProvider/index.d.ts +0 -0
  1886. /package/{dist → lib}/components/RadioGroup/RadioGroupContext/index.d.ts +0 -0
  1887. /package/{dist → lib}/components/RadioGroup/index.d.ts +0 -0
  1888. /package/{dist → lib}/components/RadioGroupField/index.d.ts +0 -0
  1889. /package/{dist → lib}/components/SearchField/index.d.ts +0 -0
  1890. /package/{dist → lib}/components/Select/constants.d.ts +0 -0
  1891. /package/{dist → lib}/components/Select/index.d.ts +0 -0
  1892. /package/{dist → lib}/components/Select/useLogic/index.d.ts +0 -0
  1893. /package/{dist → lib}/components/Skeleton/index.d.ts +0 -0
  1894. /package/{dist → lib}/components/Switch/index.d.ts +0 -0
  1895. /package/{dist → lib}/components/Tab/index.d.ts +0 -0
  1896. /package/{dist → lib}/components/Tabs/index.d.ts +0 -0
  1897. /package/{dist → lib}/components/Tag/enums.d.ts +0 -0
  1898. /package/{dist → lib}/components/Tag/index.d.ts +0 -0
  1899. /package/{dist → lib}/components/TagBadge/index.d.ts +0 -0
  1900. /package/{dist → lib}/components/TagBadge/utils/getCheckableTagBadgeBgColor/index.d.ts +0 -0
  1901. /package/{dist → lib}/components/TagBadge/utils/index.d.ts +0 -0
  1902. /package/{dist → lib}/components/TagsList/Tag/index.d.ts +0 -0
  1903. /package/{dist → lib}/components/TagsList/Tag/useLogic/index.d.ts +0 -0
  1904. /package/{dist → lib}/components/TagsList/index.d.ts +0 -0
  1905. /package/{dist → lib}/components/TagsList/types.d.ts +0 -0
  1906. /package/{dist → lib}/components/TagsList/useLogic/index.d.ts +0 -0
  1907. /package/{dist → lib}/components/TagsList/utils/getElementByText/getElementByText.d.ts +0 -0
  1908. /package/{dist → lib}/components/TagsList/utils/getElementByText/index.d.ts +0 -0
  1909. /package/{dist → lib}/components/TagsList/utils/getKey/index.d.ts +0 -0
  1910. /package/{dist → lib}/components/TagsList/utils/index.d.ts +0 -0
  1911. /package/{dist → lib}/components/TextArea/index.d.ts +0 -0
  1912. /package/{dist → lib}/components/TextField/index.d.ts +0 -0
  1913. /package/{dist → lib}/components/Tooltip/constants.d.ts +0 -0
  1914. /package/{dist → lib}/components/Tooltip/index.d.ts +0 -0
  1915. /package/{dist → lib}/components/Typography/enums.d.ts +0 -0
  1916. /package/{dist → lib}/components/Typography/hooks/index.d.ts +0 -0
  1917. /package/{dist → lib}/components/Typography/hooks/useTypographyColor/index.d.ts +0 -0
  1918. /package/{dist → lib}/components/Typography/index.d.ts +0 -0
  1919. /package/{dist → lib}/components/Typography/styles.d.ts +0 -0
  1920. /package/{dist → lib}/components/types.d.ts +0 -0
  1921. /package/{dist → lib}/hooks/index.d.ts +0 -0
  1922. /package/{dist → lib}/hooks/useMenu/index.d.ts +0 -0
  1923. /package/{dist → lib}/hooks/usePopover/index.d.ts +0 -0
  1924. /package/{dist → lib}/hooks/useToggle/index.d.ts +0 -0
  1925. /package/{dist → lib}/hooks/useToggle/useToggle.d.ts +0 -0
  1926. /package/{dist → lib}/hooks/useViewportType/index.d.ts +0 -0
  1927. /package/{dist → lib}/hooks/useViewportType/useViewportType.d.ts +0 -0
  1928. /package/{dist → lib}/index.d.ts +0 -0
  1929. /package/{dist → lib}/theme/baseTheme/index.d.ts +0 -0
  1930. /package/{dist → lib}/theme/components/index.d.ts +0 -0
  1931. /package/{dist → lib}/theme/constants.d.ts +0 -0
  1932. /package/{dist → lib}/theme/elevation.d.ts +0 -0
  1933. /package/{dist → lib}/theme/hooks/index.d.ts +0 -0
  1934. /package/{dist → lib}/theme/index.d.ts +0 -0
  1935. /package/{dist → lib}/theme/palette/componentsColors/index.d.ts +0 -0
  1936. /package/{dist → lib}/theme/palette/componentsColors/linkColors/index.d.ts +0 -0
  1937. /package/{dist → lib}/theme/palette/componentsColors/linkColors/linkColors.d.ts +0 -0
  1938. /package/{dist → lib}/theme/palette/index.d.ts +0 -0
  1939. /package/{dist → lib}/theme/shape.d.ts +0 -0
@@ -1,1883 +0,0 @@
1
- import type { Meta } from '@storybook/react';
2
- import { type ChangeEvent, useEffect, useMemo, useState } from 'react';
3
-
4
- import { ConfigProvider } from '../ConfigProvider';
5
- import {
6
- DataGridActionCell,
7
- type DataGridActionCellProps,
8
- type DataGridActions,
9
- } from '../DataGridActionCell';
10
- import { DataGridPagination } from '../DataGridPagination';
11
-
12
- import { Eye, Pencil, Send, Trash } from 'lucide-react';
13
- import React from 'react';
14
- import { DataGrid } from './DataGrid';
15
- import {
16
- makeColumns,
17
- makeDataList,
18
- makeDataListWithTree,
19
- makeRandomDate,
20
- } from './faker';
21
- import type {
22
- DataGridColumns,
23
- DataGridRowWithOptions,
24
- DataGridSort,
25
- } from './types';
26
-
27
- const errorIllustration = '../../illustrations/error.svg';
28
-
29
- /**
30
- * DataGrid — отображает информацию в удобном для просмотра виде. Может включать:
31
- - Соответствующую визуализацию
32
- - Навигацию
33
- - Инструменты для запроса и обработки данных
34
- *
35
- */
36
- const meta: Meta<typeof DataGrid> = {
37
- title: 'Components/Data Display/DataGrid',
38
- component: DataGrid,
39
- };
40
-
41
- export default meta;
42
-
43
- type DataType = {
44
- id: string;
45
- documentName: string;
46
- recipient: string;
47
- createDate: string;
48
- actions?: object;
49
- };
50
-
51
- type SortField = 'documentName' | 'recipient' | 'createDate';
52
-
53
- const FAKE_DATA_TEMPLATE: DataType = {
54
- id: '1',
55
- documentName: 'Договор №1',
56
- recipient: 'ИП Иванов О.В.',
57
- createDate: '2022-03-24T17:50:40.206Z',
58
- };
59
-
60
- const FAKE_ACTIONS: DataGridActions<DataType> = {
61
- main: [
62
- {
63
- icon: <Eye />,
64
- name: 'Просмотреть',
65
- onClick: () => console.log('main'),
66
- isBlockingOperation: true,
67
- },
68
- {
69
- icon: <Send />,
70
- nested: true,
71
- name: 'Отправить',
72
- actions: [
73
- { name: 'Туда', onClick: () => console.log('nested 1') },
74
- { name: 'Сюда', onClick: () => console.log('nested 2') },
75
- ],
76
- },
77
- ],
78
- secondary: [
79
- { name: 'Редактировать', onClick: () => console.log('secondary 1') },
80
- { name: 'Удалить', onClick: () => console.log('secondary 2') },
81
- ],
82
- };
83
-
84
- const FAKE_COLUMNS: DataGridColumns<DataType>[] = [
85
- {
86
- field: 'documentName',
87
- label: 'Наименование документа',
88
- sortable: true,
89
- },
90
- {
91
- field: 'recipient',
92
- label: 'Получатель',
93
- sortable: true,
94
- },
95
- {
96
- field: 'createDate',
97
- label: 'Дата создания',
98
- sortable: true,
99
- format: ({ createDate }) => new Date(createDate).toLocaleDateString(),
100
- },
101
- {
102
- field: 'actions',
103
- label: 'Действия',
104
- sortable: false,
105
- align: 'center',
106
- width: '120px',
107
- renderCell: (row) => {
108
- return <DataGridActionCell actions={FAKE_ACTIONS} row={row} />;
109
- },
110
- },
111
- ];
112
-
113
- type FakeActionCellProps<TRow> = Pick<DataGridActionCellProps<TRow>, 'row'>;
114
-
115
- /**
116
- * DataGrid без пагинации
117
- */
118
- export const Example = () => {
119
- const columns = makeColumns(FAKE_COLUMNS);
120
- const fakeData: DataGridRowWithOptions<DataType>[] = [
121
- {
122
- id: '123456789',
123
- documentName: 'Договор №12345678',
124
- recipient: 'ПАО "Первый завод"',
125
- createDate: makeRandomDate(),
126
- },
127
- ...makeDataList(FAKE_DATA_TEMPLATE),
128
- ];
129
-
130
- const [isLoading, setLoading] = useState(true);
131
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
132
-
133
- useEffect(() => {
134
- setTimeout(() => {
135
- setSlicedData(fakeData.slice(0, 10));
136
- setLoading(false);
137
- }, 1500);
138
- }, []);
139
-
140
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
141
-
142
- return (
143
- <DataGrid<DataType, SortField>
144
- keyId='id'
145
- rows={slicedData}
146
- columns={columns}
147
- isLoading={isLoading}
148
- onRowClick={handleRowClick}
149
- onRetry={() => {}}
150
- />
151
- );
152
- };
153
-
154
- /**
155
- * Постраничное отображение данных в таблице.
156
- * Внизу таблицы есть область, в которой слева отображается счетчик данных на странице из общего количества данных, справа - кнопки с нумерацией страниц таблицы для переключения между ними.
157
- */
158
- export const WithPagination = () => {
159
- const columns = makeColumns(FAKE_COLUMNS);
160
- const fakeData: DataGridRowWithOptions<DataType>[] = [
161
- {
162
- id: '123456789',
163
- documentName: 'Договор №12345678',
164
- recipient: 'ПАО "Первый завод"',
165
- createDate: makeRandomDate(),
166
- },
167
- ...makeDataList(FAKE_DATA_TEMPLATE),
168
- ];
169
-
170
- const [isLoading, setLoading] = useState(true);
171
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
172
- const [page, setPage] = useState<number>(1);
173
-
174
- useEffect(() => {
175
- setTimeout(() => {
176
- setSlicedData(fakeData.slice((page - 1) * 10, page * 10));
177
- setLoading(false);
178
- }, 1500);
179
- }, []);
180
-
181
- const handleChangePage = (
182
- _event: ChangeEvent<unknown>,
183
- newPage: number,
184
- ): void => {
185
- setLoading(true);
186
- setPage(newPage);
187
-
188
- setTimeout(() => {
189
- setLoading(false);
190
- setSlicedData(fakeData.slice((newPage - 1) * 10, newPage * 10));
191
- }, 1500);
192
- };
193
-
194
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
195
-
196
- return (
197
- <DataGrid<DataType, SortField>
198
- keyId='id'
199
- rows={slicedData}
200
- columns={columns}
201
- isLoading={isLoading}
202
- footer={
203
- <DataGridPagination
204
- rowsPerPage={10}
205
- totalCount={fakeData.length}
206
- onChange={handleChangePage}
207
- page={page}
208
- />
209
- }
210
- onRowClick={handleRowClick}
211
- onRetry={() => {}}
212
- />
213
- );
214
- };
215
-
216
- /**
217
- * DataGrid с сортировкой
218
- */
219
- export const WithSorting = () => {
220
- const columns = makeColumns(FAKE_COLUMNS);
221
- const fakeData: DataGridRowWithOptions<DataType>[] = [
222
- {
223
- id: '123456789',
224
- documentName: 'Договор №12345678',
225
- recipient: 'ПАО "Первый завод"',
226
- createDate: makeRandomDate(),
227
- },
228
- ...makeDataList(FAKE_DATA_TEMPLATE),
229
- ];
230
-
231
- const [isLoading, setLoading] = useState(true);
232
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
233
- const [sorting, setSorting] = useState<DataGridSort<SortField>>();
234
-
235
- useEffect(() => {
236
- setTimeout(() => {
237
- setSlicedData(fakeData.slice(0, 10));
238
- setLoading(false);
239
- }, 1500);
240
- }, []);
241
-
242
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
243
-
244
- const handleSort = (newSorting: DataGridSort<SortField> | undefined) => {
245
- if (newSorting) {
246
- const sortData = (
247
- array: DataType[],
248
- field: SortField,
249
- sortOrder: 'asc' | 'desc',
250
- ) => {
251
- const sortedArray = [...array];
252
-
253
- sortedArray.sort((a, b) => {
254
- const valueA = a[field];
255
- const valueB = b[field];
256
-
257
- if (valueA === valueB) {
258
- return 0;
259
- }
260
-
261
- if (field === 'documentName') {
262
- // Разделение текстовой и числовой частей
263
- const regex = /([^\d]+)(\d+)/;
264
- const matchA = valueA.match(regex);
265
- const matchB = valueB.match(regex);
266
-
267
- // Проверка на null
268
- if (matchA === null || matchB === null) {
269
- return 0;
270
- }
271
-
272
- const [, textA, numberA] = matchA;
273
- const [, textB, numberB] = matchB;
274
-
275
- const comparison =
276
- textA.localeCompare(textB) || Number(numberA) - Number(numberB);
277
-
278
- // Определение порядка сортировки
279
- return sortOrder === 'desc' ? -1 * comparison : comparison;
280
- }
281
- // Если не сортируем по полю documentName, используем прежний код сортировки
282
- if (valueA < valueB) {
283
- return sortOrder === 'desc' ? 1 : -1;
284
- }
285
-
286
- if (valueA > valueB) {
287
- return sortOrder === 'desc' ? -1 : 1;
288
- }
289
-
290
- return 0;
291
- });
292
-
293
- return sortedArray;
294
- };
295
-
296
- setSlicedData(sortData(slicedData, newSorting.fieldId, newSorting.sort));
297
- } else {
298
- setSlicedData(fakeData.slice(0, 10));
299
- }
300
-
301
- setSorting(newSorting);
302
- };
303
-
304
- return (
305
- <DataGrid<DataType, SortField>
306
- keyId='id'
307
- rows={slicedData}
308
- columns={columns}
309
- isLoading={isLoading}
310
- onSort={handleSort}
311
- sorting={sorting}
312
- onRowClick={handleRowClick}
313
- onRetry={() => {}}
314
- />
315
- );
316
- };
317
-
318
- /**
319
- * Prop `activeRowId` позволяет отобразить активный ряд в таблице в зависимости от значения prop `keyId`
320
- */
321
- export const WithActiveRow = () => {
322
- const columns = makeColumns(FAKE_COLUMNS);
323
- const fakeData: DataGridRowWithOptions<DataType>[] = [
324
- {
325
- id: '123456789',
326
- documentName: 'Договор №12345678',
327
- recipient: 'ПАО "Первый завод"',
328
- createDate: makeRandomDate(),
329
- },
330
- ...makeDataList(FAKE_DATA_TEMPLATE),
331
- ];
332
-
333
- const [isLoading, setLoading] = useState(true);
334
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
335
-
336
- useEffect(() => {
337
- setTimeout(() => {
338
- setSlicedData(fakeData.slice(0, 10));
339
- setLoading(false);
340
- }, 1500);
341
- }, []);
342
-
343
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
344
-
345
- return (
346
- <DataGrid<DataType, SortField>
347
- keyId='id'
348
- activeRowId={'3'}
349
- rows={slicedData}
350
- columns={columns}
351
- isLoading={isLoading}
352
- onRowClick={handleRowClick}
353
- onRetry={() => {}}
354
- />
355
- );
356
- };
357
-
358
- /**
359
- * В таблице может добавляться возможность выбора отдельных строк или всего списка значений посредством использования компонента checkbox.
360
- * В страничном варинте таблицы при выборе checkbox в datagrid_header выбираются все значения на странице
361
- */
362
- export const WithCheckbox = () => {
363
- const columns = makeColumns(FAKE_COLUMNS);
364
- const fakeData: DataGridRowWithOptions<DataType>[] = [
365
- {
366
- id: '123456789',
367
- documentName: 'Договор №12345678',
368
- recipient: 'ПАО "Первый завод"',
369
- createDate: makeRandomDate(),
370
- },
371
- ...makeDataList(FAKE_DATA_TEMPLATE),
372
- ];
373
-
374
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
375
- const [selected, setSelected] = useState<DataType[]>([]);
376
- const [isLoading, setLoading] = useState(true);
377
-
378
- useEffect(() => {
379
- setTimeout(() => {
380
- setSlicedData(fakeData.slice(0, 10));
381
- setLoading(false);
382
- }, 1500);
383
- }, []);
384
-
385
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
386
-
387
- const handleSelect = (rows: DataType[]) => setSelected(rows);
388
-
389
- return (
390
- <DataGrid<DataType, SortField>
391
- keyId='id'
392
- rows={slicedData}
393
- columns={columns}
394
- isLoading={isLoading}
395
- selectedRows={selected}
396
- onSelectRow={handleSelect}
397
- onRowClick={handleRowClick}
398
- onRetry={() => {}}
399
- />
400
- );
401
- };
402
-
403
- /**
404
- * В качестве значения параметра width должны указываться явные единицы: `px`, `%`, `fr`.
405
- * При использовании таких значений, как auto, max-content, min-content, которые автоматически подстраиваются под ширину содержимого, сетка может сломаться.
406
- * Если значение не указано, то автоматически задается `1fr`
407
- */
408
- export const WidthOptions = () => {
409
- const columns = makeColumns(FAKE_COLUMNS, [
410
- {
411
- field: 'documentName',
412
- width: '2fr',
413
- },
414
- {
415
- field: 'recipient',
416
- width: '1fr',
417
- },
418
- {
419
- field: 'createDate',
420
- width: '15%',
421
- },
422
- ]);
423
-
424
- const fakeData: DataGridRowWithOptions<DataType>[] = [
425
- {
426
- id: '123456789',
427
- documentName: 'Договор №12345678',
428
- recipient: 'ПАО "Первый завод"',
429
- createDate: makeRandomDate(),
430
- },
431
- ...makeDataList(FAKE_DATA_TEMPLATE),
432
- ];
433
-
434
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
435
- const [isLoading, setLoading] = useState(true);
436
-
437
- useEffect(() => {
438
- setTimeout(() => {
439
- setSlicedData(fakeData.slice(0, 10));
440
- setLoading(false);
441
- }, 1500);
442
- }, []);
443
-
444
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
445
-
446
- return (
447
- <DataGrid<DataType, SortField>
448
- keyId='id'
449
- rows={slicedData}
450
- columns={columns}
451
- isLoading={isLoading}
452
- onRowClick={handleRowClick}
453
- onRetry={() => {}}
454
- />
455
- );
456
- };
457
-
458
- export const ConfirmAction = () => {
459
- const ACTIONS: DataGridActions<DataType> = {
460
- main: [
461
- {
462
- icon: <Trash />,
463
- name: 'Удалить',
464
- needConfirm: true,
465
- confirmText:
466
- 'Если вы удалите черновик, то черновик с такими же данными нужно будет создать заново. Удалить черновик из списка?',
467
- confirmButtonProps: {
468
- text: 'Да, удалить',
469
- isAccented: true,
470
- },
471
- onClick: (row) => alert(`Delete: ${JSON.stringify(row)}`),
472
- },
473
- ],
474
- };
475
-
476
- const columns = makeColumns(FAKE_COLUMNS, [
477
- {
478
- field: 'actions',
479
- renderCell: (row) => {
480
- return <DataGridActionCell actions={ACTIONS} row={row} />;
481
- },
482
- },
483
- ]);
484
-
485
- const fakeData: DataGridRowWithOptions<DataType>[] = [
486
- {
487
- id: '123456789',
488
- documentName: 'Договор №12345678',
489
- recipient: 'ПАО "Первый завод"',
490
- createDate: makeRandomDate(),
491
- },
492
- ...makeDataList(FAKE_DATA_TEMPLATE),
493
- ];
494
-
495
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
496
- const [selected, setSelected] = useState<DataType[]>([]);
497
- const [isLoading, setLoading] = useState(true);
498
-
499
- useEffect(() => {
500
- setTimeout(() => {
501
- setSlicedData(fakeData.slice(0, 10));
502
- setLoading(false);
503
- }, 1500);
504
- }, []);
505
-
506
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
507
-
508
- const handleSelect = (rows: DataType[]) => setSelected(rows);
509
-
510
- return (
511
- <DataGrid<DataType, SortField>
512
- keyId='id'
513
- rows={slicedData}
514
- columns={columns}
515
- isLoading={isLoading}
516
- selectedRows={selected}
517
- onSelectRow={handleSelect}
518
- onRowClick={handleRowClick}
519
- onRetry={() => {}}
520
- />
521
- );
522
- };
523
-
524
- /**
525
- * Prop `disabled` позволяет заблокировать контент
526
- */
527
- export const WithDisabledContent = () => {
528
- const columns = makeColumns(FAKE_COLUMNS);
529
- const fakeData: DataGridRowWithOptions<DataType>[] = [
530
- {
531
- id: '123456789',
532
- documentName: 'Договор №12345678',
533
- recipient: 'ПАО "Первый завод"',
534
- createDate: makeRandomDate(),
535
- },
536
- ...makeDataList(FAKE_DATA_TEMPLATE),
537
- ];
538
-
539
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
540
- const [isLoading, setLoading] = useState(true);
541
-
542
- useEffect(() => {
543
- setTimeout(() => {
544
- setSlicedData(fakeData.slice(0, 10));
545
- setLoading(false);
546
- }, 1500);
547
- }, []);
548
-
549
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
550
-
551
- return (
552
- <DataGrid<DataType, SortField>
553
- keyId='id'
554
- rows={slicedData}
555
- columns={columns}
556
- isLoading={isLoading}
557
- isDisabled={true}
558
- onRowClick={handleRowClick}
559
- onRetry={() => {}}
560
- />
561
- );
562
- };
563
-
564
- export const WithDisabledRow = () => {
565
- const ACTIONS: DataGridActions<DataType> = {
566
- main: [
567
- {
568
- icon: <Trash />,
569
- name: 'Удалить',
570
- onClick: () => console.log('delete'),
571
- },
572
- ],
573
- };
574
-
575
- const columns = makeColumns(FAKE_COLUMNS, [
576
- {
577
- field: 'actions',
578
- renderCell: (row) => {
579
- return <DataGridActionCell actions={ACTIONS} row={row} />;
580
- },
581
- },
582
- ]);
583
-
584
- const fakeData: DataGridRowWithOptions<DataType>[] = [
585
- {
586
- id: '123456789',
587
- documentName: 'Договор №12345678',
588
- recipient: 'ПАО "Первый завод"',
589
- createDate: makeRandomDate(),
590
- options: {
591
- isDisabled: true,
592
- disabledReason: 'Нет доступа',
593
- },
594
- },
595
- ...makeDataList(FAKE_DATA_TEMPLATE, {
596
- isDisabled: true,
597
- disabledReason: 'Нет доступа',
598
- }),
599
- ];
600
-
601
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
602
- const [selected, setSelected] = useState<DataType[]>([]);
603
- const [isLoading, setLoading] = useState(true);
604
-
605
- useEffect(() => {
606
- setTimeout(() => {
607
- setSlicedData(fakeData.slice(0, 10));
608
- setLoading(false);
609
- }, 1500);
610
- }, []);
611
-
612
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
613
-
614
- const handleSelect = (rows: DataType[]) => setSelected(rows);
615
-
616
- return (
617
- <DataGrid<DataType, SortField>
618
- keyId='id'
619
- rows={slicedData}
620
- columns={columns}
621
- isLoading={isLoading}
622
- selectedRows={selected}
623
- onSelectRow={handleSelect}
624
- onRowClick={handleRowClick}
625
- onRetry={() => {}}
626
- />
627
- );
628
- };
629
-
630
- /**
631
- * `isDisabledLastCell` позволяет не блокировать последнюю ячейку
632
- */
633
- export const DisabledLastCell = () => {
634
- const ACTIONS: DataGridActions<DataType> = {
635
- main: [
636
- {
637
- icon: <Trash />,
638
- name: 'Удалить',
639
- onClick: () => console.log('delete'),
640
- },
641
- ],
642
- };
643
-
644
- const columns = makeColumns(FAKE_COLUMNS, [
645
- {
646
- field: 'actions',
647
- renderCell: (row) => {
648
- return <DataGridActionCell actions={ACTIONS} row={row} />;
649
- },
650
- },
651
- ]);
652
-
653
- const fakeData: DataGridRowWithOptions<DataType>[] = [
654
- {
655
- id: '123456789',
656
- documentName: 'Договор №12345678',
657
- recipient: 'ПАО "Первый завод"',
658
- createDate: makeRandomDate(),
659
- options: {
660
- isDisabled: true,
661
- isDisabledLastCell: false,
662
- disabledReason: 'Нет доступа',
663
- },
664
- },
665
- ...makeDataList(FAKE_DATA_TEMPLATE, {
666
- isDisabled: true,
667
- isDisabledLastCell: false,
668
- disabledReason: 'Нет доступа',
669
- }),
670
- ];
671
-
672
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
673
- const [selected, setSelected] = useState<DataType[]>([]);
674
- const [isLoading, setLoading] = useState(true);
675
-
676
- useEffect(() => {
677
- setTimeout(() => {
678
- setSlicedData(fakeData.slice(0, 10));
679
- setLoading(false);
680
- }, 1500);
681
- }, []);
682
-
683
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
684
-
685
- const handleSelect = (rows: DataType[]) => setSelected(rows);
686
-
687
- return (
688
- <DataGrid<DataType, SortField>
689
- keyId='id'
690
- rows={slicedData}
691
- columns={columns}
692
- isLoading={isLoading}
693
- selectedRows={selected}
694
- onSelectRow={handleSelect}
695
- onRowClick={handleRowClick}
696
- onRetry={() => {}}
697
- />
698
- );
699
- };
700
-
701
- /**
702
- * При состоянии `loading=true` и `isBlockingOperation=true` у действия, строка блокируется и появляется тултип с `loadingNote`
703
- */
704
- export const ActionsDataGrid = () => {
705
- const FakeActionCell = <TRow,>({ row }: FakeActionCellProps<TRow>) => {
706
- const [isEditing, setIsEditing] = useState(false);
707
- const [isDeleting, setIsDeleting] = useState(false);
708
- const [isSigning, setIsSigning] = useState(false);
709
-
710
- const handleEdit = () => {
711
- setIsEditing(true);
712
- };
713
-
714
- const handleDelete = () => {
715
- setIsDeleting(true);
716
- };
717
-
718
- const handleSign = () => {
719
- setIsSigning(true);
720
- };
721
-
722
- useEffect(() => {
723
- if (isEditing) {
724
- setTimeout(() => setIsEditing(false), 1500);
725
- }
726
-
727
- if (isDeleting) {
728
- setTimeout(() => setIsDeleting(false), 1500);
729
- }
730
-
731
- if (isSigning) {
732
- setTimeout(() => setIsSigning(false), 1500);
733
- }
734
- }, [isEditing, isDeleting, isSigning]);
735
-
736
- const fakeActions = useMemo(
737
- () => ({
738
- main: [
739
- {
740
- icon: <Pencil />,
741
- name: 'Редактировать',
742
- loading: isEditing,
743
- onClick: handleEdit,
744
- },
745
- {
746
- icon: <Trash />,
747
- name: 'Удалить',
748
- loading: isDeleting,
749
- loadingNote: 'Происходит удаление',
750
- isBlockingOperation: true,
751
- onClick: handleDelete,
752
- },
753
- ],
754
- secondary: [
755
- {
756
- name: 'Подписать',
757
- loading: isSigning,
758
- loadingNote: 'Происходит подписание',
759
- isBlockingOperation: true,
760
- onClick: handleSign,
761
- },
762
- ],
763
- }),
764
- [isEditing, isDeleting, isSigning],
765
- );
766
-
767
- return <DataGridActionCell actions={fakeActions} row={row} />;
768
- };
769
-
770
- const fakeColumns: DataGridColumns<DataType>[] = [
771
- {
772
- field: 'documentName',
773
- label: 'Наименование документа',
774
- sortable: true,
775
- },
776
- {
777
- field: 'recipient',
778
- label: 'Получатель',
779
- sortable: true,
780
- },
781
- {
782
- field: 'createDate',
783
- label: 'Дата создания',
784
- sortable: true,
785
- format: ({ createDate }) => new Date(createDate).toLocaleDateString(),
786
- },
787
- {
788
- field: 'actions',
789
- label: 'Действия',
790
- sortable: false,
791
- align: 'center',
792
- width: '120px',
793
- renderCell: (row) => {
794
- return <FakeActionCell row={row} />;
795
- },
796
- },
797
- ];
798
-
799
- const columns = makeColumns(fakeColumns);
800
-
801
- const fakeData: DataGridRowWithOptions<DataType>[] = [
802
- {
803
- id: '123456789',
804
- documentName: 'Договор №12345678',
805
- recipient: 'ПАО "Первый завод"',
806
- createDate: makeRandomDate(),
807
- },
808
- ...makeDataList(FAKE_DATA_TEMPLATE),
809
- ];
810
-
811
- const [loading, setLoading] = useState(true);
812
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
813
-
814
- useEffect(() => {
815
- setTimeout(() => {
816
- setSlicedData(fakeData.slice(0, 10));
817
- setLoading(false);
818
- }, 1500);
819
- }, []);
820
-
821
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
822
-
823
- return (
824
- <DataGrid<DataType>
825
- keyId='id'
826
- rows={slicedData}
827
- columns={columns}
828
- onRowClick={handleRowClick}
829
- isLoading={loading}
830
- onRetry={() => {}}
831
- />
832
- );
833
- };
834
-
835
- export const EmptyCellValue = () => {
836
- type DataTypeEmptyCell = {
837
- id: string;
838
- documentName?: string;
839
- recipient?: string;
840
- createDate: string;
841
- };
842
-
843
- const fakeDataTemplate: DataTypeEmptyCell = {
844
- id: '1',
845
- documentName: 'Договор №1',
846
- createDate: '2022-03-24T17:50:40.206Z',
847
- };
848
-
849
- const fakeColumns: DataGridColumns<DataTypeEmptyCell>[] = [
850
- {
851
- field: 'documentName',
852
- label: 'Наименование документа',
853
- sortable: true,
854
- },
855
- {
856
- field: 'recipient',
857
- label: 'Получатель',
858
- sortable: true,
859
- },
860
- {
861
- field: 'createDate',
862
- label: 'Дата создания',
863
- sortable: true,
864
- format: ({ createDate }) => new Date(createDate).toLocaleDateString(),
865
- },
866
- ];
867
-
868
- const columns = makeColumns(fakeColumns);
869
- const fakeData: DataGridRowWithOptions<DataTypeEmptyCell>[] = [
870
- {
871
- id: '123456789',
872
- createDate: makeRandomDate(),
873
- },
874
- ...makeDataList(fakeDataTemplate),
875
- ];
876
-
877
- return (
878
- <DataGrid<DataTypeEmptyCell>
879
- keyId='id'
880
- rows={fakeData}
881
- columns={columns}
882
- onRetry={() => {}}
883
- />
884
- );
885
- };
886
-
887
- /**
888
- * Таблица можем работать с вложенными структурами
889
- */
890
- export const Tree = () => {
891
- const ACTIONS: DataGridActions<DataType> = {
892
- main: [
893
- {
894
- icon: <Trash />,
895
- name: 'Удалить',
896
- onClick: () => console.log('delete'),
897
- },
898
- ],
899
- };
900
-
901
- const columns = makeColumns(FAKE_COLUMNS, [
902
- {
903
- field: 'actions',
904
- renderCell: (row) => {
905
- return <DataGridActionCell actions={ACTIONS} row={row} />;
906
- },
907
- },
908
- ]);
909
-
910
- const fakeData: DataGridRowWithOptions<DataType>[] = [
911
- {
912
- id: '123456789',
913
- documentName: 'Пакет документов',
914
- recipient: 'ПАО "Первый завод"',
915
- createDate: makeRandomDate(),
916
- children: [
917
- {
918
- id: '1234567890',
919
- documentName: 'Договор №12345678',
920
- recipient: 'ПАО "Первый завод"',
921
- createDate: makeRandomDate(),
922
- },
923
- ],
924
- },
925
- ...makeDataListWithTree(9),
926
- ];
927
-
928
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
929
-
930
- return (
931
- <DataGrid
932
- keyId='id'
933
- rows={fakeData}
934
- columns={columns}
935
- onRowClick={handleRowClick}
936
- onRetry={() => {}}
937
- />
938
- );
939
- };
940
-
941
- /**
942
- * Использую пропс `tree` можно настраивать поведение таблицы при работе с древовидной структурой данных.
943
- * Параметр `isInitialExpanded` позволяет раскрыть вложенные структуру при первичном отображении
944
- */
945
- export const TreeWithInitialExpanded = () => {
946
- const ACTIONS: DataGridActions<DataType> = {
947
- main: [
948
- {
949
- icon: <Trash />,
950
- name: 'Удалить',
951
- onClick: () => console.log('delete'),
952
- },
953
- ],
954
- };
955
-
956
- const columns = makeColumns(FAKE_COLUMNS, [
957
- {
958
- field: 'actions',
959
- renderCell: (row) => {
960
- return <DataGridActionCell actions={ACTIONS} row={row} />;
961
- },
962
- },
963
- ]);
964
-
965
- const fakeData: DataGridRowWithOptions<DataType>[] = [
966
- {
967
- id: '123456789',
968
- documentName: 'Пакет документов',
969
- recipient: 'ПАО "Первый завод"',
970
- createDate: makeRandomDate(),
971
- children: [
972
- {
973
- id: '1234567890',
974
- documentName: 'Договор №12345678',
975
- recipient: 'ПАО "Первый завод"',
976
- createDate: makeRandomDate(),
977
- },
978
- ],
979
- },
980
- ...makeDataListWithTree(9),
981
- ];
982
-
983
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
984
-
985
- return (
986
- <DataGrid
987
- keyId='id'
988
- rows={fakeData}
989
- columns={columns}
990
- tree={{
991
- isInitialExpanded: true,
992
- }}
993
- onRowClick={handleRowClick}
994
- onRetry={() => {}}
995
- />
996
- );
997
- };
998
-
999
- /**
1000
- * Используя пропс `expandedLevel` можно настраивать глубину раскрытия дерева при первичном отображении, если `isInitialExpanded=true`
1001
- */
1002
- export const TreeWithExpandedLevel = () => {
1003
- const ACTIONS: DataGridActions<DataType> = {
1004
- main: [
1005
- {
1006
- icon: <Trash />,
1007
- name: 'Удалить',
1008
- onClick: () => console.log('delete'),
1009
- },
1010
- ],
1011
- };
1012
-
1013
- const columns = makeColumns(FAKE_COLUMNS, [
1014
- {
1015
- field: 'actions',
1016
- renderCell: (row) => {
1017
- return <DataGridActionCell actions={ACTIONS} row={row} />;
1018
- },
1019
- },
1020
- ]);
1021
-
1022
- const fakeData: DataGridRowWithOptions<DataType>[] = [
1023
- {
1024
- id: '123456789',
1025
- documentName: 'Пакет документов',
1026
- recipient: 'ПАО "Первый завод"',
1027
- createDate: makeRandomDate(),
1028
- children: [
1029
- {
1030
- id: '1234567890',
1031
- documentName: 'Договор №12345678',
1032
- recipient: 'ПАО "Первый завод"',
1033
- createDate: makeRandomDate(),
1034
- },
1035
- ],
1036
- },
1037
- ...makeDataListWithTree(9),
1038
- ];
1039
-
1040
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
1041
-
1042
- return (
1043
- <DataGrid
1044
- keyId='id'
1045
- rows={fakeData}
1046
- columns={columns}
1047
- tree={{
1048
- isInitialExpanded: true,
1049
- expandedLevel: 3,
1050
- }}
1051
- onRowClick={handleRowClick}
1052
- onRetry={() => {}}
1053
- />
1054
- );
1055
- };
1056
-
1057
- /**
1058
- * Пропс `initialVisibleChildrenCount` позволяет настраивать количество отображаемых элементов при раскрытии корневого элемента.
1059
- * Элементы, сверх этого значения, будут скрыты под кнопку "Показать все"
1060
- */
1061
- export const TreeWithInitialVisibleChildrenCount = () => {
1062
- const ACTIONS: DataGridActions<DataType> = {
1063
- main: [
1064
- {
1065
- icon: <Trash />,
1066
- name: 'Удалить',
1067
- onClick: () => console.log('delete'),
1068
- },
1069
- ],
1070
- };
1071
-
1072
- const columns = makeColumns(FAKE_COLUMNS, [
1073
- {
1074
- field: 'actions',
1075
- renderCell: (row) => {
1076
- return <DataGridActionCell actions={ACTIONS} row={row} />;
1077
- },
1078
- },
1079
- ]);
1080
-
1081
- const fakeData: DataGridRowWithOptions<DataType>[] = [
1082
- {
1083
- id: '123456789',
1084
- documentName: 'Пакет документов',
1085
- recipient: 'ПАО "Первый завод"',
1086
- createDate: makeRandomDate(),
1087
- children: [
1088
- {
1089
- id: '1234567890',
1090
- documentName: 'Договор №12345678',
1091
- recipient: 'ПАО "Первый завод"',
1092
- createDate: makeRandomDate(),
1093
- },
1094
- ],
1095
- },
1096
- ...makeDataListWithTree(9),
1097
- ];
1098
-
1099
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
1100
-
1101
- return (
1102
- <DataGrid
1103
- keyId='id'
1104
- rows={fakeData}
1105
- columns={columns}
1106
- tree={{
1107
- isInitialExpanded: true,
1108
- initialVisibleChildrenCount: 5,
1109
- }}
1110
- onRowClick={handleRowClick}
1111
- onRetry={() => {}}
1112
- />
1113
- );
1114
- };
1115
-
1116
- /**
1117
- * Таблица с древовидной структурой так же работает в варианте с множественным выбором (чекбоксы)
1118
- */
1119
- export const TreeWithCheckbox = () => {
1120
- const ACTIONS: DataGridActions<DataType> = {
1121
- main: [
1122
- {
1123
- icon: <Trash />,
1124
- name: 'Удалить',
1125
- onClick: () => console.log('delete'),
1126
- },
1127
- ],
1128
- };
1129
-
1130
- const columns = makeColumns(FAKE_COLUMNS, [
1131
- {
1132
- field: 'actions',
1133
- renderCell: (row) => {
1134
- return <DataGridActionCell actions={ACTIONS} row={row} />;
1135
- },
1136
- },
1137
- ]);
1138
-
1139
- const fakeData: DataGridRowWithOptions<DataType>[] = [
1140
- {
1141
- id: '123456789',
1142
- documentName: 'Пакет документов',
1143
- recipient: 'ПАО "Первый завод"',
1144
- createDate: makeRandomDate(),
1145
- children: [
1146
- {
1147
- id: '1234567890',
1148
- documentName: 'Договор №12345678',
1149
- recipient: 'ПАО "Первый завод"',
1150
- createDate: makeRandomDate(),
1151
- },
1152
- ],
1153
- },
1154
- ...makeDataListWithTree(9),
1155
- ];
1156
-
1157
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
1158
- const [selected, setSelected] = useState<DataType[]>([]);
1159
- const [isLoading, setLoading] = useState(true);
1160
-
1161
- useEffect(() => {
1162
- setTimeout(() => {
1163
- setSlicedData(fakeData.slice(0, 10));
1164
- setLoading(false);
1165
- }, 1500);
1166
- }, []);
1167
-
1168
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
1169
- const handleSelect = (rows: DataType[]) => setSelected(rows);
1170
-
1171
- return (
1172
- <DataGrid<DataType, SortField>
1173
- keyId='id'
1174
- rows={slicedData}
1175
- columns={columns}
1176
- isLoading={isLoading}
1177
- selectedRows={selected}
1178
- onSelectRow={handleSelect}
1179
- onRowClick={handleRowClick}
1180
- onRetry={() => {}}
1181
- />
1182
- );
1183
- };
1184
-
1185
- /**
1186
- * Указав значение `isNotSelectable` в `options` можно сделать строку не доступной для выбора
1187
- */
1188
- export const TreeWithOptionIsNotSelectable = () => {
1189
- const columns = makeColumns(FAKE_COLUMNS);
1190
-
1191
- const fakeData: DataGridRowWithOptions<DataType>[] = [
1192
- {
1193
- id: '123456789',
1194
- documentName: 'Пакет документов',
1195
- recipient: 'ПАО "Первый завод"',
1196
- createDate: makeRandomDate(),
1197
- options: {
1198
- isNotSelectable: true,
1199
- },
1200
- children: [
1201
- {
1202
- id: '1234567890',
1203
- documentName: 'Договор №12345678',
1204
- recipient: 'ПАО "Первый завод"',
1205
- createDate: makeRandomDate(),
1206
- options: {
1207
- isNotSelectable: true,
1208
- },
1209
- },
1210
- ],
1211
- },
1212
- {
1213
- id: '1234544545',
1214
- documentName: 'Пакет документов',
1215
- recipient: 'ООО "Купи Продай"',
1216
- createDate: makeRandomDate(),
1217
- options: {
1218
- isNotSelectable: true,
1219
- },
1220
- children: [
1221
- {
1222
- id: '1234567890',
1223
- documentName: 'Договор №12345678',
1224
- recipient: 'ПАО "Первый завод"',
1225
- createDate: makeRandomDate(),
1226
- },
1227
- ],
1228
- },
1229
- ...makeDataList(FAKE_DATA_TEMPLATE),
1230
- ];
1231
-
1232
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
1233
- const [selected, setSelected] = useState<DataType[]>([]);
1234
- const [isLoading, setLoading] = useState(true);
1235
-
1236
- useEffect(() => {
1237
- setTimeout(() => {
1238
- setSlicedData(fakeData.slice(0, 10));
1239
- setLoading(false);
1240
- }, 1500);
1241
- }, []);
1242
-
1243
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
1244
-
1245
- const handleSelect = (rows: DataType[]) => setSelected(rows);
1246
-
1247
- return (
1248
- <DataGrid<DataType, SortField>
1249
- keyId='id'
1250
- rows={slicedData}
1251
- columns={columns}
1252
- isLoading={isLoading}
1253
- selectedRows={selected}
1254
- onSelectRow={handleSelect}
1255
- onRowClick={handleRowClick}
1256
- onRetry={() => {}}
1257
- />
1258
- );
1259
- };
1260
-
1261
- /**
1262
- * `options` и `childrenColumns` на уровне строки, позволяет настраивать отображение дочерних элементов,
1263
- * например указать кастомный список действий для вложенных элементов
1264
- */
1265
- export const TreeWithOverrideColumns = () => {
1266
- const ACTIONS: DataGridActions<DataType> = {
1267
- main: [
1268
- {
1269
- icon: <Trash />,
1270
- name: 'Удалить',
1271
- onClick: () => console.log('delete'),
1272
- },
1273
- ],
1274
- };
1275
-
1276
- const columns = makeColumns(FAKE_COLUMNS, [
1277
- {
1278
- field: 'actions',
1279
- renderCell: (row) => {
1280
- return <DataGridActionCell actions={ACTIONS} row={row} />;
1281
- },
1282
- },
1283
- ]);
1284
-
1285
- const fakeData: DataGridRowWithOptions<DataType>[] = [
1286
- {
1287
- id: '123456789',
1288
- documentName: 'Пакет документов',
1289
- recipient: 'ПАО "Первый завод"',
1290
- createDate: makeRandomDate(),
1291
- children: [
1292
- {
1293
- id: '1234567890',
1294
- documentName: 'Договор №12345678',
1295
- recipient: 'ПАО "Первый завод"',
1296
- createDate: makeRandomDate(),
1297
- },
1298
- ],
1299
- options: {
1300
- childrenColumns: [
1301
- {
1302
- field: 'actions',
1303
- renderCell: (row) => {
1304
- return (
1305
- <DataGridActionCell
1306
- actions={{
1307
- main: [
1308
- {
1309
- icon: <Eye />,
1310
- name: 'Просмотреть',
1311
- onClick: () => console.log('main'),
1312
- },
1313
- ],
1314
- }}
1315
- row={row}
1316
- />
1317
- );
1318
- },
1319
- },
1320
- ],
1321
- },
1322
- },
1323
- ...makeDataListWithTree(9, {
1324
- childrenColumns: [
1325
- {
1326
- field: 'actions',
1327
- renderCell: (row) => {
1328
- return (
1329
- <DataGridActionCell
1330
- actions={{
1331
- main: [
1332
- {
1333
- icon: <Eye />,
1334
- name: 'Просмотреть',
1335
- onClick: () => console.log('main'),
1336
- },
1337
- ],
1338
- }}
1339
- row={row}
1340
- />
1341
- );
1342
- },
1343
- },
1344
- ],
1345
- }),
1346
- ];
1347
-
1348
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
1349
- const [selected, setSelected] = useState<DataType[]>([]);
1350
- const [isLoading, setLoading] = useState(true);
1351
-
1352
- useEffect(() => {
1353
- setTimeout(() => {
1354
- setSlicedData(fakeData.slice(0, 10));
1355
- setLoading(false);
1356
- }, 1500);
1357
- }, []);
1358
-
1359
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
1360
-
1361
- const handleSelect = (rows: DataType[]) => setSelected(rows);
1362
-
1363
- return (
1364
- <DataGrid<DataType, SortField>
1365
- keyId='id'
1366
- rows={slicedData}
1367
- columns={columns}
1368
- isLoading={isLoading}
1369
- selectedRows={selected}
1370
- onSelectRow={handleSelect}
1371
- onRowClick={handleRowClick}
1372
- onRetry={() => {}}
1373
- />
1374
- );
1375
- };
1376
-
1377
- /**
1378
- * Возможно отображение дочерних элементов в виде вложенных строк. Для этого необходимо указать `variant="subrows"`
1379
- * В таком варианте отображения вложенные элементы отображаются сразу и только часть из них прячется под кнопку "Показать все"
1380
- */
1381
- export const Subrows = () => {
1382
- const columns: DataGridColumns<DataType>[] = [
1383
- {
1384
- field: 'recipient',
1385
- label: 'Получатель',
1386
- sortable: true,
1387
- },
1388
- {
1389
- field: 'documentName',
1390
- label: 'Наименование документа',
1391
- sortable: true,
1392
- },
1393
- {
1394
- field: 'createDate',
1395
- label: 'Дата создания',
1396
- sortable: true,
1397
- format: ({ createDate }) => new Date(createDate).toLocaleDateString(),
1398
- },
1399
- {
1400
- field: 'actions',
1401
- label: 'Действия',
1402
- sortable: false,
1403
- align: 'center',
1404
- width: '120px',
1405
- renderCell: (row) => {
1406
- return <DataGridActionCell actions={FAKE_ACTIONS} row={row} />;
1407
- },
1408
- },
1409
- ];
1410
-
1411
- const fakeData: DataGridRowWithOptions<DataType>[] = [
1412
- {
1413
- id: '123456789',
1414
- documentName: 'УКД № 47',
1415
- recipient: 'ПАО "Первый завод"',
1416
- createDate: makeRandomDate(),
1417
- options: {
1418
- isNotSelectable: true,
1419
- childrenColumns: [
1420
- {
1421
- field: 'recipient',
1422
- renderCell: () => null,
1423
- },
1424
- {
1425
- field: 'actions',
1426
- renderCell: () => null,
1427
- },
1428
- ],
1429
- },
1430
- children: [
1431
- {
1432
- id: '1234567890',
1433
- documentName: 'Акт № УТ000006319',
1434
- recipient: 'ПАО "Первый завод"',
1435
- createDate: makeRandomDate(),
1436
- options: {
1437
- isNotSelectable: true,
1438
- },
1439
- },
1440
- {
1441
- id: '1234567891',
1442
- documentName: 'Торг-12 № 1446',
1443
- recipient: 'ПАО "Первый завод"',
1444
- createDate: makeRandomDate(),
1445
- options: {
1446
- isNotSelectable: true,
1447
- },
1448
- },
1449
- {
1450
- id: '1234567892',
1451
- documentName: 'Счет-фактура №1237',
1452
- recipient: 'ПАО "Первый завод"',
1453
- createDate: makeRandomDate(),
1454
- options: {
1455
- isNotSelectable: true,
1456
- },
1457
- },
1458
- ],
1459
- },
1460
- {
1461
- id: '1234544545',
1462
- documentName: 'УКД № 46',
1463
- recipient: 'ООО "Купи Продай"',
1464
- createDate: makeRandomDate(),
1465
- options: {
1466
- childrenColumns: [
1467
- {
1468
- field: 'recipient',
1469
- renderCell: () => null,
1470
- },
1471
- {
1472
- field: 'actions',
1473
- renderCell: () => null,
1474
- },
1475
- ],
1476
- },
1477
- children: [
1478
- {
1479
- id: '1234567890',
1480
- documentName: 'Счет-фактура №1231',
1481
- recipient: 'ПАО "Первый завод"',
1482
- createDate: makeRandomDate(),
1483
- options: {
1484
- isNotSelectable: true,
1485
- },
1486
- },
1487
- ],
1488
- },
1489
- ...makeDataList(FAKE_DATA_TEMPLATE),
1490
- ];
1491
-
1492
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
1493
- const [selected, setSelected] = useState<DataType[]>([]);
1494
- const [isLoading, setLoading] = useState(true);
1495
- const [page, setPage] = useState<number>(1);
1496
-
1497
- useEffect(() => {
1498
- setTimeout(() => {
1499
- setSlicedData(fakeData.slice((page - 1) * 10, page * 10));
1500
- setLoading(false);
1501
- }, 1500);
1502
- }, []);
1503
-
1504
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
1505
-
1506
- const handleSelect = (rows: DataType[]) => setSelected(rows);
1507
-
1508
- const handleChangePage = (
1509
- _event: ChangeEvent<unknown>,
1510
- newPage: number,
1511
- ): void => {
1512
- setLoading(true);
1513
- setPage(newPage);
1514
-
1515
- setTimeout(() => {
1516
- setLoading(false);
1517
- setSlicedData(fakeData.slice((newPage - 1) * 10, newPage * 10));
1518
- }, 1500);
1519
- };
1520
-
1521
- return (
1522
- <DataGrid<DataType, SortField>
1523
- keyId='id'
1524
- rows={slicedData}
1525
- columns={columns}
1526
- variant='subrows'
1527
- subrows={{
1528
- moreButtonColumnPosition: 2,
1529
- }}
1530
- isLoading={isLoading}
1531
- selectedRows={selected}
1532
- footer={
1533
- <DataGridPagination
1534
- rowsPerPage={10}
1535
- totalCount={fakeData.length}
1536
- onChange={handleChangePage}
1537
- page={page}
1538
- />
1539
- }
1540
- onSelectRow={handleSelect}
1541
- onRowClick={handleRowClick}
1542
- onRetry={() => {}}
1543
- />
1544
- );
1545
- };
1546
-
1547
- /**
1548
- * Можно отключить отображение шеврона с помощью параметра `isVisibleCollapseButton=false`
1549
- */
1550
- export const IsVisibleCollapseButton = () => {
1551
- const columns: DataGridColumns<DataType>[] = [
1552
- {
1553
- field: 'recipient',
1554
- label: 'Получатель',
1555
- sortable: true,
1556
- },
1557
- {
1558
- field: 'documentName',
1559
- label: 'Наименование документа',
1560
- sortable: true,
1561
- },
1562
- {
1563
- field: 'createDate',
1564
- label: 'Дата создания',
1565
- sortable: true,
1566
- format: ({ createDate }) => new Date(createDate).toLocaleDateString(),
1567
- },
1568
- {
1569
- field: 'actions',
1570
- label: 'Действия',
1571
- sortable: false,
1572
- align: 'center',
1573
- width: '120px',
1574
- renderCell: (row) => {
1575
- return <DataGridActionCell actions={FAKE_ACTIONS} row={row} />;
1576
- },
1577
- },
1578
- ];
1579
-
1580
- const fakeData: DataGridRowWithOptions<DataType>[] = [
1581
- {
1582
- id: '123456789',
1583
- documentName: 'УКД № 47',
1584
- recipient: 'ПАО "Первый завод"',
1585
- createDate: makeRandomDate(),
1586
- options: {
1587
- childrenColumns: [
1588
- {
1589
- field: 'recipient',
1590
- renderCell: () => null,
1591
- },
1592
- {
1593
- field: 'actions',
1594
- renderCell: () => null,
1595
- },
1596
- ],
1597
- },
1598
- children: [
1599
- {
1600
- id: '1234567890',
1601
- documentName: 'Акт № УТ000006319',
1602
- recipient: 'ПАО "Первый завод"',
1603
- createDate: makeRandomDate(),
1604
- options: {
1605
- isNotSelectable: true,
1606
- },
1607
- },
1608
- {
1609
- id: '1234567891',
1610
- documentName: 'Торг-12 № 1446',
1611
- recipient: 'ПАО "Первый завод"',
1612
- createDate: makeRandomDate(),
1613
- options: {
1614
- isNotSelectable: true,
1615
- },
1616
- },
1617
- {
1618
- id: '1234567892',
1619
- documentName: 'Счет-фактура №1237',
1620
- recipient: 'ПАО "Первый завод"',
1621
- createDate: makeRandomDate(),
1622
- options: {
1623
- isNotSelectable: true,
1624
- },
1625
- },
1626
- ],
1627
- },
1628
- {
1629
- id: '1234544545',
1630
- documentName: 'УКД № 46',
1631
- recipient: 'ООО "Купи Продай"',
1632
- createDate: makeRandomDate(),
1633
- options: {
1634
- childrenColumns: [
1635
- {
1636
- field: 'recipient',
1637
- renderCell: () => null,
1638
- },
1639
- {
1640
- field: 'actions',
1641
- renderCell: () => null,
1642
- },
1643
- ],
1644
- },
1645
- children: [
1646
- {
1647
- id: '1234567890',
1648
- documentName: 'Счет-фактура №1231',
1649
- recipient: 'ПАО "Первый завод"',
1650
- createDate: makeRandomDate(),
1651
- options: {
1652
- isNotSelectable: true,
1653
- },
1654
- },
1655
- ],
1656
- },
1657
- ...makeDataList(FAKE_DATA_TEMPLATE),
1658
- ];
1659
-
1660
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
1661
- const [selected, setSelected] = useState<DataType[]>([]);
1662
- const [isLoading, setLoading] = useState(true);
1663
- const [page, setPage] = useState<number>(1);
1664
-
1665
- useEffect(() => {
1666
- setTimeout(() => {
1667
- setSlicedData(fakeData.slice((page - 1) * 10, page * 10));
1668
- setLoading(false);
1669
- }, 1500);
1670
- }, []);
1671
-
1672
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
1673
-
1674
- const handleSelect = (rows: DataType[]) => setSelected(rows);
1675
-
1676
- const handleChangePage = (
1677
- _event: ChangeEvent<unknown>,
1678
- newPage: number,
1679
- ): void => {
1680
- setLoading(true);
1681
- setPage(newPage);
1682
-
1683
- setTimeout(() => {
1684
- setLoading(false);
1685
- setSlicedData(fakeData.slice((newPage - 1) * 10, newPage * 10));
1686
- }, 1500);
1687
- };
1688
-
1689
- return (
1690
- <DataGrid<DataType, SortField>
1691
- keyId='id'
1692
- rows={slicedData}
1693
- columns={columns}
1694
- variant='subrows'
1695
- subrows={{
1696
- moreButtonColumnPosition: 2,
1697
- isVisibleCollapseButton: false,
1698
- }}
1699
- isLoading={isLoading}
1700
- selectedRows={selected}
1701
- footer={
1702
- <DataGridPagination
1703
- rowsPerPage={10}
1704
- totalCount={fakeData.length}
1705
- onChange={handleChangePage}
1706
- page={page}
1707
- />
1708
- }
1709
- onSelectRow={handleSelect}
1710
- onRowClick={handleRowClick}
1711
- onRetry={() => {}}
1712
- />
1713
- );
1714
- };
1715
-
1716
- /**
1717
- * Состояние загрузки регулируется полем `loading` экшенов переданных в `<ActionCell/>`
1718
- */
1719
- export const WithLoaderInButton = () => {
1720
- const ACTIONS_WITH_LOADER: DataGridActions<DataType> = {
1721
- main: [
1722
- {
1723
- icon: <Eye />,
1724
- name: 'Просмотреть',
1725
- onClick: () => console.log('main'),
1726
- },
1727
- {
1728
- icon: <Send />,
1729
- loading: true,
1730
- name: 'Отправить',
1731
- },
1732
- ],
1733
- secondary: [
1734
- { name: 'Редактировать', onClick: () => console.log('secondary 1') },
1735
- { name: 'Удалить', onClick: () => console.log('secondary 2') },
1736
- ],
1737
- };
1738
-
1739
- const columns = makeColumns(FAKE_COLUMNS, [
1740
- {
1741
- field: 'actions',
1742
- renderCell: (row) => {
1743
- return <DataGridActionCell actions={ACTIONS_WITH_LOADER} row={row} />;
1744
- },
1745
- },
1746
- ]);
1747
-
1748
- const fakeData: DataGridRowWithOptions<DataType>[] = [
1749
- {
1750
- id: '123456789',
1751
- documentName: 'Договор №12345678',
1752
- recipient: 'ПАО "Первый завод"',
1753
- createDate: makeRandomDate(),
1754
- },
1755
- ...makeDataList(FAKE_DATA_TEMPLATE),
1756
- ];
1757
-
1758
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
1759
- const [isLoading, setLoading] = useState(true);
1760
-
1761
- useEffect(() => {
1762
- setTimeout(() => {
1763
- setSlicedData(fakeData.slice(0, 5));
1764
- setLoading(false);
1765
- }, 1500);
1766
- }, []);
1767
-
1768
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
1769
-
1770
- return (
1771
- <DataGrid<DataType, SortField>
1772
- keyId='id'
1773
- rows={slicedData}
1774
- columns={columns}
1775
- isLoading={isLoading}
1776
- onRowClick={handleRowClick}
1777
- onRetry={() => {}}
1778
- />
1779
- );
1780
- };
1781
-
1782
- /**
1783
- * В случае, когда нет данных для отображения их в таблице, необходимо показать изображение и текст “Нет данных” и убрать сортировку для столбцов, если она присутствует.
1784
- * Изображение можно передать через ConfigProvider.
1785
- */
1786
- export const NoData = () => {
1787
- const noDataStubSrc = '/no-data-stub.svg';
1788
- const columns = FAKE_COLUMNS;
1789
-
1790
- const [isLoading, setLoading] = useState(true);
1791
- const [slicedData, setSlicedData] = useState<DataType[]>([]);
1792
-
1793
- useEffect(() => {
1794
- setTimeout(() => {
1795
- setSlicedData([]);
1796
- setLoading(false);
1797
- }, 1500);
1798
- }, []);
1799
-
1800
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
1801
-
1802
- return (
1803
- <ConfigProvider
1804
- imagesMap={{
1805
- defaultErrorImgSrc: '',
1806
- noDataImgSrc: noDataStubSrc,
1807
- outdatedReleaseErrorImgSrc: '',
1808
- }}
1809
- >
1810
- <DataGrid<DataType, SortField>
1811
- keyId='id'
1812
- activeRowId={'3'}
1813
- rows={slicedData}
1814
- columns={columns}
1815
- isLoading={isLoading}
1816
- onRowClick={handleRowClick}
1817
- onRetry={() => {}}
1818
- noDataOptions={{
1819
- action: {
1820
- text: 'Сбросить фильтры',
1821
- onClick: () => {},
1822
- },
1823
- }}
1824
- />
1825
- </ConfigProvider>
1826
- );
1827
- };
1828
-
1829
- export const Loading = () => {
1830
- const noDataStubSrc = '/no-data-stub.svg';
1831
-
1832
- const columns = FAKE_COLUMNS;
1833
-
1834
- const handleRetry = () => console.log('retry request');
1835
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
1836
-
1837
- return (
1838
- <ConfigProvider
1839
- imagesMap={{
1840
- defaultErrorImgSrc: errorIllustration,
1841
- noDataImgSrc: noDataStubSrc,
1842
- outdatedReleaseErrorImgSrc: '',
1843
- }}
1844
- >
1845
- <DataGrid<DataType, SortField>
1846
- keyId='id'
1847
- isLoading
1848
- rows={[]}
1849
- columns={columns}
1850
- onRowClick={handleRowClick}
1851
- onRetry={handleRetry}
1852
- />
1853
- </ConfigProvider>
1854
- );
1855
- };
1856
-
1857
- export const ErrorExample = () => {
1858
- const noDataStubSrc = '/no-data-stub.svg';
1859
- const columns = FAKE_COLUMNS;
1860
-
1861
- const handleRetry = () => console.log('retry request');
1862
- const handleRowClick = (row: DataType) => console.log('row clicked', row);
1863
-
1864
- return (
1865
- <ConfigProvider
1866
- imagesMap={{
1867
- defaultErrorImgSrc: errorIllustration,
1868
- noDataImgSrc: noDataStubSrc,
1869
- outdatedReleaseErrorImgSrc: '',
1870
- }}
1871
- >
1872
- <DataGrid<DataType, SortField>
1873
- keyId='id'
1874
- isError
1875
- errorMsg='Ошибка 500'
1876
- rows={[]}
1877
- columns={columns}
1878
- onRowClick={handleRowClick}
1879
- onRetry={handleRetry}
1880
- />
1881
- </ConfigProvider>
1882
- );
1883
- };