@astral/ui 4.100.0 → 4.102.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.
- package/components/Alert/styles.js +12 -2
- package/components/Autocomplete/styles.js +5 -2
- package/components/Breadcrumbs/styles.js +18 -13
- package/components/CheckableTag/styles.js +6 -3
- package/components/Checkbox/styles.js +10 -7
- package/components/Chip/styles.js +11 -6
- package/components/CodeField/styles.js +5 -2
- package/components/CopyTypography/styles.js +19 -5
- package/components/DashboardLayout/Header/styles.js +5 -2
- package/components/DashboardSidebarPopover/SidebarPopoverItem/styles.js +5 -2
- package/components/DataGrid/Row/styles.js +14 -19
- package/components/DataGrid/RowBase/styles.js +10 -17
- package/components/DataGridCollapsibleRow/styles.js +5 -2
- package/components/Description/Value/styles.js +5 -2
- package/components/ExpansionPanel/Summary/styles.js +5 -2
- package/components/Fab/styles.js +12 -3
- package/components/InfiniteDataList/styles.js +5 -2
- package/components/InfiniteTreeList/InfiniteTreeList.d.ts +18 -0
- package/components/InfiniteTreeList/InfiniteTreeList.js +26 -19
- package/components/InfiniteTreeList/InfiniteTreeListActions/InfiniteTreeListActions.d.ts +9 -0
- package/components/InfiniteTreeList/InfiniteTreeListActions/InfiniteTreeListActions.js +9 -0
- package/components/InfiniteTreeList/InfiniteTreeListActions/types.d.ts +5 -0
- package/components/InfiniteTreeList/InfiniteTreeListActions/useLogic/useLogic.js +5 -6
- package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.d.ts +81 -0
- package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.js +21 -0
- package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.d.ts +3 -2
- package/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +69 -13
- package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/ErrorPlaceholder.d.ts +6 -0
- package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/ErrorPlaceholder.js +8 -0
- package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/constants.d.ts +1 -0
- package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/constants.js +1 -0
- package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/index.d.ts +1 -0
- package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/index.js +1 -0
- package/components/InfiniteTreeList/{ErrorMessage → InfiniteTreeListItem/ErrorPlaceholder}/styles.d.ts +1 -1
- package/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/styles.js +8 -0
- package/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +29 -7
- package/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContext.d.ts +19 -0
- package/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContext.js +4 -0
- package/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContextProvider/TreeListItemContextProvider.d.ts +4 -0
- package/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContextProvider/TreeListItemContextProvider.js +13 -8
- package/components/InfiniteTreeList/InfiniteTreeListItem/constants.d.ts +6 -0
- package/components/InfiniteTreeList/InfiniteTreeListItem/constants.js +7 -0
- package/components/InfiniteTreeList/InfiniteTreeListItem/styles.d.ts +4 -4
- package/components/InfiniteTreeList/InfiniteTreeListItem/styles.js +32 -6
- package/components/InfiniteTreeList/InfiniteTreeListItem/types.d.ts +20 -3
- package/components/InfiniteTreeList/InfiniteTreeListItem/useLogic/useLogic.d.ts +7 -1
- package/components/InfiniteTreeList/InfiniteTreeListItem/useLogic/useLogic.js +57 -5
- package/components/InfiniteTreeList/{EndData → ListFooter/EndData}/EndData.js +1 -1
- package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/ErrorMessage.js +2 -2
- package/components/InfiniteTreeList/ListFooter/ErrorMessage/styles.d.ts +5 -0
- package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/styles.js +1 -1
- package/components/InfiniteTreeList/ListFooter/ListFooter.d.ts +10 -0
- package/components/InfiniteTreeList/ListFooter/ListFooter.js +25 -0
- package/components/InfiniteTreeList/ListFooter/index.d.ts +2 -0
- package/components/InfiniteTreeList/ListFooter/index.js +1 -0
- package/components/InfiniteTreeList/{styles.d.ts → ListFooter/styles.d.ts} +2 -2
- package/components/InfiniteTreeList/{styles.js → ListFooter/styles.js} +1 -1
- package/components/InfiniteTreeList/ListFooter/types.d.ts +22 -0
- package/components/InfiniteTreeList/ListFooter/types.js +1 -0
- package/components/InfiniteTreeList/OnTopButton/OnTopButton.d.ts +8 -2
- package/components/InfiniteTreeList/OnTopButton/OnTopButton.js +6 -5
- package/components/InfiniteTreeList/OnTopButton/styles.d.ts +4 -0
- package/components/InfiniteTreeList/OnTopButton/styles.js +10 -0
- package/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/CustomParentWrapper.d.ts +23 -0
- package/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/CustomParentWrapper.js +12 -0
- package/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/index.d.ts +1 -0
- package/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/index.js +1 -0
- package/components/InfiniteTreeList/ParentItems/Item/Item.d.ts +10 -0
- package/components/InfiniteTreeList/ParentItems/Item/Item.js +22 -0
- package/components/InfiniteTreeList/ParentItems/Item/index.d.ts +2 -0
- package/components/InfiniteTreeList/ParentItems/Item/index.js +2 -0
- package/components/InfiniteTreeList/ParentItems/Item/types.d.ts +8 -0
- package/components/InfiniteTreeList/ParentItems/Item/types.js +1 -0
- package/components/InfiniteTreeList/ParentItems/Item/useLogic/index.d.ts +1 -0
- package/components/InfiniteTreeList/ParentItems/Item/useLogic/index.js +1 -0
- package/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.d.ts +12 -0
- package/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.js +12 -0
- package/components/InfiniteTreeList/ParentItems/ParentItems.d.ts +11 -0
- package/components/InfiniteTreeList/ParentItems/ParentItems.js +11 -0
- package/components/InfiniteTreeList/ParentItems/index.d.ts +3 -0
- package/components/InfiniteTreeList/ParentItems/index.js +3 -0
- package/components/InfiniteTreeList/ParentItems/types.d.ts +8 -0
- package/components/InfiniteTreeList/ParentItems/types.js +1 -0
- package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/ChildrenPlaceholder.d.ts +9 -0
- package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/ChildrenPlaceholder.js +22 -0
- package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.d.ts +1 -0
- package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.js +5 -0
- package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/index.d.ts +1 -0
- package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/index.js +1 -0
- package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/index.d.ts +1 -0
- package/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/index.js +1 -0
- package/components/InfiniteTreeList/TreeItem/CustomItemWrapper/CustomItemWrapper.d.ts +20 -0
- package/components/InfiniteTreeList/TreeItem/CustomItemWrapper/CustomItemWrapper.js +10 -0
- package/components/InfiniteTreeList/TreeItem/CustomItemWrapper/index.d.ts +1 -0
- package/components/InfiniteTreeList/TreeItem/CustomItemWrapper/index.js +1 -0
- package/components/InfiniteTreeList/TreeItem/ParentSlot/ParentSlot.d.ts +5 -0
- package/components/InfiniteTreeList/TreeItem/ParentSlot/ParentSlot.js +38 -0
- package/components/InfiniteTreeList/TreeItem/ParentSlot/index.d.ts +2 -0
- package/components/InfiniteTreeList/TreeItem/ParentSlot/index.js +2 -0
- package/components/InfiniteTreeList/TreeItem/ParentSlot/styles.d.ts +9 -0
- package/components/InfiniteTreeList/TreeItem/ParentSlot/styles.js +8 -0
- package/components/InfiniteTreeList/TreeItem/ParentSlot/types.d.ts +6 -0
- package/components/InfiniteTreeList/TreeItem/ParentSlot/types.js +1 -0
- package/components/InfiniteTreeList/TreeItem/TreeItem.d.ts +5 -2
- package/components/InfiniteTreeList/TreeItem/TreeItem.js +31 -4
- package/components/InfiniteTreeList/TreeItem/constants.d.ts +3 -0
- package/components/InfiniteTreeList/TreeItem/constants.js +3 -1
- package/components/InfiniteTreeList/TreeItem/styles.d.ts +0 -3
- package/components/InfiniteTreeList/TreeItem/styles.js +23 -8
- package/components/InfiniteTreeList/TreeItem/types.d.ts +4 -9
- package/components/InfiniteTreeList/TreeItem/useLogic/useLogic.d.ts +29 -9
- package/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +61 -19
- package/components/InfiniteTreeList/constants.d.ts +14 -2
- package/components/InfiniteTreeList/constants.js +14 -2
- package/components/InfiniteTreeList/hooks/index.d.ts +5 -0
- package/components/InfiniteTreeList/hooks/index.js +5 -0
- package/components/InfiniteTreeList/hooks/useChildrenState/index.d.ts +2 -0
- package/components/InfiniteTreeList/hooks/useChildrenState/index.js +2 -0
- package/components/InfiniteTreeList/hooks/useChildrenState/types.d.ts +43 -0
- package/components/InfiniteTreeList/hooks/useChildrenState/types.js +1 -0
- package/components/InfiniteTreeList/hooks/useChildrenState/useChildrenState.d.ts +20 -0
- package/components/InfiniteTreeList/hooks/useChildrenState/useChildrenState.js +115 -0
- package/components/InfiniteTreeList/hooks/useEnterAnimation/index.d.ts +2 -0
- package/components/InfiniteTreeList/hooks/useEnterAnimation/index.js +2 -0
- package/components/InfiniteTreeList/hooks/useEnterAnimation/types.d.ts +29 -0
- package/components/InfiniteTreeList/hooks/useEnterAnimation/types.js +1 -0
- package/components/InfiniteTreeList/hooks/useEnterAnimation/useEnterAnimation.d.ts +6 -0
- package/components/InfiniteTreeList/hooks/useEnterAnimation/useEnterAnimation.js +35 -0
- package/components/InfiniteTreeList/hooks/useExpandNotifier/index.d.ts +1 -0
- package/components/InfiniteTreeList/hooks/useExpandNotifier/index.js +1 -0
- package/components/InfiniteTreeList/hooks/useExpandNotifier/useExpandNotifier.d.ts +8 -0
- package/components/InfiniteTreeList/hooks/useExpandNotifier/useExpandNotifier.js +19 -0
- package/components/InfiniteTreeList/hooks/useFlatTree/index.d.ts +2 -0
- package/components/InfiniteTreeList/hooks/useFlatTree/index.js +2 -0
- package/components/InfiniteTreeList/hooks/useFlatTree/types.d.ts +20 -0
- package/components/InfiniteTreeList/hooks/useFlatTree/types.js +1 -0
- package/components/InfiniteTreeList/hooks/useFlatTree/useFlatTree.d.ts +15 -0
- package/components/InfiniteTreeList/hooks/useFlatTree/useFlatTree.js +88 -0
- package/components/InfiniteTreeList/hooks/useListScroll/index.d.ts +2 -0
- package/components/InfiniteTreeList/hooks/useListScroll/index.js +2 -0
- package/components/InfiniteTreeList/hooks/useListScroll/types.d.ts +25 -0
- package/components/InfiniteTreeList/hooks/useListScroll/types.js +1 -0
- package/components/InfiniteTreeList/hooks/useListScroll/useListScroll.d.ts +29 -0
- package/components/InfiniteTreeList/hooks/useListScroll/useListScroll.js +59 -0
- package/components/InfiniteTreeList/index.d.ts +1 -1
- package/components/InfiniteTreeList/public.d.ts +1 -1
- package/components/InfiniteTreeList/types.d.ts +83 -17
- package/components/InfiniteTreeList/useLogic/useLogic.d.ts +22 -12
- package/components/InfiniteTreeList/useLogic/useLogic.js +66 -71
- package/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/checkHasSkeletonPlaceholders.d.ts +5 -0
- package/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/checkHasSkeletonPlaceholders.js +6 -0
- package/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/index.js +1 -0
- package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/checkIsChildrenPlaceholder.d.ts +5 -0
- package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/checkIsChildrenPlaceholder.js +4 -0
- package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/index.js +1 -0
- package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/checkIsChildrenPlaceholderOf.d.ts +5 -0
- package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/checkIsChildrenPlaceholderOf.js +5 -0
- package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/index.js +1 -0
- package/components/InfiniteTreeList/utils/checkIsDirectChild/checkIsDirectChild.d.ts +6 -0
- package/components/InfiniteTreeList/utils/checkIsDirectChild/checkIsDirectChild.js +6 -0
- package/components/InfiniteTreeList/utils/checkIsDirectChild/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/checkIsDirectChild/index.js +1 -0
- package/components/InfiniteTreeList/utils/checkIsNoDataChildren/checkIsNoDataChildren.d.ts +12 -0
- package/components/InfiniteTreeList/utils/checkIsNoDataChildren/checkIsNoDataChildren.js +14 -0
- package/components/InfiniteTreeList/utils/checkIsNoDataChildren/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/checkIsNoDataChildren/index.js +1 -0
- package/components/InfiniteTreeList/utils/checkIsSameChildren/checkIsSameChildren.d.ts +5 -0
- package/components/InfiniteTreeList/utils/checkIsSameChildren/checkIsSameChildren.js +16 -0
- package/components/InfiniteTreeList/utils/checkIsSameChildren/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/checkIsSameChildren/index.js +1 -0
- package/components/InfiniteTreeList/utils/countDirectChildren/countDirectChildren.d.ts +5 -0
- package/components/InfiniteTreeList/utils/countDirectChildren/countDirectChildren.js +5 -0
- package/components/InfiniteTreeList/utils/countDirectChildren/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/countDirectChildren/index.js +1 -0
- package/components/InfiniteTreeList/utils/createParentSlots/createParentSlots.d.ts +24 -0
- package/components/InfiniteTreeList/utils/createParentSlots/createParentSlots.js +35 -0
- package/components/InfiniteTreeList/utils/createParentSlots/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/createParentSlots/index.js +1 -0
- package/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.d.ts +21 -0
- package/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.js +40 -0
- package/components/InfiniteTreeList/utils/createTailRegistry/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/createTailRegistry/index.js +1 -0
- package/components/InfiniteTreeList/utils/flattenChildren/flattenChildren.d.ts +5 -0
- package/components/InfiniteTreeList/utils/flattenChildren/flattenChildren.js +5 -0
- package/components/InfiniteTreeList/utils/flattenChildren/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/flattenChildren/index.js +1 -0
- package/components/InfiniteTreeList/utils/flattenTree/flattenTree.d.ts +6 -0
- package/components/InfiniteTreeList/{useLogic/utils → utils}/flattenTree/flattenTree.js +9 -4
- package/components/InfiniteTreeList/utils/getEnteringChildren/getEnteringChildren.d.ts +17 -0
- package/components/InfiniteTreeList/utils/getEnteringChildren/getEnteringChildren.js +14 -0
- package/components/InfiniteTreeList/utils/getEnteringChildren/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/getEnteringChildren/index.js +1 -0
- package/components/InfiniteTreeList/utils/getIdsToKeep/getIdsToKeep.d.ts +10 -0
- package/components/InfiniteTreeList/utils/getIdsToKeep/getIdsToKeep.js +27 -0
- package/components/InfiniteTreeList/utils/getIdsToKeep/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/getIdsToKeep/index.js +1 -0
- package/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/getInitialExpandedIds.d.ts +4 -2
- package/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/getInitialExpandedIds.js +5 -4
- package/components/InfiniteTreeList/utils/getNestedItems/getNestedItems.d.ts +6 -0
- package/components/InfiniteTreeList/utils/getNestedItems/getNestedItems.js +18 -0
- package/components/InfiniteTreeList/utils/getNestedItems/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/getNestedItems/index.js +1 -0
- package/components/InfiniteTreeList/utils/index.d.ts +20 -0
- package/components/InfiniteTreeList/utils/index.js +20 -0
- package/components/InfiniteTreeList/utils/insertChildren/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/insertChildren/index.js +1 -0
- package/components/InfiniteTreeList/utils/insertChildren/insertChildren.d.ts +5 -0
- package/components/InfiniteTreeList/utils/insertChildren/insertChildren.js +41 -0
- package/components/InfiniteTreeList/utils/removeChildren/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/removeChildren/index.js +1 -0
- package/components/InfiniteTreeList/utils/removeChildren/removeChildren.d.ts +5 -0
- package/components/InfiniteTreeList/utils/removeChildren/removeChildren.js +12 -0
- package/components/InfiniteTreeList/utils/sortCollapsed/sortCollapsed.d.ts +5 -0
- package/components/InfiniteTreeList/{useLogic/utils → utils}/sortCollapsed/sortCollapsed.js +1 -6
- package/components/InfiniteTreeList/utils/startRemoveAnimation/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/startRemoveAnimation/index.js +1 -0
- package/components/InfiniteTreeList/utils/startRemoveAnimation/startRemoveAnimation.d.ts +1 -0
- package/components/InfiniteTreeList/utils/startRemoveAnimation/startRemoveAnimation.js +5 -0
- package/components/InfiniteTreeList/utils/syncChildrenPlaceholders/index.d.ts +1 -0
- package/components/InfiniteTreeList/utils/syncChildrenPlaceholders/index.js +1 -0
- package/components/InfiniteTreeList/utils/syncChildrenPlaceholders/syncChildrenPlaceholders.d.ts +11 -0
- package/components/InfiniteTreeList/utils/syncChildrenPlaceholders/syncChildrenPlaceholders.js +99 -0
- package/components/InputGroup/styles.js +8 -5
- package/components/JsonViewer/JsonNode/styles.js +5 -2
- package/components/Link/styles.js +11 -6
- package/components/ListItem/styles.js +5 -2
- package/components/MenuOrganization/OrganizationButton/styles.js +5 -6
- package/components/NavMenu/Item/ItemButton/styles.js +14 -7
- package/components/NewStepper/Step/styles.js +18 -15
- package/components/Notification/NotificationStackContainer/styles.js +5 -2
- package/components/PageAsideNavigation/PageAsideNavigationItem/styles.js +5 -6
- package/components/PageHeader/MobilePageActions/styles.js +0 -4
- package/components/Radio/styles.js +7 -4
- package/components/RadioCard/styles.js +5 -2
- package/components/StaticCalendar/StaticCalendarGridButton/styles.js +8 -5
- package/components/Tabs/Tab/styles.js +5 -2
- package/components/ToggleButton/styles.js +25 -10
- package/components/Tree/TreeItem/MobileSlidePanel/MobileSlidePanelContent/styles.js +3 -3
- package/components/Tree/TreeItem/styles.js +23 -10
- package/components/constants/index.d.ts +1 -0
- package/components/constants/index.js +1 -0
- package/components/constants/media.d.ts +8 -0
- package/components/constants/media.js +8 -0
- package/components/theme/components/MuiButton.js +46 -23
- package/components/theme/components/MuiListItemButton.js +10 -2
- package/components/theme/components/MuiMenuItem.js +5 -2
- package/components/theme/components/MuiOutlinedInput.js +15 -12
- package/components/theme/components/MuiSwitch.js +14 -9
- package/components/theme/components/MuiTableRow.js +11 -3
- package/node/components/Alert/styles.js +24 -14
- package/node/components/Autocomplete/styles.js +8 -5
- package/node/components/Breadcrumbs/styles.js +18 -13
- package/node/components/CheckableTag/styles.js +6 -3
- package/node/components/Checkbox/styles.js +26 -23
- package/node/components/Chip/styles.js +36 -31
- package/node/components/CodeField/styles.js +5 -2
- package/node/components/CopyTypography/styles.js +22 -8
- package/node/components/DashboardLayout/Header/styles.js +35 -32
- package/node/components/DashboardSidebarPopover/SidebarPopoverItem/styles.js +7 -4
- package/node/components/DataGrid/Row/styles.js +41 -46
- package/node/components/DataGrid/RowBase/styles.js +16 -23
- package/node/components/DataGridCollapsibleRow/styles.js +11 -8
- package/node/components/Description/Value/styles.js +5 -2
- package/node/components/ExpansionPanel/Summary/styles.js +5 -2
- package/node/components/Fab/styles.js +12 -3
- package/node/components/InfiniteDataList/styles.js +7 -4
- package/node/components/InfiniteTreeList/InfiniteTreeList.d.ts +18 -0
- package/node/components/InfiniteTreeList/InfiniteTreeList.js +24 -17
- package/node/components/InfiniteTreeList/InfiniteTreeListActions/InfiniteTreeListActions.d.ts +9 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListActions/InfiniteTreeListActions.js +9 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListActions/types.d.ts +5 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListActions/useLogic/useLogic.js +5 -6
- package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.d.ts +81 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContext.js +21 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.d.ts +3 -2
- package/node/components/InfiniteTreeList/InfiniteTreeListContext/InfiniteTreeListContextProvider/InfiniteTreeListContextProvider.js +69 -13
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/ErrorPlaceholder.d.ts +6 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/ErrorPlaceholder.js +12 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/constants.d.ts +1 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/constants.js +4 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/index.js +5 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/ErrorPlaceholder/styles.js +11 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/InfiniteTreeListItem.js +28 -6
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContext.d.ts +19 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContext.js +4 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContextProvider/TreeListItemContextProvider.d.ts +4 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/TreeListItemContext/TreeListItemContextProvider/TreeListItemContextProvider.js +13 -8
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/constants.d.ts +6 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/constants.js +10 -0
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/styles.d.ts +4 -4
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/styles.js +33 -7
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/types.d.ts +20 -3
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/useLogic/useLogic.d.ts +7 -1
- package/node/components/InfiniteTreeList/InfiniteTreeListItem/useLogic/useLogic.js +56 -4
- package/node/components/InfiniteTreeList/{EndData → ListFooter/EndData}/EndData.js +1 -1
- package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/ErrorMessage.js +2 -2
- package/node/components/InfiniteTreeList/ListFooter/ErrorMessage/styles.d.ts +5 -0
- package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/styles.js +1 -1
- package/node/components/InfiniteTreeList/ListFooter/ListFooter.d.ts +10 -0
- package/node/components/InfiniteTreeList/ListFooter/ListFooter.js +29 -0
- package/node/components/InfiniteTreeList/ListFooter/index.d.ts +2 -0
- package/node/components/InfiniteTreeList/ListFooter/index.js +17 -0
- package/node/components/InfiniteTreeList/{styles.js → ListFooter/styles.js} +1 -1
- package/node/components/InfiniteTreeList/ListFooter/types.d.ts +22 -0
- package/node/components/InfiniteTreeList/ListFooter/types.js +2 -0
- package/node/components/InfiniteTreeList/OnTopButton/OnTopButton.d.ts +8 -2
- package/node/components/InfiniteTreeList/OnTopButton/OnTopButton.js +6 -5
- package/node/components/InfiniteTreeList/OnTopButton/styles.d.ts +4 -0
- package/node/components/InfiniteTreeList/OnTopButton/styles.js +13 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/CustomParentWrapper.d.ts +23 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/CustomParentWrapper.js +15 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/CustomParentWrapper/index.js +17 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/Item.d.ts +10 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/Item.js +25 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/index.d.ts +2 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/index.js +18 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/types.d.ts +8 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/types.js +2 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/index.js +17 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.d.ts +12 -0
- package/node/components/InfiniteTreeList/ParentItems/Item/useLogic/useLogic.js +16 -0
- package/node/components/InfiniteTreeList/ParentItems/ParentItems.d.ts +11 -0
- package/node/components/InfiniteTreeList/ParentItems/ParentItems.js +15 -0
- package/node/components/InfiniteTreeList/ParentItems/index.d.ts +3 -0
- package/node/components/InfiniteTreeList/ParentItems/index.js +19 -0
- package/node/components/InfiniteTreeList/ParentItems/types.d.ts +8 -0
- package/node/components/InfiniteTreeList/ParentItems/types.js +2 -0
- package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/ChildrenPlaceholder.d.ts +9 -0
- package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/ChildrenPlaceholder.js +26 -0
- package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.d.ts +1 -0
- package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/NoDataRow.js +9 -0
- package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/NoDataRow/index.js +17 -0
- package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/TreeItem/ChildrenPlaceholder/index.js +17 -0
- package/node/components/InfiniteTreeList/TreeItem/CustomItemWrapper/CustomItemWrapper.d.ts +20 -0
- package/node/components/InfiniteTreeList/TreeItem/CustomItemWrapper/CustomItemWrapper.js +13 -0
- package/node/components/InfiniteTreeList/TreeItem/CustomItemWrapper/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/TreeItem/CustomItemWrapper/index.js +17 -0
- package/node/components/InfiniteTreeList/TreeItem/ParentSlot/ParentSlot.d.ts +5 -0
- package/node/components/InfiniteTreeList/TreeItem/ParentSlot/ParentSlot.js +42 -0
- package/node/components/InfiniteTreeList/TreeItem/ParentSlot/index.d.ts +2 -0
- package/node/components/InfiniteTreeList/TreeItem/ParentSlot/index.js +18 -0
- package/node/components/InfiniteTreeList/TreeItem/ParentSlot/styles.d.ts +9 -0
- package/node/components/InfiniteTreeList/TreeItem/ParentSlot/styles.js +11 -0
- package/node/components/InfiniteTreeList/TreeItem/ParentSlot/types.d.ts +6 -0
- package/node/components/InfiniteTreeList/TreeItem/ParentSlot/types.js +2 -0
- package/node/components/InfiniteTreeList/TreeItem/TreeItem.d.ts +5 -2
- package/node/components/InfiniteTreeList/TreeItem/TreeItem.js +31 -4
- package/node/components/InfiniteTreeList/TreeItem/constants.d.ts +3 -0
- package/node/components/InfiniteTreeList/TreeItem/constants.js +3 -1
- package/node/components/InfiniteTreeList/TreeItem/styles.d.ts +0 -3
- package/node/components/InfiniteTreeList/TreeItem/styles.js +23 -8
- package/node/components/InfiniteTreeList/TreeItem/types.d.ts +4 -9
- package/node/components/InfiniteTreeList/TreeItem/useLogic/useLogic.d.ts +29 -9
- package/node/components/InfiniteTreeList/TreeItem/useLogic/useLogic.js +60 -18
- package/node/components/InfiniteTreeList/constants.d.ts +14 -2
- package/node/components/InfiniteTreeList/constants.js +15 -3
- package/node/components/InfiniteTreeList/hooks/index.d.ts +5 -0
- package/node/components/InfiniteTreeList/hooks/index.js +21 -0
- package/node/components/InfiniteTreeList/hooks/useChildrenState/index.d.ts +2 -0
- package/node/components/InfiniteTreeList/hooks/useChildrenState/index.js +18 -0
- package/node/components/InfiniteTreeList/hooks/useChildrenState/types.d.ts +43 -0
- package/node/components/InfiniteTreeList/hooks/useChildrenState/types.js +2 -0
- package/node/components/InfiniteTreeList/hooks/useChildrenState/useChildrenState.d.ts +20 -0
- package/node/components/InfiniteTreeList/hooks/useChildrenState/useChildrenState.js +119 -0
- package/node/components/InfiniteTreeList/hooks/useEnterAnimation/index.d.ts +2 -0
- package/node/components/InfiniteTreeList/hooks/useEnterAnimation/index.js +18 -0
- package/node/components/InfiniteTreeList/hooks/useEnterAnimation/types.d.ts +29 -0
- package/node/components/InfiniteTreeList/hooks/useEnterAnimation/types.js +2 -0
- package/node/components/InfiniteTreeList/hooks/useEnterAnimation/useEnterAnimation.d.ts +6 -0
- package/node/components/InfiniteTreeList/hooks/useEnterAnimation/useEnterAnimation.js +39 -0
- package/node/components/InfiniteTreeList/hooks/useExpandNotifier/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/hooks/useExpandNotifier/index.js +17 -0
- package/node/components/InfiniteTreeList/hooks/useExpandNotifier/useExpandNotifier.d.ts +8 -0
- package/node/components/InfiniteTreeList/hooks/useExpandNotifier/useExpandNotifier.js +23 -0
- package/node/components/InfiniteTreeList/hooks/useFlatTree/index.d.ts +2 -0
- package/node/components/InfiniteTreeList/hooks/useFlatTree/index.js +18 -0
- package/node/components/InfiniteTreeList/hooks/useFlatTree/types.d.ts +20 -0
- package/node/components/InfiniteTreeList/hooks/useFlatTree/types.js +2 -0
- package/node/components/InfiniteTreeList/hooks/useFlatTree/useFlatTree.d.ts +15 -0
- package/node/components/InfiniteTreeList/hooks/useFlatTree/useFlatTree.js +92 -0
- package/node/components/InfiniteTreeList/hooks/useListScroll/index.d.ts +2 -0
- package/node/components/InfiniteTreeList/hooks/useListScroll/index.js +18 -0
- package/node/components/InfiniteTreeList/hooks/useListScroll/types.d.ts +25 -0
- package/node/components/InfiniteTreeList/hooks/useListScroll/types.js +2 -0
- package/node/components/InfiniteTreeList/hooks/useListScroll/useListScroll.d.ts +29 -0
- package/node/components/InfiniteTreeList/hooks/useListScroll/useListScroll.js +63 -0
- package/node/components/InfiniteTreeList/index.d.ts +1 -1
- package/node/components/InfiniteTreeList/public.d.ts +1 -1
- package/node/components/InfiniteTreeList/types.d.ts +83 -17
- package/node/components/InfiniteTreeList/useLogic/useLogic.d.ts +22 -12
- package/node/components/InfiniteTreeList/useLogic/useLogic.js +64 -69
- package/node/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/checkHasSkeletonPlaceholders.d.ts +5 -0
- package/node/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/checkHasSkeletonPlaceholders.js +10 -0
- package/node/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/checkHasSkeletonPlaceholders/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/checkIsChildrenPlaceholder.d.ts +5 -0
- package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/checkIsChildrenPlaceholder.js +8 -0
- package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholder/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/checkIsChildrenPlaceholderOf.d.ts +5 -0
- package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/checkIsChildrenPlaceholderOf.js +9 -0
- package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/checkIsChildrenPlaceholderOf/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/checkIsDirectChild/checkIsDirectChild.d.ts +6 -0
- package/node/components/InfiniteTreeList/utils/checkIsDirectChild/checkIsDirectChild.js +10 -0
- package/node/components/InfiniteTreeList/utils/checkIsDirectChild/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/checkIsDirectChild/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/checkIsNoDataChildren/checkIsNoDataChildren.d.ts +12 -0
- package/node/components/InfiniteTreeList/utils/checkIsNoDataChildren/checkIsNoDataChildren.js +18 -0
- package/node/components/InfiniteTreeList/utils/checkIsNoDataChildren/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/checkIsNoDataChildren/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/checkIsSameChildren/checkIsSameChildren.d.ts +5 -0
- package/node/components/InfiniteTreeList/utils/checkIsSameChildren/checkIsSameChildren.js +20 -0
- package/node/components/InfiniteTreeList/utils/checkIsSameChildren/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/checkIsSameChildren/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/countDirectChildren/countDirectChildren.d.ts +5 -0
- package/node/components/InfiniteTreeList/utils/countDirectChildren/countDirectChildren.js +9 -0
- package/node/components/InfiniteTreeList/utils/countDirectChildren/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/countDirectChildren/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/createParentSlots/createParentSlots.d.ts +24 -0
- package/node/components/InfiniteTreeList/utils/createParentSlots/createParentSlots.js +39 -0
- package/node/components/InfiniteTreeList/utils/createParentSlots/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/createParentSlots/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.d.ts +21 -0
- package/node/components/InfiniteTreeList/utils/createTailRegistry/createTailRegistry.js +44 -0
- package/node/components/InfiniteTreeList/utils/createTailRegistry/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/createTailRegistry/index.js +5 -0
- package/node/components/InfiniteTreeList/utils/flattenChildren/flattenChildren.d.ts +5 -0
- package/node/components/InfiniteTreeList/utils/flattenChildren/flattenChildren.js +9 -0
- package/node/components/InfiniteTreeList/utils/flattenChildren/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/flattenChildren/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/flattenTree/flattenTree.d.ts +6 -0
- package/node/components/InfiniteTreeList/{useLogic/utils → utils}/flattenTree/flattenTree.js +9 -4
- package/node/components/InfiniteTreeList/utils/getEnteringChildren/getEnteringChildren.d.ts +17 -0
- package/node/components/InfiniteTreeList/utils/getEnteringChildren/getEnteringChildren.js +18 -0
- package/node/components/InfiniteTreeList/utils/getEnteringChildren/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/getEnteringChildren/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/getIdsToKeep/getIdsToKeep.d.ts +10 -0
- package/node/components/InfiniteTreeList/utils/getIdsToKeep/getIdsToKeep.js +31 -0
- package/node/components/InfiniteTreeList/utils/getIdsToKeep/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/getIdsToKeep/index.js +17 -0
- package/node/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/getInitialExpandedIds.d.ts +4 -2
- package/node/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/getInitialExpandedIds.js +5 -4
- package/node/components/InfiniteTreeList/utils/getNestedItems/getNestedItems.d.ts +6 -0
- package/node/components/InfiniteTreeList/utils/getNestedItems/getNestedItems.js +22 -0
- package/node/components/InfiniteTreeList/utils/getNestedItems/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/{useLogic/utils/getDescendants → utils/getNestedItems}/index.js +1 -1
- package/node/components/InfiniteTreeList/utils/index.d.ts +20 -0
- package/node/components/InfiniteTreeList/utils/index.js +36 -0
- package/node/components/InfiniteTreeList/utils/insertChildren/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/insertChildren/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/insertChildren/insertChildren.d.ts +5 -0
- package/node/components/InfiniteTreeList/utils/insertChildren/insertChildren.js +45 -0
- package/node/components/InfiniteTreeList/utils/removeChildren/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/removeChildren/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/removeChildren/removeChildren.d.ts +5 -0
- package/node/components/InfiniteTreeList/utils/removeChildren/removeChildren.js +16 -0
- package/node/components/InfiniteTreeList/utils/sortCollapsed/sortCollapsed.d.ts +5 -0
- package/node/components/InfiniteTreeList/{useLogic/utils → utils}/sortCollapsed/sortCollapsed.js +1 -6
- package/node/components/InfiniteTreeList/utils/startRemoveAnimation/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/startRemoveAnimation/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/startRemoveAnimation/startRemoveAnimation.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/startRemoveAnimation/startRemoveAnimation.js +9 -0
- package/node/components/InfiniteTreeList/utils/syncChildrenPlaceholders/index.d.ts +1 -0
- package/node/components/InfiniteTreeList/utils/syncChildrenPlaceholders/index.js +17 -0
- package/node/components/InfiniteTreeList/utils/syncChildrenPlaceholders/syncChildrenPlaceholders.d.ts +11 -0
- package/node/components/InfiniteTreeList/utils/syncChildrenPlaceholders/syncChildrenPlaceholders.js +104 -0
- package/node/components/InputGroup/styles.js +8 -5
- package/node/components/JsonViewer/JsonNode/styles.js +5 -2
- package/node/components/Link/styles.js +13 -8
- package/node/components/ListItem/styles.js +10 -7
- package/node/components/MenuOrganization/OrganizationButton/styles.js +5 -6
- package/node/components/NavMenu/Item/ItemButton/styles.js +16 -9
- package/node/components/NewStepper/Step/styles.js +68 -65
- package/node/components/Notification/NotificationStackContainer/styles.js +57 -54
- package/node/components/PageAsideNavigation/PageAsideNavigationItem/styles.js +12 -13
- package/node/components/PageHeader/MobilePageActions/styles.js +0 -4
- package/node/components/Radio/styles.js +20 -17
- package/node/components/RadioCard/styles.js +7 -4
- package/node/components/StaticCalendar/StaticCalendarGridButton/styles.js +8 -5
- package/node/components/Tabs/Tab/styles.js +5 -2
- package/node/components/ToggleButton/styles.js +27 -12
- package/node/components/Tree/TreeItem/MobileSlidePanel/MobileSlidePanelContent/styles.js +3 -3
- package/node/components/Tree/TreeItem/styles.js +44 -31
- package/node/components/constants/index.d.ts +1 -0
- package/node/components/constants/index.js +1 -0
- package/node/components/constants/media.d.ts +8 -0
- package/node/components/constants/media.js +11 -0
- package/node/components/theme/components/MuiButton.js +46 -23
- package/node/components/theme/components/MuiListItemButton.js +10 -2
- package/node/components/theme/components/MuiMenuItem.js +5 -2
- package/node/components/theme/components/MuiOutlinedInput.js +15 -12
- package/node/components/theme/components/MuiSwitch.js +14 -9
- package/node/components/theme/components/MuiTableRow.js +11 -3
- package/package.json +1 -1
- package/components/InfiniteTreeList/useLogic/utils/flattenTree/flattenTree.d.ts +0 -5
- package/components/InfiniteTreeList/useLogic/utils/getDescendants/getDescendants.d.ts +0 -10
- package/components/InfiniteTreeList/useLogic/utils/getDescendants/getDescendants.js +0 -22
- package/components/InfiniteTreeList/useLogic/utils/getDescendants/index.d.ts +0 -1
- package/components/InfiniteTreeList/useLogic/utils/getDescendants/index.js +0 -1
- package/components/InfiniteTreeList/useLogic/utils/index.d.ts +0 -4
- package/components/InfiniteTreeList/useLogic/utils/index.js +0 -4
- package/components/InfiniteTreeList/useLogic/utils/sortCollapsed/sortCollapsed.d.ts +0 -10
- package/node/components/InfiniteTreeList/useLogic/utils/flattenTree/flattenTree.d.ts +0 -5
- package/node/components/InfiniteTreeList/useLogic/utils/getDescendants/getDescendants.d.ts +0 -10
- package/node/components/InfiniteTreeList/useLogic/utils/getDescendants/getDescendants.js +0 -26
- package/node/components/InfiniteTreeList/useLogic/utils/getDescendants/index.d.ts +0 -1
- package/node/components/InfiniteTreeList/useLogic/utils/index.d.ts +0 -4
- package/node/components/InfiniteTreeList/useLogic/utils/index.js +0 -20
- package/node/components/InfiniteTreeList/useLogic/utils/sortCollapsed/sortCollapsed.d.ts +0 -10
- /package/components/InfiniteTreeList/{EndData → ListFooter/EndData}/EndData.d.ts +0 -0
- /package/components/InfiniteTreeList/{EndData → ListFooter/EndData}/constants.d.ts +0 -0
- /package/components/InfiniteTreeList/{EndData → ListFooter/EndData}/constants.js +0 -0
- /package/components/InfiniteTreeList/{EndData → ListFooter/EndData}/index.d.ts +0 -0
- /package/components/InfiniteTreeList/{EndData → ListFooter/EndData}/index.js +0 -0
- /package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/ErrorMessage.d.ts +0 -0
- /package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/constants.d.ts +0 -0
- /package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/constants.js +0 -0
- /package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/index.d.ts +0 -0
- /package/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/index.js +0 -0
- /package/components/InfiniteTreeList/{useLogic/utils → utils}/flattenTree/index.d.ts +0 -0
- /package/components/InfiniteTreeList/{useLogic/utils → utils}/flattenTree/index.js +0 -0
- /package/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/index.d.ts +0 -0
- /package/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/index.js +0 -0
- /package/components/InfiniteTreeList/{useLogic/utils → utils}/sortCollapsed/index.d.ts +0 -0
- /package/components/InfiniteTreeList/{useLogic/utils → utils}/sortCollapsed/index.js +0 -0
- /package/node/components/InfiniteTreeList/{ErrorMessage → InfiniteTreeListItem/ErrorPlaceholder}/styles.d.ts +0 -0
- /package/node/components/InfiniteTreeList/{EndData → ListFooter/EndData}/EndData.d.ts +0 -0
- /package/node/components/InfiniteTreeList/{EndData → ListFooter/EndData}/constants.d.ts +0 -0
- /package/node/components/InfiniteTreeList/{EndData → ListFooter/EndData}/constants.js +0 -0
- /package/node/components/InfiniteTreeList/{EndData → ListFooter/EndData}/index.d.ts +0 -0
- /package/node/components/InfiniteTreeList/{EndData → ListFooter/EndData}/index.js +0 -0
- /package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/ErrorMessage.d.ts +0 -0
- /package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/constants.d.ts +0 -0
- /package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/constants.js +0 -0
- /package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/index.d.ts +0 -0
- /package/node/components/InfiniteTreeList/{ErrorMessage → ListFooter/ErrorMessage}/index.js +0 -0
- /package/node/components/InfiniteTreeList/{styles.d.ts → ListFooter/styles.d.ts} +0 -0
- /package/node/components/InfiniteTreeList/{useLogic/utils → utils}/flattenTree/index.d.ts +0 -0
- /package/node/components/InfiniteTreeList/{useLogic/utils → utils}/flattenTree/index.js +0 -0
- /package/node/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/index.d.ts +0 -0
- /package/node/components/InfiniteTreeList/{useLogic/utils → utils}/getInitialExpandedIds/index.js +0 -0
- /package/node/components/InfiniteTreeList/{useLogic/utils → utils}/sortCollapsed/index.d.ts +0 -0
- /package/node/components/InfiniteTreeList/{useLogic/utils → utils}/sortCollapsed/index.js +0 -0
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HOVER_MEDIA } from '../constants';
|
|
1
2
|
import { Grid } from '../Grid';
|
|
2
3
|
import { IconButton } from '../IconButton';
|
|
3
4
|
import { svgIconClassnames } from '../SvgIcon';
|
|
@@ -20,8 +21,17 @@ export const StyledIconButton = styled(IconButton) `
|
|
|
20
21
|
margin-top: ${({ theme }) => `calc(${theme.microSpacing(3)} + (20px - 40px) / 2)`};
|
|
21
22
|
}
|
|
22
23
|
|
|
23
|
-
|
|
24
|
-
|
|
24
|
+
${HOVER_MEDIA} {
|
|
25
|
+
&:hover {
|
|
26
|
+
background-color: rgb(0 0 0 / 4%);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Переопределяем active на мобильных устройствах для сохранения исходной стилизации */
|
|
31
|
+
${({ theme }) => theme.breakpoints.down('mobile')} {
|
|
32
|
+
&:active {
|
|
33
|
+
background-color: rgb(0 0 0 / 4%);
|
|
34
|
+
}
|
|
25
35
|
}
|
|
26
36
|
`;
|
|
27
37
|
export const Wrapper = styled.div `
|
|
@@ -2,6 +2,7 @@ import MuiAutocomplete, { autocompleteClasses, } from '@mui/material/Autocomplet
|
|
|
2
2
|
import { formControlClasses } from '@mui/material/FormControl';
|
|
3
3
|
import { iconButtonClasses } from '@mui/material/IconButton';
|
|
4
4
|
import { inputBaseClasses } from '@mui/material/InputBase';
|
|
5
|
+
import { HOVER_MEDIA } from '../constants';
|
|
5
6
|
import { MenuItem } from '../MenuItem';
|
|
6
7
|
import { svgIconClassnames } from '../SvgIcon';
|
|
7
8
|
import { styled } from '../styled';
|
|
@@ -22,8 +23,10 @@ export const StyledAutocomplete = styled(MuiAutocomplete) `
|
|
|
22
23
|
}`);
|
|
23
24
|
}}
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
${HOVER_MEDIA} {
|
|
27
|
+
& .${autocompleteClasses.endAdornment} .${iconButtonClasses.root}:hover {
|
|
28
|
+
background-color: ${({ loading, theme }) => (loading ? 'transparent' : theme.palette.grey[100])};
|
|
29
|
+
}
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
&:not(.${autocompleteClassnames.emptyValue}) .${inputBaseClasses.root} {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import Breadcrumbs from '@mui/material/Breadcrumbs';
|
|
2
2
|
import { buttonBaseClasses } from '@mui/material/ButtonBase';
|
|
3
3
|
import { linkClasses } from '@mui/material/Link';
|
|
4
|
+
import { HOVER_MEDIA } from '../constants';
|
|
4
5
|
import { styled } from '../styled';
|
|
5
6
|
export const StyledBreadcrumbs = styled(Breadcrumbs) `
|
|
6
7
|
.${buttonBaseClasses.root} {
|
|
@@ -14,22 +15,24 @@ export const StyledBreadcrumbs = styled(Breadcrumbs) `
|
|
|
14
15
|
outline: 2px solid ${({ theme }) => theme.palette.components.focused};
|
|
15
16
|
}
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
${HOVER_MEDIA} {
|
|
19
|
+
&:hover {
|
|
20
|
+
&::after {
|
|
21
|
+
content: '';
|
|
20
22
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
position: absolute;
|
|
24
|
+
bottom: 3px;
|
|
25
|
+
left: ${({ theme }) => theme.microSpacing(3)};
|
|
24
26
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
width: ${({ theme }) => theme.spacing(3)};
|
|
28
|
+
height: 1px;
|
|
27
29
|
|
|
28
|
-
|
|
30
|
+
background-color: currentColor;
|
|
31
|
+
}
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
34
|
}
|
|
32
|
-
|
|
35
|
+
|
|
33
36
|
.MuiTypography-body1 {
|
|
34
37
|
color: ${({ theme }) => theme.palette.primary[800]};
|
|
35
38
|
}
|
|
@@ -40,9 +43,11 @@ export const StyledBreadcrumbs = styled(Breadcrumbs) `
|
|
|
40
43
|
&:visited {
|
|
41
44
|
color: ${({ theme }) => theme.palette.grey[700]};
|
|
42
45
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
+
|
|
47
|
+
${HOVER_MEDIA} {
|
|
48
|
+
&:hover {
|
|
49
|
+
color: ${({ theme }) => theme.palette.grey[800]};
|
|
50
|
+
}
|
|
46
51
|
}
|
|
47
52
|
}
|
|
48
53
|
`;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { badgeClasses } from '@mui/material/Badge';
|
|
2
|
+
import { HOVER_MEDIA } from '../constants';
|
|
2
3
|
import { styled } from '../styled';
|
|
3
4
|
import { Tag, tagClassnames, } from '../Tag';
|
|
4
5
|
const getHoverBgColor = ({ theme, color, isChecked, variant, disabled, }) => {
|
|
@@ -115,21 +116,23 @@ export const StyledTag = styled(Tag, {
|
|
|
115
116
|
cursor: pointer;
|
|
116
117
|
}
|
|
117
118
|
|
|
118
|
-
|
|
119
|
-
|
|
119
|
+
${HOVER_MEDIA} {
|
|
120
|
+
&:hover {
|
|
121
|
+
background-color: ${({ theme, color, variant, disabled, $isChecked }) => getHoverBgColor({
|
|
120
122
|
theme,
|
|
121
123
|
color,
|
|
122
124
|
variant,
|
|
123
125
|
disabled,
|
|
124
126
|
isChecked: $isChecked,
|
|
125
127
|
})};
|
|
126
|
-
|
|
128
|
+
border: ${({ theme, variant, $isChecked, color }) => getBorder({
|
|
127
129
|
theme,
|
|
128
130
|
variant,
|
|
129
131
|
isChecked: $isChecked,
|
|
130
132
|
tagState: 'hover',
|
|
131
133
|
color,
|
|
132
134
|
})};
|
|
135
|
+
}
|
|
133
136
|
}
|
|
134
137
|
|
|
135
138
|
&:active {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HOVER_MEDIA } from '../constants';
|
|
1
2
|
import { styled } from '../styled';
|
|
2
3
|
import { easeOutBackTransition } from '../styled/mixins';
|
|
3
4
|
import { CHECKBOX_SIZE, checkboxClassnames, MOBILE_CHECKBOX_SIZE, } from './constants';
|
|
@@ -59,17 +60,18 @@ export const Wrapper = styled('span', {
|
|
|
59
60
|
opacity: ${({ $isIndeterminate }) => ($isIndeterminate ? 1 : 0)};
|
|
60
61
|
}
|
|
61
62
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
${HOVER_MEDIA} {
|
|
64
|
+
&:hover {
|
|
65
|
+
.${checkboxClassnames.icon} {
|
|
66
|
+
color: ${({ $isError, theme }) => $isError ? theme.palette.error[700] : theme.palette.primary[700]};
|
|
67
|
+
}
|
|
66
68
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
+
.${checkboxClassnames.outline} {
|
|
70
|
+
fill: ${({ theme, $isDisabled, $isChecked, $isIndeterminate }) => !$isDisabled &&
|
|
69
71
|
!$isChecked &&
|
|
70
72
|
!$isIndeterminate &&
|
|
71
73
|
theme.palette.background.elementHover};
|
|
72
|
-
|
|
74
|
+
stroke: ${({ theme, $isDisabled, $isError, $isChecked, $isIndeterminate, }) => getOutlineColor({
|
|
73
75
|
theme,
|
|
74
76
|
isHover: true,
|
|
75
77
|
isDisabled: $isDisabled,
|
|
@@ -77,6 +79,7 @@ export const Wrapper = styled('span', {
|
|
|
77
79
|
isChecked: $isChecked,
|
|
78
80
|
isIndeterminate: $isIndeterminate,
|
|
79
81
|
})};
|
|
82
|
+
}
|
|
80
83
|
}
|
|
81
84
|
}
|
|
82
85
|
`;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { badgeClasses } from '@mui/material/Badge';
|
|
2
2
|
import { Counter } from '../Counter';
|
|
3
|
+
import { HOVER_MEDIA } from '../constants';
|
|
3
4
|
import { styled } from '../styled';
|
|
4
5
|
import { Typography } from '../Typography';
|
|
5
6
|
import { chipClassnames, chipSize } from './constants';
|
|
@@ -21,9 +22,11 @@ export const Wrapper = styled.div `
|
|
|
21
22
|
duration: theme.transitions.duration.shortest,
|
|
22
23
|
})};
|
|
23
24
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
${HOVER_MEDIA} {
|
|
26
|
+
&:hover {
|
|
27
|
+
background-color: ${({ theme }) => theme.palette.background.elementHover};
|
|
28
|
+
border-color: ${({ theme }) => theme.palette.grey[400]};
|
|
29
|
+
}
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
&:active {
|
|
@@ -85,9 +88,11 @@ export const Wrapper = styled.div `
|
|
|
85
88
|
background-color: ${({ theme }) => theme.palette.grey[100]};
|
|
86
89
|
border-color: ${({ theme }) => theme.palette.grey[800]};
|
|
87
90
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
+
${HOVER_MEDIA} {
|
|
92
|
+
&:hover {
|
|
93
|
+
background-color: ${({ theme }) => theme.palette.background.elementHover};
|
|
94
|
+
border-color: ${({ theme }) => theme.palette.grey[800]};
|
|
95
|
+
}
|
|
91
96
|
}
|
|
92
97
|
|
|
93
98
|
&:active {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HOVER_MEDIA } from '../constants';
|
|
1
2
|
import { FormHelperText as MuiFormHelperText } from '../FormHelperText';
|
|
2
3
|
import { styled } from '../styled';
|
|
3
4
|
import { Typography } from '../Typography';
|
|
@@ -48,10 +49,12 @@ export const Digit = styled.input `
|
|
|
48
49
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
49
50
|
outline: none;
|
|
50
51
|
|
|
51
|
-
|
|
52
|
-
|
|
52
|
+
${HOVER_MEDIA} {
|
|
53
|
+
&:hover {
|
|
54
|
+
background-color: ${({ theme, disabled }) => disabled
|
|
53
55
|
? theme.palette.components.disabled
|
|
54
56
|
: theme.palette.background.elementHover};
|
|
57
|
+
}
|
|
55
58
|
}
|
|
56
59
|
`;
|
|
57
60
|
export const FieldLabel = styled(Typography) `
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CopyOutlineSm } from '../../icons/CopyOutlineSm';
|
|
2
|
+
import { HOVER_MEDIA, HOVER_NONE_MEDIA } from '../constants';
|
|
2
3
|
import { styled } from '../styled';
|
|
3
4
|
import { Typography } from '../Typography';
|
|
4
5
|
import { copyTypographyClassnames } from './constants';
|
|
@@ -9,12 +10,20 @@ export const Wrapper = styled(Typography) `
|
|
|
9
10
|
display: flex;
|
|
10
11
|
flex-wrap: nowrap;
|
|
11
12
|
align-items: center;
|
|
13
|
+
|
|
14
|
+
${HOVER_MEDIA} {
|
|
15
|
+
&:hover {
|
|
16
|
+
text-decoration: underline;
|
|
17
|
+
|
|
18
|
+
.${copyTypographyClassnames.showIconOnHover} {
|
|
19
|
+
display: unset;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
12
23
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
.${copyTypographyClassnames.showIconOnHover} {
|
|
17
|
-
display: unset;
|
|
24
|
+
${({ theme }) => theme.breakpoints.down('mobile')} {
|
|
25
|
+
&:active {
|
|
26
|
+
text-decoration: underline;
|
|
18
27
|
}
|
|
19
28
|
}
|
|
20
29
|
`;
|
|
@@ -34,5 +43,10 @@ export const StyledCopyIcon = styled(CopyOutlineSm, {
|
|
|
34
43
|
|
|
35
44
|
&.${copyTypographyClassnames.showIconOnHover} {
|
|
36
45
|
display: none;
|
|
46
|
+
|
|
47
|
+
/* На тач-устройствах иконка копирования недостижима наведением — показываем постоянно */
|
|
48
|
+
${HOVER_NONE_MEDIA} {
|
|
49
|
+
display: unset;
|
|
50
|
+
}
|
|
37
51
|
}
|
|
38
52
|
`;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { buttonClasses } from '@mui/material/Button';
|
|
2
|
+
import { HOVER_MEDIA } from '../../constants';
|
|
2
3
|
import { dashboardLayoutNotificationListClassnames } from '../../DashboardLayoutNotificationList';
|
|
3
4
|
import { IconButton } from '../../IconButton';
|
|
4
5
|
import { menuOrganizationClassnames } from '../../MenuOrganization/constants';
|
|
@@ -184,8 +185,10 @@ export const PriorityFeatureWrapper = styled.div `
|
|
|
184
185
|
|
|
185
186
|
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
186
187
|
|
|
187
|
-
|
|
188
|
-
|
|
188
|
+
${HOVER_MEDIA} {
|
|
189
|
+
&:hover {
|
|
190
|
+
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
191
|
+
}
|
|
189
192
|
}
|
|
190
193
|
|
|
191
194
|
&:active {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HOVER_MEDIA } from '../../constants';
|
|
1
2
|
import { styled } from '../../styled';
|
|
2
3
|
import { sidebarPopoverItemClassnames } from './constants';
|
|
3
4
|
export const Item = styled.div `
|
|
@@ -14,8 +15,10 @@ export const Item = styled.div `
|
|
|
14
15
|
});
|
|
15
16
|
}};
|
|
16
17
|
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
${HOVER_MEDIA} {
|
|
19
|
+
&:hover {
|
|
20
|
+
background-color: ${({ theme }) => theme.palette.background.elementHover};
|
|
21
|
+
}
|
|
19
22
|
}
|
|
20
23
|
|
|
21
24
|
&:active {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ChevronROutlineMd } from '../../../icons/ChevronROutlineMd';
|
|
2
|
+
import { HOVER_MEDIA } from '../../constants';
|
|
2
3
|
import { IconButton } from '../../IconButton';
|
|
3
4
|
import { styled } from '../../styled';
|
|
4
5
|
import { Typography } from '../../Typography';
|
|
@@ -177,15 +178,17 @@ export const ContentWrapper = styled.div `
|
|
|
177
178
|
background-color: ${({ theme }) => theme.palette.primary[100]};
|
|
178
179
|
}
|
|
179
180
|
|
|
180
|
-
|
|
181
|
-
|
|
181
|
+
${HOVER_MEDIA} {
|
|
182
|
+
&:hover {
|
|
183
|
+
background-color: ${({ theme }) => theme.palette.background.elementHover};
|
|
182
184
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
185
|
+
&.${dataGridRowContentClassnames.active} {
|
|
186
|
+
background-color: ${({ theme }) => theme.palette.primary[100]};
|
|
187
|
+
}
|
|
186
188
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
+
&.${dataGridRowContentClassnames.hovered} {
|
|
190
|
+
cursor: pointer;
|
|
191
|
+
}
|
|
189
192
|
}
|
|
190
193
|
}
|
|
191
194
|
|
|
@@ -204,16 +207,6 @@ export const ContentWrapper = styled.div `
|
|
|
204
207
|
&.${dataGridRowContentClassnames.active} {
|
|
205
208
|
background-color: transparent;
|
|
206
209
|
}
|
|
207
|
-
|
|
208
|
-
&:hover, &.${dataGridRowClassnames.hover} {
|
|
209
|
-
cursor: initial;
|
|
210
|
-
|
|
211
|
-
background-color: transparent;
|
|
212
|
-
|
|
213
|
-
&.${dataGridRowContentClassnames.active} {
|
|
214
|
-
background-color: transparent;
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
210
|
}
|
|
218
211
|
`;
|
|
219
212
|
export const CellStyled = styled(Cell) `
|
|
@@ -246,8 +239,10 @@ export const CollapseButton = styled(IconButton) `
|
|
|
246
239
|
|
|
247
240
|
color: inherit;
|
|
248
241
|
|
|
249
|
-
|
|
250
|
-
|
|
242
|
+
${HOVER_MEDIA} {
|
|
243
|
+
&:hover {
|
|
244
|
+
background-color: ${({ theme }) => theme.palette.grey[300]};
|
|
245
|
+
}
|
|
251
246
|
}
|
|
252
247
|
`;
|
|
253
248
|
export const ChevronIcon = styled(ChevronROutlineMd, {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HOVER_MEDIA } from '../../constants';
|
|
1
2
|
import { styled } from '../../styled';
|
|
2
3
|
import { ROOT_ACTION_CELL_WIDTH } from '../constants';
|
|
3
4
|
import { dataGridRowBaseClassnames } from './constants';
|
|
@@ -50,15 +51,17 @@ export const ContentWrapper = styled.div `
|
|
|
50
51
|
background-color: ${({ theme }) => theme.palette.primary[100]};
|
|
51
52
|
}
|
|
52
53
|
|
|
53
|
-
|
|
54
|
-
|
|
54
|
+
${HOVER_MEDIA} {
|
|
55
|
+
&:hover {
|
|
56
|
+
background-color: ${({ theme }) => theme.palette.background.elementHover};
|
|
55
57
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
58
|
+
&.${dataGridRowBaseClassnames.active} {
|
|
59
|
+
background-color: ${({ theme }) => theme.palette.primary[100]};
|
|
60
|
+
}
|
|
59
61
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
+
&.${dataGridRowBaseClassnames.hovered} {
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
}
|
|
62
65
|
}
|
|
63
66
|
}
|
|
64
67
|
|
|
@@ -68,16 +71,6 @@ export const ContentWrapper = styled.div `
|
|
|
68
71
|
&.${dataGridRowBaseClassnames.active} {
|
|
69
72
|
background-color: transparent;
|
|
70
73
|
}
|
|
71
|
-
|
|
72
|
-
&:hover, &.${dataGridRowBaseClassnames.hovered} {
|
|
73
|
-
cursor: initial;
|
|
74
|
-
|
|
75
|
-
background-color: transparent;
|
|
76
|
-
|
|
77
|
-
&.${dataGridRowBaseClassnames.active} {
|
|
78
|
-
background-color: transparent;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
74
|
}
|
|
82
75
|
`;
|
|
83
76
|
export const BottomDrawerContent = styled.div `
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ChevronROutlineMd } from '../../icons/ChevronROutlineMd';
|
|
2
2
|
import { buttonClassnames } from '../Button';
|
|
3
|
+
import { HOVER_MEDIA } from '../constants';
|
|
3
4
|
import { ROOT_ACTION_CELL_WIDTH } from '../DataGrid/constants';
|
|
4
5
|
import { dataGridRowBaseClassnames, RowBase } from '../DataGrid/RowBase';
|
|
5
6
|
import { IconButton } from '../IconButton';
|
|
@@ -44,8 +45,10 @@ export const CollapseButton = styled(IconButton) `
|
|
|
44
45
|
|
|
45
46
|
color: inherit;
|
|
46
47
|
|
|
47
|
-
|
|
48
|
-
|
|
48
|
+
${HOVER_MEDIA} {
|
|
49
|
+
&:hover {
|
|
50
|
+
background-color: ${({ theme }) => theme.palette.grey[300]};
|
|
51
|
+
}
|
|
49
52
|
}
|
|
50
53
|
`;
|
|
51
54
|
export const CollapseCell = styled.div `
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CopyTypography } from '../../CopyTypography';
|
|
2
|
+
import { HOVER_MEDIA } from '../../constants';
|
|
2
3
|
import { styled } from '../../styled';
|
|
3
4
|
import { Typography } from '../../Typography';
|
|
4
5
|
export const StyledTypography = styled(Typography, {
|
|
@@ -16,8 +17,10 @@ export const StyledTypography = styled(Typography, {
|
|
|
16
17
|
text-align: ${({ $direction }) => $direction !== 'row' ? 'left' : 'right'};
|
|
17
18
|
}
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
|
|
20
|
+
${HOVER_MEDIA} {
|
|
21
|
+
&:hover {
|
|
22
|
+
text-decoration: ${({ $canCopy }) => ($canCopy ? 'underline' : 'none')};
|
|
23
|
+
}
|
|
21
24
|
}
|
|
22
25
|
`;
|
|
23
26
|
export const StyledCopyTypography = styled(CopyTypography, {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Chevron } from '../../Chevron';
|
|
2
|
+
import { HOVER_MEDIA } from '../../constants';
|
|
2
3
|
import { styled } from '../../styled';
|
|
3
4
|
const getBackgroundColor = (theme, isDisabled, isSelected) => {
|
|
4
5
|
if (isDisabled) {
|
|
@@ -28,8 +29,10 @@ export const Wrapper = styled('summary', {
|
|
|
28
29
|
duration: theme.transitions.duration.standard,
|
|
29
30
|
})};
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
${HOVER_MEDIA} {
|
|
33
|
+
&:hover {
|
|
34
|
+
background-color: ${({ theme }) => theme.palette.background.elementHover};
|
|
35
|
+
}
|
|
33
36
|
}
|
|
34
37
|
|
|
35
38
|
&:focus-visible {
|
package/components/Fab/styles.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { buttonBaseClasses } from '@mui/material/ButtonBase';
|
|
2
2
|
import Fab from '@mui/material/Fab';
|
|
3
|
+
import { HOVER_MEDIA, HOVER_NONE_MEDIA } from '../constants';
|
|
3
4
|
import { styled } from '../styled';
|
|
4
5
|
import { FabColors, FabSizes, FabStates } from './enums';
|
|
5
6
|
const getBgColor = ({ theme, color, fabState, }) => {
|
|
@@ -70,10 +71,18 @@ export const StyledFab = styled(Fab, {
|
|
|
70
71
|
border-radius: ${({ theme, isSquare }) => isSquare ? theme.shape.medium : '50%'};
|
|
71
72
|
box-shadow: ${({ theme }) => theme.elevation[200]};
|
|
72
73
|
|
|
73
|
-
|
|
74
|
-
|
|
74
|
+
${HOVER_MEDIA} {
|
|
75
|
+
:hover {
|
|
76
|
+
color: ${(props) => getColor({ ...props })};
|
|
75
77
|
|
|
76
|
-
|
|
78
|
+
background: ${(props) => getBgColor({ ...props, fabState: FabStates.Hover })};
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
${HOVER_NONE_MEDIA} {
|
|
83
|
+
&:hover {
|
|
84
|
+
background-color: ${(props) => getBgColor({ ...props, fabState: FabStates.Default })};
|
|
85
|
+
}
|
|
77
86
|
}
|
|
78
87
|
|
|
79
88
|
:active {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { HOVER_MEDIA } from '../constants';
|
|
1
2
|
import { styled } from '../styled';
|
|
2
3
|
import { infiniteDataListClassnames } from './constants';
|
|
3
4
|
export const Item = styled.li `
|
|
@@ -15,8 +16,10 @@ export const Item = styled.li `
|
|
|
15
16
|
duration: theme.transitions.duration.shortest,
|
|
16
17
|
})};
|
|
17
18
|
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
${HOVER_MEDIA} {
|
|
20
|
+
&:hover {
|
|
21
|
+
background-color: ${({ theme }) => theme.palette.background.element};
|
|
22
|
+
}
|
|
20
23
|
}
|
|
21
24
|
|
|
22
25
|
${({ theme }) => theme.breakpoints.down('mobile')} {
|
|
@@ -1,2 +1,20 @@
|
|
|
1
1
|
import type { InfiniteTreeListData, InfiniteTreeListProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Виртуализированное дерево с бесконечной подгрузкой
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* <InfiniteTreeList
|
|
7
|
+
* items={items}
|
|
8
|
+
* scrollRef={scrollRef}
|
|
9
|
+
* onRetry={refetch}
|
|
10
|
+
* renderItem={(item) => (
|
|
11
|
+
* <InfiniteTreeListItem>{item.name}</InfiniteTreeListItem>
|
|
12
|
+
* )}
|
|
13
|
+
* renderParent={(item) => (
|
|
14
|
+
* <InfiniteTreeListItem childItems={childrenState[item.id]?.data}>
|
|
15
|
+
* {item.name}
|
|
16
|
+
* </InfiniteTreeListItem>
|
|
17
|
+
* )}
|
|
18
|
+
* />
|
|
19
|
+
*/
|
|
2
20
|
export declare const InfiniteTreeList: <TData extends InfiniteTreeListData<TData>>(props: InfiniteTreeListProps<TData>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,27 +1,34 @@
|
|
|
1
|
-
import { jsx as _jsx,
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
// cspell:ignore Виртуализированное
|
|
2
3
|
import { Virtuoso } from 'react-virtuoso';
|
|
3
4
|
import { ContentState } from '../ContentState';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { EndData } from './EndData';
|
|
7
|
-
import { ErrorMessage } from './ErrorMessage';
|
|
8
|
-
import { InfiniteTreeListContextProvider } from './InfiniteTreeListContext';
|
|
9
|
-
import { TreeListItemContextProvider } from './InfiniteTreeListItem';
|
|
5
|
+
import { InfiniteTreeListContextProvider, } from './InfiniteTreeListContext';
|
|
6
|
+
import { ListFooter } from './ListFooter';
|
|
10
7
|
import { NoDataPlaceholder } from './NoDataPlaceholder';
|
|
11
8
|
import { OnTopButton } from './OnTopButton';
|
|
12
|
-
import {
|
|
9
|
+
import { ParentItems } from './ParentItems';
|
|
13
10
|
import { TreeItem } from './TreeItem';
|
|
14
11
|
import { useLogic } from './useLogic';
|
|
12
|
+
const computeItemKey = (_, item) => item.id;
|
|
13
|
+
/**
|
|
14
|
+
* Виртуализированное дерево с бесконечной подгрузкой
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* <InfiniteTreeList
|
|
18
|
+
* items={items}
|
|
19
|
+
* scrollRef={scrollRef}
|
|
20
|
+
* onRetry={refetch}
|
|
21
|
+
* renderItem={(item) => (
|
|
22
|
+
* <InfiniteTreeListItem>{item.name}</InfiniteTreeListItem>
|
|
23
|
+
* )}
|
|
24
|
+
* renderParent={(item) => (
|
|
25
|
+
* <InfiniteTreeListItem childItems={childrenState[item.id]?.data}>
|
|
26
|
+
* {item.name}
|
|
27
|
+
* </InfiniteTreeListItem>
|
|
28
|
+
* )}
|
|
29
|
+
* />
|
|
30
|
+
*/
|
|
15
31
|
export const InfiniteTreeList = (props) => {
|
|
16
|
-
const { flatList, onToggle, contentStateProps, scrollParent, virtuosoProps,
|
|
17
|
-
|
|
18
|
-
return (_jsx(InfiniteTreeListContextProvider, { itemSkeleton: itemSkeleton, children: _jsx(ContentState, { ...contentStateProps, children: items.length && scrollParent ? (_jsxs(_Fragment, { children: [_jsx(Virtuoso, { ...virtuosoProps, data: flatList, customScrollParent: scrollParent, endReached: onLoadMore, itemContent: renderItemContent, computeItemKey: (_, item) => item.id, components: {
|
|
19
|
-
Footer: () => {
|
|
20
|
-
const { isLoading, isError, isEndReached } = footerProps;
|
|
21
|
-
if (!isLoading && !isError && !isEndReached) {
|
|
22
|
-
return _jsx(FooterDummy, {});
|
|
23
|
-
}
|
|
24
|
-
return (_jsxs(Footer, { children: [isLoading && _jsx(Loader, {}), isError && _jsx(ErrorMessage, { onRetry: onRetry }), isEndReached && (_jsx(EndData, { endOfScrollMsg: endOfScrollMsg }))] }));
|
|
25
|
-
},
|
|
26
|
-
}, overscan: OVERSCAN }), _jsx(OnTopButton, { ...onTopButtonProps })] })) : (_jsx(NoDataPlaceholder, { noDataImgSrc: noDataImgSrc })) }) }));
|
|
32
|
+
const { flatList, onToggle, contentStateProps, scrollParent, virtuosoProps, footerContext, onTopButtonProps, renderItem, renderParent, items, itemSkeleton, onRetry, noDataImgSrc, enterAnimation, tailRegistry, nodePaginationMap, registerChildren, notifyExpand, parentItems, acquireParentSlot, } = useLogic(props);
|
|
33
|
+
return (_jsxs(InfiniteTreeListContextProvider, { itemSkeleton: itemSkeleton, nodePaginationMap: nodePaginationMap, registerChildren: registerChildren, notifyExpand: notifyExpand, onListRetry: onRetry, enterAnimation: enterAnimation, tailRegistry: tailRegistry, renderItem: renderItem, renderParent: renderParent, onToggle: onToggle, acquireParentSlot: acquireParentSlot, children: [_jsx(ParentItems, { parents: parentItems }), _jsx(ContentState, { ...contentStateProps, children: items.length > 0 && scrollParent ? (_jsxs(_Fragment, { children: [_jsx(Virtuoso, { ...virtuosoProps, data: flatList, customScrollParent: scrollParent, computeItemKey: computeItemKey, context: footerContext, components: { Item: TreeItem, Footer: ListFooter } }), _jsx(OnTopButton, { ...onTopButtonProps })] })) : (_jsx(NoDataPlaceholder, { noDataImgSrc: noDataImgSrc })) })] }));
|
|
27
34
|
};
|
|
@@ -1,2 +1,11 @@
|
|
|
1
1
|
import type { InfiniteTreeListActionProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Действия строки дерева. Блокирующее действие в состоянии загрузки блокирует
|
|
4
|
+
* строку вместе со всей её веткой
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <InfiniteTreeListActions
|
|
8
|
+
* actions={{ main: [{ name: 'Изменить', onClick: handleEdit }] }}
|
|
9
|
+
* />
|
|
10
|
+
*/
|
|
2
11
|
export declare const InfiniteTreeListActions: <TItem>({ actions, }: InfiniteTreeListActionProps<TItem>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { ActionCellBase } from '../../ActionCellBase';
|
|
3
3
|
import { useLogic } from './useLogic';
|
|
4
|
+
/**
|
|
5
|
+
* Действия строки дерева. Блокирующее действие в состоянии загрузки блокирует
|
|
6
|
+
* строку вместе со всей её веткой
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* <InfiniteTreeListActions
|
|
10
|
+
* actions={{ main: [{ name: 'Изменить', onClick: handleEdit }] }}
|
|
11
|
+
* />
|
|
12
|
+
*/
|
|
4
13
|
export const InfiniteTreeListActions = ({ actions, }) => {
|
|
5
14
|
const { isDisabledAction, handleWrapperClick, handleActionClick } = useLogic({
|
|
6
15
|
actions,
|