@astral/ui 4.104.2 → 4.106.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 (325) hide show
  1. package/components/ActionCellBase/ActionCellBase.js +10 -1
  2. package/components/ActionCellBase/MainAction/MainAction.js +6 -0
  3. package/components/ActionCellBase/MainAction/MainIconButton/MainIconButton.js +7 -4
  4. package/components/ActionCellBase/MainAction/MainIconButton/constants.d.ts +3 -0
  5. package/components/ActionCellBase/MainAction/MainIconButton/constants.js +4 -0
  6. package/components/ActionCellBase/MainAction/MainIconButton/styles.d.ts +11 -0
  7. package/components/ActionCellBase/MainAction/MainIconButton/styles.js +9 -0
  8. package/components/ActionCellBase/MainAction/MobileMainButton/MobileMainButton.d.ts +14 -0
  9. package/components/ActionCellBase/MainAction/MobileMainButton/MobileMainButton.js +17 -0
  10. package/components/ActionCellBase/MainAction/MobileMainButton/index.d.ts +1 -0
  11. package/components/ActionCellBase/MainAction/MobileMainButton/index.js +1 -0
  12. package/components/ActionCellBase/MainAction/MobileMainButton/styles.d.ts +11 -0
  13. package/components/ActionCellBase/MainAction/MobileMainButton/styles.js +7 -0
  14. package/components/ActionCellBase/SecondaryAction/SecondaryAction.js +2 -2
  15. package/components/ActionCellBase/SecondaryAction/styles.d.ts +4 -0
  16. package/components/ActionCellBase/SecondaryAction/styles.js +9 -0
  17. package/components/ActionCellBase/constants.d.ts +4 -0
  18. package/components/ActionCellBase/constants.js +5 -0
  19. package/components/ActionCellBase/styles.js +11 -0
  20. package/components/ActionCellBase/types.d.ts +25 -0
  21. package/components/ActionGroup/MainActions/ActionNode/ActionNode.d.ts +9 -0
  22. package/components/ActionGroup/MainActions/ActionNode/ActionNode.js +30 -0
  23. package/components/ActionGroup/MainActions/ActionNode/index.d.ts +1 -0
  24. package/components/ActionGroup/MainActions/ActionNode/index.js +1 -0
  25. package/components/ActionGroup/MainActions/MainActions.d.ts +1 -1
  26. package/components/ActionGroup/MainActions/MainActions.js +3 -14
  27. package/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +352 -3
  28. package/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.js +33 -6
  29. package/components/ActionGroup/MainActions/index.d.ts +1 -0
  30. package/components/ActionGroup/MainActions/index.js +1 -0
  31. package/components/ActionGroup/MainActions/styles.d.ts +5 -6
  32. package/components/ActionGroup/MainActions/styles.js +6 -7
  33. package/components/ActionGroup/SecondaryVisibleActions/ActionNode/ActionNode.d.ts +12 -0
  34. package/components/ActionGroup/SecondaryVisibleActions/ActionNode/ActionNode.js +30 -0
  35. package/components/ActionGroup/SecondaryVisibleActions/ActionNode/index.d.ts +1 -0
  36. package/components/ActionGroup/SecondaryVisibleActions/ActionNode/index.js +1 -0
  37. package/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.d.ts +1 -1
  38. package/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.js +3 -7
  39. package/components/ActionGroup/constants.d.ts +3 -0
  40. package/components/ActionGroup/constants.js +4 -0
  41. package/components/ActionGroup/index.d.ts +2 -1
  42. package/components/ActionGroup/index.js +1 -0
  43. package/components/ActionGroup/public.d.ts +2 -1
  44. package/components/ActionGroup/public.js +1 -0
  45. package/components/ActionGroup/styles.js +5 -0
  46. package/components/ActionGroup/types.d.ts +48 -6
  47. package/components/InfiniteTreeList/InfiniteTreeList.js +16 -2
  48. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.d.ts +4 -0
  49. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.js +1 -0
  50. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.d.ts +2 -2
  51. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +3 -1
  52. package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/styles.js +8 -0
  53. package/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +7 -4
  54. package/components/InfiniteTreeList/InfiniteTreeListItem/constants.d.ts +2 -0
  55. package/components/InfiniteTreeList/InfiniteTreeListItem/constants.js +2 -0
  56. package/components/InfiniteTreeList/InfiniteTreeListItem/index.d.ts +1 -0
  57. package/components/InfiniteTreeList/InfiniteTreeListItem/index.js +1 -0
  58. package/components/InfiniteTreeList/InfiniteTreeListItem/styles.d.ts +14 -0
  59. package/components/InfiniteTreeList/InfiniteTreeListItem/styles.js +66 -2
  60. package/components/InfiniteTreeList/LevelHeader/LevelHeader.d.ts +5 -0
  61. package/components/InfiniteTreeList/LevelHeader/LevelHeader.js +17 -0
  62. package/components/InfiniteTreeList/LevelHeader/constants.d.ts +3 -0
  63. package/components/InfiniteTreeList/LevelHeader/constants.js +3 -0
  64. package/components/InfiniteTreeList/LevelHeader/index.d.ts +2 -0
  65. package/components/InfiniteTreeList/LevelHeader/index.js +2 -0
  66. package/components/InfiniteTreeList/LevelHeader/styles.d.ts +365 -0
  67. package/components/InfiniteTreeList/LevelHeader/styles.js +51 -0
  68. package/components/InfiniteTreeList/LevelHeader/types.d.ts +14 -0
  69. package/components/InfiniteTreeList/LevelHeader/types.js +1 -0
  70. package/components/InfiniteTreeList/ListFooter/styles.js +8 -0
  71. package/components/InfiniteTreeList/OnTopButton/styles.js +7 -0
  72. package/components/InfiniteTreeList/ParentItems/Item/Item.js +10 -2
  73. package/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.d.ts +1 -0
  74. package/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.js +10 -2
  75. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.js +2 -2
  76. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/styles.d.ts +3 -0
  77. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/styles.js +11 -0
  78. package/components/InfiniteTreeList/TreeItem/TreeItem.js +6 -3
  79. package/components/InfiniteTreeList/TreeItem/styles.js +19 -0
  80. package/components/InfiniteTreeList/TreeItem/useLogic/useLogic.d.ts +2 -1
  81. package/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +5 -4
  82. package/components/InfiniteTreeList/constants.d.ts +21 -0
  83. package/components/InfiniteTreeList/constants.js +21 -0
  84. package/components/InfiniteTreeList/hooks/index.d.ts +2 -0
  85. package/components/InfiniteTreeList/hooks/index.js +2 -0
  86. package/components/InfiniteTreeList/hooks/useLevelNavigation/index.d.ts +2 -0
  87. package/components/InfiniteTreeList/hooks/useLevelNavigation/index.js +2 -0
  88. package/components/InfiniteTreeList/hooks/useLevelNavigation/types.d.ts +15 -0
  89. package/components/InfiniteTreeList/hooks/useLevelNavigation/types.js +1 -0
  90. package/components/InfiniteTreeList/hooks/useLevelNavigation/useLevelNavigation.d.ts +15 -0
  91. package/components/InfiniteTreeList/hooks/useLevelNavigation/useLevelNavigation.js +48 -0
  92. package/components/InfiniteTreeList/hooks/useListScroll/hooks/index.d.ts +3 -0
  93. package/components/InfiniteTreeList/hooks/useListScroll/hooks/index.js +3 -0
  94. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/index.d.ts +2 -0
  95. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/index.js +2 -0
  96. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/types.d.ts +16 -0
  97. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/types.js +1 -0
  98. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/useLevelSnapshots.d.ts +12 -0
  99. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/useLevelSnapshots.js +42 -0
  100. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/index.d.ts +2 -0
  101. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/index.js +2 -0
  102. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/types.d.ts +12 -0
  103. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/types.js +1 -0
  104. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/useScrollToTopButton.d.ts +15 -0
  105. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/useScrollToTopButton.js +27 -0
  106. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/index.d.ts +2 -0
  107. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/index.js +2 -0
  108. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/types.d.ts +11 -0
  109. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/types.js +1 -0
  110. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/useTailWatcher.d.ts +12 -0
  111. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/useTailWatcher.js +39 -0
  112. package/components/InfiniteTreeList/hooks/useListScroll/types.d.ts +14 -2
  113. package/components/InfiniteTreeList/hooks/useListScroll/useListScroll.d.ts +9 -6
  114. package/components/InfiniteTreeList/hooks/useListScroll/useListScroll.js +192 -28
  115. package/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/getOffsetTop.d.ts +4 -0
  116. package/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/getOffsetTop.js +6 -0
  117. package/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/index.d.ts +1 -0
  118. package/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/index.js +1 -0
  119. package/components/InfiniteTreeList/hooks/useListScroll/utils/index.d.ts +1 -0
  120. package/components/InfiniteTreeList/hooks/useListScroll/utils/index.js +1 -0
  121. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/index.d.ts +2 -0
  122. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/index.js +2 -0
  123. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/types.d.ts +14 -0
  124. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/types.js +1 -0
  125. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/useNodeTitleValidation.d.ts +5 -0
  126. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/useNodeTitleValidation.js +18 -0
  127. package/components/InfiniteTreeList/styles.d.ts +5 -0
  128. package/components/InfiniteTreeList/styles.js +41 -0
  129. package/components/InfiniteTreeList/types.d.ts +4 -0
  130. package/components/InfiniteTreeList/useLogic/useLogic.d.ts +13 -5
  131. package/components/InfiniteTreeList/useLogic/useLogic.js +165 -27
  132. package/components/InfiniteTreeList/utils/checkHasFooterContent/checkHasFooterContent.d.ts +5 -0
  133. package/components/InfiniteTreeList/utils/checkHasFooterContent/checkHasFooterContent.js +4 -0
  134. package/components/InfiniteTreeList/utils/checkHasFooterContent/index.d.ts +1 -0
  135. package/components/InfiniteTreeList/utils/checkHasFooterContent/index.js +1 -0
  136. package/components/InfiniteTreeList/utils/checkHasNested/checkHasNested.d.ts +6 -0
  137. package/components/InfiniteTreeList/utils/checkHasNested/checkHasNested.js +5 -0
  138. package/components/InfiniteTreeList/utils/checkHasNested/index.d.ts +1 -0
  139. package/components/InfiniteTreeList/utils/checkHasNested/index.js +1 -0
  140. package/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.d.ts +8 -3
  141. package/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.js +30 -12
  142. package/components/InfiniteTreeList/utils/flattenTree/flattenTree.js +2 -1
  143. package/components/InfiniteTreeList/utils/getLevelKey/getLevelKey.d.ts +4 -0
  144. package/components/InfiniteTreeList/utils/getLevelKey/getLevelKey.js +5 -0
  145. package/components/InfiniteTreeList/utils/getLevelKey/index.d.ts +1 -0
  146. package/components/InfiniteTreeList/utils/getLevelKey/index.js +1 -0
  147. package/components/InfiniteTreeList/utils/index.d.ts +3 -0
  148. package/components/InfiniteTreeList/utils/index.js +3 -0
  149. package/components/PageHeader/MobilePageActions/MobilePageActions.js +2 -2
  150. package/components/PageHeader/MobilePageActions/useLogic/useLogic.d.ts +1 -0
  151. package/components/PageHeader/MobilePageActions/useLogic/useLogic.js +3 -0
  152. package/components/PageHeader/PageActions/MainActions/MainActions.d.ts +1 -1
  153. package/components/PageHeader/PageActions/MainActions/MainActions.js +2 -2
  154. package/components/PageHeader/PageActions/MainActions/styles.js +5 -0
  155. package/components/PageHeader/PageActions/PageActions.js +2 -2
  156. package/components/PageHeader/PageActions/SecondaryVisibleActions/SecondaryVisibleActions.d.ts +1 -1
  157. package/components/PageHeader/PageActions/SecondaryVisibleActions/SecondaryVisibleActions.js +3 -3
  158. package/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +7 -1
  159. package/components/PageHeader/PageActions/useLogic/useLogic.d.ts +1 -0
  160. package/components/PageHeader/PageActions/useLogic/useLogic.js +3 -0
  161. package/components/index.d.ts +1 -1
  162. package/components/useScrollManagement/useScrollManagement.js +7 -6
  163. package/node/components/ActionCellBase/ActionCellBase.js +10 -1
  164. package/node/components/ActionCellBase/MainAction/MainAction.js +6 -0
  165. package/node/components/ActionCellBase/MainAction/MainIconButton/MainIconButton.js +7 -4
  166. package/node/components/ActionCellBase/MainAction/MainIconButton/constants.d.ts +3 -0
  167. package/node/components/ActionCellBase/MainAction/MainIconButton/constants.js +7 -0
  168. package/node/components/ActionCellBase/MainAction/MainIconButton/styles.d.ts +11 -0
  169. package/node/components/ActionCellBase/MainAction/MainIconButton/styles.js +12 -0
  170. package/node/components/ActionCellBase/MainAction/MobileMainButton/MobileMainButton.d.ts +14 -0
  171. package/node/components/ActionCellBase/MainAction/MobileMainButton/MobileMainButton.js +21 -0
  172. package/node/components/ActionCellBase/MainAction/MobileMainButton/index.d.ts +1 -0
  173. package/node/components/ActionCellBase/MainAction/MobileMainButton/index.js +17 -0
  174. package/node/components/ActionCellBase/MainAction/MobileMainButton/styles.d.ts +11 -0
  175. package/node/components/ActionCellBase/MainAction/MobileMainButton/styles.js +10 -0
  176. package/node/components/ActionCellBase/SecondaryAction/SecondaryAction.js +2 -2
  177. package/node/components/ActionCellBase/SecondaryAction/styles.d.ts +4 -0
  178. package/node/components/ActionCellBase/SecondaryAction/styles.js +12 -0
  179. package/node/components/ActionCellBase/constants.d.ts +4 -0
  180. package/node/components/ActionCellBase/constants.js +8 -0
  181. package/node/components/ActionCellBase/styles.js +11 -0
  182. package/node/components/ActionCellBase/types.d.ts +25 -0
  183. package/node/components/ActionGroup/MainActions/ActionNode/ActionNode.d.ts +9 -0
  184. package/node/components/ActionGroup/MainActions/ActionNode/ActionNode.js +34 -0
  185. package/node/components/ActionGroup/MainActions/ActionNode/index.d.ts +1 -0
  186. package/node/components/ActionGroup/MainActions/ActionNode/index.js +17 -0
  187. package/node/components/ActionGroup/MainActions/MainActions.d.ts +1 -1
  188. package/node/components/ActionGroup/MainActions/MainActions.js +3 -14
  189. package/node/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.d.ts +352 -3
  190. package/node/components/ActionGroup/MainActions/hooks/useMainActions/useMainActions.js +33 -6
  191. package/node/components/ActionGroup/MainActions/index.d.ts +1 -0
  192. package/node/components/ActionGroup/MainActions/index.js +1 -0
  193. package/node/components/ActionGroup/MainActions/styles.d.ts +5 -6
  194. package/node/components/ActionGroup/MainActions/styles.js +7 -8
  195. package/node/components/ActionGroup/SecondaryVisibleActions/ActionNode/ActionNode.d.ts +12 -0
  196. package/node/components/ActionGroup/SecondaryVisibleActions/ActionNode/ActionNode.js +34 -0
  197. package/node/components/ActionGroup/SecondaryVisibleActions/ActionNode/index.d.ts +1 -0
  198. package/node/components/ActionGroup/SecondaryVisibleActions/ActionNode/index.js +17 -0
  199. package/node/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.d.ts +1 -1
  200. package/node/components/ActionGroup/SecondaryVisibleActions/SecondaryVisibleActions.js +3 -7
  201. package/node/components/ActionGroup/constants.d.ts +3 -0
  202. package/node/components/ActionGroup/constants.js +7 -0
  203. package/node/components/ActionGroup/index.d.ts +2 -1
  204. package/node/components/ActionGroup/index.js +3 -1
  205. package/node/components/ActionGroup/public.d.ts +2 -1
  206. package/node/components/ActionGroup/public.js +3 -1
  207. package/node/components/ActionGroup/styles.js +5 -0
  208. package/node/components/ActionGroup/types.d.ts +48 -6
  209. package/node/components/InfiniteTreeList/InfiniteTreeList.js +16 -2
  210. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.d.ts +4 -0
  211. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.js +1 -0
  212. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.d.ts +2 -2
  213. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +3 -1
  214. package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/styles.js +8 -0
  215. package/node/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +6 -3
  216. package/node/components/InfiniteTreeList/InfiniteTreeListItem/constants.d.ts +2 -0
  217. package/node/components/InfiniteTreeList/InfiniteTreeListItem/constants.js +2 -0
  218. package/node/components/InfiniteTreeList/InfiniteTreeListItem/index.d.ts +1 -0
  219. package/node/components/InfiniteTreeList/InfiniteTreeListItem/index.js +3 -0
  220. package/node/components/InfiniteTreeList/InfiniteTreeListItem/styles.d.ts +14 -0
  221. package/node/components/InfiniteTreeList/InfiniteTreeListItem/styles.js +67 -3
  222. package/node/components/InfiniteTreeList/LevelHeader/LevelHeader.d.ts +5 -0
  223. package/node/components/InfiniteTreeList/LevelHeader/LevelHeader.js +21 -0
  224. package/node/components/InfiniteTreeList/LevelHeader/constants.d.ts +3 -0
  225. package/node/components/InfiniteTreeList/LevelHeader/constants.js +6 -0
  226. package/node/components/InfiniteTreeList/LevelHeader/index.d.ts +2 -0
  227. package/node/components/InfiniteTreeList/LevelHeader/index.js +18 -0
  228. package/node/components/InfiniteTreeList/LevelHeader/styles.d.ts +365 -0
  229. package/node/components/InfiniteTreeList/LevelHeader/styles.js +54 -0
  230. package/node/components/InfiniteTreeList/LevelHeader/types.d.ts +14 -0
  231. package/node/components/InfiniteTreeList/LevelHeader/types.js +2 -0
  232. package/node/components/InfiniteTreeList/ListFooter/styles.js +8 -0
  233. package/node/components/InfiniteTreeList/OnTopButton/styles.js +7 -0
  234. package/node/components/InfiniteTreeList/ParentItems/Item/Item.js +10 -2
  235. package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.d.ts +1 -0
  236. package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.js +10 -2
  237. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.js +2 -2
  238. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/styles.d.ts +3 -0
  239. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/styles.js +14 -0
  240. package/node/components/InfiniteTreeList/TreeItem/TreeItem.js +6 -3
  241. package/node/components/InfiniteTreeList/TreeItem/styles.js +19 -0
  242. package/node/components/InfiniteTreeList/TreeItem/useLogic/useLogic.d.ts +2 -1
  243. package/node/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +4 -3
  244. package/node/components/InfiniteTreeList/constants.d.ts +21 -0
  245. package/node/components/InfiniteTreeList/constants.js +22 -1
  246. package/node/components/InfiniteTreeList/hooks/index.d.ts +2 -0
  247. package/node/components/InfiniteTreeList/hooks/index.js +2 -0
  248. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/index.d.ts +2 -0
  249. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/index.js +18 -0
  250. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/types.d.ts +15 -0
  251. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/types.js +2 -0
  252. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/useLevelNavigation.d.ts +15 -0
  253. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/useLevelNavigation.js +52 -0
  254. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/index.d.ts +3 -0
  255. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/index.js +19 -0
  256. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/index.d.ts +2 -0
  257. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/index.js +18 -0
  258. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/types.d.ts +16 -0
  259. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/types.js +2 -0
  260. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/useLevelSnapshots.d.ts +12 -0
  261. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/useLevelSnapshots.js +46 -0
  262. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/index.d.ts +2 -0
  263. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/index.js +18 -0
  264. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/types.d.ts +12 -0
  265. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/types.js +2 -0
  266. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/useScrollToTopButton.d.ts +15 -0
  267. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/useScrollToTopButton.js +31 -0
  268. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/index.d.ts +2 -0
  269. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/index.js +18 -0
  270. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/types.d.ts +11 -0
  271. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/types.js +2 -0
  272. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/useTailWatcher.d.ts +12 -0
  273. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/useTailWatcher.js +43 -0
  274. package/node/components/InfiniteTreeList/hooks/useListScroll/types.d.ts +14 -2
  275. package/node/components/InfiniteTreeList/hooks/useListScroll/useListScroll.d.ts +9 -6
  276. package/node/components/InfiniteTreeList/hooks/useListScroll/useListScroll.js +190 -26
  277. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/getOffsetTop.d.ts +4 -0
  278. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/getOffsetTop.js +10 -0
  279. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/index.d.ts +1 -0
  280. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/index.js +17 -0
  281. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/index.d.ts +1 -0
  282. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/index.js +17 -0
  283. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/index.d.ts +2 -0
  284. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/index.js +18 -0
  285. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/types.d.ts +14 -0
  286. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/types.js +2 -0
  287. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/useNodeTitleValidation.d.ts +5 -0
  288. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/useNodeTitleValidation.js +22 -0
  289. package/node/components/InfiniteTreeList/styles.d.ts +5 -0
  290. package/node/components/InfiniteTreeList/styles.js +44 -0
  291. package/node/components/InfiniteTreeList/types.d.ts +4 -0
  292. package/node/components/InfiniteTreeList/useLogic/useLogic.d.ts +13 -5
  293. package/node/components/InfiniteTreeList/useLogic/useLogic.js +162 -24
  294. package/node/components/InfiniteTreeList/utils/checkHasFooterContent/checkHasFooterContent.d.ts +5 -0
  295. package/node/components/InfiniteTreeList/utils/checkHasFooterContent/checkHasFooterContent.js +8 -0
  296. package/node/components/InfiniteTreeList/utils/checkHasFooterContent/index.d.ts +1 -0
  297. package/node/components/InfiniteTreeList/utils/checkHasFooterContent/index.js +17 -0
  298. package/node/components/InfiniteTreeList/utils/checkHasNested/checkHasNested.d.ts +6 -0
  299. package/node/components/InfiniteTreeList/utils/checkHasNested/checkHasNested.js +9 -0
  300. package/node/components/InfiniteTreeList/utils/checkHasNested/index.d.ts +1 -0
  301. package/node/components/InfiniteTreeList/utils/checkHasNested/index.js +17 -0
  302. package/node/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.d.ts +8 -3
  303. package/node/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.js +30 -12
  304. package/node/components/InfiniteTreeList/utils/flattenTree/flattenTree.js +2 -1
  305. package/node/components/InfiniteTreeList/utils/getLevelKey/getLevelKey.d.ts +4 -0
  306. package/node/components/InfiniteTreeList/utils/getLevelKey/getLevelKey.js +9 -0
  307. package/node/components/InfiniteTreeList/utils/getLevelKey/index.d.ts +1 -0
  308. package/node/components/InfiniteTreeList/utils/getLevelKey/index.js +17 -0
  309. package/node/components/InfiniteTreeList/utils/index.d.ts +3 -0
  310. package/node/components/InfiniteTreeList/utils/index.js +3 -0
  311. package/node/components/PageHeader/MobilePageActions/MobilePageActions.js +2 -2
  312. package/node/components/PageHeader/MobilePageActions/useLogic/useLogic.d.ts +1 -0
  313. package/node/components/PageHeader/MobilePageActions/useLogic/useLogic.js +3 -0
  314. package/node/components/PageHeader/PageActions/MainActions/MainActions.d.ts +1 -1
  315. package/node/components/PageHeader/PageActions/MainActions/MainActions.js +2 -2
  316. package/node/components/PageHeader/PageActions/MainActions/styles.js +5 -0
  317. package/node/components/PageHeader/PageActions/PageActions.js +2 -2
  318. package/node/components/PageHeader/PageActions/SecondaryVisibleActions/SecondaryVisibleActions.d.ts +1 -1
  319. package/node/components/PageHeader/PageActions/SecondaryVisibleActions/SecondaryVisibleActions.js +3 -3
  320. package/node/components/PageHeader/PageActions/SecondaryVisibleActions/styles.d.ts +7 -1
  321. package/node/components/PageHeader/PageActions/useLogic/useLogic.d.ts +1 -0
  322. package/node/components/PageHeader/PageActions/useLogic/useLogic.js +3 -0
  323. package/node/components/index.d.ts +1 -1
  324. package/node/components/useScrollManagement/useScrollManagement.js +6 -5
  325. package/package.json +1 -1
