@astral/ui 4.105.0 → 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 (247) 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/InfiniteTreeList/InfiniteTreeList.js +16 -2
  22. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.d.ts +4 -0
  23. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.js +1 -0
  24. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.d.ts +2 -2
  25. package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +3 -1
  26. package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/styles.js +8 -0
  27. package/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +7 -4
  28. package/components/InfiniteTreeList/InfiniteTreeListItem/constants.d.ts +2 -0
  29. package/components/InfiniteTreeList/InfiniteTreeListItem/constants.js +2 -0
  30. package/components/InfiniteTreeList/InfiniteTreeListItem/index.d.ts +1 -0
  31. package/components/InfiniteTreeList/InfiniteTreeListItem/index.js +1 -0
  32. package/components/InfiniteTreeList/InfiniteTreeListItem/styles.d.ts +14 -0
  33. package/components/InfiniteTreeList/InfiniteTreeListItem/styles.js +66 -2
  34. package/components/InfiniteTreeList/LevelHeader/LevelHeader.d.ts +5 -0
  35. package/components/InfiniteTreeList/LevelHeader/LevelHeader.js +17 -0
  36. package/components/InfiniteTreeList/LevelHeader/constants.d.ts +3 -0
  37. package/components/InfiniteTreeList/LevelHeader/constants.js +3 -0
  38. package/components/InfiniteTreeList/LevelHeader/index.d.ts +2 -0
  39. package/components/InfiniteTreeList/LevelHeader/index.js +2 -0
  40. package/components/InfiniteTreeList/LevelHeader/styles.d.ts +365 -0
  41. package/components/InfiniteTreeList/LevelHeader/styles.js +51 -0
  42. package/components/InfiniteTreeList/LevelHeader/types.d.ts +14 -0
  43. package/components/InfiniteTreeList/LevelHeader/types.js +1 -0
  44. package/components/InfiniteTreeList/ListFooter/styles.js +8 -0
  45. package/components/InfiniteTreeList/OnTopButton/styles.js +7 -0
  46. package/components/InfiniteTreeList/ParentItems/Item/Item.js +10 -2
  47. package/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.d.ts +1 -0
  48. package/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.js +10 -2
  49. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.js +2 -2
  50. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/styles.d.ts +3 -0
  51. package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/styles.js +11 -0
  52. package/components/InfiniteTreeList/TreeItem/TreeItem.js +6 -3
  53. package/components/InfiniteTreeList/TreeItem/styles.js +19 -0
  54. package/components/InfiniteTreeList/TreeItem/useLogic/useLogic.d.ts +2 -1
  55. package/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +5 -4
  56. package/components/InfiniteTreeList/constants.d.ts +21 -0
  57. package/components/InfiniteTreeList/constants.js +21 -0
  58. package/components/InfiniteTreeList/hooks/index.d.ts +2 -0
  59. package/components/InfiniteTreeList/hooks/index.js +2 -0
  60. package/components/InfiniteTreeList/hooks/useLevelNavigation/index.d.ts +2 -0
  61. package/components/InfiniteTreeList/hooks/useLevelNavigation/index.js +2 -0
  62. package/components/InfiniteTreeList/hooks/useLevelNavigation/types.d.ts +15 -0
  63. package/components/InfiniteTreeList/hooks/useLevelNavigation/types.js +1 -0
  64. package/components/InfiniteTreeList/hooks/useLevelNavigation/useLevelNavigation.d.ts +15 -0
  65. package/components/InfiniteTreeList/hooks/useLevelNavigation/useLevelNavigation.js +48 -0
  66. package/components/InfiniteTreeList/hooks/useListScroll/hooks/index.d.ts +3 -0
  67. package/components/InfiniteTreeList/hooks/useListScroll/hooks/index.js +3 -0
  68. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/index.d.ts +2 -0
  69. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/index.js +2 -0
  70. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/types.d.ts +16 -0
  71. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/types.js +1 -0
  72. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/useLevelSnapshots.d.ts +12 -0
  73. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/useLevelSnapshots.js +42 -0
  74. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/index.d.ts +2 -0
  75. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/index.js +2 -0
  76. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/types.d.ts +12 -0
  77. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/types.js +1 -0
  78. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/useScrollToTopButton.d.ts +15 -0
  79. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/useScrollToTopButton.js +27 -0
  80. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/index.d.ts +2 -0
  81. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/index.js +2 -0
  82. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/types.d.ts +11 -0
  83. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/types.js +1 -0
  84. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/useTailWatcher.d.ts +12 -0
  85. package/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/useTailWatcher.js +39 -0
  86. package/components/InfiniteTreeList/hooks/useListScroll/types.d.ts +14 -2
  87. package/components/InfiniteTreeList/hooks/useListScroll/useListScroll.d.ts +9 -6
  88. package/components/InfiniteTreeList/hooks/useListScroll/useListScroll.js +192 -28
  89. package/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/getOffsetTop.d.ts +4 -0
  90. package/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/getOffsetTop.js +6 -0
  91. package/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/index.d.ts +1 -0
  92. package/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/index.js +1 -0
  93. package/components/InfiniteTreeList/hooks/useListScroll/utils/index.d.ts +1 -0
  94. package/components/InfiniteTreeList/hooks/useListScroll/utils/index.js +1 -0
  95. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/index.d.ts +2 -0
  96. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/index.js +2 -0
  97. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/types.d.ts +14 -0
  98. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/types.js +1 -0
  99. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/useNodeTitleValidation.d.ts +5 -0
  100. package/components/InfiniteTreeList/hooks/useNodeTitleValidation/useNodeTitleValidation.js +18 -0
  101. package/components/InfiniteTreeList/styles.d.ts +5 -0
  102. package/components/InfiniteTreeList/styles.js +41 -0
  103. package/components/InfiniteTreeList/types.d.ts +4 -0
  104. package/components/InfiniteTreeList/useLogic/useLogic.d.ts +13 -5
  105. package/components/InfiniteTreeList/useLogic/useLogic.js +165 -27
  106. package/components/InfiniteTreeList/utils/checkHasFooterContent/checkHasFooterContent.d.ts +5 -0
  107. package/components/InfiniteTreeList/utils/checkHasFooterContent/checkHasFooterContent.js +4 -0
  108. package/components/InfiniteTreeList/utils/checkHasFooterContent/index.d.ts +1 -0
  109. package/components/InfiniteTreeList/utils/checkHasFooterContent/index.js +1 -0
  110. package/components/InfiniteTreeList/utils/checkHasNested/checkHasNested.d.ts +6 -0
  111. package/components/InfiniteTreeList/utils/checkHasNested/checkHasNested.js +5 -0
  112. package/components/InfiniteTreeList/utils/checkHasNested/index.d.ts +1 -0
  113. package/components/InfiniteTreeList/utils/checkHasNested/index.js +1 -0
  114. package/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.d.ts +8 -3
  115. package/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.js +30 -12
  116. package/components/InfiniteTreeList/utils/flattenTree/flattenTree.js +2 -1
  117. package/components/InfiniteTreeList/utils/getLevelKey/getLevelKey.d.ts +4 -0
  118. package/components/InfiniteTreeList/utils/getLevelKey/getLevelKey.js +5 -0
  119. package/components/InfiniteTreeList/utils/getLevelKey/index.d.ts +1 -0
  120. package/components/InfiniteTreeList/utils/getLevelKey/index.js +1 -0
  121. package/components/InfiniteTreeList/utils/index.d.ts +3 -0
  122. package/components/InfiniteTreeList/utils/index.js +3 -0
  123. package/components/useScrollManagement/useScrollManagement.js +7 -6
  124. package/node/components/ActionCellBase/ActionCellBase.js +10 -1
  125. package/node/components/ActionCellBase/MainAction/MainAction.js +6 -0
  126. package/node/components/ActionCellBase/MainAction/MainIconButton/MainIconButton.js +7 -4
  127. package/node/components/ActionCellBase/MainAction/MainIconButton/constants.d.ts +3 -0
  128. package/node/components/ActionCellBase/MainAction/MainIconButton/constants.js +7 -0
  129. package/node/components/ActionCellBase/MainAction/MainIconButton/styles.d.ts +11 -0
  130. package/node/components/ActionCellBase/MainAction/MainIconButton/styles.js +12 -0
  131. package/node/components/ActionCellBase/MainAction/MobileMainButton/MobileMainButton.d.ts +14 -0
  132. package/node/components/ActionCellBase/MainAction/MobileMainButton/MobileMainButton.js +21 -0
  133. package/node/components/ActionCellBase/MainAction/MobileMainButton/index.d.ts +1 -0
  134. package/node/components/ActionCellBase/MainAction/MobileMainButton/index.js +17 -0
  135. package/node/components/ActionCellBase/MainAction/MobileMainButton/styles.d.ts +11 -0
  136. package/node/components/ActionCellBase/MainAction/MobileMainButton/styles.js +10 -0
  137. package/node/components/ActionCellBase/SecondaryAction/SecondaryAction.js +2 -2
  138. package/node/components/ActionCellBase/SecondaryAction/styles.d.ts +4 -0
  139. package/node/components/ActionCellBase/SecondaryAction/styles.js +12 -0
  140. package/node/components/ActionCellBase/constants.d.ts +4 -0
  141. package/node/components/ActionCellBase/constants.js +8 -0
  142. package/node/components/ActionCellBase/styles.js +11 -0
  143. package/node/components/ActionCellBase/types.d.ts +25 -0
  144. package/node/components/InfiniteTreeList/InfiniteTreeList.js +16 -2
  145. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.d.ts +4 -0
  146. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.js +1 -0
  147. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.d.ts +2 -2
  148. package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +3 -1
  149. package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/styles.js +8 -0
  150. package/node/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +6 -3
  151. package/node/components/InfiniteTreeList/InfiniteTreeListItem/constants.d.ts +2 -0
  152. package/node/components/InfiniteTreeList/InfiniteTreeListItem/constants.js +2 -0
  153. package/node/components/InfiniteTreeList/InfiniteTreeListItem/index.d.ts +1 -0
  154. package/node/components/InfiniteTreeList/InfiniteTreeListItem/index.js +3 -0
  155. package/node/components/InfiniteTreeList/InfiniteTreeListItem/styles.d.ts +14 -0
  156. package/node/components/InfiniteTreeList/InfiniteTreeListItem/styles.js +67 -3
  157. package/node/components/InfiniteTreeList/LevelHeader/LevelHeader.d.ts +5 -0
  158. package/node/components/InfiniteTreeList/LevelHeader/LevelHeader.js +21 -0
  159. package/node/components/InfiniteTreeList/LevelHeader/constants.d.ts +3 -0
  160. package/node/components/InfiniteTreeList/LevelHeader/constants.js +6 -0
  161. package/node/components/InfiniteTreeList/LevelHeader/index.d.ts +2 -0
  162. package/node/components/InfiniteTreeList/LevelHeader/index.js +18 -0
  163. package/node/components/InfiniteTreeList/LevelHeader/styles.d.ts +365 -0
  164. package/node/components/InfiniteTreeList/LevelHeader/styles.js +54 -0
  165. package/node/components/InfiniteTreeList/LevelHeader/types.d.ts +14 -0
  166. package/node/components/InfiniteTreeList/LevelHeader/types.js +2 -0
  167. package/node/components/InfiniteTreeList/ListFooter/styles.js +8 -0
  168. package/node/components/InfiniteTreeList/OnTopButton/styles.js +7 -0
  169. package/node/components/InfiniteTreeList/ParentItems/Item/Item.js +10 -2
  170. package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.d.ts +1 -0
  171. package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.js +10 -2
  172. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.js +2 -2
  173. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/styles.d.ts +3 -0
  174. package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/styles.js +14 -0
  175. package/node/components/InfiniteTreeList/TreeItem/TreeItem.js +6 -3
  176. package/node/components/InfiniteTreeList/TreeItem/styles.js +19 -0
  177. package/node/components/InfiniteTreeList/TreeItem/useLogic/useLogic.d.ts +2 -1
  178. package/node/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +4 -3
  179. package/node/components/InfiniteTreeList/constants.d.ts +21 -0
  180. package/node/components/InfiniteTreeList/constants.js +22 -1
  181. package/node/components/InfiniteTreeList/hooks/index.d.ts +2 -0
  182. package/node/components/InfiniteTreeList/hooks/index.js +2 -0
  183. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/index.d.ts +2 -0
  184. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/index.js +18 -0
  185. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/types.d.ts +15 -0
  186. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/types.js +2 -0
  187. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/useLevelNavigation.d.ts +15 -0
  188. package/node/components/InfiniteTreeList/hooks/useLevelNavigation/useLevelNavigation.js +52 -0
  189. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/index.d.ts +3 -0
  190. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/index.js +19 -0
  191. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/index.d.ts +2 -0
  192. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/index.js +18 -0
  193. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/types.d.ts +16 -0
  194. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/types.js +2 -0
  195. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/useLevelSnapshots.d.ts +12 -0
  196. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useLevelSnapshots/useLevelSnapshots.js +46 -0
  197. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/index.d.ts +2 -0
  198. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/index.js +18 -0
  199. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/types.d.ts +12 -0
  200. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/types.js +2 -0
  201. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/useScrollToTopButton.d.ts +15 -0
  202. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useScrollToTopButton/useScrollToTopButton.js +31 -0
  203. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/index.d.ts +2 -0
  204. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/index.js +18 -0
  205. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/types.d.ts +11 -0
  206. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/types.js +2 -0
  207. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/useTailWatcher.d.ts +12 -0
  208. package/node/components/InfiniteTreeList/hooks/useListScroll/hooks/useTailWatcher/useTailWatcher.js +43 -0
  209. package/node/components/InfiniteTreeList/hooks/useListScroll/types.d.ts +14 -2
  210. package/node/components/InfiniteTreeList/hooks/useListScroll/useListScroll.d.ts +9 -6
  211. package/node/components/InfiniteTreeList/hooks/useListScroll/useListScroll.js +190 -26
  212. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/getOffsetTop.d.ts +4 -0
  213. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/getOffsetTop.js +10 -0
  214. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/index.d.ts +1 -0
  215. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/getOffsetTop/index.js +17 -0
  216. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/index.d.ts +1 -0
  217. package/node/components/InfiniteTreeList/hooks/useListScroll/utils/index.js +17 -0
  218. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/index.d.ts +2 -0
  219. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/index.js +18 -0
  220. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/types.d.ts +14 -0
  221. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/types.js +2 -0
  222. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/useNodeTitleValidation.d.ts +5 -0
  223. package/node/components/InfiniteTreeList/hooks/useNodeTitleValidation/useNodeTitleValidation.js +22 -0
  224. package/node/components/InfiniteTreeList/styles.d.ts +5 -0
  225. package/node/components/InfiniteTreeList/styles.js +44 -0
  226. package/node/components/InfiniteTreeList/types.d.ts +4 -0
  227. package/node/components/InfiniteTreeList/useLogic/useLogic.d.ts +13 -5
  228. package/node/components/InfiniteTreeList/useLogic/useLogic.js +162 -24
  229. package/node/components/InfiniteTreeList/utils/checkHasFooterContent/checkHasFooterContent.d.ts +5 -0
  230. package/node/components/InfiniteTreeList/utils/checkHasFooterContent/checkHasFooterContent.js +8 -0
  231. package/node/components/InfiniteTreeList/utils/checkHasFooterContent/index.d.ts +1 -0
  232. package/node/components/InfiniteTreeList/utils/checkHasFooterContent/index.js +17 -0
  233. package/node/components/InfiniteTreeList/utils/checkHasNested/checkHasNested.d.ts +6 -0
  234. package/node/components/InfiniteTreeList/utils/checkHasNested/checkHasNested.js +9 -0
  235. package/node/components/InfiniteTreeList/utils/checkHasNested/index.d.ts +1 -0
  236. package/node/components/InfiniteTreeList/utils/checkHasNested/index.js +17 -0
  237. package/node/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.d.ts +8 -3
  238. package/node/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.js +30 -12
  239. package/node/components/InfiniteTreeList/utils/flattenTree/flattenTree.js +2 -1
  240. package/node/components/InfiniteTreeList/utils/getLevelKey/getLevelKey.d.ts +4 -0
  241. package/node/components/InfiniteTreeList/utils/getLevelKey/getLevelKey.js +9 -0
  242. package/node/components/InfiniteTreeList/utils/getLevelKey/index.d.ts +1 -0
  243. package/node/components/InfiniteTreeList/utils/getLevelKey/index.js +17 -0
  244. package/node/components/InfiniteTreeList/utils/index.d.ts +3 -0
  245. package/node/components/InfiniteTreeList/utils/index.js +3 -0
  246. package/node/components/useScrollManagement/useScrollManagement.js +6 -5
  247. package/package.json +1 -1
