@astral/ui 4.117.0 → 4.119.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 (1003) hide show
  1. package/components/Alert/styles.d.ts +2 -2
  2. package/components/Banner/BannerTemplate/styles.d.ts +4 -4
  3. package/components/CollapsableAlert/styles.d.ts +2 -2
  4. package/components/DataGrid/Body/types.d.ts +0 -4
  5. package/components/DataGrid/Cell/useLogic/useLogic.js +2 -1
  6. package/components/DataGrid/DataGrid.d.ts +1 -1
  7. package/components/DataGrid/DataGrid.js +9 -5
  8. package/components/DataGrid/DataGridContext/DataGridContext.d.ts +0 -1
  9. package/components/DataGrid/DataGridContext/DataGridContext.js +0 -1
  10. package/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +2 -2
  11. package/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.js +1 -3
  12. package/components/DataGrid/Head/Head.d.ts +16 -7
  13. package/components/DataGrid/Head/Head.js +6 -3
  14. package/components/DataGrid/Head/HeadColumns/GroupColumns/GroupColumns.d.ts +2 -2
  15. package/components/DataGrid/Head/HeadColumns/GroupColumns/GroupColumns.js +4 -1
  16. package/components/DataGrid/Head/HeadColumns/HeadColumns.d.ts +2 -2
  17. package/components/DataGrid/Head/HeadColumns/HeadColumns.js +2 -2
  18. package/components/DataGrid/Head/HeadColumns/SingleColumn/SingleColumn.d.ts +3 -3
  19. package/components/DataGrid/Head/HeadColumns/useLogic/useLogic.d.ts +1 -1
  20. package/components/DataGrid/Head/HeadColumns/utils/getHeadCellProps.d.ts +1 -1
  21. package/components/DataGrid/Head/HeadColumns/utils/getHeadCellProps.js +4 -2
  22. package/components/DataGrid/Head/styles.d.ts +0 -2
  23. package/components/DataGrid/Head/styles.js +4 -4
  24. package/components/DataGrid/Head/useLogic/useLogic.d.ts +5 -0
  25. package/components/DataGrid/Head/useLogic/useLogic.js +7 -0
  26. package/components/DataGrid/HeadCell/HeadCell.d.ts +3 -3
  27. package/components/DataGrid/HeadCell/useLogic/useLogic.d.ts +2 -2
  28. package/components/DataGrid/PinnedSections/PinnedSections.d.ts +4 -8
  29. package/components/DataGrid/PinnedSections/PinnedSections.js +2 -2
  30. package/components/DataGrid/PinnedSections/Section/Section.d.ts +1 -1
  31. package/components/DataGrid/PinnedSections/Section/Section.js +3 -1
  32. package/components/DataGrid/PinnedSections/Section/types.d.ts +3 -3
  33. package/components/DataGrid/PinnedSections/styles.d.ts +0 -2
  34. package/components/DataGrid/PinnedSections/styles.js +1 -1
  35. package/components/DataGrid/Row/NestedChildren/NestedChildren.d.ts +0 -4
  36. package/components/DataGrid/Row/NestedChildren/NestedChildren.js +2 -2
  37. package/components/DataGrid/Row/NestedChildren/styles.d.ts +0 -1
  38. package/components/DataGrid/Row/NestedChildren/styles.js +2 -2
  39. package/components/DataGrid/Row/Row.js +3 -4
  40. package/components/DataGrid/Row/styles.d.ts +0 -2
  41. package/components/DataGrid/Row/styles.js +1 -1
  42. package/components/DataGrid/Row/types.d.ts +0 -4
  43. package/components/DataGrid/RowBase/styles.js +1 -3
  44. package/components/DataGrid/RowBase/types.d.ts +0 -4
  45. package/components/DataGrid/RowBase/useLogic/useLogic.d.ts +1 -1
  46. package/components/DataGrid/RowBase/useLogic/useLogic.js +1 -2
  47. package/components/DataGrid/constants.d.ts +5 -0
  48. package/components/DataGrid/constants.js +5 -0
  49. package/components/DataGrid/hooks/index.d.ts +1 -0
  50. package/components/DataGrid/hooks/index.js +1 -0
  51. package/components/DataGrid/hooks/usePlugins/index.d.ts +1 -0
  52. package/components/DataGrid/hooks/usePlugins/index.js +1 -0
  53. package/components/DataGrid/hooks/usePlugins/usePlugins.d.ts +319 -0
  54. package/components/DataGrid/hooks/usePlugins/usePlugins.js +54 -0
  55. package/components/DataGrid/index.d.ts +1 -1
  56. package/components/DataGrid/plugins/resize/ResizeHeadAddon/ResizeHeadAddon.d.ts +5 -0
  57. package/components/DataGrid/plugins/resize/ResizeHeadAddon/ResizeHeadAddon.js +21 -0
  58. package/components/DataGrid/plugins/resize/ResizeHeadAddon/index.d.ts +1 -0
  59. package/components/DataGrid/plugins/resize/ResizeHeadAddon/index.js +1 -0
  60. package/components/DataGrid/plugins/resize/ResizeHeadAddon/styles.d.ts +5 -0
  61. package/components/DataGrid/plugins/resize/ResizeHeadAddon/styles.js +76 -0
  62. package/components/DataGrid/plugins/resize/ResizePlugin.d.ts +8 -0
  63. package/components/DataGrid/plugins/resize/ResizePlugin.js +14 -0
  64. package/components/DataGrid/plugins/resize/constants.d.ts +9 -0
  65. package/components/DataGrid/plugins/resize/constants.js +9 -0
  66. package/components/DataGrid/plugins/resize/hooks/index.d.ts +1 -0
  67. package/components/DataGrid/plugins/resize/hooks/index.js +1 -0
  68. package/components/DataGrid/plugins/resize/hooks/useResize/hooks/index.d.ts +2 -0
  69. package/components/DataGrid/plugins/resize/hooks/useResize/hooks/index.js +2 -0
  70. package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/index.d.ts +1 -0
  71. package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/index.js +1 -0
  72. package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/useResizeStorage.d.ts +22 -0
  73. package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/useResizeStorage.js +20 -0
  74. package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/index.d.ts +1 -0
  75. package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/index.js +1 -0
  76. package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/useTrackWidths.d.ts +20 -0
  77. package/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/useTrackWidths.js +33 -0
  78. package/components/DataGrid/plugins/resize/hooks/useResize/index.d.ts +1 -0
  79. package/components/DataGrid/plugins/resize/hooks/useResize/index.js +1 -0
  80. package/components/DataGrid/plugins/resize/hooks/useResize/useResize.d.ts +15 -0
  81. package/components/DataGrid/plugins/resize/hooks/useResize/useResize.js +164 -0
  82. package/components/DataGrid/plugins/resize/index.d.ts +2 -0
  83. package/components/DataGrid/plugins/resize/index.js +1 -0
  84. package/components/DataGrid/plugins/resize/public.d.ts +2 -0
  85. package/components/DataGrid/plugins/resize/public.js +1 -0
  86. package/components/DataGrid/plugins/resize/types.d.ts +54 -0
  87. package/components/DataGrid/plugins/resize/utils/assertResizeConfig/assertResizeConfig.d.ts +5 -0
  88. package/components/DataGrid/plugins/resize/utils/assertResizeConfig/assertResizeConfig.js +21 -0
  89. package/components/DataGrid/plugins/resize/utils/assertResizeConfig/index.d.ts +1 -0
  90. package/components/DataGrid/plugins/resize/utils/assertResizeConfig/index.js +1 -0
  91. package/components/DataGrid/plugins/resize/utils/getFixedColumnsList/getFixedColumnsList.d.ts +6 -0
  92. package/components/DataGrid/plugins/resize/utils/getFixedColumnsList/getFixedColumnsList.js +5 -0
  93. package/components/DataGrid/plugins/resize/utils/getFixedColumnsList/index.d.ts +1 -0
  94. package/components/DataGrid/plugins/resize/utils/getFixedColumnsList/index.js +1 -0
  95. package/components/DataGrid/plugins/resize/utils/getFractionsList/getFractionsList.d.ts +4 -0
  96. package/components/DataGrid/plugins/resize/utils/getFractionsList/getFractionsList.js +10 -0
  97. package/components/DataGrid/plugins/resize/utils/getFractionsList/index.d.ts +1 -0
  98. package/components/DataGrid/plugins/resize/utils/getFractionsList/index.js +1 -0
  99. package/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/getHandleOffsetsList.d.ts +4 -0
  100. package/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/getHandleOffsetsList.js +10 -0
  101. package/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/index.d.ts +1 -0
  102. package/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/index.js +1 -0
  103. package/components/DataGrid/plugins/resize/utils/getMinWidthsList/getMinWidthsList.d.ts +6 -0
  104. package/components/DataGrid/plugins/resize/utils/getMinWidthsList/getMinWidthsList.js +4 -0
  105. package/components/DataGrid/plugins/resize/utils/getMinWidthsList/index.d.ts +1 -0
  106. package/components/DataGrid/plugins/resize/utils/getMinWidthsList/index.js +1 -0
  107. package/components/DataGrid/plugins/resize/utils/getResizedGridColumns/getResizedGridColumns.d.ts +22 -0
  108. package/components/DataGrid/plugins/resize/utils/getResizedGridColumns/getResizedGridColumns.js +15 -0
  109. package/components/DataGrid/plugins/resize/utils/getResizedGridColumns/index.d.ts +1 -0
  110. package/components/DataGrid/plugins/resize/utils/getResizedGridColumns/index.js +1 -0
  111. package/components/DataGrid/plugins/resize/utils/getStorageKey/getStorageKey.d.ts +4 -0
  112. package/components/DataGrid/plugins/resize/utils/getStorageKey/getStorageKey.js +5 -0
  113. package/components/DataGrid/plugins/resize/utils/getStorageKey/index.d.ts +1 -0
  114. package/components/DataGrid/plugins/resize/utils/getStorageKey/index.js +1 -0
  115. package/components/DataGrid/plugins/resize/utils/getTrackWidthsList/getTrackWidthsList.d.ts +5 -0
  116. package/components/DataGrid/plugins/resize/utils/getTrackWidthsList/getTrackWidthsList.js +8 -0
  117. package/components/DataGrid/plugins/resize/utils/getTrackWidthsList/index.d.ts +1 -0
  118. package/components/DataGrid/plugins/resize/utils/getTrackWidthsList/index.js +1 -0
  119. package/components/DataGrid/plugins/resize/utils/index.d.ts +10 -0
  120. package/components/DataGrid/plugins/resize/utils/index.js +10 -0
  121. package/components/DataGrid/plugins/resize/utils/parseStorageValue/index.d.ts +1 -0
  122. package/components/DataGrid/plugins/resize/utils/parseStorageValue/index.js +1 -0
  123. package/components/DataGrid/plugins/resize/utils/parseStorageValue/parseStorageValue.d.ts +19 -0
  124. package/components/DataGrid/plugins/resize/utils/parseStorageValue/parseStorageValue.js +27 -0
  125. package/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/index.d.ts +1 -0
  126. package/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/index.js +1 -0
  127. package/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/resizeAdjacentColumns.d.ts +25 -0
  128. package/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/resizeAdjacentColumns.js +21 -0
  129. package/components/DataGrid/public.d.ts +1 -1
  130. package/components/DataGrid/styles.js +19 -2
  131. package/components/DataGrid/tests/resize/resizeHelper.d.ts +37 -0
  132. package/components/DataGrid/tests/resize/resizeHelper.js +66 -0
  133. package/components/DataGrid/types.d.ts +50 -8
  134. package/components/DataGrid/useLogic/useLogic.d.ts +293 -3
  135. package/components/DataGrid/useLogic/useLogic.js +13 -4
  136. package/components/DataGrid/utils/assertUniquePlugins/assertUniquePlugins.d.ts +5 -0
  137. package/components/DataGrid/utils/assertUniquePlugins/assertUniquePlugins.js +12 -0
  138. package/components/DataGrid/utils/assertUniquePlugins/index.d.ts +1 -0
  139. package/components/DataGrid/utils/assertUniquePlugins/index.js +1 -0
  140. package/components/DataGrid/utils/findPlugin/findPlugin.d.ts +5 -0
  141. package/components/DataGrid/utils/findPlugin/findPlugin.js +4 -0
  142. package/components/DataGrid/utils/findPlugin/index.d.ts +1 -0
  143. package/components/DataGrid/utils/findPlugin/index.js +1 -0
  144. package/components/DataGrid/utils/getAutoTableId/getAutoTableId.d.ts +5 -0
  145. package/components/DataGrid/utils/getAutoTableId/getAutoTableId.js +10 -0
  146. package/components/DataGrid/utils/getAutoTableId/index.d.ts +1 -0
  147. package/components/DataGrid/utils/getAutoTableId/index.js +1 -0
  148. package/components/DataGrid/utils/getColumnsSignature/getColumnsSignature.d.ts +6 -0
  149. package/components/DataGrid/utils/getColumnsSignature/getColumnsSignature.js +4 -0
  150. package/components/DataGrid/utils/getColumnsSignature/index.d.ts +1 -0
  151. package/components/DataGrid/utils/getColumnsSignature/index.js +1 -0
  152. package/components/DataGrid/utils/getDataGridCssVars/getDataGridCssVars.d.ts +15 -1
  153. package/components/DataGrid/utils/getDataGridCssVars/getDataGridCssVars.js +7 -5
  154. package/components/DataGrid/utils/index.d.ts +4 -0
  155. package/components/DataGrid/utils/index.js +4 -0
  156. package/components/DataGridCollapsibleRow/useLogic/useLogic.d.ts +0 -1
  157. package/components/DataGridCollapsibleRow/useLogic/useLogic.js +1 -2
  158. package/components/DataGridInfinite/DataGridInfinite.d.ts +1 -1
  159. package/components/DataGridInfinite/DataGridInfinite.js +28 -24
  160. package/components/DataGridInfinite/Row/Row.js +2 -2
  161. package/components/DataGridInfinite/Row/useLogic/useLogic.d.ts +0 -1
  162. package/components/DataGridInfinite/Row/useLogic/useLogic.js +1 -2
  163. package/components/DataGridInfinite/index.d.ts +1 -0
  164. package/components/DataGridInfinite/public.d.ts +1 -0
  165. package/components/DataGridInfinite/types.d.ts +1 -1
  166. package/components/DataGridInfinite/useLogic/useLogic.d.ts +293 -5
  167. package/components/DataGridInfinite/useLogic/useLogic.js +14 -7
  168. package/components/DatePicker/useLogic/useLogic.js +18 -13
  169. package/components/DialogActions/styles.d.ts +4 -3
  170. package/components/Filename/Filename.js +2 -2
  171. package/components/Filename/useLogic/useLogic.d.ts +3 -2
  172. package/components/Filename/useLogic/useLogic.js +6 -2
  173. package/components/FlowButton/styles.d.ts +2 -2
  174. package/components/Grid/Grid.d.ts +2 -6
  175. package/components/Grid/Grid.js +7 -1
  176. package/components/Grid/index.d.ts +1 -0
  177. package/components/Grid/styles.d.ts +1 -39
  178. package/components/Grid/styles.js +6 -1
  179. package/components/Grid/types.d.ts +50 -0
  180. package/components/Grid/useLogic/index.js +1 -0
  181. package/components/Grid/useLogic/useLogic.d.ts +7 -0
  182. package/components/Grid/useLogic/useLogic.js +8 -0
  183. package/components/HintPopover/styles.js +5 -0
  184. package/components/MenuOrganization/styles.d.ts +2 -2
  185. package/components/OverflowTypography/OverflowTypography.js +3 -3
  186. package/components/OverflowTypography/hooks/useOverflowed/useOverflowed.d.ts +20 -3
  187. package/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +32 -41
  188. package/components/OverflowTypography/useLogic/useLogic.d.ts +3 -2
  189. package/components/OverflowTypography/useLogic/useLogic.js +8 -2
  190. package/components/ProductSwitcher/Content/styles.d.ts +2 -2
  191. package/components/RadioCard/RadioCard.d.ts +6 -0
  192. package/components/RadioCard/RadioCard.js +3 -0
  193. package/components/Select/OptionMenuItem/OptionMenuItem.d.ts +5 -0
  194. package/components/Select/OptionMenuItem/OptionMenuItem.js +31 -0
  195. package/components/Select/OptionMenuItem/index.d.ts +1 -0
  196. package/components/Select/OptionMenuItem/index.js +1 -0
  197. package/components/Select/OptionMenuItem/types.d.ts +31 -0
  198. package/components/Select/OptionMenuItem/types.js +1 -0
  199. package/components/Select/Select.d.ts +9 -2
  200. package/components/Select/Select.js +45 -12
  201. package/components/Select/cases/groups/SelectGroup/GroupMenuItem/GroupMenuItem.d.ts +5 -0
  202. package/components/Select/cases/groups/SelectGroup/GroupMenuItem/GroupMenuItem.js +20 -0
  203. package/components/Select/cases/groups/SelectGroup/GroupMenuItem/constants.d.ts +2 -0
  204. package/components/Select/cases/groups/SelectGroup/GroupMenuItem/constants.js +2 -0
  205. package/components/Select/cases/groups/SelectGroup/GroupMenuItem/index.d.ts +1 -0
  206. package/components/Select/cases/groups/SelectGroup/GroupMenuItem/index.js +1 -0
  207. package/components/Select/cases/groups/SelectGroup/GroupMenuItem/styles.d.ts +39 -0
  208. package/components/Select/cases/groups/SelectGroup/GroupMenuItem/styles.js +37 -0
  209. package/components/Select/cases/groups/SelectGroup/GroupMenuItem/types.d.ts +32 -0
  210. package/components/Select/cases/groups/SelectGroup/GroupMenuItem/types.js +1 -0
  211. package/components/Select/cases/groups/SelectGroup/GroupOptions/GroupOptions.d.ts +2 -0
  212. package/components/Select/cases/groups/SelectGroup/GroupOptions/GroupOptions.js +4 -0
  213. package/components/Select/cases/groups/SelectGroup/GroupOptions/index.d.ts +1 -0
  214. package/components/Select/cases/groups/SelectGroup/GroupOptions/index.js +1 -0
  215. package/components/Select/cases/groups/SelectGroup/GroupOptions/types.d.ts +31 -0
  216. package/components/Select/cases/groups/SelectGroup/GroupOptions/types.js +1 -0
  217. package/components/Select/cases/groups/SelectGroup/GroupSubheader/GroupSubheader.d.ts +5 -0
  218. package/components/Select/cases/groups/SelectGroup/GroupSubheader/GroupSubheader.js +7 -0
  219. package/components/Select/cases/groups/SelectGroup/GroupSubheader/index.d.ts +1 -0
  220. package/components/Select/cases/groups/SelectGroup/GroupSubheader/index.js +1 -0
  221. package/components/Select/cases/groups/SelectGroup/GroupSubheader/styles.d.ts +3 -0
  222. package/components/Select/cases/groups/SelectGroup/GroupSubheader/styles.js +11 -0
  223. package/components/Select/cases/groups/SelectGroup/GroupSubheader/types.d.ts +6 -0
  224. package/components/Select/cases/groups/SelectGroup/GroupSubheader/types.js +1 -0
  225. package/components/Select/cases/groups/SelectGroup/SelectGroup.d.ts +5 -0
  226. package/components/Select/cases/groups/SelectGroup/SelectGroup.js +28 -0
  227. package/components/Select/cases/groups/SelectGroup/index.d.ts +1 -0
  228. package/components/Select/cases/groups/SelectGroup/index.js +1 -0
  229. package/components/{ResizingDataGrid/Sliders → Select/cases/groups/SelectGroup}/styles.d.ts +4 -8
  230. package/components/Select/cases/groups/SelectGroup/styles.js +13 -0
  231. package/components/Select/cases/groups/SelectGroup/types.d.ts +53 -0
  232. package/components/Select/cases/groups/SelectGroup/types.js +1 -0
  233. package/components/Select/cases/groups/SelectGroup/useLogic/index.d.ts +1 -0
  234. package/components/Select/cases/groups/SelectGroup/useLogic/index.js +1 -0
  235. package/components/Select/cases/groups/SelectGroup/useLogic/useLogic.d.ts +9 -0
  236. package/components/Select/cases/groups/SelectGroup/useLogic/useLogic.js +10 -0
  237. package/components/Select/cases/groups/constants.d.ts +10 -0
  238. package/components/Select/cases/groups/constants.js +11 -0
  239. package/components/Select/cases/groups/hooks/index.d.ts +1 -0
  240. package/components/Select/cases/groups/hooks/index.js +1 -0
  241. package/components/Select/cases/groups/hooks/useGroups/hooks/index.d.ts +1 -0
  242. package/components/Select/cases/groups/hooks/useGroups/hooks/index.js +1 -0
  243. package/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/index.d.ts +1 -0
  244. package/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/index.js +1 -0
  245. package/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/useCollapsedGroups.d.ts +20 -0
  246. package/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/useCollapsedGroups.js +23 -0
  247. package/components/Select/cases/groups/hooks/useGroups/index.d.ts +1 -0
  248. package/components/Select/cases/groups/hooks/useGroups/index.js +1 -0
  249. package/components/Select/cases/groups/hooks/useGroups/useGroups.d.ts +55 -0
  250. package/components/Select/cases/groups/hooks/useGroups/useGroups.js +65 -0
  251. package/components/Select/cases/groups/index.d.ts +3 -0
  252. package/components/Select/cases/groups/index.js +2 -0
  253. package/components/Select/cases/groups/types.d.ts +21 -0
  254. package/components/Select/cases/groups/types.js +1 -0
  255. package/components/Select/cases/groups/utils/checkHasBottomDivider/checkHasBottomDivider.d.ts +4 -0
  256. package/components/Select/cases/groups/utils/checkHasBottomDivider/checkHasBottomDivider.js +12 -0
  257. package/components/Select/cases/groups/utils/checkHasBottomDivider/index.d.ts +1 -0
  258. package/components/Select/cases/groups/utils/checkHasBottomDivider/index.js +1 -0
  259. package/components/Select/cases/groups/utils/expandTagsList/expandTagsList.d.ts +5 -0
  260. package/components/Select/cases/groups/utils/expandTagsList/expandTagsList.js +8 -0
  261. package/components/Select/cases/groups/utils/expandTagsList/index.d.ts +1 -0
  262. package/components/Select/cases/groups/utils/expandTagsList/index.js +1 -0
  263. package/components/Select/cases/groups/utils/findGroupByValue/findGroupByValue.d.ts +5 -0
  264. package/components/Select/cases/groups/utils/findGroupByValue/findGroupByValue.js +5 -0
  265. package/components/Select/cases/groups/utils/findGroupByValue/index.d.ts +1 -0
  266. package/components/Select/cases/groups/utils/findGroupByValue/index.js +1 -0
  267. package/components/Select/cases/groups/utils/getGroupSelection/getGroupSelection.d.ts +9 -0
  268. package/components/Select/cases/groups/utils/getGroupSelection/getGroupSelection.js +12 -0
  269. package/components/Select/cases/groups/utils/getGroupSelection/index.d.ts +1 -0
  270. package/components/Select/cases/groups/utils/getGroupSelection/index.js +1 -0
  271. package/components/Select/cases/groups/utils/getGroupValue/getGroupValue.d.ts +4 -0
  272. package/components/Select/cases/groups/utils/getGroupValue/getGroupValue.js +5 -0
  273. package/components/Select/cases/groups/utils/getGroupValue/index.d.ts +1 -0
  274. package/components/Select/cases/groups/utils/getGroupValue/index.js +1 -0
  275. package/components/Select/cases/groups/utils/getTagsList/getTagsList.d.ts +5 -0
  276. package/components/Select/cases/groups/utils/getTagsList/getTagsList.js +15 -0
  277. package/components/Select/cases/groups/utils/getTagsList/index.d.ts +1 -0
  278. package/components/Select/cases/groups/utils/getTagsList/index.js +1 -0
  279. package/components/Select/cases/groups/utils/index.d.ts +7 -0
  280. package/components/Select/cases/groups/utils/index.js +7 -0
  281. package/components/Select/cases/groups/utils/toggleGroup/index.d.ts +1 -0
  282. package/components/Select/cases/groups/utils/toggleGroup/index.js +1 -0
  283. package/components/Select/cases/groups/utils/toggleGroup/toggleGroup.d.ts +6 -0
  284. package/components/Select/cases/groups/utils/toggleGroup/toggleGroup.js +14 -0
  285. package/components/Select/cases/index.d.ts +1 -0
  286. package/components/Select/cases/index.js +1 -0
  287. package/components/Select/constants.d.ts +7 -0
  288. package/components/Select/constants.js +8 -0
  289. package/components/Select/index.d.ts +1 -1
  290. package/components/Select/public.d.ts +1 -1
  291. package/components/Select/styles.d.ts +10 -1
  292. package/components/Select/styles.js +27 -0
  293. package/components/Select/types.d.ts +81 -2
  294. package/components/Select/useLogic/hooks/index.d.ts +1 -0
  295. package/components/Select/useLogic/hooks/index.js +1 -0
  296. package/components/Select/useLogic/hooks/useOptions/index.d.ts +1 -0
  297. package/components/Select/useLogic/hooks/useOptions/index.js +1 -0
  298. package/components/Select/useLogic/hooks/useOptions/useOptions.d.ts +36 -0
  299. package/components/Select/useLogic/hooks/useOptions/useOptions.js +38 -0
  300. package/components/Select/useLogic/useLogic.d.ts +23 -4
  301. package/components/Select/useLogic/useLogic.js +119 -35
  302. package/components/Select/utils/checkIsEqualSelectValues/checkIsEqualSelectValues.d.ts +5 -0
  303. package/components/Select/utils/checkIsEqualSelectValues/checkIsEqualSelectValues.js +14 -0
  304. package/components/Select/utils/checkIsEqualSelectValues/index.d.ts +1 -0
  305. package/components/Select/utils/checkIsEqualSelectValues/index.js +1 -0
  306. package/components/Select/utils/checkIsSelectOptionsGroup/checkIsSelectOptionsGroup.d.ts +5 -0
  307. package/components/Select/utils/checkIsSelectOptionsGroup/checkIsSelectOptionsGroup.js +8 -0
  308. package/components/Select/utils/checkIsSelectOptionsGroup/index.d.ts +1 -0
  309. package/components/Select/utils/checkIsSelectOptionsGroup/index.js +1 -0
  310. package/components/Select/utils/getSelectOptionsList/getSelectOptionsList.d.ts +5 -0
  311. package/components/Select/utils/getSelectOptionsList/getSelectOptionsList.js +5 -0
  312. package/components/Select/utils/getSelectOptionsList/index.d.ts +1 -0
  313. package/components/Select/utils/getSelectOptionsList/index.js +1 -0
  314. package/components/Select/utils/index.d.ts +3 -0
  315. package/components/Select/utils/index.js +3 -0
  316. package/components/SelectionCard/DefaultIndicator/DefaultIndicator.d.ts +5 -0
  317. package/components/SelectionCard/DefaultIndicator/DefaultIndicator.js +14 -0
  318. package/components/SelectionCard/DefaultIndicator/index.d.ts +1 -0
  319. package/components/SelectionCard/DefaultIndicator/index.js +1 -0
  320. package/components/SelectionCard/DefaultIndicator/types.d.ts +7 -0
  321. package/components/SelectionCard/DefaultIndicator/types.js +1 -0
  322. package/components/SelectionCard/SelectionCard.d.ts +5 -0
  323. package/components/SelectionCard/SelectionCard.js +48 -0
  324. package/components/SelectionCard/cases/grouped/index.d.ts +1 -0
  325. package/components/SelectionCard/cases/grouped/index.js +1 -0
  326. package/components/SelectionCard/cases/grouped/styles.d.ts +10 -0
  327. package/components/SelectionCard/cases/grouped/styles.js +128 -0
  328. package/components/SelectionCard/cases/index.d.ts +2 -0
  329. package/components/SelectionCard/cases/index.js +2 -0
  330. package/components/SelectionCard/cases/standalone/index.d.ts +1 -0
  331. package/components/SelectionCard/cases/standalone/index.js +1 -0
  332. package/components/SelectionCard/cases/standalone/styles.d.ts +10 -0
  333. package/components/SelectionCard/cases/standalone/styles.js +77 -0
  334. package/components/SelectionCard/constants.d.ts +15 -0
  335. package/components/SelectionCard/constants.js +16 -0
  336. package/components/SelectionCard/index.d.ts +2 -0
  337. package/components/SelectionCard/index.js +1 -0
  338. package/components/SelectionCard/public.d.ts +2 -0
  339. package/components/SelectionCard/public.js +1 -0
  340. package/components/SelectionCard/styles.d.ts +39 -0
  341. package/components/SelectionCard/styles.js +81 -0
  342. package/components/SelectionCard/types.d.ts +31 -0
  343. package/components/SelectionCard/types.js +1 -0
  344. package/components/SelectionCard/useLogic/index.d.ts +1 -0
  345. package/components/SelectionCard/useLogic/index.js +1 -0
  346. package/components/SelectionCard/useLogic/useLogic.d.ts +18 -0
  347. package/components/SelectionCard/useLogic/useLogic.js +48 -0
  348. package/components/SelectionCardGroup/SelectionCardGroup.d.ts +5 -0
  349. package/components/SelectionCardGroup/SelectionCardGroup.js +19 -0
  350. package/components/SelectionCardGroup/SelectionCardGroupContext/SelectionCardGroupContext.d.ts +21 -0
  351. package/components/SelectionCardGroup/SelectionCardGroupContext/SelectionCardGroupContext.js +14 -0
  352. package/components/SelectionCardGroup/SelectionCardGroupContext/index.d.ts +1 -0
  353. package/components/SelectionCardGroup/SelectionCardGroupContext/index.js +1 -0
  354. package/components/SelectionCardGroup/cases/grouped/constants.d.ts +4 -0
  355. package/components/SelectionCardGroup/cases/grouped/constants.js +4 -0
  356. package/components/SelectionCardGroup/cases/grouped/index.d.ts +1 -0
  357. package/components/SelectionCardGroup/cases/grouped/index.js +1 -0
  358. package/components/SelectionCardGroup/cases/index.d.ts +4 -0
  359. package/components/SelectionCardGroup/cases/index.js +4 -0
  360. package/components/SelectionCardGroup/cases/multiple/constants.d.ts +5 -0
  361. package/components/SelectionCardGroup/cases/multiple/constants.js +9 -0
  362. package/components/SelectionCardGroup/cases/multiple/index.d.ts +2 -0
  363. package/components/SelectionCardGroup/cases/multiple/index.js +2 -0
  364. package/components/SelectionCardGroup/cases/multiple/utils/index.d.ts +1 -0
  365. package/components/SelectionCardGroup/cases/multiple/utils/index.js +1 -0
  366. package/components/SelectionCardGroup/cases/multiple/utils/toggleValue/index.d.ts +1 -0
  367. package/components/SelectionCardGroup/cases/multiple/utils/toggleValue/index.js +1 -0
  368. package/components/SelectionCardGroup/cases/multiple/utils/toggleValue/toggleValue.d.ts +4 -0
  369. package/components/SelectionCardGroup/cases/multiple/utils/toggleValue/toggleValue.js +9 -0
  370. package/components/SelectionCardGroup/cases/single/constants.d.ts +5 -0
  371. package/components/SelectionCardGroup/cases/single/constants.js +9 -0
  372. package/components/SelectionCardGroup/cases/single/index.d.ts +2 -0
  373. package/components/SelectionCardGroup/cases/single/index.js +2 -0
  374. package/components/SelectionCardGroup/cases/single/utils/index.d.ts +1 -0
  375. package/components/SelectionCardGroup/cases/single/utils/index.js +1 -0
  376. package/components/SelectionCardGroup/cases/single/utils/selectValue/index.d.ts +1 -0
  377. package/components/SelectionCardGroup/cases/single/utils/selectValue/index.js +1 -0
  378. package/components/SelectionCardGroup/cases/single/utils/selectValue/selectValue.d.ts +5 -0
  379. package/components/SelectionCardGroup/cases/single/utils/selectValue/selectValue.js +10 -0
  380. package/components/SelectionCardGroup/cases/standalone/constants.d.ts +2 -0
  381. package/components/SelectionCardGroup/cases/standalone/constants.js +2 -0
  382. package/components/SelectionCardGroup/cases/standalone/index.d.ts +3 -0
  383. package/components/SelectionCardGroup/cases/standalone/index.js +3 -0
  384. package/components/SelectionCardGroup/cases/standalone/styles.d.ts +7 -0
  385. package/components/SelectionCardGroup/cases/standalone/styles.js +10 -0
  386. package/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/getGridColumns.d.ts +5 -0
  387. package/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/getGridColumns.js +10 -0
  388. package/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/index.d.ts +1 -0
  389. package/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/index.js +1 -0
  390. package/components/SelectionCardGroup/cases/standalone/utils/index.d.ts +1 -0
  391. package/components/SelectionCardGroup/cases/standalone/utils/index.js +1 -0
  392. package/components/SelectionCardGroup/constants.d.ts +3 -0
  393. package/components/SelectionCardGroup/constants.js +4 -0
  394. package/components/SelectionCardGroup/index.d.ts +3 -0
  395. package/components/SelectionCardGroup/index.js +2 -0
  396. package/components/SelectionCardGroup/public.d.ts +2 -0
  397. package/components/SelectionCardGroup/public.js +1 -0
  398. package/components/SelectionCardGroup/styles.d.ts +15 -0
  399. package/components/SelectionCardGroup/styles.js +17 -0
  400. package/components/SelectionCardGroup/types.d.ts +120 -0
  401. package/components/SelectionCardGroup/types.js +1 -0
  402. package/components/SelectionCardGroup/useLogic/index.d.ts +1 -0
  403. package/components/SelectionCardGroup/useLogic/index.js +1 -0
  404. package/components/SelectionCardGroup/useLogic/useLogic.d.ts +17 -0
  405. package/components/SelectionCardGroup/useLogic/useLogic.js +59 -0
  406. package/components/SelectionCardGroup/useLogic/utils/createSelectHandler/createSelectHandler.d.ts +5 -0
  407. package/components/SelectionCardGroup/useLogic/utils/createSelectHandler/createSelectHandler.js +10 -0
  408. package/components/SelectionCardGroup/useLogic/utils/createSelectHandler/index.d.ts +1 -0
  409. package/components/SelectionCardGroup/useLogic/utils/createSelectHandler/index.js +1 -0
  410. package/components/SelectionCardGroup/useLogic/utils/index.d.ts +1 -0
  411. package/components/SelectionCardGroup/useLogic/utils/index.js +1 -0
  412. package/components/SelectionCardGroup/utils/getSelectedValuesList/getSelectedValuesList.d.ts +5 -0
  413. package/components/SelectionCardGroup/utils/getSelectedValuesList/getSelectedValuesList.js +12 -0
  414. package/components/SelectionCardGroup/utils/getSelectedValuesList/index.d.ts +1 -0
  415. package/components/SelectionCardGroup/utils/getSelectedValuesList/index.js +1 -0
  416. package/components/SelectionCardGroup/utils/index.d.ts +1 -0
  417. package/components/SelectionCardGroup/utils/index.js +1 -0
  418. package/components/Status/Status.d.ts +2 -0
  419. package/components/Status/Status.js +37 -0
  420. package/components/Status/constants.d.ts +17 -0
  421. package/components/Status/constants.js +18 -0
  422. package/components/Status/index.d.ts +3 -0
  423. package/components/Status/index.js +2 -0
  424. package/components/Status/public.d.ts +3 -0
  425. package/components/Status/public.js +2 -0
  426. package/components/Status/styles.d.ts +24 -0
  427. package/components/Status/styles.js +120 -0
  428. package/components/Status/types.d.ts +17 -0
  429. package/components/Status/types.js +1 -0
  430. package/components/Status/useLogic/index.d.ts +1 -0
  431. package/components/Status/useLogic/index.js +1 -0
  432. package/components/Status/useLogic/useLogic.d.ts +11 -0
  433. package/components/Status/useLogic/useLogic.js +33 -0
  434. package/components/Tag/styles.d.ts +2 -2
  435. package/components/TagBadge/styles.js +21 -3
  436. package/components/index.d.ts +1 -1
  437. package/components/utils/setRef/index.d.ts +1 -0
  438. package/components/utils/setRef/index.js +1 -0
  439. package/components/utils/setRef/setRef.d.ts +5 -0
  440. package/components/utils/setRef/setRef.js +12 -0
  441. package/hook-form/EditableText/EditingForm/EditingForm.js +1 -1
  442. package/hook-form/FormFiltersModalGroup/styles.d.ts +2 -2
  443. package/hook-form/FormQuickFilters/FormQuickFilters.js +2 -14
  444. package/hook-form/FormQuickFilters/useLogic/useLogic.d.ts +7 -4
  445. package/hook-form/FormQuickFilters/useLogic/useLogic.js +12 -7
  446. package/hook-form/FormSelect/FormSelect.d.ts +5 -2
  447. package/hook-form/FormSelectionCardGroup/FormSelectionCardGroup.d.ts +7 -0
  448. package/hook-form/FormSelectionCardGroup/FormSelectionCardGroup.js +18 -0
  449. package/hook-form/FormSelectionCardGroup/index.d.ts +1 -0
  450. package/hook-form/FormSelectionCardGroup/index.js +1 -0
  451. package/hook-form/FormSelectionCardGroup/public.d.ts +1 -0
  452. package/hook-form/FormSelectionCardGroup/public.js +1 -0
  453. package/node/components/Alert/styles.d.ts +2 -2
  454. package/node/components/Banner/BannerTemplate/styles.d.ts +4 -4
  455. package/node/components/CollapsableAlert/styles.d.ts +2 -2
  456. package/node/components/DataGrid/Body/types.d.ts +0 -4
  457. package/node/components/DataGrid/Cell/useLogic/useLogic.js +2 -1
  458. package/node/components/DataGrid/DataGrid.d.ts +1 -1
  459. package/node/components/DataGrid/DataGrid.js +9 -5
  460. package/node/components/DataGrid/DataGridContext/DataGridContext.d.ts +0 -1
  461. package/node/components/DataGrid/DataGridContext/DataGridContext.js +0 -1
  462. package/node/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.d.ts +2 -2
  463. package/node/components/DataGrid/DataGridContext/DataGridProvider/DataGridProvider.js +1 -3
  464. package/node/components/DataGrid/Head/Head.d.ts +16 -7
  465. package/node/components/DataGrid/Head/Head.js +5 -2
  466. package/node/components/DataGrid/Head/HeadColumns/GroupColumns/GroupColumns.d.ts +2 -2
  467. package/node/components/DataGrid/Head/HeadColumns/GroupColumns/GroupColumns.js +4 -1
  468. package/node/components/DataGrid/Head/HeadColumns/HeadColumns.d.ts +2 -2
  469. package/node/components/DataGrid/Head/HeadColumns/HeadColumns.js +2 -2
  470. package/node/components/DataGrid/Head/HeadColumns/SingleColumn/SingleColumn.d.ts +3 -3
  471. package/node/components/DataGrid/Head/HeadColumns/useLogic/useLogic.d.ts +1 -1
  472. package/node/components/DataGrid/Head/HeadColumns/utils/getHeadCellProps.d.ts +1 -1
  473. package/node/components/DataGrid/Head/HeadColumns/utils/getHeadCellProps.js +4 -2
  474. package/node/components/DataGrid/Head/styles.d.ts +0 -2
  475. package/node/components/DataGrid/Head/styles.js +4 -4
  476. package/node/components/DataGrid/Head/useLogic/index.d.ts +1 -0
  477. package/node/components/DataGrid/Head/useLogic/useLogic.d.ts +5 -0
  478. package/node/components/DataGrid/Head/useLogic/useLogic.js +11 -0
  479. package/node/components/DataGrid/HeadCell/HeadCell.d.ts +3 -3
  480. package/node/components/DataGrid/HeadCell/useLogic/useLogic.d.ts +2 -2
  481. package/node/components/DataGrid/PinnedSections/PinnedSections.d.ts +4 -8
  482. package/node/components/DataGrid/PinnedSections/PinnedSections.js +2 -2
  483. package/node/components/DataGrid/PinnedSections/Section/Section.d.ts +1 -1
  484. package/node/components/DataGrid/PinnedSections/Section/Section.js +3 -1
  485. package/node/components/DataGrid/PinnedSections/Section/types.d.ts +3 -3
  486. package/node/components/DataGrid/PinnedSections/styles.d.ts +0 -2
  487. package/node/components/DataGrid/PinnedSections/styles.js +1 -1
  488. package/node/components/DataGrid/Row/NestedChildren/NestedChildren.d.ts +0 -4
  489. package/node/components/DataGrid/Row/NestedChildren/NestedChildren.js +2 -2
  490. package/node/components/DataGrid/Row/NestedChildren/styles.d.ts +0 -1
  491. package/node/components/DataGrid/Row/NestedChildren/styles.js +2 -2
  492. package/node/components/DataGrid/Row/Row.js +3 -4
  493. package/node/components/DataGrid/Row/styles.d.ts +0 -2
  494. package/node/components/DataGrid/Row/styles.js +1 -1
  495. package/node/components/DataGrid/Row/types.d.ts +0 -4
  496. package/node/components/DataGrid/RowBase/styles.js +1 -3
  497. package/node/components/DataGrid/RowBase/types.d.ts +0 -4
  498. package/node/components/DataGrid/RowBase/useLogic/useLogic.d.ts +1 -1
  499. package/node/components/DataGrid/RowBase/useLogic/useLogic.js +1 -2
  500. package/node/components/DataGrid/constants.d.ts +5 -0
  501. package/node/components/DataGrid/constants.js +6 -1
  502. package/node/components/DataGrid/hooks/index.d.ts +1 -0
  503. package/node/components/DataGrid/hooks/index.js +1 -0
  504. package/node/components/DataGrid/hooks/usePlugins/index.d.ts +1 -0
  505. package/node/components/{ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey → DataGrid/hooks/usePlugins}/index.js +1 -1
  506. package/node/components/DataGrid/hooks/usePlugins/usePlugins.d.ts +319 -0
  507. package/node/components/DataGrid/hooks/usePlugins/usePlugins.js +58 -0
  508. package/node/components/DataGrid/index.d.ts +1 -1
  509. package/node/components/DataGrid/plugins/resize/ResizeHeadAddon/ResizeHeadAddon.d.ts +5 -0
  510. package/node/components/DataGrid/plugins/resize/ResizeHeadAddon/ResizeHeadAddon.js +25 -0
  511. package/node/components/DataGrid/plugins/resize/ResizeHeadAddon/index.d.ts +1 -0
  512. package/node/components/{ResizingDataGrid/Sliders/useLogic/utils/computePositions → DataGrid/plugins/resize/ResizeHeadAddon}/index.js +1 -1
  513. package/node/components/DataGrid/plugins/resize/ResizeHeadAddon/styles.d.ts +5 -0
  514. package/node/components/DataGrid/plugins/resize/ResizeHeadAddon/styles.js +79 -0
  515. package/node/components/DataGrid/plugins/resize/ResizePlugin.d.ts +8 -0
  516. package/node/components/DataGrid/plugins/resize/ResizePlugin.js +17 -0
  517. package/node/components/DataGrid/plugins/resize/constants.d.ts +9 -0
  518. package/node/components/DataGrid/plugins/resize/constants.js +12 -0
  519. package/node/components/DataGrid/plugins/resize/hooks/index.d.ts +1 -0
  520. package/node/components/DataGrid/plugins/resize/hooks/index.js +17 -0
  521. package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/index.d.ts +2 -0
  522. package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/index.js +18 -0
  523. package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/index.d.ts +1 -0
  524. package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/index.js +17 -0
  525. package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/useResizeStorage.d.ts +22 -0
  526. package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useResizeStorage/useResizeStorage.js +24 -0
  527. package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/index.d.ts +1 -0
  528. package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/index.js +17 -0
  529. package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/useTrackWidths.d.ts +20 -0
  530. package/node/components/DataGrid/plugins/resize/hooks/useResize/hooks/useTrackWidths/useTrackWidths.js +37 -0
  531. package/node/components/DataGrid/plugins/resize/hooks/useResize/index.d.ts +1 -0
  532. package/node/components/DataGrid/plugins/resize/hooks/useResize/index.js +17 -0
  533. package/node/components/DataGrid/plugins/resize/hooks/useResize/useResize.d.ts +15 -0
  534. package/node/components/DataGrid/plugins/resize/hooks/useResize/useResize.js +168 -0
  535. package/node/components/DataGrid/plugins/resize/index.d.ts +2 -0
  536. package/node/components/DataGrid/plugins/resize/index.js +5 -0
  537. package/node/components/DataGrid/plugins/resize/public.d.ts +2 -0
  538. package/node/components/DataGrid/plugins/resize/public.js +5 -0
  539. package/node/components/DataGrid/plugins/resize/types.d.ts +54 -0
  540. package/node/components/DataGrid/plugins/resize/utils/assertResizeConfig/assertResizeConfig.d.ts +5 -0
  541. package/node/components/DataGrid/plugins/resize/utils/assertResizeConfig/assertResizeConfig.js +25 -0
  542. package/node/components/DataGrid/plugins/resize/utils/assertResizeConfig/index.d.ts +1 -0
  543. package/node/components/{ResizingDataGrid/hooks/useComputedColumns → DataGrid/plugins/resize/utils/assertResizeConfig}/index.js +1 -1
  544. package/node/components/DataGrid/plugins/resize/utils/getFixedColumnsList/getFixedColumnsList.d.ts +6 -0
  545. package/node/components/DataGrid/plugins/resize/utils/getFixedColumnsList/getFixedColumnsList.js +9 -0
  546. package/node/components/DataGrid/plugins/resize/utils/getFixedColumnsList/index.d.ts +1 -0
  547. package/node/components/DataGrid/plugins/resize/utils/getFixedColumnsList/index.js +17 -0
  548. package/node/components/DataGrid/plugins/resize/utils/getFractionsList/getFractionsList.d.ts +4 -0
  549. package/node/components/DataGrid/plugins/resize/utils/getFractionsList/getFractionsList.js +14 -0
  550. package/node/components/DataGrid/plugins/resize/utils/getFractionsList/index.d.ts +1 -0
  551. package/node/components/DataGrid/plugins/resize/utils/getFractionsList/index.js +17 -0
  552. package/node/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/getHandleOffsetsList.d.ts +4 -0
  553. package/node/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/getHandleOffsetsList.js +14 -0
  554. package/node/components/DataGrid/plugins/resize/utils/getHandleOffsetsList/index.d.ts +1 -0
  555. package/node/components/{ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders → DataGrid/plugins/resize/utils/getHandleOffsetsList}/index.js +1 -1
  556. package/node/components/DataGrid/plugins/resize/utils/getMinWidthsList/getMinWidthsList.d.ts +6 -0
  557. package/node/components/DataGrid/plugins/resize/utils/getMinWidthsList/getMinWidthsList.js +8 -0
  558. package/node/components/DataGrid/plugins/resize/utils/getMinWidthsList/index.d.ts +1 -0
  559. package/node/components/DataGrid/plugins/resize/utils/getMinWidthsList/index.js +17 -0
  560. package/node/components/DataGrid/plugins/resize/utils/getResizedGridColumns/getResizedGridColumns.d.ts +22 -0
  561. package/node/components/DataGrid/plugins/resize/utils/getResizedGridColumns/getResizedGridColumns.js +19 -0
  562. package/node/components/DataGrid/plugins/resize/utils/getResizedGridColumns/index.d.ts +1 -0
  563. package/node/components/DataGrid/plugins/resize/utils/getResizedGridColumns/index.js +17 -0
  564. package/node/components/DataGrid/plugins/resize/utils/getStorageKey/getStorageKey.d.ts +4 -0
  565. package/node/components/DataGrid/plugins/resize/utils/getStorageKey/getStorageKey.js +9 -0
  566. package/node/components/DataGrid/plugins/resize/utils/getStorageKey/index.d.ts +1 -0
  567. package/node/components/DataGrid/plugins/resize/utils/getStorageKey/index.js +17 -0
  568. package/node/components/DataGrid/plugins/resize/utils/getTrackWidthsList/getTrackWidthsList.d.ts +5 -0
  569. package/node/components/DataGrid/plugins/resize/utils/getTrackWidthsList/getTrackWidthsList.js +12 -0
  570. package/node/components/DataGrid/plugins/resize/utils/getTrackWidthsList/index.d.ts +1 -0
  571. package/node/components/DataGrid/plugins/resize/utils/getTrackWidthsList/index.js +17 -0
  572. package/node/components/DataGrid/plugins/resize/utils/index.d.ts +10 -0
  573. package/node/components/DataGrid/plugins/resize/utils/index.js +26 -0
  574. package/node/components/DataGrid/plugins/resize/utils/parseStorageValue/index.d.ts +1 -0
  575. package/node/components/DataGrid/plugins/resize/utils/parseStorageValue/index.js +17 -0
  576. package/node/components/DataGrid/plugins/resize/utils/parseStorageValue/parseStorageValue.d.ts +19 -0
  577. package/node/components/DataGrid/plugins/resize/utils/parseStorageValue/parseStorageValue.js +31 -0
  578. package/node/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/index.d.ts +1 -0
  579. package/node/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/index.js +17 -0
  580. package/node/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/resizeAdjacentColumns.d.ts +25 -0
  581. package/node/components/DataGrid/plugins/resize/utils/resizeAdjacentColumns/resizeAdjacentColumns.js +25 -0
  582. package/node/components/DataGrid/public.d.ts +1 -1
  583. package/node/components/DataGrid/styles.js +17 -0
  584. package/node/components/DataGrid/tests/resize/resizeHelper.d.ts +37 -0
  585. package/node/components/DataGrid/tests/resize/resizeHelper.js +74 -0
  586. package/node/components/DataGrid/types.d.ts +50 -8
  587. package/node/components/DataGrid/useLogic/useLogic.d.ts +293 -3
  588. package/node/components/DataGrid/useLogic/useLogic.js +12 -3
  589. package/node/components/DataGrid/utils/assertUniquePlugins/assertUniquePlugins.d.ts +5 -0
  590. package/node/components/DataGrid/utils/assertUniquePlugins/assertUniquePlugins.js +16 -0
  591. package/node/components/DataGrid/utils/assertUniquePlugins/index.d.ts +1 -0
  592. package/node/components/DataGrid/utils/assertUniquePlugins/index.js +17 -0
  593. package/node/components/DataGrid/utils/findPlugin/findPlugin.d.ts +5 -0
  594. package/node/components/DataGrid/utils/findPlugin/findPlugin.js +8 -0
  595. package/node/components/DataGrid/utils/findPlugin/index.d.ts +1 -0
  596. package/node/components/DataGrid/utils/findPlugin/index.js +17 -0
  597. package/node/components/DataGrid/utils/getAutoTableId/getAutoTableId.d.ts +5 -0
  598. package/node/components/DataGrid/utils/getAutoTableId/getAutoTableId.js +14 -0
  599. package/node/components/DataGrid/utils/getAutoTableId/index.d.ts +1 -0
  600. package/node/components/DataGrid/utils/getAutoTableId/index.js +17 -0
  601. package/node/components/DataGrid/utils/getColumnsSignature/getColumnsSignature.d.ts +6 -0
  602. package/node/components/DataGrid/utils/getColumnsSignature/getColumnsSignature.js +8 -0
  603. package/node/components/DataGrid/utils/getColumnsSignature/index.d.ts +1 -0
  604. package/node/components/DataGrid/utils/getColumnsSignature/index.js +17 -0
  605. package/node/components/DataGrid/utils/getDataGridCssVars/getDataGridCssVars.d.ts +15 -1
  606. package/node/components/DataGrid/utils/getDataGridCssVars/getDataGridCssVars.js +7 -5
  607. package/node/components/DataGrid/utils/index.d.ts +4 -0
  608. package/node/components/DataGrid/utils/index.js +9 -1
  609. package/node/components/DataGridCollapsibleRow/useLogic/useLogic.d.ts +0 -1
  610. package/node/components/DataGridCollapsibleRow/useLogic/useLogic.js +1 -2
  611. package/node/components/DataGridInfinite/DataGridInfinite.d.ts +1 -1
  612. package/node/components/DataGridInfinite/DataGridInfinite.js +28 -24
  613. package/node/components/DataGridInfinite/Row/Row.js +2 -2
  614. package/node/components/DataGridInfinite/Row/useLogic/useLogic.d.ts +0 -1
  615. package/node/components/DataGridInfinite/Row/useLogic/useLogic.js +1 -2
  616. package/node/components/DataGridInfinite/index.d.ts +1 -0
  617. package/node/components/DataGridInfinite/public.d.ts +1 -0
  618. package/node/components/DataGridInfinite/types.d.ts +1 -1
  619. package/node/components/DataGridInfinite/useLogic/useLogic.d.ts +293 -5
  620. package/node/components/DataGridInfinite/useLogic/useLogic.js +13 -6
  621. package/node/components/DatePicker/useLogic/useLogic.js +18 -13
  622. package/node/components/DialogActions/styles.d.ts +4 -3
  623. package/node/components/Filename/Filename.js +2 -2
  624. package/node/components/Filename/useLogic/useLogic.d.ts +3 -2
  625. package/node/components/Filename/useLogic/useLogic.js +6 -2
  626. package/node/components/FlowButton/styles.d.ts +2 -2
  627. package/node/components/Grid/Grid.d.ts +2 -6
  628. package/node/components/Grid/Grid.js +7 -1
  629. package/node/components/Grid/index.d.ts +1 -0
  630. package/node/components/Grid/styles.d.ts +1 -39
  631. package/node/components/Grid/styles.js +6 -1
  632. package/node/components/Grid/types.d.ts +50 -0
  633. package/node/components/Grid/useLogic/index.d.ts +1 -0
  634. package/node/components/Grid/useLogic/index.js +17 -0
  635. package/node/components/Grid/useLogic/useLogic.d.ts +7 -0
  636. package/node/components/Grid/useLogic/useLogic.js +12 -0
  637. package/node/components/HintPopover/styles.js +5 -0
  638. package/node/components/MenuOrganization/styles.d.ts +2 -2
  639. package/node/components/OverflowTypography/OverflowTypography.js +3 -3
  640. package/node/components/OverflowTypography/hooks/useOverflowed/useOverflowed.d.ts +20 -3
  641. package/node/components/OverflowTypography/hooks/useOverflowed/useOverflowed.js +31 -40
  642. package/node/components/OverflowTypography/useLogic/useLogic.d.ts +3 -2
  643. package/node/components/OverflowTypography/useLogic/useLogic.js +8 -2
  644. package/node/components/ProductSwitcher/Content/styles.d.ts +2 -2
  645. package/node/components/RadioCard/RadioCard.d.ts +6 -0
  646. package/node/components/RadioCard/RadioCard.js +3 -0
  647. package/node/components/Select/OptionMenuItem/OptionMenuItem.d.ts +5 -0
  648. package/node/components/Select/OptionMenuItem/OptionMenuItem.js +35 -0
  649. package/node/components/Select/OptionMenuItem/index.d.ts +1 -0
  650. package/node/components/Select/OptionMenuItem/index.js +17 -0
  651. package/node/components/Select/OptionMenuItem/types.d.ts +31 -0
  652. package/node/components/{ResizingDataGrid/hooks/useComputedColumns/constants.js → Select/OptionMenuItem/types.js} +0 -2
  653. package/node/components/Select/Select.d.ts +9 -2
  654. package/node/components/Select/Select.js +43 -10
  655. package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/GroupMenuItem.d.ts +5 -0
  656. package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/GroupMenuItem.js +24 -0
  657. package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/constants.d.ts +2 -0
  658. package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/constants.js +5 -0
  659. package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/index.d.ts +1 -0
  660. package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/index.js +17 -0
  661. package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/styles.d.ts +39 -0
  662. package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/styles.js +40 -0
  663. package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/types.d.ts +32 -0
  664. package/node/components/Select/cases/groups/SelectGroup/GroupMenuItem/types.js +2 -0
  665. package/node/components/Select/cases/groups/SelectGroup/GroupOptions/GroupOptions.d.ts +2 -0
  666. package/node/components/Select/cases/groups/SelectGroup/GroupOptions/GroupOptions.js +8 -0
  667. package/node/components/Select/cases/groups/SelectGroup/GroupOptions/index.d.ts +1 -0
  668. package/node/components/Select/cases/groups/SelectGroup/GroupOptions/index.js +17 -0
  669. package/node/components/Select/cases/groups/SelectGroup/GroupOptions/types.d.ts +31 -0
  670. package/node/components/Select/cases/groups/SelectGroup/GroupOptions/types.js +2 -0
  671. package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/GroupSubheader.d.ts +5 -0
  672. package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/GroupSubheader.js +11 -0
  673. package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/index.d.ts +1 -0
  674. package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/index.js +17 -0
  675. package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/styles.d.ts +3 -0
  676. package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/styles.js +14 -0
  677. package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/types.d.ts +6 -0
  678. package/node/components/Select/cases/groups/SelectGroup/GroupSubheader/types.js +2 -0
  679. package/node/components/Select/cases/groups/SelectGroup/SelectGroup.d.ts +5 -0
  680. package/node/components/Select/cases/groups/SelectGroup/SelectGroup.js +32 -0
  681. package/node/components/Select/cases/groups/SelectGroup/index.d.ts +1 -0
  682. package/node/components/Select/cases/groups/SelectGroup/index.js +17 -0
  683. package/node/components/{ResizingDataGrid/Sliders → Select/cases/groups/SelectGroup}/styles.d.ts +3 -7
  684. package/node/components/Select/cases/groups/SelectGroup/styles.js +16 -0
  685. package/node/components/Select/cases/groups/SelectGroup/types.d.ts +53 -0
  686. package/node/components/Select/cases/groups/SelectGroup/types.js +2 -0
  687. package/node/components/Select/cases/groups/SelectGroup/useLogic/index.d.ts +1 -0
  688. package/node/components/Select/cases/groups/SelectGroup/useLogic/index.js +17 -0
  689. package/node/components/Select/cases/groups/SelectGroup/useLogic/useLogic.d.ts +9 -0
  690. package/node/components/Select/cases/groups/SelectGroup/useLogic/useLogic.js +14 -0
  691. package/node/components/Select/cases/groups/constants.d.ts +10 -0
  692. package/node/components/Select/cases/groups/constants.js +14 -0
  693. package/node/components/Select/cases/groups/hooks/index.d.ts +1 -0
  694. package/node/components/Select/cases/groups/hooks/index.js +17 -0
  695. package/node/components/Select/cases/groups/hooks/useGroups/hooks/index.d.ts +1 -0
  696. package/node/components/Select/cases/groups/hooks/useGroups/hooks/index.js +17 -0
  697. package/node/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/index.d.ts +1 -0
  698. package/node/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/index.js +17 -0
  699. package/node/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/useCollapsedGroups.d.ts +20 -0
  700. package/node/components/Select/cases/groups/hooks/useGroups/hooks/useCollapsedGroups/useCollapsedGroups.js +27 -0
  701. package/node/components/Select/cases/groups/hooks/useGroups/index.d.ts +1 -0
  702. package/node/components/Select/cases/groups/hooks/useGroups/index.js +17 -0
  703. package/node/components/Select/cases/groups/hooks/useGroups/useGroups.d.ts +55 -0
  704. package/node/components/Select/cases/groups/hooks/useGroups/useGroups.js +69 -0
  705. package/node/components/Select/cases/groups/index.d.ts +3 -0
  706. package/node/components/Select/cases/groups/index.js +18 -0
  707. package/node/components/Select/cases/groups/types.d.ts +21 -0
  708. package/node/components/Select/cases/groups/types.js +2 -0
  709. package/node/components/Select/cases/groups/utils/checkHasBottomDivider/checkHasBottomDivider.d.ts +4 -0
  710. package/node/components/Select/cases/groups/utils/checkHasBottomDivider/checkHasBottomDivider.js +16 -0
  711. package/node/components/Select/cases/groups/utils/checkHasBottomDivider/index.d.ts +1 -0
  712. package/node/components/Select/cases/groups/utils/checkHasBottomDivider/index.js +17 -0
  713. package/node/components/Select/cases/groups/utils/expandTagsList/expandTagsList.d.ts +5 -0
  714. package/node/components/Select/cases/groups/utils/expandTagsList/expandTagsList.js +12 -0
  715. package/node/components/Select/cases/groups/utils/expandTagsList/index.d.ts +1 -0
  716. package/node/components/Select/cases/groups/utils/expandTagsList/index.js +17 -0
  717. package/node/components/Select/cases/groups/utils/findGroupByValue/findGroupByValue.d.ts +5 -0
  718. package/node/components/Select/cases/groups/utils/findGroupByValue/findGroupByValue.js +9 -0
  719. package/node/components/Select/cases/groups/utils/findGroupByValue/index.d.ts +1 -0
  720. package/node/components/Select/cases/groups/utils/findGroupByValue/index.js +17 -0
  721. package/node/components/Select/cases/groups/utils/getGroupSelection/getGroupSelection.d.ts +9 -0
  722. package/node/components/Select/cases/groups/utils/getGroupSelection/getGroupSelection.js +16 -0
  723. package/node/components/Select/cases/groups/utils/getGroupSelection/index.d.ts +1 -0
  724. package/node/components/Select/cases/groups/utils/getGroupSelection/index.js +17 -0
  725. package/node/components/Select/cases/groups/utils/getGroupValue/getGroupValue.d.ts +4 -0
  726. package/node/components/Select/cases/groups/utils/getGroupValue/getGroupValue.js +9 -0
  727. package/node/components/Select/cases/groups/utils/getGroupValue/index.d.ts +1 -0
  728. package/node/components/Select/cases/groups/utils/getGroupValue/index.js +17 -0
  729. package/node/components/Select/cases/groups/utils/getTagsList/getTagsList.d.ts +5 -0
  730. package/node/components/Select/cases/groups/utils/getTagsList/getTagsList.js +19 -0
  731. package/node/components/Select/cases/groups/utils/getTagsList/index.d.ts +1 -0
  732. package/node/components/Select/cases/groups/utils/getTagsList/index.js +17 -0
  733. package/node/components/Select/cases/groups/utils/index.d.ts +7 -0
  734. package/node/components/Select/cases/groups/utils/index.js +23 -0
  735. package/node/components/Select/cases/groups/utils/toggleGroup/index.d.ts +1 -0
  736. package/node/components/Select/cases/groups/utils/toggleGroup/index.js +17 -0
  737. package/node/components/Select/cases/groups/utils/toggleGroup/toggleGroup.d.ts +6 -0
  738. package/node/components/Select/cases/groups/utils/toggleGroup/toggleGroup.js +18 -0
  739. package/node/components/Select/cases/index.d.ts +1 -0
  740. package/node/components/{ResizingDataGrid/Sliders → Select/cases}/index.js +1 -1
  741. package/node/components/Select/constants.d.ts +7 -0
  742. package/node/components/Select/constants.js +9 -1
  743. package/node/components/Select/index.d.ts +1 -1
  744. package/node/components/Select/public.d.ts +1 -1
  745. package/node/components/Select/styles.d.ts +10 -1
  746. package/node/components/Select/styles.js +30 -3
  747. package/node/components/Select/types.d.ts +81 -2
  748. package/node/components/Select/useLogic/hooks/index.d.ts +1 -0
  749. package/node/components/Select/useLogic/hooks/index.js +17 -0
  750. package/node/components/Select/useLogic/hooks/useOptions/index.d.ts +1 -0
  751. package/node/components/Select/useLogic/hooks/useOptions/index.js +17 -0
  752. package/node/components/Select/useLogic/hooks/useOptions/useOptions.d.ts +36 -0
  753. package/node/components/Select/useLogic/hooks/useOptions/useOptions.js +42 -0
  754. package/node/components/Select/useLogic/useLogic.d.ts +23 -4
  755. package/node/components/Select/useLogic/useLogic.js +119 -35
  756. package/node/components/Select/utils/checkIsEqualSelectValues/checkIsEqualSelectValues.d.ts +5 -0
  757. package/node/components/Select/utils/checkIsEqualSelectValues/checkIsEqualSelectValues.js +18 -0
  758. package/node/components/Select/utils/checkIsEqualSelectValues/index.d.ts +1 -0
  759. package/node/components/Select/utils/checkIsEqualSelectValues/index.js +17 -0
  760. package/node/components/Select/utils/checkIsSelectOptionsGroup/checkIsSelectOptionsGroup.d.ts +5 -0
  761. package/node/components/Select/utils/checkIsSelectOptionsGroup/checkIsSelectOptionsGroup.js +12 -0
  762. package/node/components/Select/utils/checkIsSelectOptionsGroup/index.d.ts +1 -0
  763. package/node/components/Select/utils/checkIsSelectOptionsGroup/index.js +17 -0
  764. package/node/components/Select/utils/getSelectOptionsList/getSelectOptionsList.d.ts +5 -0
  765. package/node/components/Select/utils/getSelectOptionsList/getSelectOptionsList.js +9 -0
  766. package/node/components/Select/utils/getSelectOptionsList/index.d.ts +1 -0
  767. package/node/components/Select/utils/getSelectOptionsList/index.js +17 -0
  768. package/node/components/Select/utils/index.d.ts +3 -0
  769. package/node/components/Select/utils/index.js +19 -0
  770. package/node/components/SelectionCard/DefaultIndicator/DefaultIndicator.d.ts +5 -0
  771. package/node/components/SelectionCard/DefaultIndicator/DefaultIndicator.js +18 -0
  772. package/node/components/SelectionCard/DefaultIndicator/index.d.ts +1 -0
  773. package/node/components/SelectionCard/DefaultIndicator/index.js +17 -0
  774. package/node/components/SelectionCard/DefaultIndicator/types.d.ts +7 -0
  775. package/node/components/SelectionCard/DefaultIndicator/types.js +2 -0
  776. package/node/components/SelectionCard/SelectionCard.d.ts +5 -0
  777. package/node/components/SelectionCard/SelectionCard.js +52 -0
  778. package/node/components/SelectionCard/cases/grouped/index.d.ts +1 -0
  779. package/node/components/SelectionCard/cases/grouped/index.js +5 -0
  780. package/node/components/SelectionCard/cases/grouped/styles.d.ts +10 -0
  781. package/node/components/SelectionCard/cases/grouped/styles.js +131 -0
  782. package/node/components/SelectionCard/cases/index.d.ts +2 -0
  783. package/node/components/SelectionCard/cases/index.js +18 -0
  784. package/node/components/SelectionCard/cases/standalone/index.d.ts +1 -0
  785. package/node/components/SelectionCard/cases/standalone/index.js +5 -0
  786. package/node/components/SelectionCard/cases/standalone/styles.d.ts +10 -0
  787. package/node/components/SelectionCard/cases/standalone/styles.js +80 -0
  788. package/node/components/SelectionCard/constants.d.ts +15 -0
  789. package/node/components/SelectionCard/constants.js +19 -0
  790. package/node/components/SelectionCard/index.d.ts +2 -0
  791. package/node/components/SelectionCard/index.js +5 -0
  792. package/node/components/SelectionCard/public.d.ts +2 -0
  793. package/node/components/SelectionCard/public.js +5 -0
  794. package/node/components/SelectionCard/styles.d.ts +39 -0
  795. package/node/components/SelectionCard/styles.js +84 -0
  796. package/node/components/SelectionCard/types.d.ts +31 -0
  797. package/node/components/SelectionCard/types.js +2 -0
  798. package/node/components/SelectionCard/useLogic/index.d.ts +1 -0
  799. package/node/components/SelectionCard/useLogic/index.js +17 -0
  800. package/node/components/SelectionCard/useLogic/useLogic.d.ts +18 -0
  801. package/node/components/SelectionCard/useLogic/useLogic.js +52 -0
  802. package/node/components/SelectionCardGroup/SelectionCardGroup.d.ts +5 -0
  803. package/node/components/SelectionCardGroup/SelectionCardGroup.js +23 -0
  804. package/node/components/SelectionCardGroup/SelectionCardGroupContext/SelectionCardGroupContext.d.ts +21 -0
  805. package/node/components/SelectionCardGroup/SelectionCardGroupContext/SelectionCardGroupContext.js +17 -0
  806. package/node/components/SelectionCardGroup/SelectionCardGroupContext/index.d.ts +1 -0
  807. package/node/components/SelectionCardGroup/SelectionCardGroupContext/index.js +17 -0
  808. package/node/components/SelectionCardGroup/cases/grouped/constants.d.ts +4 -0
  809. package/node/components/SelectionCardGroup/cases/grouped/constants.js +7 -0
  810. package/node/components/SelectionCardGroup/cases/grouped/index.d.ts +1 -0
  811. package/node/components/SelectionCardGroup/cases/grouped/index.js +17 -0
  812. package/node/components/SelectionCardGroup/cases/index.d.ts +4 -0
  813. package/node/components/SelectionCardGroup/cases/index.js +20 -0
  814. package/node/components/SelectionCardGroup/cases/multiple/constants.d.ts +5 -0
  815. package/node/components/SelectionCardGroup/cases/multiple/constants.js +12 -0
  816. package/node/components/SelectionCardGroup/cases/multiple/index.d.ts +2 -0
  817. package/node/components/SelectionCardGroup/cases/multiple/index.js +18 -0
  818. package/node/components/SelectionCardGroup/cases/multiple/utils/index.d.ts +1 -0
  819. package/node/components/SelectionCardGroup/cases/multiple/utils/index.js +17 -0
  820. package/node/components/SelectionCardGroup/cases/multiple/utils/toggleValue/index.d.ts +1 -0
  821. package/node/components/SelectionCardGroup/cases/multiple/utils/toggleValue/index.js +17 -0
  822. package/node/components/SelectionCardGroup/cases/multiple/utils/toggleValue/toggleValue.d.ts +4 -0
  823. package/node/components/SelectionCardGroup/cases/multiple/utils/toggleValue/toggleValue.js +13 -0
  824. package/node/components/SelectionCardGroup/cases/single/constants.d.ts +5 -0
  825. package/node/components/SelectionCardGroup/cases/single/constants.js +12 -0
  826. package/node/components/SelectionCardGroup/cases/single/index.d.ts +2 -0
  827. package/node/components/SelectionCardGroup/cases/single/index.js +18 -0
  828. package/node/components/SelectionCardGroup/cases/single/utils/index.d.ts +1 -0
  829. package/node/components/SelectionCardGroup/cases/single/utils/index.js +17 -0
  830. package/node/components/SelectionCardGroup/cases/single/utils/selectValue/index.d.ts +1 -0
  831. package/node/components/SelectionCardGroup/cases/single/utils/selectValue/index.js +17 -0
  832. package/node/components/SelectionCardGroup/cases/single/utils/selectValue/selectValue.d.ts +5 -0
  833. package/node/components/SelectionCardGroup/cases/single/utils/selectValue/selectValue.js +14 -0
  834. package/node/components/SelectionCardGroup/cases/standalone/constants.d.ts +2 -0
  835. package/node/components/SelectionCardGroup/cases/standalone/constants.js +5 -0
  836. package/node/components/SelectionCardGroup/cases/standalone/index.d.ts +3 -0
  837. package/node/components/SelectionCardGroup/cases/standalone/index.js +21 -0
  838. package/node/components/SelectionCardGroup/cases/standalone/styles.d.ts +7 -0
  839. package/node/components/SelectionCardGroup/cases/standalone/styles.js +13 -0
  840. package/node/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/getGridColumns.d.ts +5 -0
  841. package/node/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/getGridColumns.js +14 -0
  842. package/node/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/index.d.ts +1 -0
  843. package/node/components/SelectionCardGroup/cases/standalone/utils/getGridColumns/index.js +17 -0
  844. package/node/components/SelectionCardGroup/cases/standalone/utils/index.d.ts +1 -0
  845. package/node/components/SelectionCardGroup/cases/standalone/utils/index.js +17 -0
  846. package/node/components/SelectionCardGroup/constants.d.ts +3 -0
  847. package/node/components/SelectionCardGroup/constants.js +7 -0
  848. package/node/components/SelectionCardGroup/index.d.ts +3 -0
  849. package/node/components/SelectionCardGroup/index.js +7 -0
  850. package/node/components/SelectionCardGroup/public.d.ts +2 -0
  851. package/node/components/SelectionCardGroup/public.js +5 -0
  852. package/node/components/SelectionCardGroup/styles.d.ts +15 -0
  853. package/node/components/SelectionCardGroup/styles.js +20 -0
  854. package/node/components/SelectionCardGroup/types.d.ts +120 -0
  855. package/node/components/SelectionCardGroup/types.js +2 -0
  856. package/node/components/SelectionCardGroup/useLogic/index.d.ts +1 -0
  857. package/node/components/SelectionCardGroup/useLogic/index.js +17 -0
  858. package/node/components/SelectionCardGroup/useLogic/useLogic.d.ts +17 -0
  859. package/node/components/SelectionCardGroup/useLogic/useLogic.js +63 -0
  860. package/node/components/SelectionCardGroup/useLogic/utils/createSelectHandler/createSelectHandler.d.ts +5 -0
  861. package/node/components/SelectionCardGroup/useLogic/utils/createSelectHandler/createSelectHandler.js +14 -0
  862. package/node/components/SelectionCardGroup/useLogic/utils/createSelectHandler/index.d.ts +1 -0
  863. package/node/components/SelectionCardGroup/useLogic/utils/createSelectHandler/index.js +17 -0
  864. package/node/components/SelectionCardGroup/useLogic/utils/index.d.ts +1 -0
  865. package/node/components/SelectionCardGroup/useLogic/utils/index.js +17 -0
  866. package/node/components/SelectionCardGroup/utils/getSelectedValuesList/getSelectedValuesList.d.ts +5 -0
  867. package/node/components/SelectionCardGroup/utils/getSelectedValuesList/getSelectedValuesList.js +16 -0
  868. package/node/components/SelectionCardGroup/utils/getSelectedValuesList/index.d.ts +1 -0
  869. package/node/components/SelectionCardGroup/utils/getSelectedValuesList/index.js +17 -0
  870. package/node/components/SelectionCardGroup/utils/index.d.ts +1 -0
  871. package/node/components/SelectionCardGroup/utils/index.js +17 -0
  872. package/node/components/Status/Status.d.ts +2 -0
  873. package/node/components/Status/Status.js +41 -0
  874. package/node/components/Status/constants.d.ts +17 -0
  875. package/node/components/Status/constants.js +21 -0
  876. package/node/components/Status/index.d.ts +3 -0
  877. package/node/components/Status/index.js +7 -0
  878. package/node/components/Status/public.d.ts +3 -0
  879. package/node/components/Status/public.js +7 -0
  880. package/node/components/Status/styles.d.ts +24 -0
  881. package/node/components/Status/styles.js +123 -0
  882. package/node/components/Status/types.d.ts +17 -0
  883. package/node/components/Status/types.js +2 -0
  884. package/node/components/Status/useLogic/index.d.ts +1 -0
  885. package/node/components/Status/useLogic/index.js +17 -0
  886. package/node/components/Status/useLogic/useLogic.d.ts +11 -0
  887. package/node/components/Status/useLogic/useLogic.js +37 -0
  888. package/node/components/Tag/styles.d.ts +2 -2
  889. package/node/components/TagBadge/styles.js +21 -3
  890. package/node/components/index.d.ts +1 -1
  891. package/node/components/utils/setRef/index.d.ts +1 -0
  892. package/node/components/utils/setRef/index.js +17 -0
  893. package/node/components/utils/setRef/setRef.d.ts +5 -0
  894. package/node/components/utils/setRef/setRef.js +16 -0
  895. package/node/hook-form/EditableText/EditingForm/EditingForm.js +1 -1
  896. package/node/hook-form/FormFiltersModalGroup/styles.d.ts +2 -2
  897. package/node/hook-form/FormQuickFilters/FormQuickFilters.js +2 -14
  898. package/node/hook-form/FormQuickFilters/useLogic/useLogic.d.ts +7 -4
  899. package/node/hook-form/FormQuickFilters/useLogic/useLogic.js +12 -7
  900. package/node/hook-form/FormSelect/FormSelect.d.ts +5 -2
  901. package/node/hook-form/FormSelectionCardGroup/FormSelectionCardGroup.d.ts +7 -0
  902. package/node/hook-form/FormSelectionCardGroup/FormSelectionCardGroup.js +22 -0
  903. package/node/hook-form/FormSelectionCardGroup/index.d.ts +1 -0
  904. package/node/hook-form/FormSelectionCardGroup/index.js +17 -0
  905. package/node/hook-form/FormSelectionCardGroup/public.d.ts +1 -0
  906. package/node/hook-form/FormSelectionCardGroup/public.js +17 -0
  907. package/package.json +1 -17
  908. package/components/ResizingDataGrid/ResizingDataGrid.d.ts +0 -10
  909. package/components/ResizingDataGrid/ResizingDataGrid.js +0 -15
  910. package/components/ResizingDataGrid/Sliders/Sliders.d.ts +0 -6
  911. package/components/ResizingDataGrid/Sliders/Sliders.js +0 -9
  912. package/components/ResizingDataGrid/Sliders/index.d.ts +0 -1
  913. package/components/ResizingDataGrid/Sliders/index.js +0 -1
  914. package/components/ResizingDataGrid/Sliders/styles.js +0 -151
  915. package/components/ResizingDataGrid/Sliders/useLogic/useLogic.d.ts +0 -13
  916. package/components/ResizingDataGrid/Sliders/useLogic/useLogic.js +0 -36
  917. package/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/computePositions.d.ts +0 -7
  918. package/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/computePositions.js +0 -36
  919. package/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/index.d.ts +0 -1
  920. package/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/index.js +0 -1
  921. package/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/createInitialSliders.d.ts +0 -1
  922. package/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/createInitialSliders.js +0 -10
  923. package/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/index.d.ts +0 -1
  924. package/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/index.js +0 -1
  925. package/components/ResizingDataGrid/hooks/useComputedColumns/constants.d.ts +0 -1
  926. package/components/ResizingDataGrid/hooks/useComputedColumns/constants.js +0 -1
  927. package/components/ResizingDataGrid/hooks/useComputedColumns/index.d.ts +0 -1
  928. package/components/ResizingDataGrid/hooks/useComputedColumns/index.js +0 -1
  929. package/components/ResizingDataGrid/hooks/useComputedColumns/useComputedColumns.d.ts +0 -12
  930. package/components/ResizingDataGrid/hooks/useComputedColumns/useComputedColumns.js +0 -30
  931. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/createComputedColumns.d.ts +0 -11
  932. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/createComputedColumns.js +0 -24
  933. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/index.d.ts +0 -1
  934. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/index.js +0 -1
  935. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/createInitialColumnsWidths.d.ts +0 -7
  936. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/createInitialColumnsWidths.js +0 -24
  937. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/index.d.ts +0 -1
  938. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/index.js +0 -1
  939. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/createStorageKey.d.ts +0 -7
  940. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/createStorageKey.js +0 -6
  941. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/index.d.ts +0 -1
  942. package/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/index.js +0 -1
  943. package/components/ResizingDataGrid/index.d.ts +0 -4
  944. package/components/ResizingDataGrid/index.js +0 -3
  945. package/components/ResizingDataGrid/public.d.ts +0 -4
  946. package/components/ResizingDataGrid/public.js +0 -3
  947. package/components/ResizingDataGrid/types.d.ts +0 -43
  948. package/components/ResizingDataGridInfinite/ResizingDataGridInfinite.d.ts +0 -10
  949. package/components/ResizingDataGridInfinite/ResizingDataGridInfinite.js +0 -14
  950. package/components/ResizingDataGridInfinite/index.d.ts +0 -2
  951. package/components/ResizingDataGridInfinite/index.js +0 -1
  952. package/components/ResizingDataGridInfinite/public.d.ts +0 -2
  953. package/components/ResizingDataGridInfinite/public.js +0 -1
  954. package/components/ResizingDataGridInfinite/types.d.ts +0 -7
  955. package/node/components/ResizingDataGrid/ResizingDataGrid.d.ts +0 -10
  956. package/node/components/ResizingDataGrid/ResizingDataGrid.js +0 -19
  957. package/node/components/ResizingDataGrid/Sliders/Sliders.d.ts +0 -6
  958. package/node/components/ResizingDataGrid/Sliders/Sliders.js +0 -13
  959. package/node/components/ResizingDataGrid/Sliders/index.d.ts +0 -1
  960. package/node/components/ResizingDataGrid/Sliders/styles.js +0 -154
  961. package/node/components/ResizingDataGrid/Sliders/useLogic/useLogic.d.ts +0 -13
  962. package/node/components/ResizingDataGrid/Sliders/useLogic/useLogic.js +0 -40
  963. package/node/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/computePositions.d.ts +0 -7
  964. package/node/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/computePositions.js +0 -40
  965. package/node/components/ResizingDataGrid/Sliders/useLogic/utils/computePositions/index.d.ts +0 -1
  966. package/node/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/createInitialSliders.d.ts +0 -1
  967. package/node/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/createInitialSliders.js +0 -14
  968. package/node/components/ResizingDataGrid/Sliders/useLogic/utils/createInitialSliders/index.d.ts +0 -1
  969. package/node/components/ResizingDataGrid/hooks/useComputedColumns/constants.d.ts +0 -1
  970. package/node/components/ResizingDataGrid/hooks/useComputedColumns/index.d.ts +0 -1
  971. package/node/components/ResizingDataGrid/hooks/useComputedColumns/useComputedColumns.d.ts +0 -12
  972. package/node/components/ResizingDataGrid/hooks/useComputedColumns/useComputedColumns.js +0 -34
  973. package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/createComputedColumns.d.ts +0 -11
  974. package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/createComputedColumns.js +0 -28
  975. package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/index.d.ts +0 -1
  976. package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createComputedColumns/index.js +0 -17
  977. package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/createInitialColumnsWidths.d.ts +0 -7
  978. package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/createInitialColumnsWidths.js +0 -28
  979. package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/index.d.ts +0 -1
  980. package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createInitialColumnsWidths/index.js +0 -17
  981. package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/createStorageKey.d.ts +0 -7
  982. package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/createStorageKey.js +0 -13
  983. package/node/components/ResizingDataGrid/hooks/useComputedColumns/utils/createStorageKey/index.d.ts +0 -1
  984. package/node/components/ResizingDataGrid/index.d.ts +0 -4
  985. package/node/components/ResizingDataGrid/index.js +0 -9
  986. package/node/components/ResizingDataGrid/public.d.ts +0 -4
  987. package/node/components/ResizingDataGrid/public.js +0 -9
  988. package/node/components/ResizingDataGrid/types.d.ts +0 -43
  989. package/node/components/ResizingDataGridInfinite/ResizingDataGridInfinite.d.ts +0 -10
  990. package/node/components/ResizingDataGridInfinite/ResizingDataGridInfinite.js +0 -18
  991. package/node/components/ResizingDataGridInfinite/index.d.ts +0 -2
  992. package/node/components/ResizingDataGridInfinite/index.js +0 -5
  993. package/node/components/ResizingDataGridInfinite/public.d.ts +0 -2
  994. package/node/components/ResizingDataGridInfinite/public.js +0 -5
  995. package/node/components/ResizingDataGridInfinite/types.d.ts +0 -7
  996. /package/components/{ResizingDataGrid/Sliders → DataGrid/Head}/useLogic/index.d.ts +0 -0
  997. /package/components/{ResizingDataGrid/Sliders → DataGrid/Head}/useLogic/index.js +0 -0
  998. /package/components/{ResizingDataGrid → DataGrid/plugins/resize}/types.js +0 -0
  999. /package/components/{ResizingDataGridInfinite → Grid}/types.js +0 -0
  1000. /package/{node/components/ResizingDataGrid/Sliders → components/Grid}/useLogic/index.d.ts +0 -0
  1001. /package/node/components/{ResizingDataGrid/Sliders → DataGrid/Head}/useLogic/index.js +0 -0
  1002. /package/node/components/{ResizingDataGrid → DataGrid/plugins/resize}/types.js +0 -0
  1003. /package/node/components/{ResizingDataGridInfinite → Grid}/types.js +0 -0
