@astral/ui 4.13.1 → 4.14.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/CardGridInfinite/Card/Card.d.ts +3 -0
- package/components/CardGridInfinite/Card/Card.js +12 -0
- package/components/CardGridInfinite/Card/CardActionContext/CardActionContext.d.ts +10 -0
- package/components/CardGridInfinite/Card/CardActionContext/CardActionContext.js +8 -0
- package/components/CardGridInfinite/Card/CardActionContext/CardActionContextProvider/CardActionContextProvider.d.ts +9 -0
- package/components/CardGridInfinite/Card/CardActionContext/CardActionContextProvider/CardActionContextProvider.js +26 -0
- package/components/CardGridInfinite/Card/CardActionContext/CardActionContextProvider/index.d.ts +1 -0
- package/components/CardGridInfinite/Card/CardActionContext/CardActionContextProvider/index.js +1 -0
- package/components/CardGridInfinite/Card/CardActionContext/index.d.ts +2 -0
- package/components/CardGridInfinite/Card/CardActionContext/index.js +2 -0
- package/components/CardGridInfinite/Card/SecondaryActionButton/SecondaryActionButton.d.ts +7 -0
- package/components/CardGridInfinite/Card/SecondaryActionButton/SecondaryActionButton.js +21 -0
- package/components/CardGridInfinite/Card/SecondaryActionButton/index.d.ts +1 -0
- package/components/CardGridInfinite/Card/SecondaryActionButton/index.js +1 -0
- package/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +12 -0
- package/components/CardGridInfinite/Card/SecondaryActionButton/styles.js +5 -0
- package/components/CardGridInfinite/Card/index.d.ts +3 -0
- package/components/CardGridInfinite/Card/index.js +2 -0
- package/components/CardGridInfinite/Card/styles.d.ts +16 -0
- package/components/CardGridInfinite/Card/styles.js +22 -0
- package/components/CardGridInfinite/Card/types.d.ts +32 -0
- package/components/CardGridInfinite/Card/types.js +1 -0
- package/components/CardGridInfinite/Card/useLogic/index.d.ts +1 -0
- package/components/CardGridInfinite/Card/useLogic/index.js +1 -0
- package/components/CardGridInfinite/Card/useLogic/useLogic.d.ts +7 -0
- package/components/CardGridInfinite/Card/useLogic/useLogic.js +7 -0
- package/components/CardGridInfinite/CardGridInfinite.d.ts +3 -0
- package/components/CardGridInfinite/CardGridInfinite.js +21 -0
- package/components/CardGridInfinite/CardGridMainActions/Action/Action.d.ts +3 -0
- package/components/CardGridInfinite/CardGridMainActions/Action/Action.js +16 -0
- package/components/CardGridInfinite/CardGridMainActions/Action/index.d.ts +1 -0
- package/components/CardGridInfinite/CardGridMainActions/Action/index.js +1 -0
- package/components/CardGridInfinite/CardGridMainActions/Action/types.d.ts +13 -0
- package/components/CardGridInfinite/CardGridMainActions/Action/types.js +1 -0
- package/components/CardGridInfinite/CardGridMainActions/Action/useLogic/index.d.ts +1 -0
- package/components/CardGridInfinite/CardGridMainActions/Action/useLogic/index.js +1 -0
- package/components/CardGridInfinite/CardGridMainActions/Action/useLogic/useLogic.d.ts +11 -0
- package/components/CardGridInfinite/CardGridMainActions/Action/useLogic/useLogic.js +16 -0
- package/components/CardGridInfinite/CardGridMainActions/CardGridMainActions.d.ts +30 -0
- package/components/CardGridInfinite/CardGridMainActions/CardGridMainActions.js +29 -0
- package/components/CardGridInfinite/CardGridMainActions/index.d.ts +4 -0
- package/components/CardGridInfinite/CardGridMainActions/index.js +4 -0
- package/components/CardGridInfinite/CardGridMainActions/styles.d.ts +5 -0
- package/components/CardGridInfinite/CardGridMainActions/styles.js +9 -0
- package/components/CardGridInfinite/CardGridMainActions/types.d.ts +44 -0
- package/components/CardGridInfinite/CardGridMainActions/types.js +1 -0
- package/components/CardGridInfinite/CardGridMainActions/utils/index.d.ts +1 -0
- package/components/CardGridInfinite/CardGridMainActions/utils/index.js +1 -0
- package/components/CardGridInfinite/CardGridMainActions/utils/replaceActionComponent/index.d.ts +1 -0
- package/components/CardGridInfinite/CardGridMainActions/utils/replaceActionComponent/index.js +1 -0
- package/components/CardGridInfinite/CardGridMainActions/utils/replaceActionComponent/replaceActionComponent.d.ts +8 -0
- package/components/CardGridInfinite/CardGridMainActions/utils/replaceActionComponent/replaceActionComponent.js +11 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActions.d.ts +18 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActions.js +34 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/CardGridSecondaryActionsSkeleton.d.ts +2 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/CardGridSecondaryActionsSkeleton.js +4 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/index.d.ts +1 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/index.js +1 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/styles.d.ts +9 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/styles.js +31 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/SecondaryActionsMenuContext.d.ts +12 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/SecondaryActionsMenuContext.js +5 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/SecondaryActionsMenuProvider/SecondaryActionsMenuProvider.d.ts +8 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/SecondaryActionsMenuProvider/SecondaryActionsMenuProvider.js +5 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/SecondaryActionsMenuProvider/index.d.ts +1 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/SecondaryActionsMenuProvider/index.js +1 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/index.d.ts +2 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/index.js +2 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/index.d.ts +4 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/index.js +3 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/types.d.ts +59 -0
- package/components/CardGridInfinite/CardGridSecondaryAction/types.js +1 -0
- package/components/CardGridInfinite/EndData/EndData.d.ts +6 -0
- package/components/CardGridInfinite/EndData/EndData.js +4 -0
- package/components/CardGridInfinite/EndData/constants.d.ts +1 -0
- package/components/CardGridInfinite/EndData/constants.js +1 -0
- package/components/CardGridInfinite/EndData/index.d.ts +1 -0
- package/components/CardGridInfinite/EndData/index.js +1 -0
- package/components/CardGridInfinite/ErrorMessage/ErrorMessage.d.ts +6 -0
- package/components/CardGridInfinite/ErrorMessage/ErrorMessage.js +6 -0
- package/components/CardGridInfinite/ErrorMessage/constants.d.ts +1 -0
- package/components/CardGridInfinite/ErrorMessage/constants.js +1 -0
- package/components/CardGridInfinite/ErrorMessage/index.d.ts +1 -0
- package/components/CardGridInfinite/ErrorMessage/index.js +1 -0
- package/components/CardGridInfinite/ErrorMessage/styles.d.ts +5 -0
- package/components/CardGridInfinite/ErrorMessage/styles.js +17 -0
- package/components/CardGridInfinite/Footer/Footer.d.ts +10 -0
- package/components/CardGridInfinite/Footer/Footer.js +12 -0
- package/components/CardGridInfinite/Footer/index.d.ts +1 -0
- package/components/CardGridInfinite/Footer/index.js +1 -0
- package/components/CardGridInfinite/Footer/styles.d.ts +9 -0
- package/components/CardGridInfinite/Footer/styles.js +16 -0
- package/components/CardGridInfinite/List/List.d.ts +8 -0
- package/components/CardGridInfinite/List/List.js +4 -0
- package/components/CardGridInfinite/List/index.d.ts +1 -0
- package/components/CardGridInfinite/List/index.js +1 -0
- package/components/CardGridInfinite/List/styles.d.ts +10 -0
- package/components/CardGridInfinite/List/styles.js +10 -0
- package/components/CardGridInfinite/NoDataPlaceholder/NoDataPlaceholder.d.ts +6 -0
- package/components/CardGridInfinite/NoDataPlaceholder/NoDataPlaceholder.js +10 -0
- package/components/CardGridInfinite/NoDataPlaceholder/constants.d.ts +1 -0
- package/components/CardGridInfinite/NoDataPlaceholder/constants.js +1 -0
- package/components/CardGridInfinite/NoDataPlaceholder/index.d.ts +1 -0
- package/components/CardGridInfinite/NoDataPlaceholder/index.js +1 -0
- package/components/CardGridInfinite/OnTopButton/OnTopButton.d.ts +8 -0
- package/components/CardGridInfinite/OnTopButton/OnTopButton.js +10 -0
- package/components/CardGridInfinite/OnTopButton/index.d.ts +1 -0
- package/components/CardGridInfinite/OnTopButton/index.js +1 -0
- package/components/CardGridInfinite/OnTopButton/styles.d.ts +3 -0
- package/components/CardGridInfinite/OnTopButton/styles.js +9 -0
- package/components/CardGridInfinite/SkeletonGrid/SkeletonGrid.d.ts +11 -0
- package/components/CardGridInfinite/SkeletonGrid/SkeletonGrid.js +5 -0
- package/components/CardGridInfinite/SkeletonGrid/index.d.ts +1 -0
- package/components/CardGridInfinite/SkeletonGrid/index.js +1 -0
- package/components/CardGridInfinite/SkeletonGrid/styles.d.ts +12 -0
- package/components/CardGridInfinite/SkeletonGrid/styles.js +5 -0
- package/components/CardGridInfinite/constants.d.ts +7 -0
- package/components/CardGridInfinite/constants.js +8 -0
- package/components/CardGridInfinite/hooks/index.d.ts +1 -0
- package/components/CardGridInfinite/hooks/index.js +1 -0
- package/components/CardGridInfinite/hooks/useBlockingActions/index.d.ts +1 -0
- package/components/CardGridInfinite/hooks/useBlockingActions/index.js +1 -0
- package/components/CardGridInfinite/hooks/useBlockingActions/useBlockingActions.d.ts +9 -0
- package/components/CardGridInfinite/hooks/useBlockingActions/useBlockingActions.js +23 -0
- package/components/CardGridInfinite/index.d.ts +8 -0
- package/components/CardGridInfinite/index.js +4 -0
- package/components/CardGridInfinite/styles.d.ts +13 -0
- package/components/CardGridInfinite/styles.js +26 -0
- package/components/CardGridInfinite/types.d.ts +98 -0
- package/components/CardGridInfinite/types.js +1 -0
- package/components/CardGridInfinite/useLogic/index.d.ts +1 -0
- package/components/CardGridInfinite/useLogic/index.js +1 -0
- package/components/CardGridInfinite/useLogic/useLogic.d.ts +41 -0
- package/components/CardGridInfinite/useLogic/useLogic.js +73 -0
- package/components/DashboardLayout/Sidebar/styles.d.ts +1 -4
- package/components/DatePicker/styles.d.ts +1 -4
- package/components/DateRangePicker/styles.d.ts +1 -4
- package/components/Description/styles.js +1 -1
- package/components/InfiniteTreeList/useLogic/useLogic.js +2 -2
- package/components/PageLayout/PageContent/styles.js +5 -2
- package/components/PageLayout/PageLayoutContainer/index.d.ts +1 -0
- package/components/PageLayout/PageLayoutContainer/index.js +1 -0
- package/components/PageLayout/PageLayoutContainer/styles.d.ts +1 -4
- package/components/Paper/Paper.d.ts +1 -1
- package/components/Paper/Paper.js +4 -3
- package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useScrollManagement/useScrollManagement.d.ts +2 -1
- package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useScrollManagement/useScrollManagement.js +13 -3
- package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useStickyButton/useStickyButton.js +2 -2
- package/components/hooks/index.d.ts +1 -0
- package/components/hooks/index.js +1 -0
- package/components/placeholders/LoadingPlaceholder/LoadingPlaceholder.js +4 -3
- package/components/placeholders/LoadingPlaceholder/constants.d.ts +3 -0
- package/components/placeholders/LoadingPlaceholder/constants.js +4 -0
- package/components/placeholders/LoadingPlaceholder/index.d.ts +1 -0
- package/components/placeholders/LoadingPlaceholder/index.js +1 -0
- package/node/components/CardGridInfinite/Card/Card.d.ts +3 -0
- package/node/components/CardGridInfinite/Card/Card.js +16 -0
- package/node/components/CardGridInfinite/Card/CardActionContext/CardActionContext.d.ts +10 -0
- package/node/components/CardGridInfinite/Card/CardActionContext/CardActionContext.js +11 -0
- package/node/components/CardGridInfinite/Card/CardActionContext/CardActionContextProvider/CardActionContextProvider.d.ts +9 -0
- package/node/components/CardGridInfinite/Card/CardActionContext/CardActionContextProvider/CardActionContextProvider.js +30 -0
- package/node/components/CardGridInfinite/Card/CardActionContext/CardActionContextProvider/index.d.ts +1 -0
- package/node/components/CardGridInfinite/Card/CardActionContext/CardActionContextProvider/index.js +17 -0
- package/node/components/CardGridInfinite/Card/CardActionContext/index.d.ts +2 -0
- package/node/components/CardGridInfinite/Card/CardActionContext/index.js +18 -0
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/SecondaryActionButton.d.ts +7 -0
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/SecondaryActionButton.js +25 -0
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/index.d.ts +1 -0
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/index.js +17 -0
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/styles.d.ts +12 -0
- package/node/components/CardGridInfinite/Card/SecondaryActionButton/styles.js +8 -0
- package/node/components/CardGridInfinite/Card/index.d.ts +3 -0
- package/node/components/CardGridInfinite/Card/index.js +18 -0
- package/node/components/CardGridInfinite/Card/styles.d.ts +16 -0
- package/node/components/CardGridInfinite/Card/styles.js +25 -0
- package/node/components/CardGridInfinite/Card/types.d.ts +32 -0
- package/node/components/CardGridInfinite/Card/types.js +2 -0
- package/node/components/CardGridInfinite/Card/useLogic/index.d.ts +1 -0
- package/node/components/CardGridInfinite/Card/useLogic/index.js +17 -0
- package/node/components/CardGridInfinite/Card/useLogic/useLogic.d.ts +7 -0
- package/node/components/CardGridInfinite/Card/useLogic/useLogic.js +11 -0
- package/node/components/CardGridInfinite/CardGridInfinite.d.ts +3 -0
- package/node/components/CardGridInfinite/CardGridInfinite.js +25 -0
- package/node/components/CardGridInfinite/CardGridMainActions/Action/Action.d.ts +3 -0
- package/node/components/CardGridInfinite/CardGridMainActions/Action/Action.js +20 -0
- package/node/components/CardGridInfinite/CardGridMainActions/Action/index.d.ts +1 -0
- package/node/components/CardGridInfinite/CardGridMainActions/Action/index.js +17 -0
- package/node/components/CardGridInfinite/CardGridMainActions/Action/types.d.ts +13 -0
- package/node/components/CardGridInfinite/CardGridMainActions/Action/types.js +2 -0
- package/node/components/CardGridInfinite/CardGridMainActions/Action/useLogic/index.d.ts +1 -0
- package/node/components/CardGridInfinite/CardGridMainActions/Action/useLogic/index.js +17 -0
- package/node/components/CardGridInfinite/CardGridMainActions/Action/useLogic/useLogic.d.ts +11 -0
- package/node/components/CardGridInfinite/CardGridMainActions/Action/useLogic/useLogic.js +20 -0
- package/node/components/CardGridInfinite/CardGridMainActions/CardGridMainActions.d.ts +30 -0
- package/node/components/CardGridInfinite/CardGridMainActions/CardGridMainActions.js +33 -0
- package/node/components/CardGridInfinite/CardGridMainActions/index.d.ts +4 -0
- package/node/components/CardGridInfinite/CardGridMainActions/index.js +22 -0
- package/node/components/CardGridInfinite/CardGridMainActions/styles.d.ts +5 -0
- package/node/components/CardGridInfinite/CardGridMainActions/styles.js +12 -0
- package/node/components/CardGridInfinite/CardGridMainActions/types.d.ts +44 -0
- package/node/components/CardGridInfinite/CardGridMainActions/types.js +2 -0
- package/node/components/CardGridInfinite/CardGridMainActions/utils/index.d.ts +1 -0
- package/node/components/CardGridInfinite/CardGridMainActions/utils/index.js +17 -0
- package/node/components/CardGridInfinite/CardGridMainActions/utils/replaceActionComponent/index.d.ts +1 -0
- package/node/components/CardGridInfinite/CardGridMainActions/utils/replaceActionComponent/index.js +17 -0
- package/node/components/CardGridInfinite/CardGridMainActions/utils/replaceActionComponent/replaceActionComponent.d.ts +8 -0
- package/node/components/CardGridInfinite/CardGridMainActions/utils/replaceActionComponent/replaceActionComponent.js +15 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActions.d.ts +18 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActions.js +38 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/CardGridSecondaryActionsSkeleton.d.ts +2 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/CardGridSecondaryActionsSkeleton.js +8 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/index.d.ts +1 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/index.js +17 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/styles.d.ts +9 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/CardGridSecondaryActionsSkeleton/styles.js +34 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/SecondaryActionsMenuContext.d.ts +12 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/SecondaryActionsMenuContext.js +8 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/SecondaryActionsMenuProvider/SecondaryActionsMenuProvider.d.ts +8 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/SecondaryActionsMenuProvider/SecondaryActionsMenuProvider.js +9 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/SecondaryActionsMenuProvider/index.d.ts +1 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/SecondaryActionsMenuProvider/index.js +5 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/index.d.ts +2 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/SecondaryActionsMenuContext/index.js +18 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/index.d.ts +4 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/index.js +22 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/types.d.ts +59 -0
- package/node/components/CardGridInfinite/CardGridSecondaryAction/types.js +2 -0
- package/node/components/CardGridInfinite/EndData/EndData.d.ts +6 -0
- package/node/components/CardGridInfinite/EndData/EndData.js +8 -0
- package/node/components/CardGridInfinite/EndData/constants.d.ts +1 -0
- package/node/components/CardGridInfinite/EndData/constants.js +4 -0
- package/node/components/CardGridInfinite/EndData/index.d.ts +1 -0
- package/node/components/CardGridInfinite/EndData/index.js +17 -0
- package/node/components/CardGridInfinite/ErrorMessage/ErrorMessage.d.ts +6 -0
- package/node/components/CardGridInfinite/ErrorMessage/ErrorMessage.js +10 -0
- package/node/components/CardGridInfinite/ErrorMessage/constants.d.ts +1 -0
- package/node/components/CardGridInfinite/ErrorMessage/constants.js +4 -0
- package/node/components/CardGridInfinite/ErrorMessage/index.d.ts +1 -0
- package/node/components/CardGridInfinite/ErrorMessage/index.js +17 -0
- package/node/components/CardGridInfinite/ErrorMessage/styles.d.ts +5 -0
- package/node/components/CardGridInfinite/ErrorMessage/styles.js +20 -0
- package/node/components/CardGridInfinite/Footer/Footer.d.ts +10 -0
- package/node/components/CardGridInfinite/Footer/Footer.js +16 -0
- package/node/components/CardGridInfinite/Footer/index.d.ts +1 -0
- package/node/components/CardGridInfinite/Footer/index.js +17 -0
- package/node/components/CardGridInfinite/Footer/styles.d.ts +9 -0
- package/node/components/CardGridInfinite/Footer/styles.js +19 -0
- package/node/components/CardGridInfinite/List/List.d.ts +8 -0
- package/node/components/CardGridInfinite/List/List.js +7 -0
- package/node/components/CardGridInfinite/List/index.d.ts +1 -0
- package/node/components/CardGridInfinite/List/index.js +17 -0
- package/node/components/CardGridInfinite/List/styles.d.ts +10 -0
- package/node/components/CardGridInfinite/List/styles.js +13 -0
- package/node/components/CardGridInfinite/NoDataPlaceholder/NoDataPlaceholder.d.ts +6 -0
- package/node/components/CardGridInfinite/NoDataPlaceholder/NoDataPlaceholder.js +14 -0
- package/node/components/CardGridInfinite/NoDataPlaceholder/constants.d.ts +1 -0
- package/node/components/CardGridInfinite/NoDataPlaceholder/constants.js +4 -0
- package/node/components/CardGridInfinite/NoDataPlaceholder/index.d.ts +1 -0
- package/node/components/CardGridInfinite/NoDataPlaceholder/index.js +17 -0
- package/node/components/CardGridInfinite/OnTopButton/OnTopButton.d.ts +8 -0
- package/node/components/CardGridInfinite/OnTopButton/OnTopButton.js +14 -0
- package/node/components/CardGridInfinite/OnTopButton/index.d.ts +1 -0
- package/node/components/CardGridInfinite/OnTopButton/index.js +17 -0
- package/node/components/CardGridInfinite/OnTopButton/styles.d.ts +3 -0
- package/node/components/CardGridInfinite/OnTopButton/styles.js +12 -0
- package/node/components/CardGridInfinite/SkeletonGrid/SkeletonGrid.d.ts +11 -0
- package/node/components/CardGridInfinite/SkeletonGrid/SkeletonGrid.js +9 -0
- package/node/components/CardGridInfinite/SkeletonGrid/index.d.ts +1 -0
- package/node/components/CardGridInfinite/SkeletonGrid/index.js +5 -0
- package/node/components/CardGridInfinite/SkeletonGrid/styles.d.ts +12 -0
- package/node/components/CardGridInfinite/SkeletonGrid/styles.js +8 -0
- package/node/components/CardGridInfinite/constants.d.ts +7 -0
- package/node/components/CardGridInfinite/constants.js +11 -0
- package/node/components/CardGridInfinite/hooks/index.d.ts +1 -0
- package/node/components/CardGridInfinite/hooks/index.js +17 -0
- package/node/components/CardGridInfinite/hooks/useBlockingActions/index.d.ts +1 -0
- package/node/components/CardGridInfinite/hooks/useBlockingActions/index.js +17 -0
- package/node/components/CardGridInfinite/hooks/useBlockingActions/useBlockingActions.d.ts +9 -0
- package/node/components/CardGridInfinite/hooks/useBlockingActions/useBlockingActions.js +27 -0
- package/node/components/CardGridInfinite/index.d.ts +8 -0
- package/node/components/CardGridInfinite/index.js +13 -0
- package/node/components/CardGridInfinite/styles.d.ts +13 -0
- package/node/components/CardGridInfinite/styles.js +29 -0
- package/node/components/CardGridInfinite/types.d.ts +98 -0
- package/node/components/CardGridInfinite/types.js +2 -0
- package/node/components/CardGridInfinite/useLogic/index.d.ts +1 -0
- package/node/components/CardGridInfinite/useLogic/index.js +17 -0
- package/node/components/CardGridInfinite/useLogic/useLogic.d.ts +41 -0
- package/node/components/CardGridInfinite/useLogic/useLogic.js +77 -0
- package/node/components/DashboardLayout/Sidebar/styles.d.ts +1 -4
- package/node/components/DatePicker/styles.d.ts +1 -4
- package/node/components/DateRangePicker/styles.d.ts +1 -4
- package/node/components/Description/styles.js +1 -1
- package/node/components/InfiniteTreeList/useLogic/useLogic.js +3 -3
- package/node/components/PageLayout/PageContent/styles.js +5 -2
- package/node/components/PageLayout/PageLayoutContainer/index.d.ts +1 -0
- package/node/components/PageLayout/PageLayoutContainer/index.js +3 -0
- package/node/components/PageLayout/PageLayoutContainer/styles.d.ts +1 -4
- package/node/components/Paper/Paper.d.ts +1 -1
- package/node/components/Paper/Paper.js +4 -4
- package/node/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useScrollManagement/useScrollManagement.d.ts +2 -1
- package/node/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useScrollManagement/useScrollManagement.js +13 -3
- package/node/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useStickyButton/useStickyButton.js +3 -3
- package/node/components/hooks/index.d.ts +1 -0
- package/node/components/hooks/index.js +4 -1
- package/node/components/placeholders/LoadingPlaceholder/LoadingPlaceholder.js +4 -3
- package/node/components/placeholders/LoadingPlaceholder/constants.d.ts +3 -0
- package/node/components/placeholders/LoadingPlaceholder/constants.js +7 -0
- package/node/components/placeholders/LoadingPlaceholder/index.d.ts +1 -0
- package/node/components/placeholders/LoadingPlaceholder/index.js +3 -0
- package/package.json +8 -1
- /package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/index.d.ts +0 -0
- /package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/index.js +0 -0
- /package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useScrollManagement/index.d.ts +0 -0
- /package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useScrollManagement/index.js +0 -0
- /package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useStickyButton/index.d.ts +0 -0
- /package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useStickyButton/index.js +0 -0
- /package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useStickyButton/useStickyButton.d.ts +0 -0
- /package/node/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/index.d.ts +0 -0
- /package/node/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/index.js +0 -0
- /package/node/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useScrollManagement/index.d.ts +0 -0
- /package/node/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useScrollManagement/index.js +0 -0
- /package/node/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useStickyButton/index.d.ts +0 -0
- /package/node/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useStickyButton/index.js +0 -0
- /package/node/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useStickyButton/useStickyButton.d.ts +0 -0
|
@@ -27,9 +27,7 @@ exports.Wrapper = (0, styles_1.styled)('article', {
|
|
|
27
27
|
order: 4;
|
|
28
28
|
|
|
29
29
|
height: ${({ $isFullHeight }) => ($isFullHeight ? 'auto' : '100%')};
|
|
30
|
-
margin: ${({ theme }) => theme.spacing(0, 4, 4)};
|
|
31
30
|
|
|
32
|
-
background-color: ${({ theme }) => theme.palette.background.default};
|
|
33
31
|
border-top: none;
|
|
34
32
|
border-radius: ${({ theme }) => theme.shape.medium};
|
|
35
33
|
}
|
|
@@ -66,9 +64,14 @@ exports.Content = styles_1.styled.div `
|
|
|
66
64
|
padding: ${({ theme, $hasAside }) => getPaddingContent(theme, $hasAside)};
|
|
67
65
|
|
|
68
66
|
${({ theme }) => theme.breakpoints.down('sm')} {
|
|
67
|
+
scrollbar-gutter: unset;
|
|
68
|
+
|
|
69
69
|
overflow: hidden;
|
|
70
70
|
|
|
71
|
+
margin: ${({ theme }) => theme.spacing(0, 4, 4)};
|
|
71
72
|
padding: ${({ theme }) => theme.spacing(4, 4, 3)};
|
|
73
|
+
|
|
74
|
+
background-color: ${({ theme }) => theme.palette.background.default};
|
|
72
75
|
}
|
|
73
76
|
|
|
74
77
|
&:has(.${PdfViewer_1.pdfViewerClassnames.document}.${PdfViewer_1.pdfViewerClassnames.zoom}) {
|
|
@@ -14,4 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.pageLayoutClassnames = void 0;
|
|
17
18
|
__exportStar(require("./PageLayoutContainer"), exports);
|
|
19
|
+
var constants_1 = require("./constants");
|
|
20
|
+
Object.defineProperty(exports, "pageLayoutClassnames", { enumerable: true, get: function () { return constants_1.pageLayoutClassnames; } });
|
|
@@ -3,9 +3,6 @@ export declare const Wrapper: import("@emotion/styled").StyledComponent<{
|
|
|
3
3
|
theme?: import("@emotion/react").Theme | undefined;
|
|
4
4
|
as?: import("react").ElementType<any> | undefined;
|
|
5
5
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const StylePaper: import("@emotion/styled").StyledComponent<Omit<import("
|
|
7
|
-
elevation?: 0 | 1 | 2 | undefined;
|
|
8
|
-
shape?: "small" | "medium" | "large" | undefined;
|
|
9
|
-
} & {
|
|
6
|
+
export declare const StylePaper: import("@emotion/styled").StyledComponent<Omit<import("../../Paper").PaperProps, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
|
|
10
7
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
8
|
}, {}, {}>;
|
|
@@ -16,4 +16,4 @@ export type PaperProps = Omit<WithoutEmotionSpecific<MuiPaperProps>, 'elevation'
|
|
|
16
16
|
*/
|
|
17
17
|
shape?: 'small' | 'medium' | 'large';
|
|
18
18
|
};
|
|
19
|
-
export declare const Paper: (
|
|
19
|
+
export declare const Paper: import("react").ForwardRefExoticComponent<Omit<PaperProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Paper = void 0;
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const react_1 = require("react");
|
|
5
6
|
const styles_1 = require("./styles");
|
|
6
|
-
|
|
7
|
-
return (0, jsx_runtime_1.jsx)(styles_1.StyledPaper, { "$shape": shape, ...restProps });
|
|
8
|
-
};
|
|
9
|
-
exports.Paper = Paper;
|
|
7
|
+
exports.Paper = (0, react_1.forwardRef)(({ shape = 'medium', ...restProps }, ref) => {
|
|
8
|
+
return (0, jsx_runtime_1.jsx)(styles_1.StyledPaper, { ref: ref, "$shape": shape, ...restProps });
|
|
9
|
+
});
|
|
@@ -3,11 +3,12 @@ type UseScrollManagementParams = {
|
|
|
3
3
|
scrollRef: RefObject<HTMLElement>;
|
|
4
4
|
isEndReached?: boolean;
|
|
5
5
|
onLoadMore?: () => void;
|
|
6
|
+
virtuosoId: string;
|
|
6
7
|
};
|
|
7
8
|
/**
|
|
8
9
|
* Отслеживание скролла для динамического отображения футера
|
|
9
10
|
*/
|
|
10
|
-
export declare const useScrollManagement: ({ scrollRef, isEndReached, onLoadMore, }: UseScrollManagementParams) => {
|
|
11
|
+
export declare const useScrollManagement: ({ scrollRef, isEndReached, onLoadMore, virtuosoId, }: UseScrollManagementParams) => {
|
|
11
12
|
scrollParent: HTMLElement | null;
|
|
12
13
|
hasVerticalScroll: boolean;
|
|
13
14
|
recalculateVerticalScroll: () => void;
|
|
@@ -2,14 +2,24 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useScrollManagement = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const PageLayoutContainer_1 = require("../../../PageLayout/PageLayoutContainer");
|
|
6
|
+
const useViewportType_1 = require("../../useViewportType");
|
|
6
7
|
/**
|
|
7
8
|
* Отслеживание скролла для динамического отображения футера
|
|
8
9
|
*/
|
|
9
|
-
const useScrollManagement = ({ scrollRef, isEndReached, onLoadMore, }) => {
|
|
10
|
+
const useScrollManagement = ({ scrollRef, isEndReached, onLoadMore, virtuosoId, }) => {
|
|
10
11
|
const [scrollParent, setScrollParent] = (0, react_1.useState)(null);
|
|
11
12
|
const [hasVerticalScroll, setHasVerticalScroll] = (0, react_1.useState)(false);
|
|
13
|
+
const { isMobile } = (0, useViewportType_1.useViewportType)();
|
|
12
14
|
(0, react_1.useEffect)(() => {
|
|
15
|
+
if (isMobile) {
|
|
16
|
+
// На мобильных устройствах scroll находится на контейнере pageLayout
|
|
17
|
+
const rootScrollElement = document.querySelector(`.${PageLayoutContainer_1.pageLayoutClassnames.root}`);
|
|
18
|
+
if (rootScrollElement instanceof HTMLElement) {
|
|
19
|
+
setScrollParent(rootScrollElement);
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
13
23
|
if (scrollRef?.current) {
|
|
14
24
|
setScrollParent(scrollRef.current);
|
|
15
25
|
}
|
|
@@ -18,7 +28,7 @@ const useScrollManagement = ({ scrollRef, isEndReached, onLoadMore, }) => {
|
|
|
18
28
|
}
|
|
19
29
|
}, [scrollRef]);
|
|
20
30
|
const recalculateVerticalScroll = () => {
|
|
21
|
-
const list = document.getElementById(
|
|
31
|
+
const list = document.getElementById(virtuosoId);
|
|
22
32
|
if (scrollRef?.current && list) {
|
|
23
33
|
setHasVerticalScroll(list?.clientHeight > scrollRef.current?.clientHeight);
|
|
24
34
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.useStickyButton = void 0;
|
|
4
4
|
const react_1 = require("react");
|
|
5
|
-
const
|
|
5
|
+
const useToggle_1 = require("../../useToggle");
|
|
6
6
|
/**
|
|
7
7
|
* Управление кнопкой "наверх"
|
|
8
8
|
*/
|
|
9
9
|
const useStickyButton = (scrollRef) => {
|
|
10
10
|
const virtuoso = (0, react_1.useRef)(null);
|
|
11
|
-
const [isStickyButtonActive, showStickyButton, hideStickyButton] = (0,
|
|
11
|
+
const [isStickyButtonActive, showStickyButton, hideStickyButton] = (0, useToggle_1.useToggle)();
|
|
12
12
|
const handleRangeChanged = (0, react_1.useCallback)((range) => {
|
|
13
13
|
const shouldShow = range.startIndex > 2;
|
|
14
14
|
if (isStickyButtonActive !== shouldShow) {
|
|
@@ -17,7 +17,7 @@ const useStickyButton = (scrollRef) => {
|
|
|
17
17
|
}, [showStickyButton, hideStickyButton]);
|
|
18
18
|
const handleScrollToTop = () => {
|
|
19
19
|
scrollRef.current.style.scrollBehavior = 'auto';
|
|
20
|
-
virtuoso.current?.
|
|
20
|
+
virtuoso.current?.scrollToIndex(0);
|
|
21
21
|
};
|
|
22
22
|
return {
|
|
23
23
|
virtuoso,
|
|
@@ -17,3 +17,4 @@ export { useCheckControlled } from './useCheckControlled';
|
|
|
17
17
|
export * from './usePopoverAnimation';
|
|
18
18
|
export { useAsyncOptions } from './useAsyncOptions';
|
|
19
19
|
export { useLoadingState } from './useLoadingState';
|
|
20
|
+
export { useScrollManagement, useStickyButton } from './Infinite';
|
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.useLoadingState = exports.useAsyncOptions = exports.useCheckControlled = exports.useViewportType = exports.useSecondsCountdown = exports.useLocaleDateTimeFormat = void 0;
|
|
17
|
+
exports.useStickyButton = exports.useScrollManagement = exports.useLoadingState = exports.useAsyncOptions = exports.useCheckControlled = exports.useViewportType = exports.useSecondsCountdown = exports.useLocaleDateTimeFormat = void 0;
|
|
18
18
|
__exportStar(require("./external"), exports);
|
|
19
19
|
__exportStar(require("./useClickAwayEffect"), exports);
|
|
20
20
|
__exportStar(require("./useEscapeClickEffect"), exports);
|
|
@@ -40,3 +40,6 @@ var useAsyncOptions_1 = require("./useAsyncOptions");
|
|
|
40
40
|
Object.defineProperty(exports, "useAsyncOptions", { enumerable: true, get: function () { return useAsyncOptions_1.useAsyncOptions; } });
|
|
41
41
|
var useLoadingState_1 = require("./useLoadingState");
|
|
42
42
|
Object.defineProperty(exports, "useLoadingState", { enumerable: true, get: function () { return useLoadingState_1.useLoadingState; } });
|
|
43
|
+
var Infinite_1 = require("./Infinite");
|
|
44
|
+
Object.defineProperty(exports, "useScrollManagement", { enumerable: true, get: function () { return Infinite_1.useScrollManagement; } });
|
|
45
|
+
Object.defineProperty(exports, "useStickyButton", { enumerable: true, get: function () { return Infinite_1.useStickyButton; } });
|
|
@@ -4,17 +4,18 @@ exports.LoadingPlaceholder = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const Loader_1 = require("../../Loader");
|
|
6
6
|
const Typography_1 = require("../../Typography");
|
|
7
|
+
const constants_1 = require("./constants");
|
|
7
8
|
const styles_1 = require("./styles");
|
|
8
9
|
/**
|
|
9
10
|
* Дефолтный лоадер загрузки
|
|
10
11
|
*/
|
|
11
12
|
const LoadingPlaceholder = ({ title, content, isShowLoader = true, }) => {
|
|
12
13
|
if (!isShowLoader) {
|
|
13
|
-
return (0, jsx_runtime_1.jsx)(styles_1.LoadingContainer, {});
|
|
14
|
+
return (0, jsx_runtime_1.jsx)(styles_1.LoadingContainer, { className: constants_1.loadingPlaceholderClassnames.root });
|
|
14
15
|
}
|
|
15
16
|
if (content) {
|
|
16
|
-
return (0, jsx_runtime_1.jsx)(styles_1.LoadingContainer, { children: content });
|
|
17
|
+
return ((0, jsx_runtime_1.jsx)(styles_1.LoadingContainer, { className: constants_1.loadingPlaceholderClassnames.root, children: content }));
|
|
17
18
|
}
|
|
18
|
-
return ((0, jsx_runtime_1.jsxs)(styles_1.LoadingContainer, { children: [(0, jsx_runtime_1.jsx)(Loader_1.Loader, {}), title && (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "h4", children: title })] }));
|
|
19
|
+
return ((0, jsx_runtime_1.jsxs)(styles_1.LoadingContainer, { className: constants_1.loadingPlaceholderClassnames.root, children: [(0, jsx_runtime_1.jsx)(Loader_1.Loader, {}), title && (0, jsx_runtime_1.jsx)(Typography_1.Typography, { variant: "h4", children: title })] }));
|
|
19
20
|
};
|
|
20
21
|
exports.LoadingPlaceholder = LoadingPlaceholder;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.loadingPlaceholderClassnames = void 0;
|
|
4
|
+
const utils_1 = require("../../utils");
|
|
5
|
+
exports.loadingPlaceholderClassnames = {
|
|
6
|
+
root: (0, utils_1.createUIKitClassname)('loading-placeholder'),
|
|
7
|
+
};
|
|
@@ -14,4 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.loadingPlaceholderClassnames = void 0;
|
|
17
18
|
__exportStar(require("./LoadingPlaceholder"), exports);
|
|
19
|
+
var constants_1 = require("./constants");
|
|
20
|
+
Object.defineProperty(exports, "loadingPlaceholderClassnames", { enumerable: true, get: function () { return constants_1.loadingPlaceholderClassnames; } });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astral/ui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.14.0",
|
|
4
4
|
"browser": "./index.js",
|
|
5
5
|
"main": "./node/index.js",
|
|
6
6
|
"dependencies": {
|
|
@@ -141,6 +141,13 @@
|
|
|
141
141
|
"types": "./hook-form/FormTreeLikeAsyncAutocomplete/index.d.ts",
|
|
142
142
|
"default": "./hook-form/FormTreeLikeAsyncAutocomplete/index.js",
|
|
143
143
|
"import": "./hook-form/FormTreeLikeAsyncAutocomplete/index.js"
|
|
144
|
+
},
|
|
145
|
+
"./components/CardGridInfinite": {
|
|
146
|
+
"module": "./components/CardGridInfinite/index.js",
|
|
147
|
+
"require": "./node/components/CardGridInfinite/index.js",
|
|
148
|
+
"types": "./components/CardGridInfinite/index.d.ts",
|
|
149
|
+
"default": "./components/CardGridInfinite/index.js",
|
|
150
|
+
"import": "./components/CardGridInfinite/index.js"
|
|
144
151
|
}
|
|
145
152
|
},
|
|
146
153
|
"author": "Astral.Soft",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useScrollManagement/index.js
RENAMED
|
File without changes
|
/package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useStickyButton/index.d.ts
RENAMED
|
File without changes
|
/package/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useStickyButton/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/node/components/{InfiniteTreeList/useLogic/hooks → hooks/Infinite}/useStickyButton/index.js
RENAMED
|
File without changes
|
|
File without changes
|