@fluidattacks/design 1.6.0 → 2.2.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/dist/index.js +488 -0
- package/dist/index.mjs +15539 -0
- package/dist/types/components/@core/index.d.ts +5 -0
- package/dist/types/components/@core/styles.d.ts +6 -0
- package/dist/{src → types}/components/@core/types.d.ts +3 -2
- package/dist/{src → types}/components/@core/utils.d.ts +2 -2
- package/dist/{src → types}/components/@core/variants/utils.d.ts +2 -2
- package/dist/{src → types}/components/accordion/accordion-content/index.d.ts +1 -1
- package/dist/types/components/accordion/index.d.ts +4 -0
- package/dist/types/components/alert/index.d.ts +4 -0
- package/dist/types/components/alert/styles.d.ts +9 -0
- package/dist/{src → types}/components/alert/types.d.ts +2 -2
- package/dist/types/components/button/index.d.ts +4 -0
- package/dist/types/components/button/styles.d.ts +9 -0
- package/dist/{src → types}/components/button/types.d.ts +4 -8
- package/dist/types/components/carousel/index.d.ts +4 -0
- package/dist/types/components/carousel/styles.d.ts +10 -0
- package/dist/types/components/checkbox/index.d.ts +3 -0
- package/dist/types/components/checkbox/styles.d.ts +7 -0
- package/dist/{src → types}/components/checkbox/types.d.ts +1 -1
- package/dist/{src → types}/components/cloud-image/index.d.ts +2 -2
- package/dist/{src → types}/components/cloud-image/types.d.ts +1 -1
- package/dist/{src → types}/components/code-snippet/index.d.ts +1 -1
- package/dist/types/components/code-snippet/location-code/index.d.ts +5 -0
- package/dist/types/components/code-snippet/styles.d.ts +3 -0
- package/dist/{src → types}/components/colors/index.d.ts +3 -3
- package/dist/types/components/container/index.d.ts +4 -0
- package/dist/types/components/container/styles.d.ts +9 -0
- package/dist/{src → types}/components/container/types.d.ts +2 -2
- package/dist/{src → types}/components/content-card/index.d.ts +1 -1
- package/dist/types/components/content-card/styles.d.ts +2 -0
- package/dist/{src → types}/components/content-card/types.d.ts +1 -1
- package/dist/{src → types}/components/content-card-carousel/index.d.ts +1 -1
- package/dist/{src → types}/components/content-card-carousel/scroll-buttons/index.d.ts +1 -1
- package/dist/types/components/content-card-carousel/styles.d.ts +3 -0
- package/dist/{src → types}/components/content-card-carousel/types.d.ts +1 -1
- package/dist/types/components/divider/index.d.ts +3 -0
- package/dist/{src → types}/components/divider/types.d.ts +1 -1
- package/dist/{src → types}/components/file-preview/index.d.ts +1 -1
- package/dist/types/components/file-preview/styles.d.ts +6 -0
- package/dist/{src → types}/components/file-preview/utils.d.ts +1 -1
- package/dist/{src → types}/components/form/index.d.ts +3 -3
- package/dist/types/components/form/styles.d.ts +4 -0
- package/dist/types/components/grid-layout/styles.d.ts +12 -0
- package/dist/types/components/icon/index.d.ts +3 -0
- package/dist/types/components/icon/styles.d.ts +14 -0
- package/dist/{src → types}/components/icon/types.d.ts +2 -4
- package/dist/types/components/icon-button/index.d.ts +3 -0
- package/dist/types/components/icon-button/styles.d.ts +9 -0
- package/dist/{src → types}/components/icon-button/types.d.ts +4 -4
- package/dist/types/components/inputs/fields/phone/index.d.ts +3 -0
- package/dist/types/components/inputs/fields/phone/styles.d.ts +6 -0
- package/dist/types/components/inputs/fields/text-input/index.d.ts +3 -0
- package/dist/types/components/inputs/index.d.ts +4 -0
- package/dist/{src → types}/components/inputs/label/index.d.ts +1 -1
- package/dist/{src → types}/components/inputs/outline-container/index.d.ts +2 -2
- package/dist/types/components/inputs/styles.d.ts +3 -0
- package/dist/{src → types}/components/inputs/types.d.ts +2 -2
- package/dist/{src → types}/components/interactive-card/icon/index.d.ts +1 -1
- package/dist/{src → types}/components/interactive-card/index.d.ts +1 -1
- package/dist/types/components/interactive-card/styles.d.ts +3 -0
- package/dist/{src → types}/components/interactive-card/types.d.ts +1 -1
- package/dist/{src → types}/components/language-selector/index.d.ts +1 -1
- package/dist/{src → types}/components/language-selector/item-list/index.d.ts +1 -1
- package/dist/types/components/language-selector/styles.d.ts +5 -0
- package/dist/{src → types}/components/language-selector/types.d.ts +1 -1
- package/dist/{src → types}/components/link/index.d.ts +2 -2
- package/dist/types/components/link/styles.d.ts +8 -0
- package/dist/{src → types}/components/list-item/index.d.ts +2 -2
- package/dist/types/components/list-item/styles.d.ts +3 -0
- package/dist/{src → types}/components/list-item/types.d.ts +2 -2
- package/dist/{src → types}/components/little-flag/index.d.ts +1 -1
- package/dist/{src → types}/components/little-flag/styles.d.ts +1 -1
- package/dist/{src → types}/components/logo/index.d.ts +1 -1
- package/dist/{src → types}/components/logo-carousel/index.d.ts +1 -1
- package/dist/types/components/logo-carousel/styles.d.ts +4 -0
- package/dist/{src → types}/components/lottie/index.d.ts +1 -1
- package/dist/types/components/lottie/styles.d.ts +41 -0
- package/dist/{src → types}/components/lottie/types.d.ts +1 -1
- package/dist/types/components/menu/index.d.ts +4 -0
- package/dist/types/components/menu/types.d.ts +31 -0
- package/dist/{src → types}/components/message-banner/index.d.ts +1 -1
- package/dist/types/components/message-banner/styles.d.ts +2 -0
- package/dist/{src → types}/components/message-banner/types.d.ts +3 -3
- package/dist/{src → types}/components/message-banner/utils.d.ts +2 -2
- package/dist/{src → types}/components/notification/index.d.ts +1 -1
- package/dist/types/components/notification/styles.d.ts +7 -0
- package/dist/types/components/notification/utils.d.ts +4 -0
- package/dist/types/components/notification-sign/index.d.ts +3 -0
- package/dist/types/components/notification-sign/styles.d.ts +9 -0
- package/dist/{src → types}/components/notification-sign/types.d.ts +1 -1
- package/dist/{src → types}/components/number-input/index.d.ts +2 -2
- package/dist/types/components/number-input/styles.d.ts +3 -0
- package/dist/{src → types}/components/number-input/types.d.ts +1 -1
- package/dist/{src → types}/components/plan-card/index.d.ts +1 -1
- package/dist/types/components/plan-card/styles.d.ts +3 -0
- package/dist/{src → types}/components/plan-card/types.d.ts +1 -1
- package/dist/{src → types}/components/plan-card/utils.d.ts +1 -1
- package/dist/types/components/premium-feature/index.d.ts +3 -0
- package/dist/types/components/premium-feature/styles.d.ts +2 -0
- package/dist/types/components/premium-feature/types.d.ts +14 -0
- package/dist/{src → types}/components/progress-bar/index.d.ts +1 -1
- package/dist/types/components/progress-bar/styles.d.ts +6 -0
- package/dist/{src → types}/components/progress-bar/types.d.ts +1 -1
- package/dist/types/components/radio-button/index.d.ts +3 -0
- package/dist/types/components/radio-button/styles.d.ts +7 -0
- package/dist/{src → types}/components/radio-button/types.d.ts +1 -1
- package/dist/{src → types}/components/search-bar/index.d.ts +1 -1
- package/dist/{src → types}/components/search-bar/item-searching/index.d.ts +1 -1
- package/dist/types/components/search-bar/styles.d.ts +15 -0
- package/dist/{src → types}/components/search-bar/types.d.ts +1 -1
- package/dist/{src → types}/components/search-bar/utils.d.ts +1 -1
- package/dist/types/components/severity-badge/index.d.ts +3 -0
- package/dist/types/components/severity-badge/types.d.ts +26 -0
- package/dist/types/components/severity-badge/utils.d.ts +3 -0
- package/dist/types/components/severity-overview/badge/index.d.ts +3 -0
- package/dist/types/components/severity-overview/index.d.ts +3 -0
- package/dist/types/components/severity-overview/types.d.ts +40 -0
- package/dist/types/components/severity-overview/utils.d.ts +3 -0
- package/dist/types/components/slide-out-menu/index.d.ts +4 -0
- package/dist/types/components/slide-out-menu/menu-item/index.d.ts +3 -0
- package/dist/types/components/slide-out-menu/styles.d.ts +274 -0
- package/dist/types/components/slide-out-menu/types.d.ts +43 -0
- package/dist/{src → types}/components/step-lapse/index.d.ts +1 -1
- package/dist/types/components/step-lapse/styles.d.ts +8 -0
- package/dist/{src → types}/components/step-lapse/types.d.ts +1 -1
- package/dist/{src → types}/components/table-button/index.d.ts +1 -1
- package/dist/types/components/table-button/styles.d.ts +2 -0
- package/dist/{src → types}/components/table-button/types.d.ts +2 -2
- package/dist/{src → types}/components/tabs/fixed-tabs/index.d.ts +1 -1
- package/dist/{src → types}/components/tabs/index.d.ts +3 -3
- package/dist/types/components/tabs/styles.d.ts +4 -0
- package/dist/{src → types}/components/tabs/tab/index.d.ts +1 -1
- package/dist/{src → types}/components/tabs/types.d.ts +1 -1
- package/dist/{src → types}/components/tag/index.d.ts +1 -1
- package/dist/types/components/tag/styles.d.ts +7 -0
- package/dist/{src → types}/components/tag/types.d.ts +1 -1
- package/dist/types/components/timeline/card/index.d.ts +3 -0
- package/dist/types/components/timeline/index.d.ts +4 -0
- package/dist/types/components/timeline/styles.d.ts +3 -0
- package/dist/types/components/timeline/types.d.ts +21 -0
- package/dist/{src → types}/components/toggle/index.d.ts +2 -2
- package/dist/types/components/toggle/styles.d.ts +4 -0
- package/dist/{src → types}/components/toggle/types.d.ts +2 -2
- package/dist/{src → types}/components/toggle-buttons/index.d.ts +1 -1
- package/dist/types/components/toggle-buttons/styles.d.ts +3 -0
- package/dist/types/components/tooltip/index.d.ts +4 -0
- package/dist/types/components/tooltip/styles.d.ts +7 -0
- package/dist/{src → types}/components/tooltip/types.d.ts +2 -2
- package/dist/{src → types}/components/tour/index.d.ts +2 -2
- package/dist/{src → types}/components/tour/types.d.ts +1 -1
- package/dist/types/components/typography/heading/index.d.ts +3 -0
- package/dist/types/components/typography/index.d.ts +3 -0
- package/dist/types/components/typography/styles.d.ts +23 -0
- package/dist/types/components/typography/text/index.d.ts +3 -0
- package/dist/{src → types}/components/typography/types.d.ts +2 -2
- package/dist/types/hooks/index.d.ts +4 -0
- package/dist/{src → types}/hooks/use-cloudinary-image.d.ts +1 -1
- package/dist/types/index.d.ts +49 -0
- package/package.json +9 -7
- package/dist/design.js +0 -2256
- package/dist/design.mjs +0 -22131
- package/dist/src/components/@core/index.d.ts +0 -5
- package/dist/src/components/@core/styles.d.ts +0 -6
- package/dist/src/components/accordion/index.d.ts +0 -4
- package/dist/src/components/alert/index.d.ts +0 -4
- package/dist/src/components/alert/styles.d.ts +0 -9
- package/dist/src/components/button/index.d.ts +0 -4
- package/dist/src/components/button/styles.d.ts +0 -9
- package/dist/src/components/carousel/index.d.ts +0 -4
- package/dist/src/components/carousel/styles.d.ts +0 -10
- package/dist/src/components/checkbox/index.d.ts +0 -3
- package/dist/src/components/checkbox/styles.d.ts +0 -7
- package/dist/src/components/code-snippet/location-code/index.d.ts +0 -3
- package/dist/src/components/code-snippet/styles.d.ts +0 -3
- package/dist/src/components/container/index.d.ts +0 -4
- package/dist/src/components/container/styles.d.ts +0 -9
- package/dist/src/components/content-card/styles.d.ts +0 -2
- package/dist/src/components/content-card-carousel/styles.d.ts +0 -3
- package/dist/src/components/divider/index.d.ts +0 -3
- package/dist/src/components/file-preview/styles.d.ts +0 -6
- package/dist/src/components/form/styles.d.ts +0 -4
- package/dist/src/components/grid-layout/styles.d.ts +0 -12
- package/dist/src/components/icon/index.d.ts +0 -3
- package/dist/src/components/icon/styles.d.ts +0 -14
- package/dist/src/components/icon-button/index.d.ts +0 -3
- package/dist/src/components/icon-button/styles.d.ts +0 -9
- package/dist/src/components/inputs/fields/phone/index.d.ts +0 -3
- package/dist/src/components/inputs/fields/phone/styles.d.ts +0 -6
- package/dist/src/components/inputs/fields/text-input/index.d.ts +0 -3
- package/dist/src/components/inputs/index.d.ts +0 -4
- package/dist/src/components/inputs/styles.d.ts +0 -3
- package/dist/src/components/interactive-card/styles.d.ts +0 -3
- package/dist/src/components/language-selector/styles.d.ts +0 -5
- package/dist/src/components/link/styles.d.ts +0 -8
- package/dist/src/components/list-item/styles.d.ts +0 -3
- package/dist/src/components/logo-carousel/styles.d.ts +0 -4
- package/dist/src/components/lottie/styles.d.ts +0 -41
- package/dist/src/components/message-banner/styles.d.ts +0 -2
- package/dist/src/components/notification/styles.d.ts +0 -7
- package/dist/src/components/notification/utils.d.ts +0 -4
- package/dist/src/components/notification-sign/index.d.ts +0 -3
- package/dist/src/components/notification-sign/styles.d.ts +0 -9
- package/dist/src/components/number-input/styles.d.ts +0 -3
- package/dist/src/components/plan-card/styles.d.ts +0 -3
- package/dist/src/components/progress-bar/styles.d.ts +0 -6
- package/dist/src/components/radio-button/index.d.ts +0 -3
- package/dist/src/components/radio-button/styles.d.ts +0 -7
- package/dist/src/components/search-bar/styles.d.ts +0 -15
- package/dist/src/components/step-lapse/styles.d.ts +0 -8
- package/dist/src/components/table-button/styles.d.ts +0 -2
- package/dist/src/components/tabs/styles.d.ts +0 -4
- package/dist/src/components/tag/styles.d.ts +0 -7
- package/dist/src/components/toggle/styles.d.ts +0 -4
- package/dist/src/components/toggle-buttons/styles.d.ts +0 -3
- package/dist/src/components/tooltip/index.d.ts +0 -4
- package/dist/src/components/tooltip/styles.d.ts +0 -7
- package/dist/src/components/typography/heading/index.d.ts +0 -3
- package/dist/src/components/typography/index.d.ts +0 -3
- package/dist/src/components/typography/styles.d.ts +0 -23
- package/dist/src/components/typography/text/index.d.ts +0 -3
- package/dist/src/hooks/index.d.ts +0 -4
- package/dist/src/index.d.ts +0 -41
- package/dist/vite.config.d.ts +0 -3
- /package/dist/{src → types}/components/@core/constants.d.ts +0 -0
- /package/dist/{src → types}/components/accordion/types.d.ts +0 -0
- /package/dist/{src → types}/components/carousel/types.d.ts +0 -0
- /package/dist/{src → types}/components/code-snippet/types.d.ts +0 -0
- /package/dist/{src → types}/components/content-card/category-tag/index.d.ts +0 -0
- /package/dist/{src → types}/components/content-card/event-date/index.d.ts +0 -0
- /package/dist/{src → types}/components/file-preview/types.d.ts +0 -0
- /package/dist/{src → types}/components/form/types.d.ts +0 -0
- /package/dist/{src → types}/components/link/types.d.ts +0 -0
- /package/dist/{src → types}/components/little-flag/types.d.ts +0 -0
- /package/dist/{src → types}/components/logo/types.d.ts +0 -0
- /package/dist/{src → types}/components/logo-carousel/types.d.ts +0 -0
- /package/dist/{src → types}/components/logo-carousel/utils.d.ts +0 -0
- /package/dist/{src → types}/components/notification/types.d.ts +0 -0
- /package/dist/{src → types}/components/plan-card/recommended-tag/index.d.ts +0 -0
- /package/dist/{src → types}/components/progress-bar/utils.d.ts +0 -0
- /package/dist/{src → types}/components/toggle-buttons/types.d.ts +0 -0
- /package/dist/{src → types}/hooks/use-carousel.d.ts +0 -0
- /package/dist/{src → types}/hooks/use-click-outside.d.ts +0 -0
- /package/dist/{src → types}/utils/open-url.d.ts +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ListItemsWrapper } from
|
|
2
|
-
import { IListItemProps } from
|
|
1
|
+
import { ListItemsWrapper } from "./styles";
|
|
2
|
+
import type { IListItemProps } from "./types";
|
|
3
3
|
declare const ListItem: ({ children, disabled, icon, iconType, href, onClick, onKeyDown, selected, value, ...props }: Readonly<IListItemProps>) => JSX.Element;
|
|
4
4
|
export { ListItem, ListItemsWrapper };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const Li: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, never>> & string;
|
|
2
|
+
declare const ListItemsWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
|
|
3
|
+
export { Li, ListItemsWrapper };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { HTMLAttributes, HTMLProps } from
|
|
2
|
-
import { IIconModifiable } from
|
|
1
|
+
import type { HTMLAttributes, HTMLProps } from "react";
|
|
2
|
+
import { IIconModifiable } from "components/@core";
|
|
3
3
|
/**
|
|
4
4
|
* Label component props.
|
|
5
5
|
* @interface ILabelProps
|
|
@@ -2,5 +2,5 @@ interface IStyledLittleFlagProps {
|
|
|
2
2
|
$bgColor?: string;
|
|
3
3
|
$txtDecoration?: string;
|
|
4
4
|
}
|
|
5
|
-
declare const LittleFlag: import(
|
|
5
|
+
declare const LittleFlag: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, IStyledLittleFlagProps>> & string;
|
|
6
6
|
export { LittleFlag };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const ClientsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const Rectangle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
declare const SlideShow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export { ClientsContainer, Rectangle, SlideShow };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { ILottieProps } from "./types";
|
|
2
|
+
interface IStyledLottieProps extends Partial<ILottieProps> {
|
|
3
|
+
$size?: ILottieProps["size"];
|
|
4
|
+
}
|
|
5
|
+
declare const StyledLottie: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<import("styled-components/dist/types").Substitute<Omit<Omit<import("lottie-web").AnimationConfigWithData<"svg">, "container" | "animationData"> & {
|
|
6
|
+
animationData: unknown;
|
|
7
|
+
lottieRef?: import("lottie-light-react").LottieRef;
|
|
8
|
+
onComplete?: import("react").AnimationEventHandler | null;
|
|
9
|
+
onLoopComplete?: import("react").AnimationEventHandler | null;
|
|
10
|
+
onEnterFrame?: import("react").AnimationEventHandler | null;
|
|
11
|
+
onSegmentStart?: import("react").AnimationEventHandler | null;
|
|
12
|
+
onConfigReady?: import("react").AnimationEventHandler | null;
|
|
13
|
+
onDataReady?: import("react").AnimationEventHandler | null;
|
|
14
|
+
onDataFailed?: import("react").AnimationEventHandler | null;
|
|
15
|
+
onLoadedImages?: import("react").AnimationEventHandler | null;
|
|
16
|
+
onDOMLoaded?: import("react").AnimationEventHandler | null;
|
|
17
|
+
onDestroy?: import("react").AnimationEventHandler | null;
|
|
18
|
+
} & Omit<import("react").HTMLProps<HTMLDivElement>, "loop"> & {
|
|
19
|
+
interactivity?: Omit<import("lottie-light-react").InteractivityProps, "lottieObj">;
|
|
20
|
+
}, "ref"> & {
|
|
21
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
22
|
+
}, Omit<Omit<import("lottie-web").AnimationConfigWithData<"svg">, "container" | "animationData"> & {
|
|
23
|
+
animationData: unknown;
|
|
24
|
+
lottieRef?: import("lottie-light-react").LottieRef;
|
|
25
|
+
onComplete?: import("react").AnimationEventHandler | null;
|
|
26
|
+
onLoopComplete?: import("react").AnimationEventHandler | null;
|
|
27
|
+
onEnterFrame?: import("react").AnimationEventHandler | null;
|
|
28
|
+
onSegmentStart?: import("react").AnimationEventHandler | null;
|
|
29
|
+
onConfigReady?: import("react").AnimationEventHandler | null;
|
|
30
|
+
onDataReady?: import("react").AnimationEventHandler | null;
|
|
31
|
+
onDataFailed?: import("react").AnimationEventHandler | null;
|
|
32
|
+
onLoadedImages?: import("react").AnimationEventHandler | null;
|
|
33
|
+
onDOMLoaded?: import("react").AnimationEventHandler | null;
|
|
34
|
+
onDestroy?: import("react").AnimationEventHandler | null;
|
|
35
|
+
} & Omit<import("react").HTMLProps<HTMLDivElement>, "loop"> & {
|
|
36
|
+
interactivity?: Omit<import("lottie-light-react").InteractivityProps, "lottieObj">;
|
|
37
|
+
}, "ref"> & {
|
|
38
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
39
|
+
}>, never>, IStyledLottieProps>> & string & Omit<(props: import("lottie-light-react").LottieComponentProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, keyof import("react").Component<any, {}, any>>;
|
|
40
|
+
export type { IStyledLottieProps };
|
|
41
|
+
export { StyledLottie };
|
|
@@ -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 };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { IMessageBannerProps } from
|
|
1
|
+
import type { IMessageBannerProps } from "./types";
|
|
2
2
|
declare const MessageBanner: ({ message, onClickButton, buttonText, buttonFontWeight, icon, onClose, variant, }: Readonly<IMessageBannerProps>) => JSX.Element;
|
|
3
3
|
export { MessageBanner };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IconName } from
|
|
2
|
-
import { Property } from
|
|
3
|
-
import { MouseEventHandler } from
|
|
1
|
+
import { IconName } from "@fortawesome/free-solid-svg-icons";
|
|
2
|
+
import type { Property } from "csstype";
|
|
3
|
+
import type { MouseEventHandler } from "react";
|
|
4
4
|
type TVariant = "web" | "platform";
|
|
5
5
|
/**
|
|
6
6
|
* Message banner props.
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { TNotificationVariant } from "./types";
|
|
2
|
+
interface IAlertAndNotifyBoxProps {
|
|
3
|
+
$variant: TNotificationVariant;
|
|
4
|
+
}
|
|
5
|
+
declare const NotificationContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IAlertAndNotifyBoxProps>> & string;
|
|
6
|
+
declare const IconsContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IAlertAndNotifyBoxProps>> & string;
|
|
7
|
+
export { IconsContainer, NotificationContainer };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { INotificationSignProps } from "./types";
|
|
2
|
+
interface IStyledNotificationSignProps {
|
|
3
|
+
$variant?: INotificationSignProps["variant"];
|
|
4
|
+
}
|
|
5
|
+
declare const NotificationSignButton: 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"> & {
|
|
6
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
7
|
+
}, IStyledNotificationSignProps>> & string;
|
|
8
|
+
declare const NumberIndicator: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
9
|
+
export { NotificationSignButton, NumberIndicator };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { INumberInputProps } from
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { INumberInputProps } from "./types";
|
|
3
3
|
declare const NumberInput: React.ForwardRefExoticComponent<Readonly<INumberInputProps> & React.RefAttributes<HTMLInputElement>>;
|
|
4
4
|
export type { INumberInputProps };
|
|
5
5
|
export { NumberInput };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const StyledInputContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const StyledInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
3
|
+
export { StyledInputContainer, StyledInput };
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const OverviewCardContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
2
|
+
declare const FullCardContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export { OverviewCardContainer, FullCardContainer };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IPlanFeatureProps, IPlanProps, TPlan } from
|
|
1
|
+
import { IPlanFeatureProps, IPlanProps, TPlan } from "./types";
|
|
2
2
|
declare const plans: Record<TPlan, IPlanProps>;
|
|
3
3
|
declare const advancedPlanFeatures: IPlanFeatureProps[];
|
|
4
4
|
declare const essentialPlanFeatures: IPlanFeatureProps[];
|
|
@@ -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,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,7 @@
|
|
|
1
|
+
declare const LabelContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, {
|
|
2
|
+
$disabled: boolean;
|
|
3
|
+
}>> & string;
|
|
4
|
+
declare const CheckMark: 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<HTMLSpanElement>, HTMLSpanElement>, Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
5
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
6
|
+
}>, never>, never>> & string;
|
|
7
|
+
export { CheckMark, LabelContainer };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const StyledItemSearching: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
|
|
2
|
+
declare const IconWrapper: 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"> & {
|
|
3
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
4
|
+
}>, never>, never>> & string;
|
|
5
|
+
declare const StyledSearchBox: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
6
|
+
declare const StyledSearchBar: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, never>> & string;
|
|
7
|
+
declare const StyledSearchInput: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, never>> & string;
|
|
8
|
+
declare const StyledSearchReset: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
9
|
+
declare const StyledDropdownItems: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<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"> & {
|
|
10
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
11
|
+
}>, never>, {
|
|
12
|
+
$empty?: boolean;
|
|
13
|
+
$showHits?: boolean;
|
|
14
|
+
}>> & string;
|
|
15
|
+
export { IconWrapper, StyledDropdownItems, StyledItemSearching, StyledSearchBar, StyledSearchBox, StyledSearchInput, StyledSearchReset, };
|
|
@@ -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,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,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 };
|