@@ -1,17 +1,362 @@
1
1
  import { type ElementType } from 'react';
2
2
  import type { ButtonSize } from '../../../../Button';
3
- import type { MainActionsProps, MultipleAction, SingleAction } from '../../../types';
3
+ import type { ActionElementProps, MainActionsProps, MultipleAction, SingleAction } from '../../../types';
4
+ declare const getMultipleActions: <TMainActionComponent extends ElementType>(action: MultipleAction<TMainActionComponent>, size: ButtonSize, isDisabled?: boolean) => {
5
+ tooltipProps: {
6
+ key: string;
7
+ title: string | undefined;
8
+ withoutContainer: boolean;
9
+ };
10
+ buttonProps: Omit<MultipleAction<TMainActionComponent>, "text" | "note" | "disabled" | "disabledReason" | "isNested" | "actions" | "isBlockingOperation" | "renderAction"> & {
11
+ className: string;
12
+ disabled: boolean | undefined;
13
+ name: string;
14
+ size: ButtonSize;
15
+ };
16
+ elementProps: ActionElementProps;
17
+ renderAction: ((context: import("../../../types").NestedActionRenderContext) => import("react").ReactNode) | undefined;
18
+ isNested: true;
19
+ nestedActions: {
20
+ text: string;
21
+ classes?: (Partial<import("@mui/material").MenuItemClasses> & Partial<import("@mui/material").ClassNameMap<never>>) | undefined;
22
+ defaultChecked?: boolean | undefined;
23
+ defaultValue?: string | number | readonly string[] | undefined;
24
+ suppressContentEditableWarning?: boolean | undefined;
25
+ suppressHydrationWarning?: boolean | undefined;
26
+ accessKey?: string | undefined;
27
+ autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
28
+ autoFocus?: boolean | undefined;
29
+ className?: string | undefined;
30
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
31
+ contextMenu?: string | undefined;
32
+ dir?: string | undefined;
33
+ draggable?: (boolean | "true" | "false") | undefined;
34
+ enterKeyHint?: "enter" | "search" | "done" | "go" | "next" | "previous" | "send" | undefined;
35
+ hidden?: boolean | undefined;
36
+ id?: string | undefined;
37
+ lang?: string | undefined;
38
+ nonce?: string | undefined;
39
+ slot?: string | undefined;
40
+ spellCheck?: (boolean | "true" | "false") | undefined;
41
+ style?: import("react").CSSProperties | undefined;
42
+ tabIndex?: number | undefined;
43
+ title?: string | undefined;
44
+ translate?: "yes" | "no" | undefined;
45
+ radioGroup?: string | undefined;
46
+ role?: import("react").AriaRole | undefined;
47
+ about?: string | undefined;
48
+ content?: string | undefined;
49
+ datatype?: string | undefined;
50
+ inlist?: any;
51
+ prefix?: string | undefined;
52
+ property?: string | undefined;
53
+ rel?: string | undefined;
54
+ resource?: string | undefined;
55
+ rev?: string | undefined;
56
+ typeof?: string | undefined;
57
+ vocab?: string | undefined;
58
+ autoCorrect?: string | undefined;
59
+ autoSave?: string | undefined;
60
+ color?: string | undefined;
61
+ itemProp?: string | undefined;
62
+ itemScope?: boolean | undefined;
63
+ itemType?: string | undefined;
64
+ itemID?: string | undefined;
65
+ itemRef?: string | undefined;
66
+ results?: number | undefined;
67
+ security?: string | undefined;
68
+ unselectable?: "off" | "on" | undefined;
69
+ popover?: "" | "auto" | "manual" | "hint" | undefined;
70
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
71
+ popoverTarget?: string | undefined;
72
+ inert?: boolean | undefined;
73
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
74
+ is?: string | undefined;
75
+ exportparts?: string | undefined;
76
+ part?: string | undefined;
77
+ "aria-activedescendant"?: string | undefined;
78
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
79
+ "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
80
+ "aria-braillelabel"?: string | undefined;
81
+ "aria-brailleroledescription"?: string | undefined;
82
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
83
+ "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
84
+ "aria-colcount"?: number | undefined;
85
+ "aria-colindex"?: number | undefined;
86
+ "aria-colindextext"?: string | undefined;
87
+ "aria-colspan"?: number | undefined;
88
+ "aria-controls"?: string | undefined;
89
+ "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
90
+ "aria-describedby"?: string | undefined;
91
+ "aria-description"?: string | undefined;
92
+ "aria-details"?: string | undefined;
93
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
94
+ "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
95
+ "aria-errormessage"?: string | undefined;
96
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
97
+ "aria-flowto"?: string | undefined;
98
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
99
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
100
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
101
+ "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
102
+ "aria-keyshortcuts"?: string | undefined;
103
+ "aria-label"?: string | undefined;
104
+ "aria-labelledby"?: string | undefined;
105
+ "aria-level"?: number | undefined;
106
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
107
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
108
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
109
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
110
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
111
+ "aria-owns"?: string | undefined;
112
+ "aria-placeholder"?: string | undefined;
113
+ "aria-posinset"?: number | undefined;
114
+ "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
115
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
116
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
117
+ "aria-required"?: (boolean | "true" | "false") | undefined;
118
+ "aria-roledescription"?: string | undefined;
119
+ "aria-rowcount"?: number | undefined;
120
+ "aria-rowindex"?: number | undefined;
121
+ "aria-rowindextext"?: string | undefined;
122
+ "aria-rowspan"?: number | undefined;
123
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
124
+ "aria-setsize"?: number | undefined;
125
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
126
+ "aria-valuemax"?: number | undefined;
127
+ "aria-valuemin"?: number | undefined;
128
+ "aria-valuenow"?: number | undefined;
129
+ "aria-valuetext"?: string | undefined;
130
+ children?: import("react").ReactNode;
131
+ dangerouslySetInnerHTML?: {
132
+ __html: string | TrustedHTML;
133
+ } | undefined;
134
+ onCopy?: import("react").ClipboardEventHandler<HTMLLIElement> | undefined;
135
+ onCopyCapture?: import("react").ClipboardEventHandler<HTMLLIElement> | undefined;
136
+ onCut?: import("react").ClipboardEventHandler<HTMLLIElement> | undefined;
137
+ onCutCapture?: import("react").ClipboardEventHandler<HTMLLIElement> | undefined;
138
+ onPaste?: import("react").ClipboardEventHandler<HTMLLIElement> | undefined;
139
+ onPasteCapture?: import("react").ClipboardEventHandler<HTMLLIElement> | undefined;
140
+ onCompositionEnd?: import("react").CompositionEventHandler<HTMLLIElement> | undefined;
141
+ onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLLIElement> | undefined;
142
+ onCompositionStart?: import("react").CompositionEventHandler<HTMLLIElement> | undefined;
143
+ onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLLIElement> | undefined;
144
+ onCompositionUpdate?: import("react").CompositionEventHandler<HTMLLIElement> | undefined;
145
+ onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLLIElement> | undefined;
146
+ onFocus?: import("react").FocusEventHandler<HTMLLIElement> | undefined;
147
+ onFocusCapture?: import("react").FocusEventHandler<HTMLLIElement> | undefined;
148
+ onBlur?: import("react").FocusEventHandler<HTMLLIElement> | undefined;
149
+ onBlurCapture?: import("react").FocusEventHandler<HTMLLIElement> | undefined;
150
+ onChange?: import("react").ChangeEventHandler<HTMLLIElement, Element> | undefined;
151
+ onChangeCapture?: import("react").ChangeEventHandler<HTMLLIElement, Element> | undefined;
152
+ onBeforeInput?: import("react").InputEventHandler<HTMLLIElement> | undefined;
153
+ onBeforeInputCapture?: import("react").InputEventHandler<HTMLLIElement> | undefined;
154
+ onInput?: import("react").InputEventHandler<HTMLLIElement> | undefined;
155
+ onInputCapture?: import("react").InputEventHandler<HTMLLIElement> | undefined;
156
+ onReset?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
157
+ onResetCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
158
+ onSubmit?: import("react").SubmitEventHandler<HTMLLIElement> | undefined;
159
+ onSubmitCapture?: import("react").SubmitEventHandler<HTMLLIElement> | undefined;
160
+ onInvalid?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
161
+ onInvalidCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
162
+ onLoad?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
163
+ onLoadCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
164
+ onError?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
165
+ onErrorCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
166
+ onKeyDown?: import("react").KeyboardEventHandler<HTMLLIElement> | undefined;
167
+ onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLLIElement> | undefined;
168
+ onKeyPress?: import("react").KeyboardEventHandler<HTMLLIElement> | undefined;
169
+ onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLLIElement> | undefined;
170
+ onKeyUp?: import("react").KeyboardEventHandler<HTMLLIElement> | undefined;
171
+ onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLLIElement> | undefined;
172
+ onAbort?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
173
+ onAbortCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
174
+ onCanPlay?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
175
+ onCanPlayCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
176
+ onCanPlayThrough?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
177
+ onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
178
+ onDurationChange?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
179
+ onDurationChangeCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
180
+ onEmptied?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
181
+ onEmptiedCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
182
+ onEncrypted?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
183
+ onEncryptedCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
184
+ onEnded?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
185
+ onEndedCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
186
+ onLoadedData?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
187
+ onLoadedDataCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
188
+ onLoadedMetadata?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
189
+ onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
190
+ onLoadStart?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
191
+ onLoadStartCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
192
+ onPause?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
193
+ onPauseCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
194
+ onPlay?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
195
+ onPlayCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
196
+ onPlaying?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
197
+ onPlayingCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
198
+ onProgress?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
199
+ onProgressCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
200
+ onRateChange?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
201
+ onRateChangeCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
202
+ onSeeked?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
203
+ onSeekedCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
204
+ onSeeking?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
205
+ onSeekingCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
206
+ onStalled?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
207
+ onStalledCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
208
+ onSuspend?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
209
+ onSuspendCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
210
+ onTimeUpdate?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
211
+ onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
212
+ onVolumeChange?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
213
+ onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
214
+ onWaiting?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
215
+ onWaitingCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
216
+ onAuxClick?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
217
+ onAuxClickCapture?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
218
+ onClick?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
219
+ onClickCapture?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
220
+ onContextMenu?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
221
+ onContextMenuCapture?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
222
+ onDoubleClick?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
223
+ onDoubleClickCapture?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
224
+ onDrag?: import("react").DragEventHandler<HTMLLIElement> | undefined;
225
+ onDragCapture?: import("react").DragEventHandler<HTMLLIElement> | undefined;
226
+ onDragEnd?: import("react").DragEventHandler<HTMLLIElement> | undefined;
227
+ onDragEndCapture?: import("react").DragEventHandler<HTMLLIElement> | undefined;
228
+ onDragEnter?: import("react").DragEventHandler<HTMLLIElement> | undefined;
229
+ onDragEnterCapture?: import("react").DragEventHandler<HTMLLIElement> | undefined;
230
+ onDragExit?: import("react").DragEventHandler<HTMLLIElement> | undefined;
231
+ onDragExitCapture?: import("react").DragEventHandler<HTMLLIElement> | undefined;
232
+ onDragLeave?: import("react").DragEventHandler<HTMLLIElement> | undefined;
233
+ onDragLeaveCapture?: import("react").DragEventHandler<HTMLLIElement> | undefined;
234
+ onDragOver?: import("react").DragEventHandler<HTMLLIElement> | undefined;
235
+ onDragOverCapture?: import("react").DragEventHandler<HTMLLIElement> | undefined;
236
+ onDragStart?: import("react").DragEventHandler<HTMLLIElement> | undefined;
237
+ onDragStartCapture?: import("react").DragEventHandler<HTMLLIElement> | undefined;
238
+ onDrop?: import("react").DragEventHandler<HTMLLIElement> | undefined;
239
+ onDropCapture?: import("react").DragEventHandler<HTMLLIElement> | undefined;
240
+ onMouseDown?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
241
+ onMouseDownCapture?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
242
+ onMouseEnter?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
243
+ onMouseLeave?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
244
+ onMouseMove?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
245
+ onMouseMoveCapture?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
246
+ onMouseOut?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
247
+ onMouseOutCapture?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
248
+ onMouseOver?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
249
+ onMouseOverCapture?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
250
+ onMouseUp?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
251
+ onMouseUpCapture?: import("react").MouseEventHandler<HTMLLIElement> | undefined;
252
+ onSelect?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
253
+ onSelectCapture?: import("react").ReactEventHandler<HTMLLIElement> | undefined;
254
+ onTouchCancel?: import("react").TouchEventHandler<HTMLLIElement> | undefined;
255
+ onTouchCancelCapture?: import("react").TouchEventHandler<HTMLLIElement> | undefined;
256
+ onTouchEnd?: import("react").TouchEventHandler<HTMLLIElement> | undefined;
257
+ onTouchEndCapture?: import("react").TouchEventHandler<HTMLLIElement> | undefined;
258
+ onTouchMove?: import("react").TouchEventHandler<HTMLLIElement> | undefined;
259
+ onTouchMoveCapture?: import("react").TouchEventHandler<HTMLLIElement> | undefined;
260
+ onTouchStart?: import("react").TouchEventHandler<HTMLLIElement> | undefined;
261
+ onTouchStartCapture?: import("react").TouchEventHandler<HTMLLIElement> | undefined;
262
+ onPointerDown?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
263
+ onPointerDownCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
264
+ onPointerMove?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
265
+ onPointerMoveCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
266
+ onPointerUp?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
267
+ onPointerUpCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
268
+ onPointerCancel?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
269
+ onPointerCancelCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
270
+ onPointerEnter?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
271
+ onPointerLeave?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
272
+ onPointerOver?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
273
+ onPointerOverCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
274
+ onPointerOut?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
275
+ onPointerOutCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
276
+ onGotPointerCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
277
+ onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
278
+ onLostPointerCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
279
+ onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLLIElement> | undefined;
280
+ onScroll?: import("react").UIEventHandler<HTMLLIElement> | undefined;
281
+ onScrollCapture?: import("react").UIEventHandler<HTMLLIElement> | undefined;
282
+ onScrollEnd?: import("react").UIEventHandler<HTMLLIElement> | undefined;
283
+ onScrollEndCapture?: import("react").UIEventHandler<HTMLLIElement> | undefined;
284
+ onWheel?: import("react").WheelEventHandler<HTMLLIElement> | undefined;
285
+ onWheelCapture?: import("react").WheelEventHandler<HTMLLIElement> | undefined;
286
+ onAnimationStart?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
287
+ onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
288
+ onAnimationEnd?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
289
+ onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
290
+ onAnimationIteration?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
291
+ onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLLIElement> | undefined;
292
+ onToggle?: import("react").ToggleEventHandler<HTMLLIElement> | undefined;
293
+ onBeforeToggle?: import("react").ToggleEventHandler<HTMLLIElement> | undefined;
294
+ onTransitionCancel?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
295
+ onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
296
+ onTransitionEnd?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
297
+ onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
298
+ onTransitionRun?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
299
+ onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
300
+ onTransitionStart?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
301
+ onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLLIElement> | undefined;
302
+ ref?: import("react").Ref<HTMLLIElement> | undefined;
303
+ disabled?: boolean | undefined;
304
+ key: import("react").Key | null;
305
+ action?: import("react").Ref<import("@mui/material").ButtonBaseActions> | undefined;
306
+ centerRipple?: boolean | undefined;
307
+ disableRipple?: boolean | undefined;
308
+ disableTouchRipple?: boolean | undefined;
309
+ focusRipple?: boolean | undefined;
310
+ focusVisibleClassName?: string | undefined;
311
+ LinkComponent?: ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
312
+ onFocusVisible?: import("react").FocusEventHandler<any> | undefined;
313
+ TouchRippleProps?: Partial<import("@mui/material/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
314
+ touchRippleRef?: import("react").Ref<import("@mui/material/ButtonBase/TouchRipple").TouchRippleActions> | undefined;
315
+ value?: string | number | readonly string[] | undefined;
316
+ selected?: boolean | undefined;
317
+ dense?: boolean | undefined;
318
+ disableGutters?: boolean | undefined;
319
+ divider?: boolean | undefined;
320
+ disabledReason?: string | undefined;
321
+ note?: string | undefined;
322
+ tooltipPlacement?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end" | undefined;
323
+ component?: ElementType | undefined;
324
+ href?: string | undefined;
325
+ css?: import("@emotion/serialize").Interpolation<import("@emotion/react").Theme>;
326
+ }[];
327
+ };
328
+ declare const getSingleAction: <TMainActionComponent extends ElementType>(action: SingleAction<TMainActionComponent>, size: ButtonSize, isDisabled?: boolean) => {
329
+ tooltipProps: {
330
+ key: string;
331
+ title: string | undefined;
332
+ withoutContainer: boolean;
333
+ };
334
+ isNested: false | undefined;
335
+ buttonProps: Omit<SingleAction<TMainActionComponent>, "text" | "note" | "disabled" | "disabledReason" | "isNested" | "isBlockingOperation" | "renderAction"> & {
336
+ className: string;
337
+ disabled: boolean | undefined;
338
+ children: string;
339
+ size: ButtonSize;
340
+ };
341
+ elementProps: ActionElementProps;
342
+ renderAction: ((context: import("../../../types").ActionRenderContext) => import("react").ReactNode) | undefined;
343
+ nestedActions: never[];
344
+ };
345
+ export type ProcessedMainAction<TMainActionComponent extends ElementType> = ReturnType<typeof getSingleAction<TMainActionComponent>> | ReturnType<typeof getMultipleActions<TMainActionComponent>>;
4
346
  export declare const useMainActions: <TMainActionComponent extends ElementType>({ actions, size, isDisabled, }: MainActionsProps<TMainActionComponent>) => ({
5
347
  tooltipProps: {
6
348
  key: string;
7
349
  title: string | undefined;
8
350
  withoutContainer: boolean;
9
351
  };
10
- buttonProps: Omit<MultipleAction<TMainActionComponent>, "text" | "note" | "disabled" | "disabledReason" | "isNested" | "actions" | "isBlockingOperation"> & {
352
+ buttonProps: Omit<MultipleAction<TMainActionComponent>, "text" | "note" | "disabled" | "disabledReason" | "isNested" | "actions" | "isBlockingOperation" | "renderAction"> & {
353
+ className: string;
11
354
  disabled: boolean | undefined;
12
355
  name: string;
13
356
  size: ButtonSize;
14
357
  };
358
+ elementProps: ActionElementProps;
359
+ renderAction: ((context: import("../../../types").NestedActionRenderContext) => import("react").ReactNode) | undefined;
15
360
  isNested: true;
16
361
  nestedActions: {
17
362
  text: string;
@@ -328,10 +673,14 @@ export declare const useMainActions: <TMainActionComponent extends ElementType>(
328
673
  withoutContainer: boolean;
329
674
  };
330
675
  isNested: false | undefined;
331
- buttonProps: Omit<SingleAction<TMainActionComponent>, "text" | "note" | "disabled" | "disabledReason" | "isNested" | "isBlockingOperation"> & {
676
+ buttonProps: Omit<SingleAction<TMainActionComponent>, "text" | "note" | "disabled" | "disabledReason" | "isNested" | "isBlockingOperation" | "renderAction"> & {
677
+ className: string;
332
678
  disabled: boolean | undefined;
333
679
  children: string;
334
680
  size: ButtonSize;
335
681
  };
682
+ elementProps: ActionElementProps;
683
+ renderAction: ((context: import("../../../types").ActionRenderContext) => import("react").ReactNode) | undefined;
336
684
  nestedActions: never[];
337
685
  })[];
686
+ export {};
@@ -1,17 +1,31 @@
1
+ import { cn } from '../../../../utils/cn';
2
+ import { actionGroupClassnames } from '../../../constants';
1
3
  const getMultipleActions = (action, size, isDisabled) => {
2
- const { text, isNested, actions: nestedActions, disabled, disabledReason, note, isBlockingOperation, ...buttonProps } = action;
4
+ const { text, isNested, actions: nestedActions, disabled, disabledReason, note, isBlockingOperation, renderAction, ...buttonProps } = action;
5
+ const className = cn(buttonProps.className, actionGroupClassnames.action);
6
+ const isActionDisabled = isDisabled || disabled;
7
+ const elementProps = {
8
+ children: text,
9
+ disabled: isActionDisabled,
10
+ loading: buttonProps.loading,
11
+ size,
12
+ className,
13
+ };
3
14
  return {
4
15
  tooltipProps: {
5
16
  key: text,
6
17
  title: disabled ? disabledReason : note,
7
- withoutContainer: !(isDisabled || disabled),
18
+ withoutContainer: !isActionDisabled,
8
19
  },
9
20
  buttonProps: {
10
21
  ...buttonProps,
11
- disabled: isDisabled || disabled,
22
+ className,
23
+ disabled: isActionDisabled,
12
24
  name: text,
13
25
  size,
14
26
  },
27
+ elementProps,
28
+ renderAction,
15
29
  isNested,
16
30
  nestedActions: nestedActions.map(({ text: nestedActionText, ...nestedProps }) => ({
17
31
  key: nestedActionText,
@@ -21,20 +35,33 @@ const getMultipleActions = (action, size, isDisabled) => {
21
35
  };
22
36
  };
23
37
  const getSingleAction = (action, size, isDisabled) => {
24
- const { text, disabled, disabledReason, note, isBlockingOperation, isNested, ...mainProps } = action;
38
+ const { text, disabled, disabledReason, note, isBlockingOperation, isNested, renderAction, ...mainProps } = action;
39
+ const className = cn(mainProps.className, actionGroupClassnames.action);
40
+ const isActionDisabled = isDisabled || disabled;
41
+ const elementProps = {
42
+ children: text,
43
+ disabled: isActionDisabled,
44
+ loading: mainProps.loading,
45
+ onClick: mainProps.onClick,
46
+ size,
47
+ className,
48
+ };
25
49
  return {
26
50
  tooltipProps: {
27
51
  key: text,
28
52
  title: disabled ? disabledReason : note,
29
- withoutContainer: !(isDisabled || disabled),
53
+ withoutContainer: !isActionDisabled,
30
54
  },
31
55
  isNested,
32
56
  buttonProps: {
33
57
  ...mainProps,
34
- disabled: isDisabled || disabled,
58
+ className,
59
+ disabled: isActionDisabled,
35
60
  children: text,
36
61
  size,
37
62
  },
63
+ elementProps,
64
+ renderAction,
38
65
  nestedActions: [],
39
66
  };
40
67
  };
@@ -1,3 +1,4 @@
1
+ export * from './ActionNode';
1
2
  export * from './hooks';
2
3
  export * from './MainActions';
3
4
  export * from './styles';
@@ -1,3 +1,4 @@
1
+ export * from './ActionNode';
1
2
  export * from './hooks';
2
3
  export * from './MainActions';
3
4
  export * from './styles';
@@ -1,4 +1,9 @@
1
1
  /// <reference types="react" />
2
+ /**
3
+ * Обёртка стирает дженерик `component`: без неё спред пропсов действия не проходит по типам.
4
+ * Стили раскладки задаёт контейнер через класс `actionGroupClassnames.action`
5
+ * @see https://track.astral.ru/soft/browse/UIKIT-1451
6
+ */
2
7
  export declare const StyledButton: import("../../styled").StyledComponent<Omit<import("../..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
3
8
  variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
4
9
  loading?: boolean | undefined;
@@ -9,9 +14,3 @@ export declare const StyledButton: import("../../styled").StyledComponent<Omit<i
9
14
  } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
10
15
  theme?: import("@emotion/react").Theme | undefined;
11
16
  }, {}, {}>;
12
- export declare const StyledDropdownButton: import("../../styled").StyledComponent<Omit<import("../../Button").ButtonProps, "onClick" | "endIcon" | "selected"> & {
13
- name: string;
14
- popoverProps?: Omit<import("@mui/material").PopoverProps, "open"> | undefined;
15
- } & {
16
- theme?: import("@emotion/react").Theme | undefined;
17
- }, {}, {}>;
@@ -1,9 +1,8 @@
1
1
  import { Button } from '../../Button';
2
- import { DropdownButton } from '../../DropdownButton';
3
2
  import { styled } from '../../styled';
4
- export const StyledButton = styled(Button) `
5
- flex-grow: 1;
6
- `;
7
- export const StyledDropdownButton = styled(DropdownButton) `
8
- flex-grow: 1;
9
- `;
3
+ /**
4
+ * Обёртка стирает дженерик `component`: без неё спред пропсов действия не проходит по типам.
5
+ * Стили раскладки задаёт контейнер через класс `actionGroupClassnames.action`
6
+ * @see https://track.astral.ru/soft/browse/UIKIT-1451
7
+ */
8
+ export const StyledButton = styled(Button)({});
@@ -0,0 +1,12 @@
1
+ import type { ButtonSize } from '../../../Button';
2
+ import type { SecondaryVisibleAction } from '../../types';
3
+ export type ActionNodeProps = {
4
+ action: SecondaryVisibleAction;
5
+ size: ButtonSize;
6
+ className?: string;
7
+ isRenderActionDisabled?: boolean;
8
+ };
9
+ /**
10
+ * Отображает одно второстепенное действие: стандартный узел либо то, что вернул `renderAction`
11
+ */
12
+ export declare const ActionNode: ({ action, size, className, isRenderActionDisabled, }: ActionNodeProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,30 @@
1
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { useState } from 'react';
3
+ import { IconButton } from '../../../IconButton';
4
+ import { Tooltip } from '../../../Tooltip';
5
+ import { cn } from '../../../utils/cn';
6
+ /**
7
+ * Отображает одно второстепенное действие: стандартный узел либо то, что вернул `renderAction`
8
+ */
9
+ export const ActionNode = ({ action, size, className, isRenderActionDisabled = false, }) => {
10
+ const { name, icon, disabledReason, disabled, isBlockingOperation, renderAction, ...buttonProps } = action;
11
+ const isRenderActionCalled = !isRenderActionDisabled && Boolean(renderAction);
12
+ // Якорь в состоянии, а не в ref: мутация ref.current не вызывает обновление, и popover на первом кадре остался бы без якоря
13
+ const [anchorEl, setAnchorEl] = useState(null);
14
+ // Лишний render при монтировании достаётся только действиям с renderAction
15
+ const anchorRef = isRenderActionCalled ? setAnchorEl : undefined;
16
+ const actionClassName = cn(className, buttonProps.className);
17
+ const defaultElement = (_jsx(Tooltip, { title: disabled ? disabledReason : name, withoutContainer: !disabled, ref: anchorRef, children: _jsx(IconButton, { variant: "outlined", color: "grey", size: size, name: name, disabled: disabled, ...buttonProps, className: actionClassName, children: icon }) }));
18
+ if (isRenderActionDisabled || !renderAction) {
19
+ return defaultElement;
20
+ }
21
+ const elementProps = {
22
+ children: name,
23
+ disabled,
24
+ loading: buttonProps.loading,
25
+ onClick: buttonProps.onClick,
26
+ size,
27
+ className: actionClassName,
28
+ };
29
+ return _jsx(_Fragment, { children: renderAction({ defaultElement, elementProps, anchorEl }) });
30
+ };
@@ -0,0 +1 @@
1
+ export * from './ActionNode';
@@ -0,0 +1 @@
1
+ export * from './ActionNode';
@@ -1,2 +1,2 @@
1
1
  import type { SecondaryVisibleActionProps } from '../types';
2
- export declare const SecondaryVisibleActions: ({ actions, className, size, }: SecondaryVisibleActionProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const SecondaryVisibleActions: ({ actions, className, size, isRenderActionDisabled, }: SecondaryVisibleActionProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,9 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { IconButton } from '../../IconButton';
3
- import { Tooltip } from '../../Tooltip';
4
- export const SecondaryVisibleActions = ({ actions, className, size, }) => {
5
- return (_jsx(_Fragment, { children: actions.map((action) => {
6
- const { name, icon, disabledReason, disabled, isBlockingOperation, ...mainProps } = action;
7
- return (_jsx(Tooltip, { title: disabled ? disabledReason : name, withoutContainer: !disabled, children: _jsx(IconButton, { variant: "outlined", color: "grey", size: size, name: name, disabled: disabled, className: className, ...mainProps, children: icon }) }, name));
8
- }) }));
2
+ import { ActionNode } from './ActionNode';
3
+ export const SecondaryVisibleActions = ({ actions, className, size = 'medium', isRenderActionDisabled = false, }) => {
4
+ return (_jsx(_Fragment, { children: actions.map((action) => (_jsx(ActionNode, { action: action, size: size, className: className, isRenderActionDisabled: isRenderActionDisabled }, action.name))) }));
9
5
  };
@@ -0,0 +1,3 @@
1
+ export declare const actionGroupClassnames: {
2
+ action: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ import { createUIKitClassname } from '../utils/createUIKitClassname';
2
+ export const actionGroupClassnames = {
3
+ action: createUIKitClassname('action-group__action'),
4
+ };
@@ -1,6 +1,7 @@
1
1
  export { ActionGroup } from './ActionGroup';
2
+ export { actionGroupClassnames } from './constants';
2
3
  export * from './hooks';
3
4
  export { MainActions, useMainActions } from './MainActions';
4
5
  export { SecondaryActions } from './SecondaryActions';
5
6
  export { SecondaryVisibleActions } from './SecondaryVisibleActions';
6
- export type { ActionGroupProps, MainAction, MainActionsProps, SecondaryAction, SecondaryActionProps, SecondaryVisibleAction, SecondaryVisibleActionProps, } from './types';
7
+ export type { ActionElementProps, ActionGroupProps, ActionRenderContext, MainAction, MainActionsProps, NestedActionRenderContext, SecondaryAction, SecondaryActionProps, SecondaryVisibleAction, SecondaryVisibleActionProps, } from './types';
@@ -1,4 +1,5 @@
1
1
  export { ActionGroup } from './ActionGroup';
2
+ export { actionGroupClassnames } from './constants';
2
3
  export * from './hooks';
3
4
  export { MainActions, useMainActions } from './MainActions';
4
5
  export { SecondaryActions } from './SecondaryActions';
@@ -1,6 +1,7 @@
1
1
  export { ActionGroup } from './ActionGroup';
2
+ export { actionGroupClassnames } from './constants';
2
3
  export * from './hooks';
3
4
  export { MainActions, useMainActions } from './MainActions';
4
5
  export { SecondaryActions } from './SecondaryActions';
5
6
  export { SecondaryVisibleActions } from './SecondaryVisibleActions';
6
- export type { ActionGroupProps, MainAction, MainActionsProps, SecondaryActionProps, SecondaryVisibleActionProps, } from './types';
7
+ export type { ActionElementProps, ActionGroupProps, ActionRenderContext, MainAction, MainActionsProps, NestedActionRenderContext, SecondaryActionProps, SecondaryVisibleActionProps, } from './types';
@@ -1,4 +1,5 @@
1
1
  export { ActionGroup } from './ActionGroup';
2
+ export { actionGroupClassnames } from './constants';
2
3
  export * from './hooks';
3
4
  export { MainActions, useMainActions } from './MainActions';
4
5
  export { SecondaryActions } from './SecondaryActions';