@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,15 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IconWrapper = exports.Wrapper = void 0;
|
|
4
|
-
const constants_1 = require("../../
|
|
4
|
+
const constants_1 = require("../../constants");
|
|
5
|
+
const constants_2 = require("../../SvgIcon/constants");
|
|
5
6
|
const styled_1 = require("../../styled");
|
|
6
|
-
const
|
|
7
|
+
const constants_3 = require("./constants");
|
|
7
8
|
exports.Wrapper = styled_1.styled.li `
|
|
8
9
|
cursor: pointer;
|
|
9
10
|
|
|
10
11
|
height: 44px;
|
|
11
12
|
|
|
12
|
-
& .${
|
|
13
|
+
& .${constants_3.pageAsideNavigationItemClassnames.root} {
|
|
13
14
|
cursor: pointer;
|
|
14
15
|
|
|
15
16
|
position: relative;
|
|
@@ -36,8 +37,10 @@ exports.Wrapper = styled_1.styled.li `
|
|
|
36
37
|
color: ${({ theme }) => theme.palette.grey[800]};
|
|
37
38
|
}
|
|
38
39
|
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
${constants_1.HOVER_MEDIA} {
|
|
41
|
+
&:hover {
|
|
42
|
+
color: ${({ theme }) => theme.palette.primary[800]};
|
|
43
|
+
}
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
&:active {
|
|
@@ -45,7 +48,7 @@ exports.Wrapper = styled_1.styled.li `
|
|
|
45
48
|
}
|
|
46
49
|
}
|
|
47
50
|
|
|
48
|
-
& .${
|
|
51
|
+
& .${constants_3.pageAsideNavigationItemClassnames.isActive} {
|
|
49
52
|
background-color: ${({ theme }) => theme.palette.primary[100]};
|
|
50
53
|
|
|
51
54
|
&::before {
|
|
@@ -65,7 +68,7 @@ exports.Wrapper = styled_1.styled.li `
|
|
|
65
68
|
height: 40px;
|
|
66
69
|
-webkit-tap-highlight-color: transparent;
|
|
67
70
|
|
|
68
|
-
& .${
|
|
71
|
+
& .${constants_3.pageAsideNavigationItemClassnames.root} {
|
|
69
72
|
box-sizing: border-box;
|
|
70
73
|
height: inherit;
|
|
71
74
|
padding: ${({ theme }) => theme.microSpacing(5, 6)};
|
|
@@ -76,10 +79,6 @@ exports.Wrapper = styled_1.styled.li `
|
|
|
76
79
|
transition: ${({ theme }) => theme.transitions.create(['border-color', 'background-color'], {
|
|
77
80
|
duration: theme.transitions.duration.shortest,
|
|
78
81
|
})};
|
|
79
|
-
|
|
80
|
-
&:hover {
|
|
81
|
-
color: ${({ theme }) => theme.palette.grey[800]};
|
|
82
|
-
}
|
|
83
82
|
|
|
84
83
|
&:active {
|
|
85
84
|
color: ${({ theme }) => theme.palette.grey[800]};
|
|
@@ -88,7 +87,7 @@ exports.Wrapper = styled_1.styled.li `
|
|
|
88
87
|
}
|
|
89
88
|
}
|
|
90
89
|
|
|
91
|
-
& .${
|
|
90
|
+
& .${constants_3.pageAsideNavigationItemClassnames.isActive} {
|
|
92
91
|
background-color: ${({ theme }) => theme.palette.grey[100]};
|
|
93
92
|
border-color: ${({ theme }) => theme.palette.grey[800]};
|
|
94
93
|
|
|
@@ -105,7 +104,7 @@ exports.Wrapper = styled_1.styled.li `
|
|
|
105
104
|
exports.IconWrapper = styled_1.styled.div `
|
|
106
105
|
display: flex;
|
|
107
106
|
|
|
108
|
-
& .${
|
|
107
|
+
& .${constants_2.svgIconClassnames.root} {
|
|
109
108
|
width: 20px;
|
|
110
109
|
height: 20px;
|
|
111
110
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.IconWrapper = exports.Input = exports.Wrapper = void 0;
|
|
4
|
+
const constants_1 = require("../constants");
|
|
4
5
|
const styled_1 = require("../styled");
|
|
5
6
|
const mixins_1 = require("../styled/mixins");
|
|
6
|
-
const
|
|
7
|
+
const constants_2 = require("./constants");
|
|
7
8
|
const getOutlineColor = ({ theme, isHover, isDisabled, isError, isChecked, }) => {
|
|
8
9
|
if (isDisabled) {
|
|
9
10
|
return isChecked
|
|
@@ -35,14 +36,14 @@ const getFillColor = ({ theme, isHover, isDisabled, isError, isChecked, }) => {
|
|
|
35
36
|
exports.Wrapper = (0, styled_1.styled)('span', {
|
|
36
37
|
shouldForwardProp: (prop) => !['$isDisabled', '$isError', '$isChecked'].includes(prop),
|
|
37
38
|
}) `
|
|
38
|
-
.${
|
|
39
|
+
.${constants_2.radioClassnames.dot} {
|
|
39
40
|
transform-origin: center;
|
|
40
41
|
transform: ${({ $isChecked }) => ($isChecked ? 'scale(1)' : 'scale(0)')};
|
|
41
42
|
|
|
42
43
|
${mixins_1.easeOutBackTransition};
|
|
43
44
|
}
|
|
44
45
|
|
|
45
|
-
.${
|
|
46
|
+
.${constants_2.radioClassnames.outerCircle} {
|
|
46
47
|
fill: ${({ theme, $isDisabled, $isError, $isChecked }) => getFillColor({
|
|
47
48
|
theme,
|
|
48
49
|
isHover: false,
|
|
@@ -61,22 +62,24 @@ exports.Wrapper = (0, styled_1.styled)('span', {
|
|
|
61
62
|
${mixins_1.easeOutBackTransition};
|
|
62
63
|
}
|
|
63
64
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
${constants_1.HOVER_MEDIA} {
|
|
66
|
+
&:hover {
|
|
67
|
+
.${constants_2.radioClassnames.outerCircle} {
|
|
68
|
+
fill: ${({ theme, $isDisabled, $isError, $isChecked }) => getFillColor({
|
|
67
69
|
theme,
|
|
68
70
|
isHover: true,
|
|
69
71
|
isDisabled: $isDisabled,
|
|
70
72
|
isError: $isError,
|
|
71
73
|
isChecked: $isChecked,
|
|
72
74
|
})};
|
|
73
|
-
|
|
75
|
+
stroke: ${({ theme, $isDisabled, $isError, $isChecked }) => getOutlineColor({
|
|
74
76
|
theme,
|
|
75
77
|
isHover: true,
|
|
76
78
|
isDisabled: $isDisabled,
|
|
77
79
|
isError: $isError,
|
|
78
80
|
isChecked: $isChecked,
|
|
79
81
|
})};
|
|
82
|
+
}
|
|
80
83
|
}
|
|
81
84
|
}
|
|
82
85
|
`;
|
|
@@ -85,19 +88,19 @@ exports.Input = styled_1.styled.input `
|
|
|
85
88
|
|
|
86
89
|
position: absolute;
|
|
87
90
|
|
|
88
|
-
width: ${
|
|
89
|
-
height: ${
|
|
91
|
+
width: ${constants_2.RADIO_SIZE};
|
|
92
|
+
height: ${constants_2.RADIO_SIZE};
|
|
90
93
|
margin: 0;
|
|
91
94
|
|
|
92
95
|
opacity: 0;
|
|
93
96
|
|
|
94
97
|
${({ theme }) => theme.breakpoints.down('mobile')} {
|
|
95
|
-
width: ${
|
|
96
|
-
height: ${
|
|
98
|
+
width: ${constants_2.MOBILE_RADIO_SIZE};
|
|
99
|
+
height: ${constants_2.MOBILE_RADIO_SIZE};
|
|
97
100
|
}
|
|
98
101
|
|
|
99
102
|
&:focus-visible {
|
|
100
|
-
~.${
|
|
103
|
+
~.${constants_2.radioClassnames.iconWrapper} > .${constants_2.radioClassnames.icon} {
|
|
101
104
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
102
105
|
outline: 2px solid ${({ theme }) => theme.palette.components.focused};
|
|
103
106
|
outline-offset: -2px;
|
|
@@ -109,14 +112,14 @@ exports.IconWrapper = styled_1.styled.span `
|
|
|
109
112
|
align-items: center;
|
|
110
113
|
justify-content: center;
|
|
111
114
|
|
|
112
|
-
width: ${
|
|
113
|
-
height: ${
|
|
115
|
+
width: ${constants_2.RADIO_SIZE};
|
|
116
|
+
height: ${constants_2.RADIO_SIZE};
|
|
114
117
|
|
|
115
118
|
${({ theme }) => theme.breakpoints.down('mobile')} {
|
|
116
|
-
width: ${
|
|
117
|
-
height: ${
|
|
119
|
+
width: ${constants_2.MOBILE_RADIO_SIZE};
|
|
120
|
+
height: ${constants_2.MOBILE_RADIO_SIZE};
|
|
118
121
|
|
|
119
|
-
.${
|
|
122
|
+
.${constants_2.radioClassnames.icon} {
|
|
120
123
|
width: 20px;
|
|
121
124
|
height: 20px;
|
|
122
125
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StyledRadio = exports.Content = exports.Wrapper = void 0;
|
|
4
|
+
const constants_1 = require("../constants");
|
|
4
5
|
const Radio_1 = require("../Radio");
|
|
5
6
|
const styled_1 = require("../styled");
|
|
6
|
-
const
|
|
7
|
+
const constants_2 = require("./constants");
|
|
7
8
|
exports.Wrapper = styled_1.styled.label `
|
|
8
9
|
cursor: pointer;
|
|
9
10
|
|
|
@@ -62,14 +63,16 @@ exports.Wrapper = styled_1.styled.label `
|
|
|
62
63
|
outline-offset: -2px;
|
|
63
64
|
`}
|
|
64
65
|
|
|
65
|
-
& .${Radio_1.radioClassnames.disabled} ~ .${
|
|
66
|
+
& .${Radio_1.radioClassnames.disabled} ~ .${constants_2.radioCardClassnames.content} {
|
|
66
67
|
cursor: default;
|
|
67
68
|
}
|
|
68
69
|
|
|
69
|
-
|
|
70
|
-
|
|
70
|
+
${constants_1.HOVER_MEDIA} {
|
|
71
|
+
&:hover {
|
|
72
|
+
background-color: ${({ theme, $isDisabled }) => $isDisabled
|
|
71
73
|
? theme.palette.background.element
|
|
72
74
|
: theme.palette.background.elementHover};
|
|
75
|
+
}
|
|
73
76
|
}
|
|
74
77
|
`;
|
|
75
78
|
exports.Content = styled_1.styled.div `
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.StaticCalendarGridButton = void 0;
|
|
4
4
|
const Button_1 = require("@mui/material/Button");
|
|
5
|
+
const constants_1 = require("../../constants");
|
|
5
6
|
const styled_1 = require("../../styled");
|
|
6
7
|
const StaticCalendarButton_1 = require("../StaticCalendarButton");
|
|
7
8
|
const utils_1 = require("./utils");
|
|
@@ -56,11 +57,13 @@ exports.StaticCalendarGridButton = (0, styled_1.styled)(StaticCalendarButton_1.S
|
|
|
56
57
|
background-color: currentColor;
|
|
57
58
|
}
|
|
58
59
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
60
|
+
${constants_1.HOVER_MEDIA} {
|
|
61
|
+
&:hover {
|
|
62
|
+
border-radius: ${(props) => (0, utils_1.getLeftBorderRadius)({ isHovered: true, ...props })}
|
|
63
|
+
${(props) => (0, utils_1.getRightBorderRadius)({ isHovered: true, ...props })}
|
|
64
|
+
${(props) => (0, utils_1.getRightBorderRadius)({ isHovered: true, ...props })}
|
|
65
|
+
${(props) => (0, utils_1.getLeftBorderRadius)({ isHovered: true, ...props })};
|
|
66
|
+
}
|
|
64
67
|
}
|
|
65
68
|
|
|
66
69
|
&,
|
|
@@ -5,6 +5,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.StyledTab = void 0;
|
|
7
7
|
const Tab_1 = __importDefault(require("@mui/material/Tab"));
|
|
8
|
+
const constants_1 = require("../../constants");
|
|
8
9
|
const styled_1 = require("../../styled");
|
|
9
10
|
exports.StyledTab = (0, styled_1.styled)(Tab_1.default) `
|
|
10
11
|
min-height: 36px;
|
|
@@ -19,8 +20,10 @@ exports.StyledTab = (0, styled_1.styled)(Tab_1.default) `
|
|
|
19
20
|
margin-right: 0;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
${constants_1.HOVER_MEDIA} {
|
|
24
|
+
&:hover {
|
|
25
|
+
color: ${({ theme }) => theme.palette.primary[800]};
|
|
26
|
+
}
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
&:active {
|
|
@@ -28,10 +28,11 @@ const ButtonBase_1 = require("@mui/material/ButtonBase");
|
|
|
28
28
|
const ToggleButton_1 = __importStar(require("@mui/material/ToggleButton"));
|
|
29
29
|
const ToggleButtonGroup_1 = require("@mui/material/ToggleButtonGroup");
|
|
30
30
|
const Button_1 = require("../Button");
|
|
31
|
+
const constants_1 = require("../constants");
|
|
31
32
|
const styled_1 = require("../styled");
|
|
32
|
-
const
|
|
33
|
+
const constants_2 = require("./constants");
|
|
33
34
|
const getSize = (size) => {
|
|
34
|
-
return
|
|
35
|
+
return constants_2.SIZES[size || 'medium'];
|
|
35
36
|
};
|
|
36
37
|
const getColor = ({ color = 'primary', isSelected, state = 'default', theme, isDisabled, }) => {
|
|
37
38
|
if (isDisabled) {
|
|
@@ -90,23 +91,33 @@ exports.StyledToggleButton = (0, styled_1.styled)(ToggleButton_1.default, {
|
|
|
90
91
|
|
|
91
92
|
${({ theme, $color, disabled, $variant }) => toggleButtonColorStyle({ theme, color: $color, disabled, variant: $variant })}
|
|
92
93
|
|
|
93
|
-
|
|
94
|
-
|
|
94
|
+
${constants_1.HOVER_MEDIA} {
|
|
95
|
+
&:hover {
|
|
96
|
+
${({ theme, $color, disabled }) => toggleButtonColorStyle({ theme, color: $color, disabled, state: 'hover' })};
|
|
97
|
+
}
|
|
95
98
|
}
|
|
96
|
-
|
|
99
|
+
|
|
97
100
|
&:active {
|
|
98
101
|
z-index: 3;
|
|
99
102
|
|
|
100
103
|
${({ theme, $color, disabled }) => toggleButtonColorStyle({ theme, color: $color, disabled, state: 'active' })};
|
|
101
104
|
}
|
|
102
|
-
|
|
105
|
+
|
|
103
106
|
&.${ToggleButton_1.toggleButtonClasses.selected} {
|
|
104
107
|
z-index: 2;
|
|
105
108
|
|
|
106
109
|
${({ theme, $color, disabled }) => toggleButtonColorStyle({ theme, color: $color, disabled, selected: true })}
|
|
107
110
|
|
|
108
|
-
|
|
109
|
-
|
|
111
|
+
${constants_1.HOVER_MEDIA} {
|
|
112
|
+
&:hover {
|
|
113
|
+
${({ theme, $color, disabled }) => toggleButtonColorStyle({ theme, color: $color, selected: true, disabled, state: 'hover' })};
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
${constants_1.HOVER_NONE_MEDIA} {
|
|
118
|
+
&:hover {
|
|
119
|
+
${({ theme, $color, disabled }) => toggleButtonColorStyle({ theme, color: $color, selected: true, disabled, state: 'default' })};
|
|
120
|
+
}
|
|
110
121
|
}
|
|
111
122
|
|
|
112
123
|
&:active {
|
|
@@ -123,8 +134,10 @@ exports.StyledToggleButton = (0, styled_1.styled)(ToggleButton_1.default, {
|
|
|
123
134
|
&.${ButtonBase_1.buttonBaseClasses.root}.${ToggleButtonGroup_1.toggleButtonGroupClasses.grouped}:not(:first-of-type) {
|
|
124
135
|
border-left-color: ${({ theme, $color }) => getBorderColor({ theme, color: $color })};
|
|
125
136
|
|
|
126
|
-
|
|
127
|
-
|
|
137
|
+
${constants_1.HOVER_MEDIA} {
|
|
138
|
+
&:hover {
|
|
139
|
+
border-left-color: ${({ theme, $color }) => getBorderColor({ theme, color: $color, state: 'hover' })};
|
|
140
|
+
}
|
|
128
141
|
}
|
|
129
142
|
|
|
130
143
|
&:active {
|
|
@@ -134,13 +147,15 @@ exports.StyledToggleButton = (0, styled_1.styled)(ToggleButton_1.default, {
|
|
|
134
147
|
&.${ToggleButton_1.toggleButtonClasses.selected} {
|
|
135
148
|
border-left-color: ${({ theme, $color }) => getBorderColor({ theme, color: $color, isSelected: true })};
|
|
136
149
|
|
|
137
|
-
|
|
138
|
-
|
|
150
|
+
${constants_1.HOVER_MEDIA} {
|
|
151
|
+
&:hover {
|
|
152
|
+
border-left-color: ${({ theme, $color }) => getBorderColor({
|
|
139
153
|
theme,
|
|
140
154
|
color: $color,
|
|
141
155
|
isSelected: true,
|
|
142
156
|
state: 'hover',
|
|
143
157
|
})};
|
|
158
|
+
}
|
|
144
159
|
}
|
|
145
160
|
|
|
146
161
|
&:active {
|
|
@@ -109,10 +109,10 @@ exports.BackButton = (0, styled_1.styled)(IconButton_1.IconButton) `
|
|
|
109
109
|
width: ${constants_1.COLLAPSE_BUTTON_WIDTH};
|
|
110
110
|
height: ${constants_1.COLLAPSE_BUTTON_WIDTH};
|
|
111
111
|
}
|
|
112
|
-
|
|
113
|
-
&:
|
|
112
|
+
|
|
113
|
+
&:active {
|
|
114
114
|
background-color: transparent;
|
|
115
|
-
}
|
|
115
|
+
}
|
|
116
116
|
}
|
|
117
117
|
`;
|
|
118
118
|
exports.ParentContent = styled_1.styled.div `
|
|
@@ -5,6 +5,7 @@ const Typography_1 = require("@mui/material/Typography");
|
|
|
5
5
|
const ChevronROutlineMd_1 = require("../../../icons/ChevronROutlineMd");
|
|
6
6
|
const Button_1 = require("../../Button");
|
|
7
7
|
const Collapse_1 = require("../../Collapse");
|
|
8
|
+
const constants_1 = require("../../constants");
|
|
8
9
|
const Description_1 = require("../../Description");
|
|
9
10
|
const IconButton_1 = require("../../IconButton");
|
|
10
11
|
const OverflowTypography_1 = require("../../OverflowTypography");
|
|
@@ -12,7 +13,7 @@ const SvgIcon_1 = require("../../SvgIcon");
|
|
|
12
13
|
const styled_1 = require("../../styled");
|
|
13
14
|
const Tooltip_1 = require("../../Tooltip");
|
|
14
15
|
const Typography_2 = require("../../Typography");
|
|
15
|
-
const
|
|
16
|
+
const constants_2 = require("./constants");
|
|
16
17
|
exports.Item = (0, styled_1.styled)('li', {
|
|
17
18
|
shouldForwardProp: (prop) => !['as'].includes(prop),
|
|
18
19
|
}) `
|
|
@@ -28,8 +29,8 @@ exports.Item = (0, styled_1.styled)('li', {
|
|
|
28
29
|
top: 0;
|
|
29
30
|
transform: translateX(
|
|
30
31
|
calc(
|
|
31
|
-
((${
|
|
32
|
-
${
|
|
32
|
+
((${constants_2.COLLAPSE_BUTTON_WIDTH} + ${constants_2.GAP_WIDTH}) * var(--tree-item-level)) -
|
|
33
|
+
${constants_2.HALF_PADDING_COLLAPSE_BUTTON_WIDTH}
|
|
33
34
|
)
|
|
34
35
|
);
|
|
35
36
|
|
|
@@ -69,24 +70,38 @@ exports.ItemContent = (0, styled_1.styled)('div') `
|
|
|
69
70
|
duration: theme.transitions.duration.shortest,
|
|
70
71
|
})};
|
|
71
72
|
|
|
72
|
-
|
|
73
|
-
|
|
73
|
+
${constants_1.HOVER_MEDIA} {
|
|
74
|
+
&:hover {
|
|
75
|
+
background-color: ${({ theme }) => theme.palette.background.elementHover};
|
|
76
|
+
}
|
|
74
77
|
}
|
|
75
78
|
|
|
76
|
-
&.${
|
|
79
|
+
&.${constants_2.treeClassnames.selected} {
|
|
77
80
|
background-color: ${({ theme }) => theme.palette.primary[100]};
|
|
78
81
|
|
|
79
|
-
|
|
82
|
+
${constants_1.HOVER_MEDIA} {
|
|
83
|
+
&:hover {
|
|
84
|
+
background-color: ${({ theme }) => theme.palette.primary[100]};
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:focus {
|
|
80
89
|
background-color: ${({ theme }) => theme.palette.primary[100]};
|
|
81
90
|
}
|
|
82
91
|
}
|
|
83
92
|
|
|
84
|
-
&.${
|
|
93
|
+
&.${constants_2.treeClassnames.disabled} {
|
|
85
94
|
cursor: default;
|
|
86
95
|
|
|
87
96
|
color: ${({ theme }) => theme.palette.text.disabled};
|
|
88
97
|
|
|
89
|
-
|
|
98
|
+
${constants_1.HOVER_MEDIA} {
|
|
99
|
+
&:hover {
|
|
100
|
+
background-color: transparent;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&:focus {
|
|
90
105
|
background-color: transparent;
|
|
91
106
|
}
|
|
92
107
|
}
|
|
@@ -103,7 +118,7 @@ exports.ItemContent = (0, styled_1.styled)('div') `
|
|
|
103
118
|
border-bottom: 1px solid ${({ theme }) => theme.palette.components.border.default};
|
|
104
119
|
|
|
105
120
|
|
|
106
|
-
&.${
|
|
121
|
+
&.${constants_2.treeClassnames.hasNested} {
|
|
107
122
|
padding-right: ${({ theme }) => theme.spacing(11)};
|
|
108
123
|
}
|
|
109
124
|
|
|
@@ -120,31 +135,33 @@ exports.CollapseButton = (0, styled_1.styled)(IconButton_1.IconButton) `
|
|
|
120
135
|
position: relative;
|
|
121
136
|
z-index: 1;
|
|
122
137
|
|
|
123
|
-
width: ${
|
|
124
|
-
height: ${
|
|
125
|
-
margin-left: -${
|
|
138
|
+
width: ${constants_2.COLLAPSE_BUTTON_WIDTH};
|
|
139
|
+
height: ${constants_2.COLLAPSE_BUTTON_WIDTH};
|
|
140
|
+
margin-left: -${constants_2.COLLAPSE_BUTTON_WIDTH};
|
|
126
141
|
|
|
127
142
|
color: inherit;
|
|
128
143
|
|
|
129
|
-
&.${
|
|
144
|
+
&.${constants_2.treeClassnames.notBlockingExpandList} {
|
|
130
145
|
color: ${({ theme }) => theme.palette.text.primary};
|
|
131
146
|
}
|
|
132
147
|
|
|
133
148
|
&.${Button_1.buttonClasses.root} {
|
|
134
|
-
width: ${
|
|
135
|
-
height: ${
|
|
149
|
+
width: ${constants_2.COLLAPSE_BUTTON_WIDTH};
|
|
150
|
+
height: ${constants_2.COLLAPSE_BUTTON_WIDTH};
|
|
136
151
|
}
|
|
137
152
|
|
|
138
153
|
&.${Button_1.buttonClasses.root} .${SvgIcon_1.svgIconClassnames.root} {
|
|
139
|
-
width: ${
|
|
140
|
-
height: ${
|
|
154
|
+
width: ${constants_2.COLLAPSE_BUTTON_WIDTH};
|
|
155
|
+
height: ${constants_2.COLLAPSE_BUTTON_WIDTH};
|
|
141
156
|
}
|
|
142
157
|
|
|
143
|
-
|
|
144
|
-
|
|
158
|
+
${constants_1.HOVER_MEDIA} {
|
|
159
|
+
&:hover {
|
|
160
|
+
background-color: ${({ theme }) => theme.palette.grey[300]};
|
|
161
|
+
}
|
|
145
162
|
}
|
|
146
163
|
|
|
147
|
-
&.${
|
|
164
|
+
&.${constants_2.treeClassnames.open} .${SvgIcon_1.svgIconClassnames.root} {
|
|
148
165
|
transform: rotateZ(90deg);
|
|
149
166
|
}
|
|
150
167
|
|
|
@@ -155,25 +172,21 @@ exports.CollapseButton = (0, styled_1.styled)(IconButton_1.IconButton) `
|
|
|
155
172
|
right: 0;
|
|
156
173
|
bottom: 0;
|
|
157
174
|
|
|
158
|
-
width: ${
|
|
175
|
+
width: ${constants_2.MOBILE_COLLAPSE_BUTTON_WIDTH};
|
|
159
176
|
height: auto;
|
|
160
177
|
margin-left: 0;
|
|
161
178
|
padding: ${({ theme }) => theme.spacing(0, 4, 0, 8)};
|
|
162
179
|
|
|
163
180
|
border-radius: 0;
|
|
164
181
|
|
|
165
|
-
&.${
|
|
182
|
+
&.${constants_2.treeClassnames.open} .${SvgIcon_1.svgIconClassnames.root} {
|
|
166
183
|
transform: rotateZ(0deg);
|
|
167
184
|
}
|
|
168
185
|
|
|
169
186
|
&.${Button_1.buttonClasses.root} {
|
|
170
|
-
width: ${
|
|
187
|
+
width: ${constants_2.MOBILE_COLLAPSE_BUTTON_WIDTH};
|
|
171
188
|
height: auto;
|
|
172
189
|
}
|
|
173
|
-
|
|
174
|
-
&:hover {
|
|
175
|
-
background-color: transparent;
|
|
176
|
-
}
|
|
177
190
|
}
|
|
178
191
|
`;
|
|
179
192
|
exports.ChevronIcon = (0, styled_1.styled)(ChevronROutlineMd_1.ChevronROutlineMd) `
|
|
@@ -204,11 +217,11 @@ exports.LabelWrapper = styled_1.styled.div `
|
|
|
204
217
|
z-index: 1;
|
|
205
218
|
top: 0;
|
|
206
219
|
left: calc(
|
|
207
|
-
${
|
|
208
|
-
(${
|
|
220
|
+
${constants_2.HALF_PADDING_COLLAPSE_BUTTON_WIDTH} -
|
|
221
|
+
(${constants_2.COLLAPSE_BUTTON_WIDTH} + ${constants_2.GAP_WIDTH}) * 2
|
|
209
222
|
);
|
|
210
223
|
|
|
211
|
-
width: ${
|
|
224
|
+
width: ${constants_2.TREE_LINE_WIDTH};
|
|
212
225
|
|
|
213
226
|
/* Добавляем к высоте половину нижнего отступа, который не входит в высоту текущего элемента */
|
|
214
227
|
height: ${({ theme }) => `calc(50% + ${theme.spacing(1)}/2)`};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Медиа-выражение проверяющее что устройство поддерживает hover и является точным указателем
|
|
3
|
+
*/
|
|
4
|
+
export declare const HOVER_MEDIA = "@media (hover: hover) and (pointer: fine)";
|
|
5
|
+
/**
|
|
6
|
+
* Медиа-выражение проверяющее что устройство не поддерживает hover
|
|
7
|
+
*/
|
|
8
|
+
export declare const HOVER_NONE_MEDIA = "@media (hover: none)";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.HOVER_NONE_MEDIA = exports.HOVER_MEDIA = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Медиа-выражение проверяющее что устройство поддерживает hover и является точным указателем
|
|
6
|
+
*/
|
|
7
|
+
exports.HOVER_MEDIA = '@media (hover: hover) and (pointer: fine)';
|
|
8
|
+
/**
|
|
9
|
+
* Медиа-выражение проверяющее что устройство не поддерживает hover
|
|
10
|
+
*/
|
|
11
|
+
exports.HOVER_NONE_MEDIA = '@media (hover: none)';
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MuiButton = exports.getButtonDisabledBackgroundColor = exports.getButtonBackgroundColor = exports.getButtonPaddingMobile = exports.getButtonPadding = exports.getButtonHeightMobile = exports.getButtonHeight = void 0;
|
|
4
4
|
const Button_1 = require("@mui/material/Button");
|
|
5
5
|
const Button_2 = require("../../Button");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
6
7
|
const SvgIcon_1 = require("../../SvgIcon");
|
|
7
8
|
/**
|
|
8
9
|
* Вспомогательная утилита для получения значения из values
|
|
@@ -375,29 +376,51 @@ exports.MuiButton = {
|
|
|
375
376
|
buttonState: Button_2.ButtonStates.Default,
|
|
376
377
|
}),
|
|
377
378
|
borderRadius: theme.shape.medium,
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
379
|
+
// Переопределяем media наследованное от Mui
|
|
380
|
+
[constants_1.HOVER_NONE_MEDIA]: {
|
|
381
|
+
'&:hover': {
|
|
382
|
+
backgroundColor: (0, exports.getButtonBackgroundColor)({
|
|
383
|
+
selected,
|
|
384
|
+
color,
|
|
385
|
+
variant,
|
|
386
|
+
theme,
|
|
387
|
+
buttonState: Button_2.ButtonStates.Default,
|
|
388
|
+
}),
|
|
389
|
+
boxShadow: 'unset',
|
|
390
|
+
border: getBorder({
|
|
391
|
+
theme,
|
|
392
|
+
variant,
|
|
393
|
+
color,
|
|
394
|
+
buttonState: Button_2.ButtonStates.Default,
|
|
395
|
+
selected,
|
|
396
|
+
}),
|
|
397
|
+
},
|
|
398
|
+
},
|
|
399
|
+
[constants_1.HOVER_MEDIA]: {
|
|
400
|
+
'&:hover': {
|
|
401
|
+
color: getButtonColor({
|
|
402
|
+
selected,
|
|
403
|
+
theme,
|
|
404
|
+
variant,
|
|
405
|
+
color,
|
|
406
|
+
buttonState: Button_2.ButtonStates.Hover,
|
|
407
|
+
}),
|
|
408
|
+
backgroundColor: (0, exports.getButtonBackgroundColor)({
|
|
409
|
+
selected,
|
|
410
|
+
color,
|
|
411
|
+
variant,
|
|
412
|
+
theme,
|
|
413
|
+
buttonState: Button_2.ButtonStates.Hover,
|
|
414
|
+
}),
|
|
415
|
+
boxShadow: 'none',
|
|
416
|
+
border: getBorder({
|
|
417
|
+
theme,
|
|
418
|
+
variant,
|
|
419
|
+
color,
|
|
420
|
+
buttonState: Button_2.ButtonStates.Hover,
|
|
421
|
+
selected,
|
|
422
|
+
}),
|
|
423
|
+
},
|
|
401
424
|
},
|
|
402
425
|
'&:active': {
|
|
403
426
|
color: getButtonColor({
|