@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
|
@@ -3,87 +3,88 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.StyledButton = exports.StepContentWrapper = exports.LabelWrapper = exports.LineConnector = exports.ArrowConnector = exports.IconWrapper = exports.Wrapper = void 0;
|
|
4
4
|
const NextOutlineMd_1 = require("../../../icons/NextOutlineMd");
|
|
5
5
|
const Button_1 = require("../../Button");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
6
7
|
const styled_1 = require("../../styled");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const
|
|
8
|
+
const constants_2 = require("../../Typography/constants");
|
|
9
|
+
const constants_3 = require("../constants");
|
|
10
|
+
const constants_4 = require("../StepIcon/constants");
|
|
11
|
+
const constants_5 = require("./constants");
|
|
11
12
|
exports.Wrapper = styled_1.styled.div `
|
|
12
|
-
counter-increment: ${
|
|
13
|
+
counter-increment: ${constants_3.STEPPER_ORDER_COUNTER_NAME};
|
|
13
14
|
|
|
14
15
|
display: flex;
|
|
15
16
|
gap: ${({ theme }) => theme.microSpacing(5)};
|
|
16
17
|
align-items: center;
|
|
17
18
|
|
|
18
|
-
&.${
|
|
19
|
+
&.${constants_5.stepClassnames.alternativeLabel} {
|
|
19
20
|
position: relative;
|
|
20
21
|
|
|
21
22
|
flex: 1;
|
|
22
23
|
flex-direction: column;
|
|
23
24
|
|
|
24
|
-
& .${
|
|
25
|
+
& .${constants_5.stepClassnames.labelContainer} {
|
|
25
26
|
flex-direction: column;
|
|
26
27
|
|
|
27
28
|
text-align: center;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
&:first-of-type {
|
|
31
|
-
& .${
|
|
32
|
+
& .${constants_5.stepClassnames.connector} {
|
|
32
33
|
display: none;
|
|
33
34
|
}
|
|
34
35
|
}
|
|
35
36
|
}
|
|
36
37
|
|
|
37
|
-
&.${
|
|
38
|
-
& .${
|
|
38
|
+
&.${constants_5.stepClassnames.connectorArrow} {
|
|
39
|
+
& .${constants_5.stepClassnames.content} {
|
|
39
40
|
padding: ${({ theme }) => theme.microSpacing(5, 0)};
|
|
40
41
|
}
|
|
41
42
|
|
|
42
|
-
&:not(:first-of-type) .${
|
|
43
|
+
&:not(:first-of-type) .${constants_5.stepClassnames.content} {
|
|
43
44
|
margin-left: ${({ theme }) => theme.spacing(2)};
|
|
44
45
|
}
|
|
45
46
|
|
|
46
|
-
&:last-of-type .${
|
|
47
|
+
&:last-of-type .${constants_5.stepClassnames.connector} {
|
|
47
48
|
display: none;
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
&.${
|
|
52
|
-
&.${
|
|
53
|
-
& .${
|
|
52
|
+
&.${constants_5.stepClassnames.connectorLine} {
|
|
53
|
+
&.${constants_5.stepClassnames.orientationHorizontal} {
|
|
54
|
+
& .${constants_5.stepClassnames.content} {
|
|
54
55
|
align-items: center;
|
|
55
56
|
|
|
56
57
|
padding: ${({ theme }) => theme.spacing(0, 1)};
|
|
57
58
|
}
|
|
58
59
|
|
|
59
60
|
|
|
60
|
-
&.${
|
|
61
|
-
& .${
|
|
61
|
+
&.${constants_5.stepClassnames.alternativeLabel} {
|
|
62
|
+
& .${constants_5.stepClassnames.content} {
|
|
62
63
|
padding: ${({ theme }) => theme.microSpacing(3, 0)};
|
|
63
64
|
}
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
|
|
67
|
-
&.${
|
|
68
|
-
& .${
|
|
68
|
+
&.${constants_5.stepClassnames.orientationVertical} {
|
|
69
|
+
& .${constants_5.stepClassnames.labelContainer} {
|
|
69
70
|
color: ${({ theme }) => theme.palette.grey[900]};
|
|
70
71
|
}
|
|
71
72
|
|
|
72
|
-
& .${
|
|
73
|
+
& .${constants_5.stepClassnames.label} {
|
|
73
74
|
font-size: ${({ theme }) => theme.typography.body1.fontSize};
|
|
74
75
|
line-height: ${({ theme }) => theme.typography.body1.lineHeight};
|
|
75
76
|
}
|
|
76
77
|
|
|
77
|
-
& .${
|
|
78
|
+
& .${constants_5.stepClassnames.content} {
|
|
78
79
|
padding: ${({ theme }) => theme.spacing(1, 0, 0)};
|
|
79
80
|
}
|
|
80
81
|
|
|
81
|
-
& .${
|
|
82
|
+
& .${constants_5.stepClassnames.connector}:not(.${constants_5.stepClassnames.hasDescription}) {
|
|
82
83
|
margin-bottom: ${({ theme }) => theme.microSpacing(1)};
|
|
83
84
|
}
|
|
84
85
|
|
|
85
86
|
&:last-of-type {
|
|
86
|
-
& .${
|
|
87
|
+
& .${constants_5.stepClassnames.description} {
|
|
87
88
|
min-height: 0;
|
|
88
89
|
margin: 0;
|
|
89
90
|
padding-left: ${({ theme }) => theme.spacing(6)};
|
|
@@ -95,49 +96,49 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
95
96
|
}
|
|
96
97
|
}
|
|
97
98
|
|
|
98
|
-
& .${
|
|
99
|
+
& .${constants_5.stepClassnames.connector} {
|
|
99
100
|
display: none;
|
|
100
101
|
}
|
|
101
102
|
}
|
|
102
103
|
|
|
103
104
|
&:last-of-type {
|
|
104
|
-
& .${
|
|
105
|
+
& .${constants_5.stepClassnames.content} {
|
|
105
106
|
padding: ${({ theme }) => theme.spacing(1, 0)};
|
|
106
107
|
|
|
107
|
-
& .${
|
|
108
|
+
& .${constants_5.stepClassnames.description} {
|
|
108
109
|
margin-bottom: 0;
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
112
|
}
|
|
112
113
|
|
|
113
|
-
& .${
|
|
114
|
+
& .${constants_5.stepClassnames.labelMobile} {
|
|
114
115
|
display: none;
|
|
115
116
|
}
|
|
116
117
|
|
|
117
|
-
& .${
|
|
118
|
+
& .${constants_5.stepClassnames.label} {
|
|
118
119
|
display: block;
|
|
119
120
|
}
|
|
120
121
|
}
|
|
121
122
|
}
|
|
122
123
|
|
|
123
|
-
& .${
|
|
124
|
-
&.${
|
|
125
|
-
& .${
|
|
124
|
+
& .${constants_5.stepClassnames.content} {
|
|
125
|
+
&.${constants_5.stepClassnames.active} {
|
|
126
|
+
& .${constants_5.stepClassnames.label} {
|
|
126
127
|
color: ${({ theme }) => theme.palette.grey[900]};
|
|
127
128
|
}
|
|
128
129
|
|
|
129
|
-
& .${
|
|
130
|
+
& .${constants_4.stepIconClassnames.root} {
|
|
130
131
|
color: ${({ theme }) => theme.palette.primary[800]};
|
|
131
132
|
|
|
132
|
-
&.${
|
|
133
|
+
&.${constants_4.stepIconClassnames.success} {
|
|
133
134
|
color: ${({ theme }) => theme.palette.success[800]};
|
|
134
135
|
}
|
|
135
136
|
|
|
136
|
-
&.${
|
|
137
|
+
&.${constants_4.stepIconClassnames.error} {
|
|
137
138
|
color: ${({ theme }) => theme.palette.error[800]};
|
|
138
139
|
}
|
|
139
140
|
|
|
140
|
-
&.${
|
|
141
|
+
&.${constants_4.stepIconClassnames.warning} {
|
|
141
142
|
color: ${({ theme }) => theme.palette.warning[800]};
|
|
142
143
|
}
|
|
143
144
|
}
|
|
@@ -145,8 +146,8 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
145
146
|
}
|
|
146
147
|
|
|
147
148
|
${({ theme }) => theme.breakpoints.down('mobile')} {
|
|
148
|
-
&.${
|
|
149
|
-
& .${
|
|
149
|
+
&.${constants_5.stepClassnames.connectorArrow} {
|
|
150
|
+
& .${constants_5.stepClassnames.content} {
|
|
150
151
|
padding: ${({ theme }) => theme.spacing(2, 0)};
|
|
151
152
|
}
|
|
152
153
|
}
|
|
@@ -155,7 +156,7 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
155
156
|
exports.IconWrapper = styled_1.styled.div `
|
|
156
157
|
display: flex;
|
|
157
158
|
|
|
158
|
-
& .${
|
|
159
|
+
& .${constants_4.stepIconClassnames.root} {
|
|
159
160
|
width: 20px;
|
|
160
161
|
height: 20px;
|
|
161
162
|
|
|
@@ -165,19 +166,19 @@ exports.IconWrapper = styled_1.styled.div `
|
|
|
165
166
|
duration: theme.transitions.duration.shorter,
|
|
166
167
|
})};
|
|
167
168
|
|
|
168
|
-
&.${
|
|
169
|
+
&.${constants_4.stepIconClassnames.active} {
|
|
169
170
|
color: ${({ theme }) => theme.palette.primary[800]};
|
|
170
171
|
}
|
|
171
172
|
|
|
172
|
-
&.${
|
|
173
|
+
&.${constants_4.stepIconClassnames.success} {
|
|
173
174
|
color: ${({ theme }) => theme.palette.success[800]};
|
|
174
175
|
}
|
|
175
176
|
|
|
176
|
-
&.${
|
|
177
|
+
&.${constants_4.stepIconClassnames.error} {
|
|
177
178
|
color: ${({ theme }) => theme.palette.error[800]};
|
|
178
179
|
}
|
|
179
180
|
|
|
180
|
-
&.${
|
|
181
|
+
&.${constants_4.stepIconClassnames.warning} {
|
|
181
182
|
color: ${({ theme }) => theme.palette.warning[800]};
|
|
182
183
|
}
|
|
183
184
|
|
|
@@ -205,14 +206,14 @@ exports.LineConnector = styled_1.styled.div `
|
|
|
205
206
|
|
|
206
207
|
border-top: 2px solid ${({ theme }) => theme.palette.components.border.default};
|
|
207
208
|
|
|
208
|
-
&.${
|
|
209
|
+
&.${constants_5.stepClassnames.alternativeLabel} {
|
|
209
210
|
position: absolute;
|
|
210
211
|
top: 15px;
|
|
211
212
|
right: calc(50% + 14px);
|
|
212
213
|
left: calc(-50% + 14px);
|
|
213
214
|
}
|
|
214
215
|
|
|
215
|
-
&.${
|
|
216
|
+
&.${constants_5.stepClassnames.orientationVertical} {
|
|
216
217
|
min-height: 16px;
|
|
217
218
|
|
|
218
219
|
/* Смещение необходимо для центрирования линии относительно иконки, т.к. линия шириной 2px, то для выравнивания необходимо число не кратное 2ум */
|
|
@@ -233,7 +234,7 @@ exports.LabelWrapper = styled_1.styled.div `
|
|
|
233
234
|
|
|
234
235
|
color: ${({ theme }) => theme.palette.grey[700]};
|
|
235
236
|
|
|
236
|
-
& .${
|
|
237
|
+
& .${constants_2.typographyClassnames.root} {
|
|
237
238
|
transition: ${({ theme }) => theme.transitions.create(['color'], {
|
|
238
239
|
duration: theme.transitions.duration.shorter,
|
|
239
240
|
})};
|
|
@@ -274,48 +275,50 @@ exports.StyledButton = (0, styled_1.styled)(Button_1.Button) `
|
|
|
274
275
|
height: auto;
|
|
275
276
|
}
|
|
276
277
|
|
|
277
|
-
|
|
278
|
-
|
|
278
|
+
${constants_1.HOVER_MEDIA} {
|
|
279
|
+
&:hover {
|
|
280
|
+
background: transparent;
|
|
279
281
|
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
282
|
+
& .${constants_5.stepClassnames.label} {
|
|
283
|
+
color: ${({ theme }) => theme.palette.grey[700]};
|
|
284
|
+
}
|
|
283
285
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
+
& .${constants_4.stepIconClassnames.root} {
|
|
287
|
+
color: ${({ theme }) => theme.palette.primary[700]};
|
|
286
288
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
289
|
+
&.${constants_4.stepIconClassnames.success} {
|
|
290
|
+
color: ${({ theme }) => theme.palette.success[700]};
|
|
291
|
+
}
|
|
290
292
|
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
293
|
+
&.${constants_4.stepIconClassnames.error} {
|
|
294
|
+
color: ${({ theme }) => theme.palette.error[700]};
|
|
295
|
+
}
|
|
294
296
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
+
&.${constants_4.stepIconClassnames.warning} {
|
|
298
|
+
color: ${({ theme }) => theme.palette.warning[700]};
|
|
299
|
+
}
|
|
297
300
|
}
|
|
298
301
|
}
|
|
299
302
|
}
|
|
300
303
|
|
|
301
304
|
&:active {
|
|
302
305
|
background: transparent;
|
|
303
|
-
& .${
|
|
306
|
+
& .${constants_5.stepClassnames.label} {
|
|
304
307
|
color: ${({ theme }) => theme.palette.grey[900]};
|
|
305
308
|
}
|
|
306
309
|
|
|
307
|
-
& .${
|
|
310
|
+
& .${constants_4.stepIconClassnames.root} {
|
|
308
311
|
color: ${({ theme }) => theme.palette.primary[800]};
|
|
309
312
|
|
|
310
|
-
&.${
|
|
313
|
+
&.${constants_4.stepIconClassnames.success} {
|
|
311
314
|
color: ${({ theme }) => theme.palette.success[800]};
|
|
312
315
|
}
|
|
313
316
|
|
|
314
|
-
&.${
|
|
317
|
+
&.${constants_4.stepIconClassnames.error} {
|
|
315
318
|
color: ${({ theme }) => theme.palette.error[800]};
|
|
316
319
|
}
|
|
317
320
|
|
|
318
|
-
&.${
|
|
321
|
+
&.${constants_4.stepIconClassnames.warning} {
|
|
319
322
|
color: ${({ theme }) => theme.palette.warning[700]};
|
|
320
323
|
}
|
|
321
324
|
}
|
|
@@ -3,8 +3,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CloseButton = exports.StaticInner = exports.Inner = exports.Wrapper = void 0;
|
|
4
4
|
const react_toastify_next_1 = require("react-toastify-next");
|
|
5
5
|
const Button_1 = require("../../Button");
|
|
6
|
+
const constants_1 = require("../../constants");
|
|
6
7
|
const styled_1 = require("../../styled");
|
|
7
|
-
const
|
|
8
|
+
const constants_2 = require("../constants");
|
|
8
9
|
const fade = (0, styled_1.keyframes) `
|
|
9
10
|
from {
|
|
10
11
|
opacity: 0;
|
|
@@ -69,7 +70,7 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
69
70
|
);
|
|
70
71
|
}
|
|
71
72
|
|
|
72
|
-
&.${
|
|
73
|
+
&.${constants_2.notifyClassnames.container} {
|
|
73
74
|
display: flex;
|
|
74
75
|
flex-direction: column;
|
|
75
76
|
justify-content: end;
|
|
@@ -84,7 +85,7 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
84
85
|
/* stylelint-enable plugin/no-unsupported-browser-features */
|
|
85
86
|
|
|
86
87
|
${({ theme }) => theme.breakpoints.up('mobile')} {
|
|
87
|
-
.${
|
|
88
|
+
.${constants_2.notifyClassnames.stackHost} .Toastify {
|
|
88
89
|
overflow: hidden;
|
|
89
90
|
}
|
|
90
91
|
}
|
|
@@ -94,11 +95,11 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
94
95
|
|
|
95
96
|
height: auto;
|
|
96
97
|
|
|
97
|
-
.${
|
|
98
|
+
.${constants_2.notifyClassnames.stackHost} .Toastify {
|
|
98
99
|
overflow: visible;
|
|
99
100
|
}
|
|
100
101
|
|
|
101
|
-
.${
|
|
102
|
+
.${constants_2.notifyClassnames.stack} {
|
|
102
103
|
overflow: hidden auto;
|
|
103
104
|
display: flex;
|
|
104
105
|
flex-direction: column;
|
|
@@ -113,7 +114,7 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
113
114
|
-webkit-overflow-scrolling: touch;
|
|
114
115
|
}
|
|
115
116
|
|
|
116
|
-
.${
|
|
117
|
+
.${constants_2.notifyClassnames.stack} .${constants_2.notifyClassnames.root} {
|
|
117
118
|
pointer-events: auto !important;
|
|
118
119
|
|
|
119
120
|
position: relative !important;
|
|
@@ -124,7 +125,7 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
124
125
|
width: 100% !important;
|
|
125
126
|
max-width: 100%;
|
|
126
127
|
height: auto !important;
|
|
127
|
-
min-height: ${
|
|
128
|
+
min-height: ${constants_2.NOTIFY_HEIGHT_MOBILE};
|
|
128
129
|
max-height: fit-content !important;
|
|
129
130
|
margin-top: 0 !important;
|
|
130
131
|
margin-right: 0 !important;
|
|
@@ -137,40 +138,40 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
137
138
|
На мобильных контейнер не получает mouseEnter — toastify оставляет data-collapsed=true
|
|
138
139
|
и скрывает direct children не‑последних тостов (.Toastify__toast--stacked[data-collapsed=true]:not(:last-child)>*{opacity:0})
|
|
139
140
|
*/
|
|
140
|
-
.${
|
|
141
|
+
.${constants_2.notifyClassnames.stack} .Toastify__toast--stacked > * {
|
|
141
142
|
opacity: 1 !important;
|
|
142
143
|
}
|
|
143
144
|
|
|
144
|
-
.${
|
|
145
|
+
.${constants_2.notifyClassnames.stack} .${constants_2.notifyClassnames.root}__content {
|
|
145
146
|
max-height: 400px;
|
|
146
147
|
margin: ${({ theme }) => theme.spacing(2, 0, 0, 8)};
|
|
147
148
|
}
|
|
148
149
|
|
|
149
|
-
.${
|
|
150
|
+
.${constants_2.notifyClassnames.stack} .${constants_2.notifyClassnames.root}__footer {
|
|
150
151
|
margin-bottom: 0;
|
|
151
152
|
}
|
|
152
153
|
|
|
153
|
-
.${
|
|
154
|
+
.${constants_2.notifyClassnames.stack} .Toastify__toast--stacked::before {
|
|
154
155
|
display: none;
|
|
155
156
|
}
|
|
156
157
|
}
|
|
157
158
|
}
|
|
158
159
|
|
|
159
|
-
.${
|
|
160
|
+
.${constants_2.notifyClassnames.animationIn} {
|
|
160
161
|
animation: ${leaveIn} ease-in-out ${({ theme }) => theme.transitions.duration.standard}ms;
|
|
161
162
|
animation-fill-mode: both;
|
|
162
163
|
}
|
|
163
164
|
|
|
164
|
-
.${
|
|
165
|
+
.${constants_2.notifyClassnames.animationOut} {
|
|
165
166
|
animation: ${leaveOut} ease-in-out;
|
|
166
167
|
animation-fill-mode: both;
|
|
167
168
|
}
|
|
168
169
|
|
|
169
|
-
.${
|
|
170
|
+
.${constants_2.notifyClassnames.root} {
|
|
170
171
|
overflow: hidden !important;
|
|
171
172
|
|
|
172
173
|
width: 400px;
|
|
173
|
-
height: ${
|
|
174
|
+
height: ${constants_2.NOTIFY_HEIGHT};
|
|
174
175
|
padding: 0;
|
|
175
176
|
|
|
176
177
|
box-shadow: ${({ theme }) => theme.elevation[300]};
|
|
@@ -193,10 +194,10 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
193
194
|
height: 3px;
|
|
194
195
|
}
|
|
195
196
|
${({ theme }) => theme.breakpoints.up('mobile')} {
|
|
196
|
-
min-height: ${
|
|
197
|
+
min-height: ${constants_2.NOTIFY_HEIGHT};
|
|
197
198
|
}
|
|
198
199
|
${({ theme }) => theme.breakpoints.down('mobile')} {
|
|
199
|
-
min-height: ${
|
|
200
|
+
min-height: ${constants_2.NOTIFY_HEIGHT_MOBILE};
|
|
200
201
|
}
|
|
201
202
|
|
|
202
203
|
.Toastify__progress-bar--wrp {
|
|
@@ -209,16 +210,16 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
209
210
|
opacity: 1;
|
|
210
211
|
}
|
|
211
212
|
|
|
212
|
-
&--${
|
|
213
|
+
&--${constants_2.NotificationVariantTypes.Info} {
|
|
213
214
|
--toastify-color-progress-light: ${({ theme }) => theme.palette.primary[800]};
|
|
214
215
|
}
|
|
215
|
-
&--${
|
|
216
|
+
&--${constants_2.NotificationVariantTypes.Success} {
|
|
216
217
|
--toastify-color-progress-light: ${({ theme }) => theme.palette.success[800]};
|
|
217
218
|
}
|
|
218
|
-
&--${
|
|
219
|
+
&--${constants_2.NotificationVariantTypes.Warning} {
|
|
219
220
|
--toastify-color-progress-light: ${({ theme }) => theme.palette.warning[800]};
|
|
220
221
|
}
|
|
221
|
-
&--${
|
|
222
|
+
&--${constants_2.NotificationVariantTypes.Error} {
|
|
222
223
|
--toastify-color-progress-light: ${({ theme }) => theme.palette.error[800]};
|
|
223
224
|
}
|
|
224
225
|
|
|
@@ -228,14 +229,14 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
228
229
|
}
|
|
229
230
|
}
|
|
230
231
|
|
|
231
|
-
.${
|
|
232
|
+
.${constants_2.notifyClassnames.root}__content {
|
|
232
233
|
overflow: hidden;
|
|
233
234
|
|
|
234
235
|
max-height: 0;
|
|
235
236
|
margin-top: 0;
|
|
236
237
|
}
|
|
237
238
|
|
|
238
|
-
.${
|
|
239
|
+
.${constants_2.notifyClassnames.root}__footer {
|
|
239
240
|
margin-bottom: ${({ theme }) => theme.spacing(-3)};
|
|
240
241
|
|
|
241
242
|
transition: ${({ theme }) => theme.transitions.create(['margin-bottom'], {
|
|
@@ -246,21 +247,21 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
246
247
|
|
|
247
248
|
/* Стили для уведомлений в стеке */
|
|
248
249
|
${({ theme }) => theme.breakpoints.up('mobile')} {
|
|
249
|
-
.${
|
|
250
|
+
.${constants_2.notifyClassnames.stack} .${constants_2.notifyClassnames.root} {
|
|
250
251
|
position: relative;
|
|
251
252
|
transform: scale(var(--s));
|
|
252
253
|
|
|
253
254
|
&:not(:last-of-type) {
|
|
254
255
|
margin-bottom: calc(
|
|
255
|
-
${({ theme }) => theme.spacing(4)} - ${
|
|
256
|
+
${({ theme }) => theme.spacing(4)} - ${constants_2.NOTIFY_HEIGHT}
|
|
256
257
|
);
|
|
257
258
|
}
|
|
258
259
|
|
|
259
260
|
&:last-of-type {
|
|
260
261
|
height: auto;
|
|
261
|
-
min-height: ${
|
|
262
|
+
min-height: ${constants_2.NOTIFY_HEIGHT};
|
|
262
263
|
|
|
263
|
-
.${
|
|
264
|
+
.${constants_2.notifyClassnames.root}__content {
|
|
264
265
|
max-height: 400px;
|
|
265
266
|
margin: ${({ theme }) => theme.spacing(2, 0, 0, 8)};
|
|
266
267
|
}
|
|
@@ -268,13 +269,13 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
268
269
|
|
|
269
270
|
/* В свернутом виде показываем не более 3-x уведомлений */
|
|
270
271
|
&:not(:nth-last-of-type(-n + 3)) {
|
|
271
|
-
margin-bottom: -${
|
|
272
|
+
margin-bottom: -${constants_2.NOTIFY_HEIGHT};
|
|
272
273
|
|
|
273
274
|
opacity: 0;
|
|
274
275
|
}
|
|
275
276
|
|
|
276
277
|
/* Отключаем анимацию при появлении нового уведомления */
|
|
277
|
-
&[${
|
|
278
|
+
&[${constants_2.NOTIFY_NO_TRANSITION_ATTR}='true'] {
|
|
278
279
|
transition-duration: 0s !important;
|
|
279
280
|
}
|
|
280
281
|
}
|
|
@@ -282,8 +283,8 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
282
283
|
|
|
283
284
|
/* Мобильный стек в свёрнутом виде: последний в DOM (самый новый) — сверху; остальные без участия в раскладке */
|
|
284
285
|
${({ theme }) => theme.breakpoints.down('mobile')} {
|
|
285
|
-
&:not(.${
|
|
286
|
-
.${
|
|
286
|
+
&:not(.${constants_2.notifyClassnames.container}) {
|
|
287
|
+
.${constants_2.notifyClassnames.stack} {
|
|
287
288
|
position: relative;
|
|
288
289
|
|
|
289
290
|
overflow: visible;
|
|
@@ -301,7 +302,7 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
301
302
|
|
|
302
303
|
/* Причина игнора: Не критично для отображения */
|
|
303
304
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
304
|
-
&:has(.${
|
|
305
|
+
&:has(.${constants_2.notifyClassnames.root}:not(.${constants_2.notifyClassnames.animationOut}) ~ .${constants_2.notifyClassnames.root}:not(.${constants_2.notifyClassnames.animationOut})) {
|
|
305
306
|
padding-top: ${({ theme }) => theme.spacing(4)};
|
|
306
307
|
|
|
307
308
|
&::before,
|
|
@@ -314,7 +315,7 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
314
315
|
right: ${({ theme }) => theme.spacing(2)};
|
|
315
316
|
left: ${({ theme }) => theme.spacing(2)};
|
|
316
317
|
|
|
317
|
-
height: ${
|
|
318
|
+
height: ${constants_2.NOTIFY_HEIGHT_MOBILE};
|
|
318
319
|
|
|
319
320
|
background: ${({ theme }) => theme.palette.background.paper};
|
|
320
321
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
@@ -333,7 +334,7 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
333
334
|
}
|
|
334
335
|
}
|
|
335
336
|
|
|
336
|
-
.${
|
|
337
|
+
.${constants_2.notifyClassnames.stack} .${constants_2.notifyClassnames.root}:not(:last-of-type) {
|
|
337
338
|
pointer-events: none;
|
|
338
339
|
|
|
339
340
|
position: absolute;
|
|
@@ -352,13 +353,13 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
352
353
|
clip-path: inset(50%);
|
|
353
354
|
border: 0;
|
|
354
355
|
|
|
355
|
-
.${
|
|
356
|
+
.${constants_2.notifyClassnames.root}__content {
|
|
356
357
|
max-height: 0 !important;
|
|
357
358
|
margin: 0 !important;
|
|
358
359
|
}
|
|
359
360
|
}
|
|
360
361
|
|
|
361
|
-
.${
|
|
362
|
+
.${constants_2.notifyClassnames.stack} .${constants_2.notifyClassnames.root}:last-of-type {
|
|
362
363
|
position: relative;
|
|
363
364
|
z-index: 1;
|
|
364
365
|
transform: scale(var(--s, 1));
|
|
@@ -369,24 +370,24 @@ exports.Wrapper = styled_1.styled.div `
|
|
|
369
370
|
width: 100% !important;
|
|
370
371
|
min-width: 0 !important;
|
|
371
372
|
max-width: 100% !important;
|
|
372
|
-
min-height: ${
|
|
373
|
+
min-height: ${constants_2.NOTIFY_HEIGHT_MOBILE};
|
|
373
374
|
margin-bottom: 0 !important;
|
|
374
375
|
|
|
375
376
|
opacity: 1;
|
|
376
377
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
377
378
|
|
|
378
|
-
.${
|
|
379
|
+
.${constants_2.notifyClassnames.root}__content {
|
|
379
380
|
max-height: 400px;
|
|
380
381
|
margin: ${({ theme }) => theme.spacing(2, 0, 0, 8)};
|
|
381
382
|
}
|
|
382
383
|
}
|
|
383
384
|
|
|
384
|
-
.${
|
|
385
|
-
.${
|
|
385
|
+
.${constants_2.notifyClassnames.stackHost} .Toastify,
|
|
386
|
+
.${constants_2.notifyClassnames.stackHost} .${constants_2.notifyClassnames.stack} {
|
|
386
387
|
overflow: visible !important;
|
|
387
388
|
}
|
|
388
389
|
|
|
389
|
-
.${
|
|
390
|
+
.${constants_2.notifyClassnames.animationOut} {
|
|
390
391
|
animation: ${leaveOutMobileStacked} ease-in-out ${({ theme }) => theme.transitions.duration.standard}ms;
|
|
391
392
|
animation-fill-mode: both;
|
|
392
393
|
}
|
|
@@ -404,7 +405,7 @@ exports.Inner = (0, styled_1.styled)(react_toastify_next_1.ToastContainer) `
|
|
|
404
405
|
padding-bottom: 0 !important;
|
|
405
406
|
padding-left: ${({ theme }) => theme.spacing(3)} !important;
|
|
406
407
|
|
|
407
|
-
.${
|
|
408
|
+
.${constants_2.notifyClassnames.root} {
|
|
408
409
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
409
410
|
|
|
410
411
|
&:last-of-type{
|
|
@@ -420,23 +421,23 @@ exports.Inner = (0, styled_1.styled)(react_toastify_next_1.ToastContainer) `
|
|
|
420
421
|
|
|
421
422
|
height: 100%;
|
|
422
423
|
|
|
423
|
-
.${
|
|
424
|
+
.${constants_2.notifyClassnames.root} {
|
|
424
425
|
position: relative;
|
|
425
426
|
transform: unset;
|
|
426
427
|
|
|
427
428
|
height: auto;
|
|
428
|
-
min-height: ${
|
|
429
|
+
min-height: ${constants_2.NOTIFY_HEIGHT};
|
|
429
430
|
margin-bottom: ${({ theme }) => theme.spacing(1)} !important;
|
|
430
431
|
|
|
431
432
|
opacity: 1 !important;
|
|
432
433
|
}
|
|
433
434
|
|
|
434
|
-
.${
|
|
435
|
+
.${constants_2.notifyClassnames.root}__content {
|
|
435
436
|
max-height: 400px;
|
|
436
437
|
margin: ${({ theme }) => theme.spacing(2, 0, 0, 8)};
|
|
437
438
|
}
|
|
438
439
|
|
|
439
|
-
.${
|
|
440
|
+
.${constants_2.notifyClassnames.root}__footer {
|
|
440
441
|
margin-bottom: 0;
|
|
441
442
|
}
|
|
442
443
|
|
|
@@ -453,20 +454,20 @@ exports.Inner = (0, styled_1.styled)(react_toastify_next_1.ToastContainer) `
|
|
|
453
454
|
padding-right: ${({ theme }) => theme.spacing(2)} !important;
|
|
454
455
|
padding-left: ${({ theme }) => theme.spacing(2)} !important;
|
|
455
456
|
|
|
456
|
-
.${
|
|
457
|
+
.${constants_2.notifyClassnames.root} {
|
|
457
458
|
width: 100% !important;
|
|
458
459
|
max-width: 100%;
|
|
459
460
|
height: auto !important;
|
|
460
|
-
min-height: ${
|
|
461
|
+
min-height: ${constants_2.NOTIFY_HEIGHT_MOBILE};
|
|
461
462
|
margin-bottom: ${({ theme }) => theme.spacing(2)} !important;
|
|
462
463
|
}
|
|
463
464
|
|
|
464
|
-
.${
|
|
465
|
+
.${constants_2.notifyClassnames.root}__content {
|
|
465
466
|
max-height: 400px;
|
|
466
467
|
margin: ${({ theme }) => theme.spacing(2, 0, 0, 8)};
|
|
467
468
|
}
|
|
468
469
|
|
|
469
|
-
.${
|
|
470
|
+
.${constants_2.notifyClassnames.root}__footer {
|
|
470
471
|
margin-bottom: 0;
|
|
471
472
|
}
|
|
472
473
|
}
|
|
@@ -474,7 +475,7 @@ exports.Inner = (0, styled_1.styled)(react_toastify_next_1.ToastContainer) `
|
|
|
474
475
|
exports.StaticInner = (0, styled_1.styled)(exports.Inner) `
|
|
475
476
|
margin-top: 0;
|
|
476
477
|
|
|
477
|
-
.${
|
|
478
|
+
.${constants_2.notifyClassnames.root} {
|
|
478
479
|
margin-bottom: ${({ theme }) => theme.spacing(1)};
|
|
479
480
|
}
|
|
480
481
|
`;
|
|
@@ -488,11 +489,13 @@ exports.CloseButton = (0, styled_1.styled)(Button_1.Button) `
|
|
|
488
489
|
|
|
489
490
|
animation: ${fade} 500ms linear;
|
|
490
491
|
|
|
491
|
-
|
|
492
|
-
|
|
492
|
+
${constants_1.HOVER_MEDIA} {
|
|
493
|
+
&:hover {
|
|
494
|
+
box-shadow: ${({ theme }) => theme.elevation[300]};
|
|
495
|
+
}
|
|
493
496
|
}
|
|
494
497
|
|
|
495
|
-
&.${
|
|
498
|
+
&.${constants_2.notifyClassnames.closeButtonAnimationOut} {
|
|
496
499
|
opacity: 0;
|
|
497
500
|
}
|
|
498
501
|
|