@@ -0,0 +1,365 @@
1
+ /// <reference types="react" />
2
+ /// <reference types="react" />
3
+ export declare const Wrapper: import("@emotion/styled/dist/declarations/src/types").StyledComponent<{
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
7
+ export declare const BackButton: 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"> & {
8
+ variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
9
+ loading?: boolean | undefined;
10
+ color?: "primary" | "success" | "warning" | "error" | "grey" | undefined;
11
+ component?: import("react").ElementType | undefined;
12
+ selected?: boolean | undefined;
13
+ size?: "large" | "medium" | undefined;
14
+ } & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, ""> & import("react").RefAttributes<HTMLButtonElement> & {
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ }, {}, {}>;
17
+ export declare const Title: import("@emotion/styled/dist/declarations/src/types").StyledComponent<import("../../OverflowTypography").OverflowedProps & {
18
+ tooltipProps?: (Omit<{
19
+ components?: {
20
+ Popper?: import("react").ElementType<import("@mui/material").PopperProps, keyof import("react").JSX.IntrinsicElements> | undefined;
21
+ Transition?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
22
+ Tooltip?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
23
+ Arrow?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
24
+ } | undefined;
25
+ classes?: Partial<import("@mui/material").TooltipClasses> | undefined;
26
+ defaultChecked?: boolean | undefined;
27
+ defaultValue?: string | number | readonly string[] | undefined;
28
+ suppressContentEditableWarning?: boolean | undefined;
29
+ suppressHydrationWarning?: boolean | undefined;
30
+ accessKey?: string | undefined;
31
+ autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
32
+ autoFocus?: boolean | undefined;
33
+ className?: string | undefined;
34
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
35
+ contextMenu?: string | undefined;
36
+ dir?: string | undefined;
37
+ draggable?: (boolean | "true" | "false") | undefined;
38
+ enterKeyHint?: "enter" | "search" | "done" | "go" | "next" | "previous" | "send" | undefined;
39
+ hidden?: boolean | undefined;
40
+ id?: string | undefined;
41
+ lang?: string | undefined;
42
+ nonce?: string | undefined;
43
+ slot?: string | undefined;
44
+ spellCheck?: (boolean | "true" | "false") | undefined;
45
+ style?: import("react").CSSProperties | undefined;
46
+ tabIndex?: number | undefined;
47
+ title: import("react").ReactNode;
48
+ translate?: "yes" | "no" | undefined;
49
+ radioGroup?: string | undefined;
50
+ role?: import("react").AriaRole | undefined;
51
+ about?: string | undefined;
52
+ content?: string | undefined;
53
+ datatype?: string | undefined;
54
+ inlist?: any;
55
+ prefix?: string | undefined;
56
+ property?: string | undefined;
57
+ rel?: string | undefined;
58
+ resource?: string | undefined;
59
+ rev?: string | undefined;
60
+ typeof?: string | undefined;
61
+ vocab?: string | undefined;
62
+ autoCorrect?: string | undefined;
63
+ autoSave?: string | undefined;
64
+ color?: string | undefined;
65
+ itemProp?: string | undefined;
66
+ itemScope?: boolean | undefined;
67
+ itemType?: string | undefined;
68
+ itemID?: string | undefined;
69
+ itemRef?: string | undefined;
70
+ results?: number | undefined;
71
+ security?: string | undefined;
72
+ unselectable?: "off" | "on" | undefined;
73
+ popover?: "" | "auto" | "manual" | "hint" | undefined;
74
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
75
+ popoverTarget?: string | undefined;
76
+ inert?: boolean | undefined;
77
+ inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
78
+ is?: string | undefined;
79
+ exportparts?: string | undefined;
80
+ part?: string | undefined;
81
+ "aria-activedescendant"?: string | undefined;
82
+ "aria-atomic"?: (boolean | "true" | "false") | undefined;
83
+ "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
84
+ "aria-braillelabel"?: string | undefined;
85
+ "aria-brailleroledescription"?: string | undefined;
86
+ "aria-busy"?: (boolean | "true" | "false") | undefined;
87
+ "aria-checked"?: boolean | "true" | "false" | "mixed" | undefined;
88
+ "aria-colcount"?: number | undefined;
89
+ "aria-colindex"?: number | undefined;
90
+ "aria-colindextext"?: string | undefined;
91
+ "aria-colspan"?: number | undefined;
92
+ "aria-controls"?: string | undefined;
93
+ "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
94
+ "aria-describedby"?: string | undefined;
95
+ "aria-description"?: string | undefined;
96
+ "aria-details"?: string | undefined;
97
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
98
+ "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
99
+ "aria-errormessage"?: string | undefined;
100
+ "aria-expanded"?: (boolean | "true" | "false") | undefined;
101
+ "aria-flowto"?: string | undefined;
102
+ "aria-grabbed"?: (boolean | "true" | "false") | undefined;
103
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
104
+ "aria-hidden"?: (boolean | "true" | "false") | undefined;
105
+ "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
106
+ "aria-keyshortcuts"?: string | undefined;
107
+ "aria-label"?: string | undefined;
108
+ "aria-labelledby"?: string | undefined;
109
+ "aria-level"?: number | undefined;
110
+ "aria-live"?: "off" | "assertive" | "polite" | undefined;
111
+ "aria-modal"?: (boolean | "true" | "false") | undefined;
112
+ "aria-multiline"?: (boolean | "true" | "false") | undefined;
113
+ "aria-multiselectable"?: (boolean | "true" | "false") | undefined;
114
+ "aria-orientation"?: "horizontal" | "vertical" | undefined;
115
+ "aria-owns"?: string | undefined;
116
+ "aria-placeholder"?: string | undefined;
117
+ "aria-posinset"?: number | undefined;
118
+ "aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
119
+ "aria-readonly"?: (boolean | "true" | "false") | undefined;
120
+ "aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
121
+ "aria-required"?: (boolean | "true" | "false") | undefined;
122
+ "aria-roledescription"?: string | undefined;
123
+ "aria-rowcount"?: number | undefined;
124
+ "aria-rowindex"?: number | undefined;
125
+ "aria-rowindextext"?: string | undefined;
126
+ "aria-rowspan"?: number | undefined;
127
+ "aria-selected"?: (boolean | "true" | "false") | undefined;
128
+ "aria-setsize"?: number | undefined;
129
+ "aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
130
+ "aria-valuemax"?: number | undefined;
131
+ "aria-valuemin"?: number | undefined;
132
+ "aria-valuenow"?: number | undefined;
133
+ "aria-valuetext"?: string | undefined;
134
+ children: import("react").ReactElement<any, any>;
135
+ dangerouslySetInnerHTML?: {
136
+ __html: string | TrustedHTML;
137
+ } | undefined;
138
+ onCopy?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
139
+ onCopyCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
140
+ onCut?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
141
+ onCutCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
142
+ onPaste?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
143
+ onPasteCapture?: import("react").ClipboardEventHandler<HTMLDivElement> | undefined;
144
+ onCompositionEnd?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
145
+ onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
146
+ onCompositionStart?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
147
+ onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
148
+ onCompositionUpdate?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
149
+ onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLDivElement> | undefined;
150
+ onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
151
+ onFocusCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
152
+ onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
153
+ onBlurCapture?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
154
+ onChange?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
155
+ onChangeCapture?: import("react").ChangeEventHandler<HTMLDivElement, Element> | undefined;
156
+ onBeforeInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
157
+ onBeforeInputCapture?: import("react").InputEventHandler<HTMLDivElement> | undefined;
158
+ onInput?: import("react").InputEventHandler<HTMLDivElement> | undefined;
159
+ onInputCapture?: import("react").InputEventHandler<HTMLDivElement> | undefined;
160
+ onReset?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
161
+ onResetCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
162
+ onSubmit?: import("react").SubmitEventHandler<HTMLDivElement> | undefined;
163
+ onSubmitCapture?: import("react").SubmitEventHandler<HTMLDivElement> | undefined;
164
+ onInvalid?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
165
+ onInvalidCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
166
+ onLoad?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
167
+ onLoadCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
168
+ onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
169
+ onErrorCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
170
+ onKeyDown?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
171
+ onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
172
+ onKeyPress?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
173
+ onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
174
+ onKeyUp?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
175
+ onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLDivElement> | undefined;
176
+ onAbort?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
177
+ onAbortCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
178
+ onCanPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
179
+ onCanPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
180
+ onCanPlayThrough?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
181
+ onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
182
+ onDurationChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
183
+ onDurationChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
184
+ onEmptied?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
185
+ onEmptiedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
186
+ onEncrypted?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
187
+ onEncryptedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
188
+ onEnded?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
189
+ onEndedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
190
+ onLoadedData?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
191
+ onLoadedDataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
192
+ onLoadedMetadata?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
193
+ onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
194
+ onLoadStart?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
195
+ onLoadStartCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
196
+ onPause?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
197
+ onPauseCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
198
+ onPlay?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
199
+ onPlayCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
200
+ onPlaying?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
201
+ onPlayingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
202
+ onProgress?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
203
+ onProgressCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
204
+ onRateChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
205
+ onRateChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
206
+ onSeeked?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
207
+ onSeekedCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
208
+ onSeeking?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
209
+ onSeekingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
210
+ onStalled?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
211
+ onStalledCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
212
+ onSuspend?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
213
+ onSuspendCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
214
+ onTimeUpdate?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
215
+ onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
216
+ onVolumeChange?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
217
+ onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
218
+ onWaiting?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
219
+ onWaitingCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
220
+ onAuxClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
221
+ onAuxClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
222
+ onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
223
+ onClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
224
+ onContextMenu?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
225
+ onContextMenuCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
226
+ onDoubleClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
227
+ onDoubleClickCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
228
+ onDrag?: import("react").DragEventHandler<HTMLDivElement> | undefined;
229
+ onDragCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
230
+ onDragEnd?: import("react").DragEventHandler<HTMLDivElement> | undefined;
231
+ onDragEndCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
232
+ onDragEnter?: import("react").DragEventHandler<HTMLDivElement> | undefined;
233
+ onDragEnterCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
234
+ onDragExit?: import("react").DragEventHandler<HTMLDivElement> | undefined;
235
+ onDragExitCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
236
+ onDragLeave?: import("react").DragEventHandler<HTMLDivElement> | undefined;
237
+ onDragLeaveCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
238
+ onDragOver?: import("react").DragEventHandler<HTMLDivElement> | undefined;
239
+ onDragOverCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
240
+ onDragStart?: import("react").DragEventHandler<HTMLDivElement> | undefined;
241
+ onDragStartCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
242
+ onDrop?: import("react").DragEventHandler<HTMLDivElement> | undefined;
243
+ onDropCapture?: import("react").DragEventHandler<HTMLDivElement> | undefined;
244
+ onMouseDown?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
245
+ onMouseDownCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
246
+ onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
247
+ onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
248
+ onMouseMove?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
249
+ onMouseMoveCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
250
+ onMouseOut?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
251
+ onMouseOutCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
252
+ onMouseOver?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
253
+ onMouseOverCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
254
+ onMouseUp?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
255
+ onMouseUpCapture?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
256
+ onSelect?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
257
+ onSelectCapture?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
258
+ onTouchCancel?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
259
+ onTouchCancelCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
260
+ onTouchEnd?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
261
+ onTouchEndCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
262
+ onTouchMove?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
263
+ onTouchMoveCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
264
+ onTouchStart?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
265
+ onTouchStartCapture?: import("react").TouchEventHandler<HTMLDivElement> | undefined;
266
+ onPointerDown?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
267
+ onPointerDownCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
268
+ onPointerMove?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
269
+ onPointerMoveCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
270
+ onPointerUp?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
271
+ onPointerUpCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
272
+ onPointerCancel?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
273
+ onPointerCancelCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
274
+ onPointerEnter?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
275
+ onPointerLeave?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
276
+ onPointerOver?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
277
+ onPointerOverCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
278
+ onPointerOut?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
279
+ onPointerOutCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
280
+ onGotPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
281
+ onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
282
+ onLostPointerCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
283
+ onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLDivElement> | undefined;
284
+ onScroll?: import("react").UIEventHandler<HTMLDivElement> | undefined;
285
+ onScrollCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
286
+ onScrollEnd?: import("react").UIEventHandler<HTMLDivElement> | undefined;
287
+ onScrollEndCapture?: import("react").UIEventHandler<HTMLDivElement> | undefined;
288
+ onWheel?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
289
+ onWheelCapture?: import("react").WheelEventHandler<HTMLDivElement> | undefined;
290
+ onAnimationStart?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
291
+ onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
292
+ onAnimationEnd?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
293
+ onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
294
+ onAnimationIteration?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
295
+ onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
296
+ onToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
297
+ onBeforeToggle?: import("react").ToggleEventHandler<HTMLDivElement> | undefined;
298
+ onTransitionCancel?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
299
+ onTransitionCancelCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
300
+ onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
301
+ onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
302
+ onTransitionRun?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
303
+ onTransitionRunCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
304
+ onTransitionStart?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
305
+ onTransitionStartCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
306
+ open?: boolean | undefined;
307
+ width?: import("csstype").Property.Width<string | number> | undefined;
308
+ size?: import("../..").TooltipSize | undefined;
309
+ componentsProps?: {
310
+ popper?: (Partial<import("@mui/material").PopperProps> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
311
+ transition?: (import("@mui/material/transitions").TransitionProps & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
312
+ tooltip?: (import("react").HTMLProps<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
313
+ arrow?: (import("react").HTMLProps<HTMLSpanElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
314
+ } | undefined;
315
+ onClose?: ((event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
316
+ slots?: {
317
+ popper?: import("react").ElementType<import("@mui/material").PopperProps, keyof import("react").JSX.IntrinsicElements> | undefined;
318
+ transition?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
319
+ tooltip?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
320
+ arrow?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
321
+ } | undefined;
322
+ slotProps?: {
323
+ popper?: (Partial<import("@mui/material").PopperProps> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
324
+ transition?: (import("@mui/material/transitions").TransitionProps & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
325
+ tooltip?: (import("react").HTMLProps<HTMLDivElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
326
+ arrow?: (import("react").HTMLProps<HTMLSpanElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & import("@mui/material").TooltipComponentsPropsOverrides) | undefined;
327
+ } | undefined;
328
+ TransitionComponent?: import("react").JSXElementConstructor<import("@mui/material/transitions").TransitionProps & {
329
+ children: import("react").ReactElement<any, any>;
330
+ }> | undefined;
331
+ TransitionProps?: import("@mui/material/transitions").TransitionProps | undefined;
332
+ arrow?: boolean | undefined;
333
+ describeChild?: boolean | undefined;
334
+ disableFocusListener?: boolean | undefined;
335
+ disableHoverListener?: boolean | undefined;
336
+ disableInteractive?: boolean | undefined;
337
+ disableTouchListener?: boolean | undefined;
338
+ enterDelay?: number | undefined;
339
+ enterNextDelay?: number | undefined;
340
+ enterTouchDelay?: number | undefined;
341
+ followCursor?: boolean | undefined;
342
+ leaveDelay?: number | undefined;
343
+ leaveTouchDelay?: number | undefined;
344
+ onOpen?: ((event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
345
+ placement?: "bottom" | "left" | "right" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end" | undefined;
346
+ PopperComponent?: import("react").JSXElementConstructor<import("@mui/material").PopperProps> | undefined;
347
+ PopperProps?: Partial<import("@mui/material").PopperProps> | undefined;
348
+ withoutContainer?: boolean | undefined;
349
+ }, "title" | "children"> & {
350
+ title?: import("react").ReactNode;
351
+ }) | undefined;
352
+ visibleLastSymbolsCount?: number | undefined;
353
+ } & import("../../Typography/types").TypographyPropsBase & {
354
+ color?: import("../..").TypographyColor | undefined;
355
+ variant?: import("../..").TypographyVariant | undefined;
356
+ colorIntensity?: import("../..").Intensity | undefined;
357
+ component?: import("../../Typography/types").ComponentProp | undefined;
358
+ isUpperCase?: boolean | undefined;
359
+ withoutCalt?: boolean | undefined;
360
+ isTabularNums?: boolean | undefined;
361
+ } & import("react").HTMLAttributes<HTMLParagraphElement> & {
362
+ children?: import("react").ReactNode;
363
+ } & import("react").RefAttributes<HTMLElement> & {
364
+ theme?: import("@emotion/react").Theme | undefined;
365
+ }, {}, {}>;
@@ -0,0 +1,54 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Title = exports.BackButton = exports.Wrapper = void 0;
4
+ const Button_1 = require("../../Button");
5
+ const IconButton_1 = require("../../IconButton");
6
+ const OverflowTypography_1 = require("../../OverflowTypography");
7
+ const SvgIcon_1 = require("../../SvgIcon");
8
+ const styled_1 = require("../../styled");
9
+ const constants_1 = require("../constants");
10
+ const constants_2 = require("./constants");
11
+ exports.Wrapper = styled_1.styled.header `
12
+ position: relative;
13
+
14
+ display: flex;
15
+ align-items: center;
16
+
17
+ padding: ${({ theme }) => theme.spacing(3, 4)};
18
+
19
+ border-bottom: 1px solid ${({ theme }) => theme.palette.grey[300]};
20
+
21
+ &.${constants_1.infiniteTreeListClassnames.levelHeaderWithBackButton} {
22
+ padding-left: ${({ theme }) => theme.spacing(11)};
23
+ }
24
+ `;
25
+ exports.BackButton = (0, styled_1.styled)(IconButton_1.IconButton) `
26
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
27
+ position: absolute;
28
+ top: 0;
29
+ bottom: 0;
30
+ left: 0;
31
+
32
+ width: ${constants_2.LEVEL_BACK_BUTTON_WIDTH};
33
+ height: auto;
34
+ padding: ${({ theme }) => theme.spacing(0, 8, 0, 4)};
35
+
36
+ color: inherit;
37
+
38
+ border-radius: 0;
39
+
40
+ &.${Button_1.buttonClasses.root} .${SvgIcon_1.svgIconClassnames.root} {
41
+ width: ${constants_2.LEVEL_BACK_BUTTON_ICON_SIZE};
42
+ height: ${constants_2.LEVEL_BACK_BUTTON_ICON_SIZE};
43
+ }
44
+
45
+ &:active {
46
+ background-color: transparent;
47
+ }
48
+ }
49
+ `;
50
+ exports.Title = (0, styled_1.styled)(OverflowTypography_1.OverflowTypography) `
51
+ flex-grow: 1;
52
+
53
+ min-width: 0;
54
+ `;
@@ -0,0 +1,14 @@
1
+ export type LevelHeaderProps = {
2
+ /**
3
+ * Заголовок отображаемого уровня
4
+ */
5
+ title?: string;
6
+ /**
7
+ * Показывает кнопку возврата
8
+ */
9
+ hasBackButton: boolean;
10
+ /**
11
+ * Обработчик возврата на уровень выше
12
+ */
13
+ onBack: () => void;
14
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,7 +10,15 @@ exports.Footer = styled_1.styled.footer `
10
10
 
11
11
  min-height: 64px;
12
12
  margin-top: ${({ theme }) => theme.spacing(1)};
13
+
14
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
15
+ margin-top: unset;
16
+ }
13
17
  `;
14
18
  exports.FooterDummy = styled_1.styled.div `
15
19
  min-height: 20px;
20
+
21
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
22
+ display: none;
23
+ }
16
24
  `;
@@ -10,4 +10,11 @@ exports.StyledScrollToTopButton = (0, styled_1.styled)(ScrollToTopButton_1.Scrol
10
10
  &.${constants_1.infiniteTreeListClassnames.visibleScrollToTopButton} {
11
11
  display: inline-flex;
12
12
  }
13
+
14
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
15
+ &,
16
+ &.${constants_1.infiniteTreeListClassnames.visibleScrollToTopButton} {
17
+ display: none;
18
+ }
19
+ }
13
20
  `;
@@ -4,11 +4,19 @@ exports.Item = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const react_1 = require("react");
6
6
  const react_dom_1 = require("react-dom");
7
+ const cva_1 = require("../../../utils/cva");
7
8
  const constants_1 = require("../../constants");
8
9
  const InfiniteTreeListItem_1 = require("../../InfiniteTreeListItem");
9
10
  const styles_1 = require("../../TreeItem/styles");
10
11
  const CustomParentWrapper_1 = require("./CustomParentWrapper");
11
12
  const useLogic_1 = require("./useLogic");
13
+ const parentItemCva = (0, cva_1.cva)(constants_1.infiniteTreeListClassnames.row, {
14
+ variants: {
15
+ isLastRow: {
16
+ true: constants_1.infiniteTreeListClassnames.rowLast,
17
+ },
18
+ },
19
+ });
12
20
  /**
13
21
  * Строка одного узла с подгружаемыми дочерними элементами.
14
22
  *
@@ -17,9 +25,9 @@ const useLogic_1 = require("./useLogic");
17
25
  * экране
18
26
  */
19
27
  exports.Item = (0, react_1.memo)((props) => {
20
- const { nodeId, slot, cssVars, parent, renderParent, onToggle } = (0, useLogic_1.useLogic)(props);
28
+ const { nodeId, slot, cssVars, parent, renderParent, onToggle, isLastRow } = (0, useLogic_1.useLogic)(props);
21
29
  if (!slot) {
22
30
  return null;
23
31
  }
24
- return (0, react_dom_1.createPortal)((0, jsx_runtime_1.jsx)(InfiniteTreeListItem_1.TreeListItemContextProvider, { item: parent, onToggle: onToggle, children: (0, jsx_runtime_1.jsx)(styles_1.Wrapper, { id: nodeId, className: constants_1.infiniteTreeListClassnames.row, style: cssVars, children: (0, jsx_runtime_1.jsx)(CustomParentWrapper_1.CustomParentWrapper, { item: parent, renderParent: renderParent }) }) }), slot);
32
+ return (0, react_dom_1.createPortal)((0, jsx_runtime_1.jsx)(InfiniteTreeListItem_1.TreeListItemContextProvider, { item: parent, onToggle: onToggle, children: (0, jsx_runtime_1.jsx)(styles_1.Wrapper, { id: nodeId, className: parentItemCva({ isLastRow }), style: cssVars, children: (0, jsx_runtime_1.jsx)(CustomParentWrapper_1.CustomParentWrapper, { item: parent, renderParent: renderParent }) }) }), slot);
25
33
  });
@@ -8,5 +8,6 @@ export declare const useLogic: ({ parent }: UseLogicParams) => {
8
8
  parent: import("../../../types").FlattenTree<import("../../../types").InfiniteTreeListData>;
9
9
  renderParent: (item: import("../../../types").FlattenTree<import("../../../types").InfiniteTreeListData>) => import("react").ReactNode;
10
10
  onToggle: (item: import("../../../types").InfiniteTreeListData) => void;
11
+ isLastRow: boolean;
11
12
  };
12
13
  export {};
@@ -4,13 +4,21 @@ exports.useLogic = void 0;
4
4
  const react_1 = require("react");
5
5
  const InfiniteTreeListContext_1 = require("../../../InfiniteTreeListContext");
6
6
  const useLogic = ({ parent }) => {
7
- const { renderParent, onToggle, acquireParentSlot } = (0, react_1.useContext)(InfiniteTreeListContext_1.InfiniteTreeListContext);
7
+ const { renderParent, onToggle, acquireParentSlot, lastRowId } = (0, react_1.useContext)(InfiniteTreeListContext_1.InfiniteTreeListContext);
8
8
  const slot = acquireParentSlot(parent.id);
9
9
  const { nodeId, level, siblingIndex } = parent.meta;
10
10
  const cssVars = {
11
11
  '--level': level,
12
12
  '--sibling-index': siblingIndex,
13
13
  };
14
- return { slot, nodeId, cssVars, parent, renderParent, onToggle };
14
+ return {
15
+ slot,
16
+ nodeId,
17
+ cssVars,
18
+ parent,
19
+ renderParent,
20
+ onToggle,
21
+ isLastRow: parent.id === lastRowId,
22
+ };
15
23
  };
16
24
  exports.useLogic = useLogic;
@@ -4,6 +4,6 @@ exports.NoDataRow = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const Typography_1 = require("../../../../Typography");
6
6
  const constants_1 = require("../../../constants");
7
- const InfiniteTreeListItem_1 = require("../../../InfiniteTreeListItem");
8
- const NoDataRow = () => ((0, jsx_runtime_1.jsx)(InfiniteTreeListItem_1.InfiniteTreeListItem, { children: (0, jsx_runtime_1.jsx)(Typography_1.Typography, { color: "grey", colorIntensity: "600", children: constants_1.CHILDREN_NO_DATA_MSG }) }));
7
+ const styles_1 = require("./styles");
8
+ const NoDataRow = () => ((0, jsx_runtime_1.jsx)(styles_1.StyledInfiniteTreeListItem, { children: (0, jsx_runtime_1.jsx)(Typography_1.Typography, { color: "grey", colorIntensity: "600", children: constants_1.CHILDREN_NO_DATA_MSG }) }));
9
9
  exports.NoDataRow = NoDataRow;
@@ -0,0 +1,3 @@
1
+ export declare const StyledInfiniteTreeListItem: import("@emotion/styled/dist/declarations/src/types").StyledComponent<import("../../../InfiniteTreeListItem").InfiniteTreeListItemProps & {
2
+ theme?: import("@emotion/react").Theme | undefined;
3
+ }, {}, {}>;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.StyledInfiniteTreeListItem = void 0;
4
+ const styled_1 = require("../../../../styled");
5
+ const InfiniteTreeListItem_1 = require("../../../InfiniteTreeListItem");
6
+ exports.StyledInfiniteTreeListItem = (0, styled_1.styled)(InfiniteTreeListItem_1.InfiniteTreeListItem) `
7
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
8
+ & .${InfiniteTreeListItem_1.infiniteTreeListItemClassnames.content} {
9
+ justify-content: center;
10
+
11
+ padding: ${({ theme }) => theme.microSpacing(1, 0)};
12
+ }
13
+ }
14
+ `;
@@ -18,6 +18,9 @@ const treeItemCva = (0, cva_1.cva)(constants_1.infiniteTreeListClassnames.row, {
18
18
  hasAddAnimation: {
19
19
  true: constants_1.infiniteTreeListClassnames.rowAddAnimation,
20
20
  },
21
+ isLastRow: {
22
+ true: constants_1.infiniteTreeListClassnames.rowLast,
23
+ },
21
24
  },
22
25
  });
23
26
  /**
@@ -25,15 +28,15 @@ const treeItemCva = (0, cva_1.cva)(constants_1.infiniteTreeListClassnames.row, {
25
28
  * Ставит контекст строки, css-переменные уровня и каскада, classname анимации
26
29
  */
27
30
  const TreeItem = ({ children, ...props }) => {
28
- const { item, renderItem, onToggle, memoizedItemProps, cssVars, isSpinner, hasAddAnimation, } = (0, useLogic_1.useLogic)(props);
31
+ const { item, renderItem, onToggle, itemProps, cssVars, isSpinner, hasAddAnimation, isLastRow, } = (0, useLogic_1.useLogic)(props);
29
32
  const { nodeId, isChildrenAsync } = item.meta;
30
33
  // Строку узла с подгружаемыми дочерними элементами рисует не список,
31
34
  // а постоянный слой: сюда она приезжает готовым DOM-узлом. Иначе store,
32
35
  // заведённый потребителем внутри renderParent, умирал бы на каждом уходе
33
36
  // строки со скролла
34
37
  if (isChildrenAsync && !item.placeholderKind) {
35
- return ((0, jsx_runtime_1.jsx)("div", { ...memoizedItemProps, children: (0, jsx_runtime_1.jsx)(ParentSlot_1.ParentSlot, { itemId: item.id }) }));
38
+ return ((0, jsx_runtime_1.jsx)("div", { ...itemProps, children: (0, jsx_runtime_1.jsx)(ParentSlot_1.ParentSlot, { itemId: item.id }) }));
36
39
  }
37
- return ((0, jsx_runtime_1.jsx)("div", { ...memoizedItemProps, children: (0, jsx_runtime_1.jsx)(InfiniteTreeListItem_1.TreeListItemContextProvider, { item: item, onToggle: onToggle, children: (0, jsx_runtime_1.jsx)(styles_1.Wrapper, { id: nodeId, className: treeItemCva({ isSpinner, hasAddAnimation }), style: cssVars, children: item.placeholderKind ? ((0, jsx_runtime_1.jsx)(ChildrenPlaceholder_1.ChildrenPlaceholder, { item: item })) : ((0, jsx_runtime_1.jsx)(CustomItemWrapper_1.CustomItemWrapper, { item: item, renderItem: renderItem })) }) }) }));
40
+ return ((0, jsx_runtime_1.jsx)("div", { ...itemProps, children: (0, jsx_runtime_1.jsx)(InfiniteTreeListItem_1.TreeListItemContextProvider, { item: item, onToggle: onToggle, children: (0, jsx_runtime_1.jsx)(styles_1.Wrapper, { id: nodeId, className: treeItemCva({ isSpinner, hasAddAnimation, isLastRow }), style: cssVars, children: item.placeholderKind ? ((0, jsx_runtime_1.jsx)(ChildrenPlaceholder_1.ChildrenPlaceholder, { item: item })) : ((0, jsx_runtime_1.jsx)(CustomItemWrapper_1.CustomItemWrapper, { item: item, renderItem: renderItem })) }) }) }));
38
41
  };
39
42
  exports.TreeItem = TreeItem;
@@ -77,4 +77,23 @@ exports.Wrapper = styled_1.styled.div `
77
77
  & > .${Tooltip_1.tooltipClassnames.contentWrapper} {
78
78
  width: 100%;
79
79
  }
80
+
81
+ ${({ theme }) => theme.breakpoints.down('mobile')} {
82
+ margin-top: 0;
83
+ margin-left: 0;
84
+
85
+ border: none;
86
+ border-bottom: 1px solid
87
+ ${({ theme }) => theme.palette.components.border.default};
88
+ border-radius: 0;
89
+
90
+ &.${constants_1.infiniteTreeListClassnames.rowSpinner} {
91
+ border-bottom: none;
92
+ }
93
+
94
+ /* Выключаем border-bottom у последней строки, чтобы избежать накладывания на border списка */
95
+ &.${constants_1.infiniteTreeListClassnames.rowLast} {
96
+ border-bottom: none;
97
+ }
98
+ }
80
99
  `;