@@ -0,0 +1,33 @@
1
+ import { useRef, useState } from 'react';
2
+ import { useUpdateEffect } from '../../useUpdateEffect';
3
+ export const useLogic = ({ status, label }) => {
4
+ const displayedRef = useRef({ status, label });
5
+ const [phase, setPhase] = useState('idle');
6
+ useUpdateEffect(() => {
7
+ setPhase('exit');
8
+ }, [status, label]);
9
+ const handleAnimationEnd = (event) => {
10
+ if (event.target !== event.currentTarget) {
11
+ return;
12
+ }
13
+ if (phase === 'exit') {
14
+ displayedRef.current = { status, label };
15
+ setPhase('enter');
16
+ return;
17
+ }
18
+ if (phase === 'enter') {
19
+ setPhase('idle');
20
+ }
21
+ };
22
+ const isChangePending = (status !== displayedRef.current.status ||
23
+ label !== displayedRef.current.label) &&
24
+ phase === 'idle';
25
+ const displayStatus = phase === 'exit' || isChangePending ? displayedRef.current.status : status;
26
+ const displayLabel = phase === 'exit' || isChangePending ? displayedRef.current.label : label;
27
+ return {
28
+ displayStatus,
29
+ displayLabel,
30
+ phase,
31
+ handleAnimationEnd,
32
+ };
33
+ };
@@ -15,9 +15,9 @@ export declare const getBadgeColor: ({ tagColor }: {
15
15
  tagColor?: TagColor | undefined;
16
16
  }) => BadgeColor;
