@useloops/design-system 1.4.516 → 1.4.518
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/dist/esm/index.js +2 -2
- package/dist/index.d.ts +8 -5
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import react__default, { FunctionComponent, PropsWithChildren, ReactElement, Dispatch, SetStateAction, ReactNode, ChangeEvent, FC, MouseEventHandler, ComponentProps } from 'react';
|
|
3
3
|
import * as _mui_material from '@mui/material';
|
|
4
|
-
import { SxProps, Theme, BoxProps, CSSObject, AvatarProps as AvatarProps$1, AvatarGroupProps as AvatarGroupProps$1, LinkProps as LinkProps$1, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, TypographyProps as TypographyProps$1, FormControlLabelProps as FormControlLabelProps$1, IconButtonProps as IconButtonProps$1, TooltipProps as TooltipProps$1, ButtonGroupProps, TextFieldProps as TextFieldProps$1, PaperProps, PopperProps as PopperProps$1, ClickAwayListenerProps, FadeProps, CircularProgressProps, LinearProgressProps, SelectProps as SelectProps$1, SelectChangeEvent, SkeletonProps as SkeletonProps$1, SwitchProps as SwitchProps$1, SvgIconProps, AccordionProps as AccordionProps$1, AccordionSummaryProps, AccordionDetailsProps, Breakpoint, PaletteMode, Direction } from '@mui/material';
|
|
4
|
+
import { SxProps, Theme, BoxProps, CSSObject, AvatarProps as AvatarProps$1, AvatarGroupProps as AvatarGroupProps$1, LinkProps as LinkProps$1, ButtonProps as ButtonProps$1, CheckboxProps as CheckboxProps$1, ContainerProps, MenuProps as MenuProps$1, MenuItemProps as MenuItemProps$1, TypographyProps as TypographyProps$1, FormControlLabelProps as FormControlLabelProps$1, IconButtonProps as IconButtonProps$1, TooltipProps as TooltipProps$1, ButtonGroupProps, TextFieldProps as TextFieldProps$1, PaperProps, PopperProps as PopperProps$1, ClickAwayListenerProps, FadeProps, CircularProgressProps, LinearProgressProps, SelectProps as SelectProps$1, SelectChangeEvent, SkeletonProps as SkeletonProps$1, SwitchProps as SwitchProps$1, SvgIconProps, AccordionProps as AccordionProps$1, AccordionSummaryProps, AccordionDetailsProps, Breakpoint as Breakpoint$1, PaletteMode, Direction } from '@mui/material';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { PopupState } from 'material-ui-popup-state/hooks';
|
|
7
7
|
import { Theme as Theme$1, SxProps as SxProps$1 } from '@mui/material/styles';
|
|
@@ -14,10 +14,11 @@ import { BoxProps as BoxProps$1 } from '@mui/material/Box';
|
|
|
14
14
|
import { IconProps as IconProps$1 } from 'systems/BrandCore/Icon/Icon';
|
|
15
15
|
import { TooltipProps as TooltipProps$2 } from 'systems/WebCore/Tooltip';
|
|
16
16
|
import { KpiIndicatorColor as KpiIndicatorColor$1 } from 'systems/Platform/KpiIndicator/utils';
|
|
17
|
+
import * as _mui_system from '@mui/system';
|
|
18
|
+
import { Breakpoint } from '@mui/system';
|
|
17
19
|
import { ChipProps } from '@mui/material/Chip';
|
|
18
20
|
import { SubmitHandler } from 'react-hook-form';
|
|
19
21
|
import * as _emotion_styled from '@emotion/styled';
|
|
20
|
-
import * as _mui_system from '@mui/system';
|
|
21
22
|
import { UniqueIdentifier } from '@dnd-kit/core';
|
|
22
23
|
import { Mark } from '@mui/material/Slider/useSlider.types';
|
|
23
24
|
import { LazyLoadImageProps } from 'react-lazy-load-image-component';
|
|
@@ -811,12 +812,13 @@ interface AiContentContainerProps extends PropsWithChildren {
|
|
|
811
812
|
onDownvote?: () => void;
|
|
812
813
|
onCopy?: () => void;
|
|
813
814
|
onClickAIButton?: () => void;
|
|
815
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
814
816
|
slotProps?: {
|
|
815
817
|
childrenContainer?: BoxProps;
|
|
816
818
|
aiWrittenByLockUp?: AiWrittenByLockUpProps;
|
|
817
819
|
};
|
|
818
820
|
}
|
|
819
|
-
declare const AiContentContainer:
|
|
821
|
+
declare const AiContentContainer: react.ForwardRefExoticComponent<Omit<AiContentContainerProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
820
822
|
|
|
821
823
|
interface AIInsightProps {
|
|
822
824
|
themeDescription: string;
|
|
@@ -2485,6 +2487,7 @@ interface SectionHeaderProps {
|
|
|
2485
2487
|
loading?: boolean;
|
|
2486
2488
|
subtitle?: string;
|
|
2487
2489
|
title?: string;
|
|
2490
|
+
maxWidth?: Breakpoint | false;
|
|
2488
2491
|
}
|
|
2489
2492
|
declare const SectionHeader: FunctionComponent<SectionHeaderProps>;
|
|
2490
2493
|
|
|
@@ -2593,8 +2596,8 @@ type VideoControlsProps = {
|
|
|
2593
2596
|
};
|
|
2594
2597
|
declare const _default: react.MemoExoticComponent<react.ForwardRefExoticComponent<VideoControlsProps & react.RefAttributes<any>>>;
|
|
2595
2598
|
|
|
2596
|
-
type BreakpointOrNull = Breakpoint | null;
|
|
2597
|
-
declare const useBreakpoint: () => Breakpoint;
|
|
2599
|
+
type BreakpointOrNull = Breakpoint$1 | null;
|
|
2600
|
+
declare const useBreakpoint: () => Breakpoint$1;
|
|
2598
2601
|
|
|
2599
2602
|
declare function compareArrayMembers(arr1: string[], arr2: string[]): boolean;
|
|
2600
2603
|
|