@fluidattacks/design 2.0.0 → 2.3.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.
Files changed (49) hide show
  1. package/dist/index.js +216 -108
  2. package/dist/index.mjs +11261 -6426
  3. package/dist/types/components/@core/types.d.ts +1 -0
  4. package/dist/types/components/button/types.d.ts +1 -5
  5. package/dist/types/components/icon/types.d.ts +0 -2
  6. package/dist/types/components/loading/index.d.ts +4 -0
  7. package/dist/types/components/loading/styles.d.ts +9 -0
  8. package/dist/types/components/loading/types.d.ts +15 -0
  9. package/dist/types/components/menu/index.d.ts +4 -0
  10. package/dist/types/components/menu/types.d.ts +31 -0
  11. package/dist/types/components/premium-feature/index.d.ts +3 -0
  12. package/dist/types/components/premium-feature/styles.d.ts +2 -0
  13. package/dist/types/components/premium-feature/types.d.ts +14 -0
  14. package/dist/types/components/progress/index.d.ts +4 -0
  15. package/dist/types/components/progress/styles.d.ts +6 -0
  16. package/dist/types/components/progress/types.d.ts +12 -0
  17. package/dist/types/components/progress-bar/index.d.ts +1 -2
  18. package/dist/types/components/progress-bar/styles.d.ts +12 -5
  19. package/dist/types/components/progress-bar/types.d.ts +20 -8
  20. package/dist/types/components/scroll-button/index.d.ts +4 -0
  21. package/dist/types/components/scroll-button/styles.d.ts +4 -0
  22. package/dist/types/components/scroll-button/types.d.ts +11 -0
  23. package/dist/types/components/search/index.d.ts +3 -0
  24. package/dist/types/components/search/styles.d.ts +6 -0
  25. package/dist/types/components/search/types.d.ts +10 -0
  26. package/dist/types/components/severity-badge/index.d.ts +3 -0
  27. package/dist/types/components/severity-badge/types.d.ts +26 -0
  28. package/dist/types/components/severity-badge/utils.d.ts +3 -0
  29. package/dist/types/components/severity-overview/badge/index.d.ts +3 -0
  30. package/dist/types/components/severity-overview/index.d.ts +3 -0
  31. package/dist/types/components/severity-overview/types.d.ts +40 -0
  32. package/dist/types/components/severity-overview/utils.d.ts +3 -0
  33. package/dist/types/components/show-on-hover/index.d.ts +3 -0
  34. package/dist/types/components/show-on-hover/styles.d.ts +2 -0
  35. package/dist/types/components/show-on-hover/types.d.ts +12 -0
  36. package/dist/types/components/slide-out-menu/index.d.ts +4 -0
  37. package/dist/types/components/slide-out-menu/menu-item/index.d.ts +3 -0
  38. package/dist/types/components/slide-out-menu/styles.d.ts +274 -0
  39. package/dist/types/components/slide-out-menu/types.d.ts +43 -0
  40. package/dist/types/components/timeline/card/index.d.ts +3 -0
  41. package/dist/types/components/timeline/index.d.ts +4 -0
  42. package/dist/types/components/timeline/styles.d.ts +3 -0
  43. package/dist/types/components/timeline/types.d.ts +21 -0
  44. package/dist/types/hooks/index.d.ts +3 -1
  45. package/dist/types/hooks/use-debounced-callback.d.ts +4 -0
  46. package/dist/types/hooks/use-search.d.ts +5 -0
  47. package/dist/types/index.d.ts +12 -1
  48. package/package.json +3 -2
  49. /package/dist/types/components/{progress-bar → progress}/utils.d.ts +0 -0
@@ -126,6 +126,7 @@ interface IIconModifiable {
126
126
  iconColor?: string;
127
127
  iconSize: TIconSize;
128
128
  iconType?: TIconType;
129
+ iconTransform?: string;
129
130
  }