17
17
  export declare const getDeleteIconColor: ({ variant, color, theme, }: Omit<StyledTagThemeProps, 'disabled' | 'size'>) => string;
18
- export declare const LabelContainer: import("../styled").StyledComponent<Omit<import("../Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
18
+ export declare const LabelContainer: import("../styled").StyledComponent<Omit<import("../Grid").GridProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
19
19
  theme?: import("@emotion/react").Theme | undefined;
20
- } & import("../Grid/styles").StyledGridProps & {
20
+ } & {
21
21
  $variant: TagVariant;
22
22
  }, {}, {}>;
23
23
  export declare const Label: import("../styled").StyledComponent<{
@@ -1,5 +1,6 @@
1
1
  import { Badge } from '../Badge';
2
2
  import { styled } from '../styled/index';
3
+ import { tagClassnames } from '../Tag/constants';
3
4
  const getBadgeBgColor = ({ color, theme, variant, }) => {
4
5
  if (variant === 'contained' || variant === 'light') {
5
6
  return 'transparent';
@@ -48,11 +49,11 @@ export const StyledBadge = styled(Badge, {
48
49
  transform: none;
49
50
 
50
51
  min-width: ${({ $variant }) => ($variant === 'text' ? '24px' : 'unset')};
51
-
52
- /* Выравнивание текста TagBadge и Tag */
53
- margin-top: ${({ $variant }) => ($variant === 'text' ? 0 : '0.15em')};
54
52
  padding: ${({ theme, $variant }) => $variant === 'text' ? theme.spacing(0, 1) : 0};
55
53
 
54
+ font-size: ${({ theme }) => theme.typography.body1.fontSize};
55
+ font-weight: ${({ theme }) => theme.typography.body1.fontWeight};
56
+ line-height: ${({ theme }) => theme.typography.body1.lineHeight};
56
57
  color: ${({ theme, $color, $variant, $isChecked, $isDisabled }) => getBadgeColor({
57
58
  theme,
58
59
  color: $color,
@@ -62,5 +63,22 @@ export const StyledBadge = styled(Badge, {
62
63
  })};
63
64
 
64
65
  background-color: ${({ theme, $color, $variant }) => getBadgeBgColor({ theme, color: $color, variant: $variant })};
66
+
67
+ .${tagClassnames.variantText} & {
68
+ font-size: ${({ theme }) => theme.typography.pointer.fontSize};
69
+ font-weight: ${({ theme }) => theme.typography.pointer.fontWeight};
70
+ line-height: ${({ theme }) => theme.typography.pointer.lineHeight};
71
+ }
72
+
73
+ /* Мобильные размеры токенов в теме не типизированы, берём токены с тем же статичным размером */
74
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
75
+ /* mobWeb/body1 - 16px */
76
+ font-size: ${({ theme }) => theme.typography.subtitle1.fontSize};
77
+
78
+ .${tagClassnames.variantText} & {
79
+ /* mobWeb/pointer - 14px */
80
+ font-size: ${({ theme }) => theme.typography.body1.fontSize};
81
+ }
82
+ }
65
83
  }
66
84
  `;
@@ -131,7 +131,7 @@ export * from './MenuItem';
131
131
  export * from './MenuList';
132
132
  export { MinimalisticPagination, type MinimalisticPaginationProps, } from './MinimalisticPagination';
133
133
  export * from './NavMenu';
134
- export { type DataGridColumns, type DataGridRenderLink, type DataGridRenderLinkParams, type DataGridRow, type DataGridRowDisabled, type DataGridRowOptions, type DataGridSort, DataGrid, type DataGridProps, } from './DataGrid';
134
+ export { type DataGridColumns, type DataGridRenderLink, type DataGridRenderLinkParams, type DataGridRow, type DataGridRowDisabled, type DataGridRowOptions, type DataGridSort, DataGrid, type DataGridProps, type DataGridPlugin, type DataGridHeaderProps, } from './DataGrid';
135
135
  export { DataGridInfinite, type DataGridInfiniteProps, } from './DataGridInfinite';
136
136
  export { DataGridColumnHintIcon, type DataGridColumnHintIconProps, } from './DataGridColumnHintIcon';
137
137
  export { type DateItemProps, type DateRangePickerProps, type DateRangePickerValue, DateRangePicker, } from './DateRangePicker';
@@ -0,0 +1 @@
1
+ export * from './setRef';
@@ -0,0 +1 @@
1
+ export * from './setRef';
@@ -0,0 +1,5 @@
1
+ import { type Ref } from 'react';
2
+ /**
3
+ * Записывает значение в ref любого вида: callback или object
4
+ */
5
+ export declare const setRef: <TValue>(ref: Ref<TValue> | undefined, value: TValue | null) => void;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Записывает значение в ref любого вида: callback или object
3
+ */
4
+ export const setRef = (ref, value) => {
5
+ if (typeof ref === 'function') {
6
+ ref(value);
7
+ return;
8
+ }
9
+ if (ref) {
10
+ ref.current = value;
11
+ }
12
+ };
@@ -19,5 +19,5 @@ export const EditingForm = (props) => {
19
19
  fullWidth: true,
20
20
  autoFocus: true,
21
21
  };
22
- return (_jsx(Wrapper, { children: _jsxs(Form, { ...formProps, children: [_jsx(Description, { children: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u043E\u0432\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u00AB\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C\u00BB" }), _jsxs(FieldRow, { children: [_jsx(FieldContainer, { children: componentField(formFieldProps) }), !isMobile && (_jsxs(Actions, { children: [_jsx(FormIconSubmitButton, { variant: "outlined", size: "large", color: "success", "aria-label": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C", children: _jsx(CheckOutlineMd, {}) }), _jsx(IconButton, { variant: "outlined", size: "large", color: "grey", "aria-label": "\u041E\u0442\u043C\u0435\u043D\u0430", onClick: onClose, children: _jsx(CrossOutlineMd, {}) })] }))] }), isMobile && (_jsx(FormFooter, { children: _jsx(FormSubmitButton, { children: "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C" }) }))] }) }));
22
+ return (_jsx(Wrapper, { children: _jsxs(Form, { ...formProps, children: [_jsx(Description, { children: "\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043D\u043E\u0432\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0438 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0435 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435" }), _jsxs(FieldRow, { children: [_jsx(FieldContainer, { children: componentField(formFieldProps) }), !isMobile && (_jsxs(Actions, { children: [_jsx(FormIconSubmitButton, { variant: "outlined", size: "large", color: "success", "aria-label": "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C", children: _jsx(CheckOutlineMd, {}) }), _jsx(IconButton, { variant: "outlined", size: "large", color: "grey", "aria-label": "\u041E\u0442\u043C\u0435\u043D\u0430", onClick: onClose, children: _jsx(CrossOutlineMd, {}) })] }))] }), isMobile && (_jsx(FormFooter, { children: _jsx(FormSubmitButton, { children: "\u0421\u043E\u0445\u0440\u0430\u043D\u0438\u0442\u044C" }) }))] }) }));
23
23
  };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- export declare const Container: import("../../components/styled").StyledComponent<Omit<import("../../components/Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
2
+ export declare const Container: import("../../components/styled").StyledComponent<Omit<import("../../components/Grid").GridProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- } & import("../../components/Grid/styles").StyledGridProps, {}, {}>;
4
+ }, {}, {}>;
@@ -1,8 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { Checkbox } from '../../components/Checkbox';
3
2
  import { Chip, ChipProvider } from '../../components/Chip';
4
- import { ListItemIcon } from '../../components/ListItemIcon';
5
- import { MenuItem } from '../../components/MenuItem';
6
3
  import { FormSelect } from '../FormSelect';
7
4
  import { FORM_FILTERS_QUICK_FILTERS_ID, FORM_QUICK_FILTERS_ALL_CHIP_KEY, FORM_QUICK_FILTERS_ALL_VALUE, } from './constants';
8
5
  import { MobileWrapper, Wrapper } from './styles';
@@ -32,15 +29,6 @@ import { useLogic } from './useLogic/useLogic';
32
29
  * />
33
30
  */
34
31
  export const FormQuickFilters = (props) => {
35
- const { field, filterOptions, checkIsAllSelected, handleChipChange, isSelected, label, allLabel, allCounter, multiple, maxCount, name, placeholder, control, getOptionLabel, getCounterLabel, } = useLogic(props);
36
- const renderMultipleOptions = () => {
37
- return filterOptions.map((option) => {
38
- const checked = control._formValues[name]?.includes(option.value);
39
- return (_jsxs(MenuItem, { value: option.value, children: [_jsx(ListItemIcon, { children: _jsx(Checkbox, { checked: checked }) }), option.label, getCounterLabel(option)] }, option.value));
40
- });
41
- };
42
- const renderSingleOptions = () => {
43
- return filterOptions.map((option) => (_jsxs(MenuItem, { value: option.value, children: [option.label, getCounterLabel(option)] }, option.value)));
44
- };
45
- return (_jsxs(_Fragment, { children: [_jsx(Wrapper, { children: _jsxs(ChipProvider, { mode: multiple ? 'multiple' : 'single', name: name, children: [_jsx(Chip, { label: allLabel, isSelected: checkIsAllSelected(), onChange: () => handleChipChange(FORM_QUICK_FILTERS_ALL_VALUE), counter: allCounter, size: "medium", maxCount: maxCount, value: FORM_QUICK_FILTERS_ALL_VALUE }, FORM_QUICK_FILTERS_ALL_CHIP_KEY), filterOptions.map((option) => (_jsx(Chip, { label: option.label, isSelected: isSelected(option.value), onChange: () => handleChipChange(option.value), status: option.status, counter: option.counter, size: "medium", maxCount: maxCount, value: String(option.value) }, option.value)))] }) }), _jsx(MobileWrapper, { children: _jsx(FormSelect, { control: control, name: name, inputProps: { id: FORM_FILTERS_QUICK_FILTERS_ID }, label: label, getOptionLabel: getOptionLabel, multiple: multiple, onChange: field.onChange, onBlur: field.onBlur, fullWidth: true, placeholder: placeholder, children: multiple ? renderMultipleOptions() : renderSingleOptions() }) })] }));
32
+ const { field, filterOptions, checkIsAllSelected, handleChipChange, isSelected, label, allLabel, allCounter, multiple, maxCount, name, placeholder, control, selectOptions, getOptionLabel, renderOption, handleSelectChange, } = useLogic(props);
33
+ return (_jsxs(_Fragment, { children: [_jsx(Wrapper, { children: _jsxs(ChipProvider, { mode: multiple ? 'multiple' : 'single', name: name, children: [_jsx(Chip, { label: allLabel, isSelected: checkIsAllSelected(), onChange: () => handleChipChange(FORM_QUICK_FILTERS_ALL_VALUE), counter: allCounter, size: "medium", maxCount: maxCount, value: FORM_QUICK_FILTERS_ALL_VALUE }, FORM_QUICK_FILTERS_ALL_CHIP_KEY), filterOptions.map((option) => (_jsx(Chip, { label: option.label, isSelected: isSelected(option.value), onChange: () => handleChipChange(option.value), status: option.status, counter: option.counter, size: "medium", maxCount: maxCount, value: String(option.value) }, option.value)))] }) }), _jsx(MobileWrapper, { children: _jsx(FormSelect, { control: control, name: name, inputProps: { id: FORM_FILTERS_QUICK_FILTERS_ID }, label: label, options: selectOptions, getOptionLabel: getOptionLabel, renderOption: renderOption, multiple: multiple, onChange: handleSelectChange, onBlur: field.onBlur, fullWidth: true, placeholder: placeholder }) })] }));
46
34
  };
@@ -1,7 +1,8 @@
1
- import type { FormQuickFiltersProps, QuickFilterOption, QuickFilterValue } from '../types';
1
+ import type { SelectChangeEvent } from '@mui/material/Select';
2
+ import type { FormQuickFiltersProps, QuickFilterValue } from '../types';
2
3
  export declare const useLogic: <TFieldValues extends object>({ control, name, label, options, allLabel, allCounter, multiple, maxCount, placeholder, }: FormQuickFiltersProps<TFieldValues>) => {
3
4
  field: import("react-hook-form").ControllerRenderProps<TFieldValues, import("react-hook-form").Path<TFieldValues>>;
4
- filterOptions: QuickFilterOption[];
5
+ filterOptions: import("../types").QuickFilterOption[];
5
6
  checkIsAllSelected: () => boolean;
6
7
  handleChipChange: (optionValue: QuickFilterValue) => void;
7
8
  isSelected: (optionValue: QuickFilterValue) => boolean;
@@ -13,6 +14,8 @@ export declare const useLogic: <TFieldValues extends object>({ control, name, la
13
14
  name: import("react-hook-form").Path<TFieldValues>;
14
15
  placeholder: string | undefined;
15
16
  control: import("react-hook-form").Control<TFieldValues>;
16
- getOptionLabel: (value: string | number) => string | number;
17
- getCounterLabel: (option: QuickFilterOption) => string;
17
+ selectOptions: QuickFilterValue[];
18
+ getOptionLabel: (value: QuickFilterValue) => string;
19
+ renderOption: (value: QuickFilterValue) => string;
20
+ handleSelectChange: (event: SelectChangeEvent<unknown>) => void;
18
21
  };
@@ -32,12 +32,15 @@ export const useLogic = ({ control, name, label, options, allLabel = FORM_QUICK_
32
32
  }
33
33
  return field.value === optionValue;
34
34
  };
35
- const getOptionLabel = (value) => {
36
- const optionLabel = filterOptions.find((option) => option.value === value);
37
- return optionLabel?.label || value;
38
- };
39
- const getCounterLabel = (option) => {
40
- return option.counter ? ` (${option.counter})` : '';
35
+ const handleSelectChange = (event) => field.onChange(event.target.value ?? FORM_QUICK_FILTERS_ALL_VALUE);
36
+ const selectOptions = filterOptions.map((option) => option.value);
37
+ const findOption = (value) => filterOptions.find((option) => option.value === value);
38
+ const getOptionLabel = (value) => findOption(value)?.label || String(value);
39
+ const renderOption = (value) => {
40
+ const counter = findOption(value)?.counter;
41
+ return counter
42
+ ? `${getOptionLabel(value)} (${counter})`
43
+ : getOptionLabel(value);
41
44
  };
42
45
  return {
43
46
  field,
@@ -53,7 +56,9 @@ export const useLogic = ({ control, name, label, options, allLabel = FORM_QUICK_
53
56
  name,
54
57
  placeholder,
55
58
  control,
59
+ selectOptions,
56
60
  getOptionLabel,
57
- getCounterLabel,
61
+ renderOption,
62
+ handleSelectChange,
58
63
  };
59
64
  };
@@ -1,7 +1,10 @@
1
1
  import { type SelectProps } from '../../components/Select';
2
2
  import { type WithFormFieldProps } from '../types';
3
- export type FormSelectProps<TFieldValues extends object> = WithFormFieldProps<SelectProps<unknown>, TFieldValues>;
3
+ /**
4
+ * TOption — тип пункта: выводится из options, без options по умолчанию string | number, как у value из MenuItem
5
+ */
6
+ export type FormSelectProps<TFieldValues extends object, TOption = string | number> = WithFormFieldProps<SelectProps<unknown, TOption>, TFieldValues>;
4
7
  /**
5
8
  * Адаптер для Select
6
9
  */
7
- export declare const FormSelect: <TFieldValues extends object>(props: FormSelectProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
10
+ export declare const FormSelect: <TFieldValues extends object, TOption = string | number>(props: FormSelectProps<TFieldValues, TOption>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { type SelectionCardGroupProps } from '../../components/SelectionCardGroup';
2
+ import { type WithFormFieldProps } from '../types';
3
+ export type FormSelectionCardGroupProps<TFieldValues extends object> = WithFormFieldProps<SelectionCardGroupProps, TFieldValues>;
4
+ /**
5
+ * Адаптер SelectionCardGroup для формы
6
+ */
7
+ export declare const FormSelectionCardGroup: <TFieldValues extends object>(props: FormSelectionCardGroupProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { SelectionCardGroup, } from '../../components/SelectionCardGroup';
3
+ import { useFormFieldProps } from '../useFormFieldProps';
4
+ /**
5
+ * Адаптер SelectionCardGroup для формы
6
+ */
7
+ export const FormSelectionCardGroup = (props) => {
8
+ const { errorText, isError, ...withoutErrorProps } = props;
9
+ // Пустое значение группы зависит от режима: null — ничего не выбрано, [] — пустой список
10
+ const emptyValue = withoutErrorProps.selectionMode === 'multiple' ? [] : null;
11
+ // ref из field не передаём: группа не forwardRef, прокрутка к ошибке работает через inputRef
12
+ const { error, helperText, inputRef, children, ref, ...fieldProps } = useFormFieldProps({
13
+ ...withoutErrorProps,
14
+ defaultValue: withoutErrorProps.defaultValue ??
15
+ emptyValue,
16
+ });
17
+ return (_jsx(SelectionCardGroup, { isError: error, errorText: helperText, ...fieldProps, inputRef: inputRef, children: children }));
18
+ };
@@ -0,0 +1 @@
1
+ export * from './FormSelectionCardGroup';
@@ -0,0 +1 @@
1
+ export * from './FormSelectionCardGroup';
@@ -0,0 +1 @@
1
+ export * from './FormSelectionCardGroup';
@@ -0,0 +1 @@
1
+ export * from './FormSelectionCardGroup';
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- export declare const StyledGrid: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
2
+ export declare const StyledGrid: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../Grid").GridProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- } & import("../Grid/styles").StyledGridProps, {}, {}>;
4
+ }, {}, {}>;
5
5
  export declare const StyledIconButton: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
6
6
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
7
7
  loading?: boolean | undefined;
@@ -7,12 +7,12 @@ export declare const Image: import("@emotion/styled/dist/declarations/src/types"
7
7
  theme?: import("@emotion/react").Theme | undefined;
8
8
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
9
  }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
10
- export declare const Wrapper: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
10
+ export declare const Wrapper: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../Grid").GridProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
11
11
  theme?: import("@emotion/react").Theme | undefined;
12
- } & import("../../Grid/styles").StyledGridProps, {}, {}>;
13
- export declare const WrapperTextContent: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
12
+ }, {}, {}>;
13
+ export declare const WrapperTextContent: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../../Grid").GridProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
14
14
  theme?: import("@emotion/react").Theme | undefined;
15
- } & import("../../Grid/styles").StyledGridProps, {}, {}>;
15
+ }, {}, {}>;
16
16
  export declare const Footer: import("@emotion/styled/dist/declarations/src/types").StyledComponent<{
17
17
  theme?: import("@emotion/react").Theme | undefined;
18
18
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- export declare const Actions: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../Grid/GridComponent").GridComponentProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
2
+ export declare const Actions: import("@emotion/styled/dist/declarations/src/types").StyledComponent<Omit<import("../Grid").GridProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
3
3
  theme?: import("@emotion/react").Theme | undefined;
4
- } & import("../Grid/styles").StyledGridProps, {}, {}>;
4
+ }, {}, {}>;
@@ -10,10 +10,6 @@ export type BodyProps<TData extends Record<string, CellValue>> = {
10
10
  * Поле, которое будет использоваться в качестве ключа
11
11
  */
12
12
  keyId: keyof TData;
13
- /**
14
- * Конфигурация ширины колонок
15
- */
16
- gridColumns: string;
17
13
  /**
18
14
  * Идентификатор активного элемента массива rows. Выделяет активную строку в таблице
19
15
  */
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.useLogic = void 0;
4
4
  const react_1 = require("react");
5
5
  const redirectToLink_1 = require("../../../utils/redirectToLink");
6
+ const constants_1 = require("../../constants");
6
7
  const DataGridContext_1 = require("../../DataGridContext");
7
8
  const useLogic = ({ row, href, target, cell, emptyCellValue, startAdornment, }) => {
8
9
  const { isTabularNums: contextIsTabularNums, renderLink } = (0, react_1.useContext)(DataGridContext_1.DataGridContext);
@@ -21,7 +22,7 @@ const useLogic = ({ row, href, target, cell, emptyCellValue, startAdornment, })
21
22
  return emptyCellValue;
22
23
  }, [field, format, row, emptyCellValue]);
23
24
  const hasStartAdornment = Boolean(startAdornment);
24
- const isActionColumn = cell.field === 'actions';
25
+ const isActionColumn = cell.field === constants_1.ACTIONS_COLUMN_FIELD;
25
26
  const onCellClick = () => {
26
27
  if (isActionColumn && href) {
27
28
  return (0, redirectToLink_1.redirectToLink)(href, target);
@@ -1,2 +1,2 @@
1
1
  import { type DataGridProps, type DataGridRow } from './types';
2
- export declare const DataGrid: <TData extends Record<string, unknown> = DataGridRow, TSortField extends keyof TData = keyof TData>(props: DataGridProps<TData, TSortField>) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const DataGrid: <TData extends Record<string, unknown> = DataGridRow, TSortField extends PropertyKey = keyof TData>(props: DataGridProps<TData, TSortField>) => import("react/jsx-runtime").JSX.Element;
@@ -48,6 +48,9 @@ const dataGridCva = (0, cva_1.cva)(constants_2.dataGridClassnames.root, {
48
48
  hasGroupedColumns: {
49
49
  true: constants_2.dataGridClassnames.hasGroupedColumns,
50
50
  },
51
+ hasResizePlugin: {
52
+ true: constants_2.dataGridClassnames.hasResizePlugin,
53
+ },
51
54
  mobileDisplayVariant: {
52
55
  cards: constants_2.dataGridClassnames.mobileVariantCards,
53
56
  list: constants_2.dataGridClassnames.mobileVariantList,
@@ -65,9 +68,9 @@ const bodyCva = (0, cva_1.cva)(constants_2.dataGridClassnames.body, {
65
68
  },
66
69
  });
67
70
  const DataGrid = (props) => {
68
- const { dataGridClassName, isDataGridDisabled, treeRenderConfig, headColumns, headProps, bodyProps, gridColumns, loaderProps, renderRows, isAllowHorizontalScroll, isHideHead, hasPinnedColumns, contentStateProps, rowHoverProps, containerRef, sections, isNoData, isMobile, mobileSkeletonProps, isLoading, containerCssVars, hasGroupedColumns, gridViewMode, mobileDisplayVariant, isSelfContained, isMassActionsOpen, hasMassActions, } = (0, useLogic_1.useLogic)(props);
71
+ const { dataGridClassName, isDataGridDisabled, treeRenderConfig, headColumns, headProps, bodyProps, loaderProps, renderRows, isAllowHorizontalScroll, isHideHead, hasPinnedColumns, contentStateProps, rowHoverProps, containerRef, sections, isNoData, isMobile, mobileSkeletonProps, isLoading, containerCssVars, hasGroupedColumns, gridViewMode, mobileDisplayVariant, isSelfContained, isMassActionsOpen, hasMassActions, resizePlugin, wrapperRef, resizePluginProps, headerProps, } = (0, useLogic_1.useLogic)(props);
69
72
  const { emptySymbol } = (0, react_1.useContext)(ConfigProvider_1.ConfigContext);
70
- const { columns, selectedRows = [], onSelectRow, minDisplayRows = constants_2.MIN_DISPLAY_ROWS_BY_DEFAULT, variant = enums_1.Variant.Tree, footer, massActions, noDataPlaceholder, subrows, keyId, activeRowId, emptyCellValue = emptySymbol, onRowClick, noDataOptions, headPreAddon, isTabularNums, renderRow, renderLink, } = props;
73
+ const { columns, selectedRows = [], onSelectRow, minDisplayRows = constants_2.MIN_DISPLAY_ROWS_BY_DEFAULT, variant = enums_1.Variant.Tree, footer, massActions, noDataPlaceholder, subrows, keyId, activeRowId, emptyCellValue = emptySymbol, onRowClick, noDataOptions, isTabularNums, renderRow, renderLink, } = props;
71
74
  const { moreButtonColumnPosition = 1, isVisibleCollapseButton = true } = subrows || {};
72
75
  const { isInitialExpanded = false, expandedLevel = constants_2.EXPANDED_LEVEL_BY_DEFAULT, initialVisibleChildrenCount = constants_2.INITIAL_OPENED_NESTED_CHILDREN_COUNT_BY_DEFAULT, } = treeRenderConfig || {};
73
76
  const Wrapper = isDataGridDisabled
@@ -98,15 +101,16 @@ const DataGrid = (props) => {
98
101
  };
99
102
  const renderTableContent = () => {
100
103
  if (!hasPinnedColumns || isMobile) {
101
- return ((0, jsx_runtime_1.jsxs)(Wrapper, { ...(0, getInertProps_1.getInertProps)(isDataGridDisabled), className: constants_2.dataGridClassnames.wrapper, children: [headPreAddon, !isHideHead && ((0, jsx_runtime_1.jsx)(Head_1.Head, { ...headProps, columns: headColumns, gridColumns: gridColumns })), (0, jsx_runtime_1.jsx)(ContentState_1.ContentState, { ...contentStateProps, loadingContent: isMobile && (0, jsx_runtime_1.jsx)(MobileSkeleton_1.MobileSkeleton, { ...mobileSkeletonProps }), children: (0, jsx_runtime_1.jsx)(Body_1.Body, { ...commonBodyProps, activeRowId: activeRowId, columns: columns, gridColumns: gridColumns, className: bodyCva({
104
+ return ((0, jsx_runtime_1.jsxs)(Wrapper, { ref: wrapperRef, ...(0, getInertProps_1.getInertProps)(isDataGridDisabled), className: constants_2.dataGridClassnames.wrapper, children: [!isHideHead && ((0, jsx_runtime_1.jsx)(Head_1.Head, { ...headProps, headerProps: headerProps, columns: headColumns, resizePlugin: resizePlugin, resizePluginProps: resizePluginProps })), (0, jsx_runtime_1.jsx)(ContentState_1.ContentState, { ...contentStateProps, loadingContent: isMobile && (0, jsx_runtime_1.jsx)(MobileSkeleton_1.MobileSkeleton, { ...mobileSkeletonProps }), children: (0, jsx_runtime_1.jsx)(Body_1.Body, { ...commonBodyProps, activeRowId: activeRowId, columns: columns, className: bodyCva({
102
105
  isNoData,
103
106
  }) }) })] }));
104
107
  }
105
108
  return ((0, jsx_runtime_1.jsx)(ContentState_1.ContentState, { ...contentStateProps, children: (0, jsx_runtime_1.jsx)(PinnedSections_1.PinnedSections, { sections: sections, className: pinnedSectionsCva({
106
109
  isDisabled: isDataGridDisabled,
107
- }), isDisabled: isDataGridDisabled, headProps: headProps, gridColumns: gridColumns, bodyProps: commonBodyProps, isNoData: isNoData }) }));
110
+ }), isDisabled: isDataGridDisabled, headProps: headProps, bodyProps: commonBodyProps, isNoData: isNoData }) }));
108
111
  };
109
- return ((0, jsx_runtime_1.jsx)(DataGridContext_1.DataGridContextProvider, { isLoading: isLoading, isTabularNums: isTabularNums, gridColumns: gridColumns, emptyCellValue: emptyCellValue, activeRowId: activeRowId, keyId: keyId, columns: columns, onRowClick: onRowClick, mobileDisplayVariant: mobileDisplayVariant, renderLink: renderLink, selectedRows: selectedRows, onSelectRow: onSelectRow, isMassActionsOpen: isMassActionsOpen, children: (0, jsx_runtime_1.jsxs)(styles_1.Container, { ref: containerRef, style: containerCssVars, className: (0, cn_1.cn)(dataGridClassName, dataGridCva({
112
+ return ((0, jsx_runtime_1.jsx)(DataGridContext_1.DataGridContextProvider, { isLoading: isLoading, isTabularNums: isTabularNums, emptyCellValue: emptyCellValue, activeRowId: activeRowId, keyId: keyId, columns: columns, onRowClick: onRowClick, mobileDisplayVariant: mobileDisplayVariant, renderLink: renderLink, selectedRows: selectedRows, onSelectRow: onSelectRow, isMassActionsOpen: isMassActionsOpen, children: (0, jsx_runtime_1.jsxs)(styles_1.Container, { ref: containerRef, style: containerCssVars, className: (0, cn_1.cn)(dataGridClassName, dataGridCva({
113
+ hasResizePlugin: Boolean(resizePlugin),
110
114
  isAllowHorizontalScroll,
111
115
  hasPinnedColumns,
112
116
  gridViewMode,
@@ -3,7 +3,6 @@ import { type DataGridColumns, type DataGridRenderLink } from '../types';
3
3
  export type DataGridContextProps = {
4
4
  isLoading?: boolean;
5
5
  isTabularNums?: boolean;
6
- gridColumns: string;
7
6
  emptyCellValue: ReactNode;
8
7
  activeRowId?: string;
9
8
  keyId: unknown;
@@ -5,7 +5,6 @@ const react_1 = require("react");
5
5
  exports.DataGridContext = (0, react_1.createContext)({
6
6
  isLoading: false,
7
7
  isTabularNums: false,
8
- gridColumns: '',
9
8
  emptyCellValue: '',
10
9
  activeRowId: '',
11
10
  keyId: '',
@@ -1,8 +1,8 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type DataGridSelectionContextProps } from '../../DataGridSelectionContext';
3
3
  import { type DataGridContextProps } from '../DataGridContext';
4
- type DataGridContextProviderProps = Pick<DataGridContextProps, 'isLoading' | 'isTabularNums' | 'gridColumns' | 'emptyCellValue' | 'activeRowId' | 'keyId' | 'columns' | 'onRowClick' | 'mobileDisplayVariant' | 'renderLink'> & Partial<DataGridSelectionContextProps> & {
4
+ type DataGridContextProviderProps = Pick<DataGridContextProps, 'isLoading' | 'isTabularNums' | 'emptyCellValue' | 'activeRowId' | 'keyId' | 'columns' | 'onRowClick' | 'mobileDisplayVariant' | 'renderLink'> & Partial<DataGridSelectionContextProps> & {
5
5
  children: ReactNode;
6
6
  };
7
- export declare const DataGridContextProvider: ({ isLoading, isTabularNums, gridColumns, emptyCellValue, activeRowId, children, keyId, columns, onRowClick, mobileDisplayVariant, renderLink, selectedRows, onSelectRow, isMassActionsOpen, }: DataGridContextProviderProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const DataGridContextProvider: ({ isLoading, isTabularNums, emptyCellValue, activeRowId, children, keyId, columns, onRowClick, mobileDisplayVariant, renderLink, selectedRows, onSelectRow, isMassActionsOpen, }: DataGridContextProviderProps) => import("react/jsx-runtime").JSX.Element;
8
8
  export {};
@@ -6,11 +6,10 @@ const react_1 = require("react");
6
6
  const DataGridSelectionContext_1 = require("../../DataGridSelectionContext");
7
7
  const DataGridStorageContext_1 = require("../../DataGridStorageContext");
8
8
  const DataGridContext_1 = require("../DataGridContext");
9
- const DataGridContextProvider = ({ isLoading, isTabularNums, gridColumns, emptyCellValue, activeRowId, children, keyId, columns, onRowClick, mobileDisplayVariant, renderLink, selectedRows, onSelectRow, isMassActionsOpen, }) => {
9
+ const DataGridContextProvider = ({ isLoading, isTabularNums, emptyCellValue, activeRowId, children, keyId, columns, onRowClick, mobileDisplayVariant, renderLink, selectedRows, onSelectRow, isMassActionsOpen, }) => {
10
10
  const contextValue = (0, react_1.useMemo)(() => ({
11
11
  isLoading,
12
12
  isTabularNums,
13
- gridColumns,
14
13
  emptyCellValue,
15
14
  activeRowId,
16
15
  keyId,
@@ -21,7 +20,6 @@ const DataGridContextProvider = ({ isLoading, isTabularNums, gridColumns, emptyC
21
20
  }), [
22
21
  isLoading,
23
22
  isTabularNums,
24
- gridColumns,
25
23
  emptyCellValue,
26
24
  activeRowId,
27
25
  keyId,
@@ -1,14 +1,11 @@
1
1
  import { type ChangeEvent } from 'react';
2
- import type { CellValue, DataGridColumns, DataGridRow, DataGridSort } from '../types';
3
- export type HeadProps<TData extends Record<string, CellValue> = DataGridRow, TSortField extends keyof TData = keyof TData> = {
2
+ import type { DataGridResizePlugin, ResizeHeadAddonProps } from '../plugins/resize/types';
3
+ import type { CellValue, DataGridColumns, DataGridHeaderProps, DataGridRow, DataGridSort } from '../types';
4
+ export type HeadProps<TData extends Record<string, CellValue> = DataGridRow, TSortField extends PropertyKey = keyof TData> = {
4
5
  /**
5
6
  * Конфигурация колонок для таблицы
6
7
  */
7
8
  columns: DataGridColumns<TData>[];
8
- /**
9
- * Конфигурация ширины колонок
10
- */
11
- gridColumns: string;
12
9
  /**
13
10
  * Если true, то будет отображаться чекбокс для выбора элемента
14
11
  */
@@ -41,5 +38,17 @@ export type HeadProps<TData extends Record<string, CellValue> = DataGridRow, TSo
41
38
  * Смещение секции
42
39
  */
43
40
  sectionOffset?: number;
41
+ /**
42
+ * Props шапки таблицы, в том числе ref
43
+ */
44
+ headerProps?: DataGridHeaderProps;
45
+ /**
46
+ * Plugin изменения ширины колонок: рисует полоски drag поверх колонок шапки
47
+ */
48
+ resizePlugin?: DataGridResizePlugin;
49
+ /**
50
+ * Props компонента resize plugin в шапке
51
+ */
52
+ resizePluginProps?: ResizeHeadAddonProps<TData>;
44
53
  };
45
- export declare const Head: <TData extends Record<string, unknown>, TSortField extends keyof TData>(props: HeadProps<TData, TSortField>) => import("react/jsx-runtime").JSX.Element;
54
+ export declare const Head: <TData extends Record<string, unknown>, TSortField extends PropertyKey>(props: HeadProps<TData, TSortField>) => import("react/jsx-runtime").JSX.Element;
@@ -2,11 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Head = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const cn_1 = require("../../utils/cn");
5
6
  const cva_1 = require("../../utils/cva");
6
7
  const constants_1 = require("../constants");
7
8
  const utils_1 = require("../utils");
8
9
  const HeadColumns_1 = require("./HeadColumns/HeadColumns");
9
10
  const styles_1 = require("./styles");
11
+ const useLogic_1 = require("./useLogic");
10
12
  const headerCva = (0, cva_1.cva)(constants_1.dataGridClassnames.header, {
11
13
  variants: {
12
14
  isGroup: {
@@ -15,7 +17,8 @@ const headerCva = (0, cva_1.cva)(constants_1.dataGridClassnames.header, {
15
17
  },
16
18
  });
17
19
  const Head = (props) => {
18
- const { columns, gridColumns } = props;
19
- return ((0, jsx_runtime_1.jsx)(styles_1.Wrapper, { role: "heading", className: headerCva({ isGroup: columns.some(utils_1.isGroupColumns) }), "$gridColumns": gridColumns, children: (0, jsx_runtime_1.jsx)(HeadColumns_1.HeadColumns, { ...props }) }));
20
+ const { columns, headerProps, resizePlugin, resizePluginProps, ...headColumnsProps } = props;
21
+ const { enabledResizePlugin } = (0, useLogic_1.useLogic)(props);
22
+ return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { ...headerProps, role: "heading", className: (0, cn_1.cn)(headerCva({ isGroup: columns.some(utils_1.isGroupColumns) }), headerProps?.className), children: [(0, jsx_runtime_1.jsx)(HeadColumns_1.HeadColumns, { ...headColumnsProps, columns: columns }), enabledResizePlugin && resizePluginProps && ((0, jsx_runtime_1.jsx)(enabledResizePlugin.HeadAddon, { ...resizePluginProps }))] }));
20
23
  };
21
24
  exports.Head = Head;
@@ -1,6 +1,6 @@
1
1
  import { type ReactNode } from 'react';
2
2
  import { type CellValue, type DataGridGroupColumn, type DataGridRow, type DataGridSort } from '../../../types';
3
- type GroupColumnsProps<TData extends Record<string, CellValue> = DataGridRow, TSortField extends keyof TData = keyof TData> = {
3
+ type GroupColumnsProps<TData extends Record<string, CellValue> = DataGridRow, TSortField extends PropertyKey = keyof TData> = {
4
4
  column: DataGridGroupColumn<TData>;
5
5
  sorting?: DataGridSort<TSortField>;
6
6
  onSort: (field: TSortField) => void;
@@ -10,5 +10,5 @@ type GroupColumnsProps<TData extends Record<string, CellValue> = DataGridRow, TS
10
10
  };
11
11
  startAdornment?: ReactNode;
12
12
  };
13
- export declare const GroupColumns: <TData extends Record<string, unknown>, TSortField extends keyof TData>({ column, sorting, onSort, gridPosition, startAdornment, }: GroupColumnsProps<TData, TSortField>) => import("react/jsx-runtime").JSX.Element;
13
+ export declare const GroupColumns: <TData extends Record<string, unknown>, TSortField extends PropertyKey>({ column, sorting, onSort, gridPosition, startAdornment, }: GroupColumnsProps<TData, TSortField>) => import("react/jsx-runtime").JSX.Element;
14
14
  export {};
@@ -4,5 +4,8 @@ exports.GroupColumns = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
6
  const HeadCell_1 = require("../../../HeadCell");
7
- const GroupColumns = ({ column, sorting, onSort, gridPosition, startAdornment, }) => ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(HeadCell_1.HeadCell, { sorting: sorting, label: column.label, onSort: onSort, className: HeadCell_1.headCellClassnames.groupParent, gridPosition: gridPosition, startAdornment: startAdornment }), column.children.map((child) => ((0, jsx_runtime_1.jsx)(HeadCell_1.HeadCell, { ...child, onSort: onSort, className: HeadCell_1.headCellClassnames.groupChild, startAdornment: child.columnHint }, child.label)))] }, column.label));
7
+ const GroupColumns = ({ column, sorting, onSort, gridPosition, startAdornment, }) => ((0, jsx_runtime_1.jsxs)(react_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(HeadCell_1.HeadCell, { sorting: sorting, label: column.label, onSort: onSort, className: HeadCell_1.headCellClassnames.groupParent, gridPosition: gridPosition, startAdornment: startAdornment }), column.children.map((child) => {
8
+ const { field, sortableFieldName, sortable, ...childProps } = child;
9
+ return ((0, jsx_runtime_1.jsx)(HeadCell_1.HeadCell, { ...childProps, field: (sortableFieldName ?? field), sorting: sorting, isSortable: sortable, onSort: onSort, className: HeadCell_1.headCellClassnames.groupChild, startAdornment: child.columnHint }, child.label));
10
+ })] }, column.label));
8
11
  exports.GroupColumns = GroupColumns;
@@ -1,6 +1,6 @@
1
1
  import { type ChangeEvent } from 'react';
2
2
  import { type CellValue, type DataGridColumns, type DataGridRow, type DataGridSort } from '../../types';
3
- export type HeadColumnsProps<TData extends Record<string, CellValue> = DataGridRow, TSortField extends keyof TData = keyof TData> = {
3
+ export type HeadColumnsProps<TData extends Record<string, CellValue> = DataGridRow, TSortField extends PropertyKey = keyof TData> = {
4
4
  /**
5
5
  * Конфигурация колонок для таблицы
6
6
  */
@@ -38,4 +38,4 @@ export type HeadColumnsProps<TData extends Record<string, CellValue> = DataGridR
38
38
  */
39
39
  sectionOffset?: number;
40
40
  };
41
- export declare const HeadColumns: <TData extends Record<string, unknown>, TSortField extends keyof TData>(props: HeadColumnsProps<TData, TSortField>) => import("react/jsx-runtime").JSX.Element;
41
+ export declare const HeadColumns: <TData extends Record<string, unknown>, TSortField extends PropertyKey>(props: HeadColumnsProps<TData, TSortField>) => import("react/jsx-runtime").JSX.Element;
@@ -12,7 +12,7 @@ const HeadColumns = (props) => {
12
12
  const { checkboxProps, handleSort, gridPositions } = (0, useLogic_1.useLogic)(props);
13
13
  const { columns, isSelectable, sorting, isHideSelectAll, sectionOffset } = props;
14
14
  return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: columns.map((column, index) => {
15
- const { label, align, columnHint, field, sortable, showCheckbox } = (0, utils_2.getHeadCellProps)({
15
+ const { label, align, columnHint, sortField, sortable, showCheckbox } = (0, utils_2.getHeadCellProps)({
16
16
  column,
17
17
  index,
18
18
  sectionOffset,
@@ -24,7 +24,7 @@ const HeadColumns = (props) => {
24
24
  const position = gridPositions.get(column.label);
25
25
  return ((0, jsx_runtime_1.jsx)(GroupColumns_1.GroupColumns, { column: column, sorting: sorting, onSort: handleSort, gridPosition: position, startAdornment: startAdornment }, column.label));
26
26
  }
27
- return ((0, jsx_runtime_1.jsx)(SingleColumn_1.SingleColumn, { sorting: sorting, field: field, label: label, isSortable: sortable, align: align, startAdornment: startAdornment, onSort: handleSort }, label));
27
+ return ((0, jsx_runtime_1.jsx)(SingleColumn_1.SingleColumn, { sorting: sorting, field: sortField, label: label, isSortable: sortable, align: align, startAdornment: startAdornment, onSort: handleSort }, label));
28
28
  }) }));
29
29
  };
30
30
  exports.HeadColumns = HeadColumns;