130
131
  interface ISizeModifiable {
131
132
  size: TSize;
@@ -1,7 +1,7 @@
1
1
  import type { ButtonHTMLAttributes } from "react";
2
2
  import type { IBorderModifiable, IDisplayModifiable, IIconModifiable, IMarginModifiable, IPaddingModifiable, TMode } from "components/@core";
3
3
  import type { TPlace } from "components/tooltip/types";
4
- type TVariant = "primary" | "primaryWeb" | "secondary" | "secondaryWeb" | "tertiary" | "ghost" | "ghostWeb" | "link";
4
+ type TVariant = "primary" | "secondary" | "tertiary" | "ghost" | "link";
5
5
  /**
6
6
  * Button component props.
7
7
  * @interface IButtonProps
@@ -11,20 +11,16 @@ type TVariant = "primary" | "primaryWeb" | "secondary" | "secondaryWeb" | "terti
11
11
  * @extends IPaddingModifiable
12
12
  * @extends IIconModifiable
13
13
  * @extends ButtonHTMLAttributes<HTMLButtonElement>
14
- * @property {boolean} [bold] - Text bold for link variant.
15
14
  * @property {boolean} [external] - Whether the link should open in a new tab.
16
15
  * @property {string} [href] - Link URL for link variant.
17
- * @property {TMode} [mode] - The background theme: dark or light.
18
16
  * @property {string} [tooltip] - Tooltip message.
19
17
  * @property {TPlace} [tooltipPlace] - Tooltip message relative place.
20
18
  * @property {boolean} [underline] - Text underlined for link variant.
21
19
  * @property {TVariant} [variant] - The button variant type.
22
20
  */
23
21
  interface IButtonProps extends IBorderModifiable, IDisplayModifiable, IMarginModifiable, IPaddingModifiable, Partial<IIconModifiable>, ButtonHTMLAttributes<HTMLButtonElement> {
24
- bold?: boolean;
25
22
  external?: boolean;
26
23
  href?: string;
27
- mode?: TMode;
28
24
  showArrow?: boolean;
29
25
  tooltip?: string;
30
26
  tooltipPlace?: TPlace;
@@ -24,11 +24,9 @@ interface IIconWrapProps extends IIconModifiable, IMarginModifiable {
24
24
  * @extends IIconWrapProps
25
25
  * @property {string} [iconClass] - The icon class from fontawesome.
26
26
  * @property {string} [iconMask] - The data-fa-mask prop of icon.
27
- * @property {string} [iconTransform] - The data-fa-transform prop of icon.
28
27
  */
29
28
  interface IIconProps extends IIconWrapProps {
30
29
  iconClass?: string;
31
30
  iconMask?: string;
32
- iconTransform?: string;
33
31
  }
34
32
  export type { IIconProps, IIconWrapProps };
@@ -0,0 +1,4 @@
1
+ import type { ILoadingProps } from "./types";
2
+ declare const Loading: ({ color, label, size, }: Readonly<ILoadingProps>) => JSX.Element;
3
+ export type { ILoadingProps };
4
+ export { Loading };
@@ -0,0 +1,9 @@
1
+ import type { TColor, TSize } from "./types";
2
+ interface IStyledLoadingProps {
3
+ $color?: TColor;
4
+ $size?: TSize;
5
+ }
6
+ declare const LoadingContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").SVGProps<SVGSVGElement>, IStyledLoadingProps>> & string;
7
+ declare const Circle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").SVGProps<SVGCircleElement>, IStyledLoadingProps>> & string;
8
+ declare const CircleBg: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").SVGProps<SVGCircleElement>, IStyledLoadingProps>> & string;
9
+ export { Circle, CircleBg, LoadingContainer };
@@ -0,0 +1,15 @@
1
+ type TSize = "lg" | "md" | "sm";
2
+ type TColor = "red" | "white";
3
+ /**
4
+ * Loading component props.
5
+ * @interface ILoadingProps
6
+ * @property { TColor } [color] - Color of the loading circle.
7
+ * @property { string } [label] - Label to display inside the loading circle.
8
+ * @property { TSize } [size] - Size of the loading circle
9
+ */
10
+ interface ILoadingProps {
11
+ color?: TColor;
12
+ label?: string;
13
+ size?: TSize;
14
+ }
15
+ export type { ILoadingProps, TColor, TSize };
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from "react";
2
+ import type { IMenuProps } from "./types";
3
+ declare const Menu: ({ children, commitSha, commitShortSha, parentElement, userInfo, setVisibility, }: Readonly<PropsWithChildren<IMenuProps>>) => JSX.Element;
4
+ export { Menu };
@@ -0,0 +1,31 @@
1
+ /**
2
+ * User information interface.
3
+ * @interface IUserInfo
4
+ * @property {string} userName - User's name.
5
+ * @property {string} email - User's email.
6
+ * @property {number | string} [phone] - User's phone number.
7
+ * @property {string} userRole - User's role.
8
+ */
9
+ interface IUserInfo {
10
+ userName: string;
11
+ email: string;
12
+ phone?: number | string;
13
+ userRole: string;
14
+ }
15
+ /**
16
+ * Menu component props.
17
+ * @interface IMenuProps
18
+ * @property {string} commitSha - The commit SHA of the integration.
19
+ * @property { string } commitShortSha - The shortened commit SHA of the integration.
20
+ * @property { HTMLElement | null } parentElement - The parent element of the menu.
21
+ * @property { Function } setVisibility - Function to set the menu visibility.
22
+ * @property { IUserInfo } userInfo - User information.
23
+ */
24
+ interface IMenuProps {
25
+ commitSha: string;
26
+ commitShortSha: string;
27
+ parentElement: HTMLElement | null;
28
+ setVisibility: (visible: boolean) => void;
29
+ userInfo: IUserInfo;
30
+ }
31
+ export type { IUserInfo, IMenuProps };
@@ -0,0 +1,3 @@
1
+ import type { IPremiumFeatureProps } from "./types";
2
+ declare const PremiumFeature: ({ margin, onClick, text, }: Readonly<IPremiumFeatureProps>) => JSX.Element;
3
+ export { PremiumFeature };
@@ -0,0 +1,2 @@
1
+ declare const IconsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export { IconsContainer };
@@ -0,0 +1,14 @@
1
+ import { IMarginModifiable } from "components/@core";
2
+ /**
3
+ * Premium feature component props.
4
+ * @interface IPremiumFeatureProps
5
+ * @property { string } [margin] - The margin for the premium feature.
6
+ * @property { Function } [onClick] - Event handler for the premium feature click.
7
+ * @property { string } [text] - Text for the premium feature.
8
+ */
9
+ interface IPremiumFeatureProps {
10
+ margin?: IMarginModifiable["mr"];
11
+ onClick?: () => void;
12
+ text?: string;
13
+ }
14
+ export type { IPremiumFeatureProps };
@@ -0,0 +1,4 @@
1
+ import type { IProgressBarProps } from "./types";
2
+ declare const Progress: ({ progressTime, onComplete, }: Readonly<IProgressBarProps>) => JSX.Element;
3
+ export { Progress };
4
+ export type { IProgressBarProps };
@@ -0,0 +1,6 @@
1
+ declare const ProgressLine: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("components/@core").IPaddingModifiable | keyof import("components/@core").IMarginModifiable | keyof import("components/@core").IPositionModifiable | keyof import("components/@core").IBorderModifiable | keyof import("components/@core").IDisplayModifiable | keyof import("components/@core").ITextModifiable | keyof import("components/@core").IInteractionModifiable> & import("components/@core").IBorderModifiable & import("components/@core").IDisplayModifiable & import("components/@core").IInteractionModifiable & import("components/@core").IMarginModifiable & import("components/@core").IPaddingModifiable & import("components/@core").IPositionModifiable & import("components/@core").ITextModifiable, "ref"> & {
2
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
3
+ }, {
4
+ $animationTime: number;
5
+ }>> & string;
6
+ export { ProgressLine };
@@ -0,0 +1,12 @@
1
+ import { IDisplayModifiable } from "components/@core";
2
+ /**
3
+ * Progress bar component props
4
+ * @interface IProgressBarProps
5
+ * @property {number} [progressTime] - Time to complete.
6
+ * @property {Function} [onComplete] - Action when progress complete.
7
+ */
8
+ interface IProgressBarProps extends IDisplayModifiable {
9
+ progressTime?: number;
10
+ onComplete?: () => void;
11
+ }
12
+ export type { IProgressBarProps };
@@ -1,4 +1,3 @@
1
1
  import type { IProgressBarProps } from "./types";
2
- declare const ProgressBar: ({ progressTime, onComplete, }: Readonly<IProgressBarProps>) => JSX.Element;
2
+ declare const ProgressBar: ({ minWidth, percentage, percentageLocation, showPercentage, orientation, rounded, variant, }: Readonly<IProgressBarProps>) => JSX.Element;
3
3
  export { ProgressBar };
4
- export type { IProgressBarProps };
@@ -1,6 +1,13 @@
1
- declare const ProgressLine: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<Omit<import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import("components/@core").IPaddingModifiable | keyof import("components/@core").IMarginModifiable | keyof import("components/@core").IPositionModifiable | keyof import("components/@core").IBorderModifiable | keyof import("components/@core").IDisplayModifiable | keyof import("components/@core").ITextModifiable | keyof import("components/@core").IInteractionModifiable> & import("components/@core").IBorderModifiable & import("components/@core").IDisplayModifiable & import("components/@core").IInteractionModifiable & import("components/@core").IMarginModifiable & import("components/@core").IPaddingModifiable & import("components/@core").IPositionModifiable & import("components/@core").ITextModifiable, "ref"> & {
2
- ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
3
- }, {
4
- $animationTime: number;
1
+ import type { TOrientation, TProgressVariant } from "./types";
2
+ declare const Bar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
3
+ $minWidth: number;
4
+ $orientation: TOrientation;
5
+ $rounded: boolean;
6
+ $variant: TProgressVariant;
5
7
  }>> & string;
6
- export { ProgressLine };
8
+ declare const StyledProgressBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
9
+ $percentage: number;
10
+ $rounded: boolean;
11
+ $variant: TProgressVariant;
12
+ }>> & string;
13
+ export { Bar, StyledProgressBar };
@@ -1,12 +1,24 @@
1
- import { IDisplayModifiable } from "components/@core";
1
+ type TOrientation = "horizontal" | "vertical";
2
+ type TPercentageLocation = "left" | "right";
3
+ type TProgressVariant = "compliance" | "default" | "progressIndicator" | "progressIndicatorError" | "small";
2
4
  /**
3
- * Progress bar component props
5
+ * Progress bar component props.
4
6
  * @interface IProgressBarProps
5
- * @property {number} [progressTime] - Time to complete.
6
- * @property {Function} [onComplete] - Action when progress complete.
7
+ * @property { number } [minWidth] - Minimum width of the progress bar.
8
+ * @property { number } percentage - Percentage of the progress bar.
9
+ * @property { TPercentageLocation } [percentageLocation] - Location of the percentage text.
10
+ * @property { boolean } [rounded] - Whether to round the progress bar corners.
11
+ * @property { boolean } [showPercentage] - Whether to show the percentage text.
12
+ * @property { TOrientation } [orientation] - Orientation of the progress bar.
13
+ * @property { TProgressVariant } [variant] - Progress bar variant.
7
14
  */
8
- interface IProgressBarProps extends IDisplayModifiable {
9
- progressTime?: number;
10
- onComplete?: () => void;
15
+ interface IProgressBarProps {
16
+ minWidth?: number;
17
+ percentage: number;
18
+ percentageLocation?: TPercentageLocation;
19
+ rounded?: boolean;
20
+ showPercentage?: boolean;
21
+ orientation?: TOrientation;
22
+ variant?: TProgressVariant;
11
23
  }
12
- export type { IProgressBarProps };
24
+ export type { IProgressBarProps, TProgressVariant, TOrientation };
@@ -0,0 +1,4 @@
1
+ import type { FC } from "react";
2
+ import { IScrollUpButtonProps } from "./types";
3
+ declare const ScrollUpButton: FC<IScrollUpButtonProps>;
4
+ export { ScrollUpButton };
@@ -0,0 +1,4 @@
1
+ declare const FloatButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
2
+ ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
3
+ }>, never>, never>> & string;
4
+ export { FloatButton };
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Scroll up button component props.
3
+ * @interface IScrollUpButtonProps
4
+ * @property { string } [scrollerId] - The ID of the scrollable element.
5
+ * @property { number } [visibleAt] - The pixel value at which the scroll up button should become visible.
6
+ */
7
+ interface IScrollUpButtonProps {
8
+ scrollerId?: string;
9
+ visibleAt?: number;
10
+ }
11
+ export type { IScrollUpButtonProps };
@@ -0,0 +1,3 @@
1
+ import type { ISearchProps } from "./types";
2
+ declare const Search: import("react").ForwardRefExoticComponent<Readonly<ISearchProps> & import("react").RefAttributes<HTMLInputElement>>;
3
+ export { Search };
@@ -0,0 +1,6 @@
1
+ declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {
2
+ $isEmpty: boolean;
3
+ }>> & string;
4
+ declare const OutlineContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
+ declare const OutlineDropdown: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
6
+ export { StyledInput, OutlineContainer, OutlineDropdown };
@@ -0,0 +1,10 @@
1
+ import { InputHTMLAttributes } from "react";
2
+ /**
3
+ * Search component props interface.
4
+ * @interface ISearchProps
5
+ * @property { boolean } [smallSearch] - Use smaller search bar size.
6
+ */
7
+ interface ISearchProps extends InputHTMLAttributes<HTMLInputElement> {
8
+ smallSearch?: boolean;
9
+ }
10
+ export type { ISearchProps };
@@ -0,0 +1,3 @@
1
+ import { ISeverityBadgeProps } from "./types";
2
+ declare const SeverityBadge: ({ textL, textR, variant, }: Readonly<ISeverityBadgeProps>) => JSX.Element;
3
+ export { SeverityBadge };
@@ -0,0 +1,26 @@
1
+ type TSeverityBadgeVariant = "critical" | "disable" | "high" | "low" | "medium";
2
+ /**
3
+ * Severity badge variant props.
4
+ * @interface IVariant
5
+ * @property {string} bgColor - Background color of the badge.
6
+ * @property {string} colorL - Color of the left text.
7
+ * @property {string} colorR - Color of the right text.
8
+ */
9
+ interface IVariant {
10
+ bgColor: string;
11
+ colorL: string;
12
+ colorR: string;
13
+ }
14
+ /**
15
+ * Severity badge component props.
16
+ * @interface ISeverityBadgeProps
17
+ * @property { string } textL - Left text of the badge.
18
+ * @property { string } textR - Right text of the badge.
19
+ * @property { TSeverityBadgeVariant } variant - Variant of the badge.
20
+ */
21
+ interface ISeverityBadgeProps {
22
+ textL: string;
23
+ textR: string;
24
+ variant: TSeverityBadgeVariant;
25
+ }
26
+ export type { TSeverityBadgeVariant, ISeverityBadgeProps, IVariant };
@@ -0,0 +1,3 @@
1
+ import { IVariant, TSeverityBadgeVariant } from "./types";
2
+ declare const variants: Record<TSeverityBadgeVariant, IVariant>;
3
+ export { variants };
@@ -0,0 +1,3 @@
1
+ import { ISeverityOverviewBadgeProps } from "../types";
2
+ declare const SeverityOverviewBadge: ({ variant, value, }: Readonly<ISeverityOverviewBadgeProps>) => JSX.Element;
3
+ export { SeverityOverviewBadge };
@@ -0,0 +1,3 @@
1
+ import { ISeverityOverviewProps } from "./types";
2
+ declare const SeverityOverview: ({ critical, high, medium, low, }: Readonly<ISeverityOverviewProps>) => JSX.Element;
3
+ export { SeverityOverview };
@@ -0,0 +1,40 @@
1
+ type TSeverityOverviewBadgeVariant = "critical" | "high" | "low" | "medium";
2
+ /**
3
+ * Severity overview badge component props.
4
+ * @interface ISeverityOverviewBadgeProps
5
+ * @property { TSeverityOverviewBadgeVariant } variant - Variant of the badge.
6
+ * @property { number } value - Value of the badge.
7
+ */
8
+ interface ISeverityOverviewBadgeProps {
9
+ variant: TSeverityOverviewBadgeVariant;
10
+ value: number;
11
+ }
12
+ /**
13
+ * Variant of severity badge.
14
+ * @interface IVariant
15
+ * @property { string } iconColor - Color of the icon.
16
+ * @property { string } iconText - Text of the icon.
17
+ * @property { string } iconTextColor - Color of the icon text.
18
+ * @property { string } textColor - Color of the text.
19
+ */
20
+ interface IVariant {
21
+ iconColor: string;
22
+ iconText: string;
23
+ iconTextColor: string;
24
+ textColor: string;
25
+ }
26
+ /**
27
+ * Severity overview component props.
28
+ * @interface ISeverityOverviewProps
29
+ * @property { number } critical - Number of critical vulnerabilities.
30
+ * @property { number } high - Number of high vulnerabilities.
31
+ * @property { number } medium - Number of medium vulnerabilities.
32
+ * @property { number } low - Number of low vulnerabilities.
33
+ */
34
+ interface ISeverityOverviewProps {
35
+ critical: number;
36
+ high: number;
37
+ medium: number;
38
+ low: number;
39
+ }
40
+ export type { ISeverityOverviewProps, ISeverityOverviewBadgeProps, IVariant, TSeverityOverviewBadgeVariant, };
@@ -0,0 +1,3 @@
1
+ import { IVariant, TSeverityOverviewBadgeVariant } from "./types";
2
+ declare const getVariant: (variant: TSeverityOverviewBadgeVariant, value: number) => IVariant;
3
+ export { getVariant };
@@ -0,0 +1,3 @@
1
+ import type { IShowOnHoverProps } from "./types";
2
+ declare const ShowOnHover: ({ visibleElement, hiddenElement, }: Readonly<IShowOnHoverProps>) => JSX.Element;
3
+ export { ShowOnHover };
@@ -0,0 +1,2 @@
1
+ declare const ParentContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export { ParentContainer };
@@ -0,0 +1,12 @@
1
+ import type { ReactNode } from "react";
2
+ /**
3
+ * Show on hover component props.
4
+ * @interface IShowOnHoverProps
5
+ * @property { ReactNode } visibleElement - The element to show by default.
6
+ * @property { ReactNode } hiddenElement - The element to show when hovering.
7
+ */
8
+ interface IShowOnHoverProps {
9
+ visibleElement: ReactNode;
10
+ hiddenElement: ReactNode;
11
+ }
12
+ export type { IShowOnHoverProps };
@@ -0,0 +1,4 @@
1
+ import { PropsWithChildren } from "react";
2
+ import type { ISlideOutMenuProps } from "./types";
3
+ declare const SlideOutMenu: ({ children, closeIconId, isOpen, items, onClose, primaryButtonText, primaryOnClick, secondaryButtonText, secondaryOnClick, title, }: Readonly<PropsWithChildren<ISlideOutMenuProps>>) => JSX.Element;
4
+ export { SlideOutMenu };
@@ -0,0 +1,3 @@
1
+ import type { IMenuItemProps } from "../types";
2
+ declare const MenuItem: ({ customBadge, description, icon, onClick, requiresUpgrade, title, }: Readonly<IMenuItemProps>) => JSX.Element;
3
+ export { MenuItem };