@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.
Files changed (244) hide show
  1. package/dist/index.js +488 -0
  2. package/dist/index.mjs +15539 -0
  3. package/dist/types/components/@core/index.d.ts +5 -0
  4. package/dist/types/components/@core/styles.d.ts +6 -0
  5. package/dist/{src → types}/components/@core/types.d.ts +3 -2
  6. package/dist/{src → types}/components/@core/utils.d.ts +2 -2
  7. package/dist/{src → types}/components/@core/variants/utils.d.ts +2 -2
  8. package/dist/{src → types}/components/accordion/accordion-content/index.d.ts +1 -1
  9. package/dist/types/components/accordion/index.d.ts +4 -0
  10. package/dist/types/components/alert/index.d.ts +4 -0
  11. package/dist/types/components/alert/styles.d.ts +9 -0
  12. package/dist/{src → types}/components/alert/types.d.ts +2 -2
  13. package/dist/types/components/button/index.d.ts +4 -0
  14. package/dist/types/components/button/styles.d.ts +9 -0
  15. package/dist/{src → types}/components/button/types.d.ts +4 -8
  16. package/dist/types/components/carousel/index.d.ts +4 -0
  17. package/dist/types/components/carousel/styles.d.ts +10 -0
  18. package/dist/types/components/checkbox/index.d.ts +3 -0
  19. package/dist/types/components/checkbox/styles.d.ts +7 -0
  20. package/dist/{src → types}/components/checkbox/types.d.ts +1 -1
  21. package/dist/{src → types}/components/cloud-image/index.d.ts +2 -2
  22. package/dist/{src → types}/components/cloud-image/types.d.ts +1 -1
  23. package/dist/{src → types}/components/code-snippet/index.d.ts +1 -1
  24. package/dist/types/components/code-snippet/location-code/index.d.ts +5 -0
  25. package/dist/types/components/code-snippet/styles.d.ts +3 -0
  26. package/dist/{src → types}/components/colors/index.d.ts +3 -3
  27. package/dist/types/components/container/index.d.ts +4 -0
  28. package/dist/types/components/container/styles.d.ts +9 -0
  29. package/dist/{src → types}/components/container/types.d.ts +2 -2
  30. package/dist/{src → types}/components/content-card/index.d.ts +1 -1
  31. package/dist/types/components/content-card/styles.d.ts +2 -0
  32. package/dist/{src → types}/components/content-card/types.d.ts +1 -1
  33. package/dist/{src → types}/components/content-card-carousel/index.d.ts +1 -1
  34. package/dist/{src → types}/components/content-card-carousel/scroll-buttons/index.d.ts +1 -1
  35. package/dist/types/components/content-card-carousel/styles.d.ts +3 -0
  36. package/dist/{src → types}/components/content-card-carousel/types.d.ts +1 -1
  37. package/dist/types/components/divider/index.d.ts +3 -0
  38. package/dist/{src → types}/components/divider/types.d.ts +1 -1
  39. package/dist/{src → types}/components/file-preview/index.d.ts +1 -1
  40. package/dist/types/components/file-preview/styles.d.ts +6 -0
  41. package/dist/{src → types}/components/file-preview/utils.d.ts +1 -1
  42. package/dist/{src → types}/components/form/index.d.ts +3 -3
  43. package/dist/types/components/form/styles.d.ts +4 -0
  44. package/dist/types/components/grid-layout/styles.d.ts +12 -0
  45. package/dist/types/components/icon/index.d.ts +3 -0
  46. package/dist/types/components/icon/styles.d.ts +14 -0
  47. package/dist/{src → types}/components/icon/types.d.ts +2 -4
  48. package/dist/types/components/icon-button/index.d.ts +3 -0
  49. package/dist/types/components/icon-button/styles.d.ts +9 -0
  50. package/dist/{src → types}/components/icon-button/types.d.ts +4 -4
  51. package/dist/types/components/inputs/fields/phone/index.d.ts +3 -0
  52. package/dist/types/components/inputs/fields/phone/styles.d.ts +6 -0
  53. package/dist/types/components/inputs/fields/text-input/index.d.ts +3 -0
  54. package/dist/types/components/inputs/index.d.ts +4 -0
  55. package/dist/{src → types}/components/inputs/label/index.d.ts +1 -1
  56. package/dist/{src → types}/components/inputs/outline-container/index.d.ts +2 -2
  57. package/dist/types/components/inputs/styles.d.ts +3 -0
  58. package/dist/{src → types}/components/inputs/types.d.ts +2 -2
  59. package/dist/{src → types}/components/interactive-card/icon/index.d.ts +1 -1
  60. package/dist/{src → types}/components/interactive-card/index.d.ts +1 -1
  61. package/dist/types/components/interactive-card/styles.d.ts +3 -0
  62. package/dist/{src → types}/components/interactive-card/types.d.ts +1 -1
  63. package/dist/{src → types}/components/language-selector/index.d.ts +1 -1
  64. package/dist/{src → types}/components/language-selector/item-list/index.d.ts +1 -1
  65. package/dist/types/components/language-selector/styles.d.ts +5 -0
  66. package/dist/{src → types}/components/language-selector/types.d.ts +1 -1
  67. package/dist/{src → types}/components/link/index.d.ts +2 -2
  68. package/dist/types/components/link/styles.d.ts +8 -0
  69. package/dist/{src → types}/components/list-item/index.d.ts +2 -2
  70. package/dist/types/components/list-item/styles.d.ts +3 -0
  71. package/dist/{src → types}/components/list-item/types.d.ts +2 -2
  72. package/dist/{src → types}/components/little-flag/index.d.ts +1 -1
  73. package/dist/{src → types}/components/little-flag/styles.d.ts +1 -1
  74. package/dist/{src → types}/components/logo/index.d.ts +1 -1
  75. package/dist/{src → types}/components/logo-carousel/index.d.ts +1 -1
  76. package/dist/types/components/logo-carousel/styles.d.ts +4 -0
  77. package/dist/{src → types}/components/lottie/index.d.ts +1 -1
  78. package/dist/types/components/lottie/styles.d.ts +41 -0
  79. package/dist/{src → types}/components/lottie/types.d.ts +1 -1
  80. package/dist/types/components/menu/index.d.ts +4 -0
  81. package/dist/types/components/menu/types.d.ts +31 -0
  82. package/dist/{src → types}/components/message-banner/index.d.ts +1 -1
  83. package/dist/types/components/message-banner/styles.d.ts +2 -0
  84. package/dist/{src → types}/components/message-banner/types.d.ts +3 -3
  85. package/dist/{src → types}/components/message-banner/utils.d.ts +2 -2
  86. package/dist/{src → types}/components/notification/index.d.ts +1 -1
  87. package/dist/types/components/notification/styles.d.ts +7 -0
  88. package/dist/types/components/notification/utils.d.ts +4 -0
  89. package/dist/types/components/notification-sign/index.d.ts +3 -0
  90. package/dist/types/components/notification-sign/styles.d.ts +9 -0
  91. package/dist/{src → types}/components/notification-sign/types.d.ts +1 -1
  92. package/dist/{src → types}/components/number-input/index.d.ts +2 -2
  93. package/dist/types/components/number-input/styles.d.ts +3 -0
  94. package/dist/{src → types}/components/number-input/types.d.ts +1 -1
  95. package/dist/{src → types}/components/plan-card/index.d.ts +1 -1
  96. package/dist/types/components/plan-card/styles.d.ts +3 -0
  97. package/dist/{src → types}/components/plan-card/types.d.ts +1 -1
  98. package/dist/{src → types}/components/plan-card/utils.d.ts +1 -1
  99. package/dist/types/components/premium-feature/index.d.ts +3 -0
  100. package/dist/types/components/premium-feature/styles.d.ts +2 -0
  101. package/dist/types/components/premium-feature/types.d.ts +14 -0
  102. package/dist/{src → types}/components/progress-bar/index.d.ts +1 -1
  103. package/dist/types/components/progress-bar/styles.d.ts +6 -0
  104. package/dist/{src → types}/components/progress-bar/types.d.ts +1 -1
  105. package/dist/types/components/radio-button/index.d.ts +3 -0
  106. package/dist/types/components/radio-button/styles.d.ts +7 -0
  107. package/dist/{src → types}/components/radio-button/types.d.ts +1 -1
  108. package/dist/{src → types}/components/search-bar/index.d.ts +1 -1
  109. package/dist/{src → types}/components/search-bar/item-searching/index.d.ts +1 -1
  110. package/dist/types/components/search-bar/styles.d.ts +15 -0
  111. package/dist/{src → types}/components/search-bar/types.d.ts +1 -1
  112. package/dist/{src → types}/components/search-bar/utils.d.ts +1 -1
  113. package/dist/types/components/severity-badge/index.d.ts +3 -0
  114. package/dist/types/components/severity-badge/types.d.ts +26 -0
  115. package/dist/types/components/severity-badge/utils.d.ts +3 -0
  116. package/dist/types/components/severity-overview/badge/index.d.ts +3 -0
  117. package/dist/types/components/severity-overview/index.d.ts +3 -0
  118. package/dist/types/components/severity-overview/types.d.ts +40 -0
  119. package/dist/types/components/severity-overview/utils.d.ts +3 -0
  120. package/dist/types/components/slide-out-menu/index.d.ts +4 -0
  121. package/dist/types/components/slide-out-menu/menu-item/index.d.ts +3 -0
  122. package/dist/types/components/slide-out-menu/styles.d.ts +274 -0
  123. package/dist/types/components/slide-out-menu/types.d.ts +43 -0
  124. package/dist/{src → types}/components/step-lapse/index.d.ts +1 -1
  125. package/dist/types/components/step-lapse/styles.d.ts +8 -0
  126. package/dist/{src → types}/components/step-lapse/types.d.ts +1 -1
  127. package/dist/{src → types}/components/table-button/index.d.ts +1 -1
  128. package/dist/types/components/table-button/styles.d.ts +2 -0
  129. package/dist/{src → types}/components/table-button/types.d.ts +2 -2
  130. package/dist/{src → types}/components/tabs/fixed-tabs/index.d.ts +1 -1
  131. package/dist/{src → types}/components/tabs/index.d.ts +3 -3
  132. package/dist/types/components/tabs/styles.d.ts +4 -0
  133. package/dist/{src → types}/components/tabs/tab/index.d.ts +1 -1
  134. package/dist/{src → types}/components/tabs/types.d.ts +1 -1
  135. package/dist/{src → types}/components/tag/index.d.ts +1 -1
  136. package/dist/types/components/tag/styles.d.ts +7 -0
  137. package/dist/{src → types}/components/tag/types.d.ts +1 -1
  138. package/dist/types/components/timeline/card/index.d.ts +3 -0
  139. package/dist/types/components/timeline/index.d.ts +4 -0
  140. package/dist/types/components/timeline/styles.d.ts +3 -0
  141. package/dist/types/components/timeline/types.d.ts +21 -0
  142. package/dist/{src → types}/components/toggle/index.d.ts +2 -2
  143. package/dist/types/components/toggle/styles.d.ts +4 -0
  144. package/dist/{src → types}/components/toggle/types.d.ts +2 -2
  145. package/dist/{src → types}/components/toggle-buttons/index.d.ts +1 -1
  146. package/dist/types/components/toggle-buttons/styles.d.ts +3 -0
  147. package/dist/types/components/tooltip/index.d.ts +4 -0
  148. package/dist/types/components/tooltip/styles.d.ts +7 -0
  149. package/dist/{src → types}/components/tooltip/types.d.ts +2 -2
  150. package/dist/{src → types}/components/tour/index.d.ts +2 -2
  151. package/dist/{src → types}/components/tour/types.d.ts +1 -1
  152. package/dist/types/components/typography/heading/index.d.ts +3 -0
  153. package/dist/types/components/typography/index.d.ts +3 -0
  154. package/dist/types/components/typography/styles.d.ts +23 -0
  155. package/dist/types/components/typography/text/index.d.ts +3 -0
  156. package/dist/{src → types}/components/typography/types.d.ts +2 -2
  157. package/dist/types/hooks/index.d.ts +4 -0
  158. package/dist/{src → types}/hooks/use-cloudinary-image.d.ts +1 -1
  159. package/dist/types/index.d.ts +49 -0
  160. package/package.json +9 -7
  161. package/dist/design.js +0 -2256
  162. package/dist/design.mjs +0 -22131
  163. package/dist/src/components/@core/index.d.ts +0 -5
  164. package/dist/src/components/@core/styles.d.ts +0 -6
  165. package/dist/src/components/accordion/index.d.ts +0 -4
  166. package/dist/src/components/alert/index.d.ts +0 -4
  167. package/dist/src/components/alert/styles.d.ts +0 -9
  168. package/dist/src/components/button/index.d.ts +0 -4
  169. package/dist/src/components/button/styles.d.ts +0 -9
  170. package/dist/src/components/carousel/index.d.ts +0 -4
  171. package/dist/src/components/carousel/styles.d.ts +0 -10
  172. package/dist/src/components/checkbox/index.d.ts +0 -3
  173. package/dist/src/components/checkbox/styles.d.ts +0 -7
  174. package/dist/src/components/code-snippet/location-code/index.d.ts +0 -3
  175. package/dist/src/components/code-snippet/styles.d.ts +0 -3
  176. package/dist/src/components/container/index.d.ts +0 -4
  177. package/dist/src/components/container/styles.d.ts +0 -9
  178. package/dist/src/components/content-card/styles.d.ts +0 -2
  179. package/dist/src/components/content-card-carousel/styles.d.ts +0 -3
  180. package/dist/src/components/divider/index.d.ts +0 -3
  181. package/dist/src/components/file-preview/styles.d.ts +0 -6
  182. package/dist/src/components/form/styles.d.ts +0 -4
  183. package/dist/src/components/grid-layout/styles.d.ts +0 -12
  184. package/dist/src/components/icon/index.d.ts +0 -3
  185. package/dist/src/components/icon/styles.d.ts +0 -14
  186. package/dist/src/components/icon-button/index.d.ts +0 -3
  187. package/dist/src/components/icon-button/styles.d.ts +0 -9
  188. package/dist/src/components/inputs/fields/phone/index.d.ts +0 -3
  189. package/dist/src/components/inputs/fields/phone/styles.d.ts +0 -6
  190. package/dist/src/components/inputs/fields/text-input/index.d.ts +0 -3
  191. package/dist/src/components/inputs/index.d.ts +0 -4
  192. package/dist/src/components/inputs/styles.d.ts +0 -3
  193. package/dist/src/components/interactive-card/styles.d.ts +0 -3
  194. package/dist/src/components/language-selector/styles.d.ts +0 -5
  195. package/dist/src/components/link/styles.d.ts +0 -8
  196. package/dist/src/components/list-item/styles.d.ts +0 -3
  197. package/dist/src/components/logo-carousel/styles.d.ts +0 -4
  198. package/dist/src/components/lottie/styles.d.ts +0 -41
  199. package/dist/src/components/message-banner/styles.d.ts +0 -2
  200. package/dist/src/components/notification/styles.d.ts +0 -7
  201. package/dist/src/components/notification/utils.d.ts +0 -4
  202. package/dist/src/components/notification-sign/index.d.ts +0 -3
  203. package/dist/src/components/notification-sign/styles.d.ts +0 -9
  204. package/dist/src/components/number-input/styles.d.ts +0 -3
  205. package/dist/src/components/plan-card/styles.d.ts +0 -3
  206. package/dist/src/components/progress-bar/styles.d.ts +0 -6
  207. package/dist/src/components/radio-button/index.d.ts +0 -3
  208. package/dist/src/components/radio-button/styles.d.ts +0 -7
  209. package/dist/src/components/search-bar/styles.d.ts +0 -15
  210. package/dist/src/components/step-lapse/styles.d.ts +0 -8
  211. package/dist/src/components/table-button/styles.d.ts +0 -2
  212. package/dist/src/components/tabs/styles.d.ts +0 -4
  213. package/dist/src/components/tag/styles.d.ts +0 -7
  214. package/dist/src/components/toggle/styles.d.ts +0 -4
  215. package/dist/src/components/toggle-buttons/styles.d.ts +0 -3
  216. package/dist/src/components/tooltip/index.d.ts +0 -4
  217. package/dist/src/components/tooltip/styles.d.ts +0 -7
  218. package/dist/src/components/typography/heading/index.d.ts +0 -3
  219. package/dist/src/components/typography/index.d.ts +0 -3
  220. package/dist/src/components/typography/styles.d.ts +0 -23
  221. package/dist/src/components/typography/text/index.d.ts +0 -3
  222. package/dist/src/hooks/index.d.ts +0 -4
  223. package/dist/src/index.d.ts +0 -41
  224. package/dist/vite.config.d.ts +0 -3
  225. /package/dist/{src → types}/components/@core/constants.d.ts +0 -0
  226. /package/dist/{src → types}/components/accordion/types.d.ts +0 -0
  227. /package/dist/{src → types}/components/carousel/types.d.ts +0 -0
  228. /package/dist/{src → types}/components/code-snippet/types.d.ts +0 -0
  229. /package/dist/{src → types}/components/content-card/category-tag/index.d.ts +0 -0
  230. /package/dist/{src → types}/components/content-card/event-date/index.d.ts +0 -0
  231. /package/dist/{src → types}/components/file-preview/types.d.ts +0 -0
  232. /package/dist/{src → types}/components/form/types.d.ts +0 -0
  233. /package/dist/{src → types}/components/link/types.d.ts +0 -0
  234. /package/dist/{src → types}/components/little-flag/types.d.ts +0 -0
  235. /package/dist/{src → types}/components/logo/types.d.ts +0 -0
  236. /package/dist/{src → types}/components/logo-carousel/types.d.ts +0 -0
  237. /package/dist/{src → types}/components/logo-carousel/utils.d.ts +0 -0
  238. /package/dist/{src → types}/components/notification/types.d.ts +0 -0
  239. /package/dist/{src → types}/components/plan-card/recommended-tag/index.d.ts +0 -0
  240. /package/dist/{src → types}/components/progress-bar/utils.d.ts +0 -0
  241. /package/dist/{src → types}/components/toggle-buttons/types.d.ts +0 -0
  242. /package/dist/{src → types}/hooks/use-carousel.d.ts +0 -0
  243. /package/dist/{src → types}/hooks/use-click-outside.d.ts +0 -0
  244. /package/dist/{src → types}/utils/open-url.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- import { ListItemsWrapper } from './styles';
2
- import { IListItemProps } from './types';
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 'react';
2
- import { IIconModifiable } from '../@core';
1
+ import type { HTMLAttributes, HTMLProps } from "react";
2
+ import { IIconModifiable } from "components/@core";
3
3
  /**
4
4
  * Label component props.
5
5
  * @interface ILabelProps
@@ -1,4 +1,4 @@
1
- import { ILittleFlagProps } from './types';
1
+ import { ILittleFlagProps } from "./types";
2
2
  declare const LittleFlag: ({ bgColor, children, txtDecoration, ml, }: Readonly<ILittleFlagProps>) => JSX.Element;
3
3
  export type { ILittleFlagProps };
4
4
  export { LittleFlag };
@@ -2,5 +2,5 @@ interface IStyledLittleFlagProps {
2
2
  $bgColor?: string;
3
3
  $txtDecoration?: string;
4
4
  }
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;
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 };
@@ -1,3 +1,3 @@
1
- import { ILogoProps } from './types';
1
+ import { ILogoProps } from "./types";
2
2
  declare const Logo: ({ publicId, variant }: Readonly<ILogoProps>) => JSX.Element;
3
3
  export { Logo };
@@ -1,3 +1,3 @@
1
- import { ILogoCarouselProps } from './types';
1
+ import { ILogoCarouselProps } from "./types";
2
2
  declare const LogoCarousel: ({ fusion, logos, }: Readonly<ILogoCarouselProps>) => JSX.Element;
3
3
  export { LogoCarousel };
@@ -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 };
@@ -1,3 +1,3 @@
1
- import { ILottieProps } from './types';
1
+ import { ILottieProps } from "./types";
2
2
  declare const Lottie: (props: Readonly<ILottieProps>) => JSX.Element;
3
3
  export { Lottie };
@@ -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 };
@@ -1,4 +1,4 @@
1
- import { LottieComponentProps } from 'lottie-light-react';
1
+ import type { LottieComponentProps } from "lottie-light-react";
2
2
  /**
3
3
  * Lottie component props.
4
4
  * @interface ILottieProps
@@ -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 };
@@ -1,3 +1,3 @@
1
- import { IMessageBannerProps } from './types';
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 };
@@ -0,0 +1,2 @@
1
+ declare const Button: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
2
+ export { Button };
@@ -1,6 +1,6 @@
1
- import { IconName } from '@fortawesome/free-solid-svg-icons';
2
- import { Property } from 'csstype';
3
- import { MouseEventHandler } from 'react';
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.
@@ -1,5 +1,5 @@
1
- import { TVariant } from './types';
2
- import { TSize } from '../@core';
1
+ import { TVariant } from "./types";
2
+ import { TSize } from "components/@core";
3
3
  declare const getFontSize: (variant: TVariant) => {
4
4
  normal: TSize;
5
5
  small: TSize | undefined;
@@ -1,3 +1,3 @@
1
- import { INotificationProps } from './types';
1
+ import type { INotificationProps } from "./types";
2
2
  declare const Notification: ({ description, onClose, title, variant, }: Readonly<INotificationProps>) => JSX.Element;
3
3
  export { Notification };
@@ -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,4 @@
1
+ import type { IconName } from "@fortawesome/free-solid-svg-icons";
2
+ import { TNotificationVariant } from "./types";
3
+ declare const getIcon: (variant: TNotificationVariant) => IconName;
4
+ export { getIcon };
@@ -0,0 +1,3 @@
1
+ import type { INotificationSignProps } from "./types";
2
+ declare const NotificationSign: import("react").ForwardRefExoticComponent<Readonly<INotificationSignProps> & import("react").RefAttributes<HTMLDivElement>>;
3
+ export { NotificationSign };
@@ -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,4 +1,4 @@
1
- import { IPositionModifiable } from '../@core';
1
+ import { IPositionModifiable } from "components/@core";
2
2
  type TVariant = "error" | "warning";
3
3
  /**
4
4
  * Notification sign component props.
@@ -1,5 +1,5 @@
1
- import { default as React } from 'react';
2
- import { INumberInputProps } from './types';
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 };
@@ -1,4 +1,4 @@
1
- import { InputHTMLAttributes } from 'react';
1
+ import { InputHTMLAttributes } from "react";
2
2
  /**
3
3
  * Number input component props.
4
4
  * @interface INumberInputProps
@@ -1,3 +1,3 @@
1
- import { IPlanCardProps } from './types';
1
+ import { IPlanCardProps } from "./types";
2
2
  declare const PlanCard: ({ description: customDescription, onClick, plan, }: Readonly<IPlanCardProps>) => JSX.Element;
3
3
  export { PlanCard };
@@ -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 { IconName } from '@fortawesome/free-solid-svg-icons';
1
+ import { IconName } from "@fortawesome/free-solid-svg-icons";
2
2
  type TPlan = "advanced" | "essential";
3
3
  type TVersion = "full" | "overview";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { IPlanFeatureProps, IPlanProps, TPlan } from './types';
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,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 };
@@ -1,4 +1,4 @@
1
- import { IProgressBarProps } from './types';
1
+ import type { IProgressBarProps } from "./types";
2
2
  declare const ProgressBar: ({ progressTime, onComplete, }: Readonly<IProgressBarProps>) => JSX.Element;
3
3
  export { ProgressBar };
4
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 };
@@ -1,4 +1,4 @@
1
- import { IDisplayModifiable } from '../@core';
1
+ import { IDisplayModifiable } from "components/@core";
2
2
  /**
3
3
  * Progress bar component props
4
4
  * @interface IProgressBarProps
@@ -0,0 +1,3 @@
1
+ import type { IRadioButtonProps } from "./types";
2
+ declare const RadioButton: import("react").ForwardRefExoticComponent<Omit<Readonly<IRadioButtonProps>, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
3
+ export { RadioButton };
@@ -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 };
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes, HTMLProps } from 'react';
1
+ import type { HTMLAttributes, HTMLProps } from "react";
2
2
  /**
3
3
  * Radio button props.
4
4
  * @interface IRadioButtonProps
@@ -1,3 +1,3 @@
1
- import { ISearchBarProps } from './types';
1
+ import { ISearchBarProps } from "./types";
2
2
  declare const SearchBar: ({ items, placeholder, refine, query, }: Readonly<ISearchBarProps>) => JSX.Element;
3
3
  export { SearchBar };
@@ -1,3 +1,3 @@
1
- import { IItemSearchingProps } from '../types';
1
+ import { IItemSearchingProps } from "../types";
2
2
  declare const ItemSearching: ({ hit, icon, showIcon, }: Readonly<IItemSearchingProps>) => JSX.Element;
3
3
  export { ItemSearching };
@@ -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, };
@@ -1,4 +1,4 @@
1
- import { IIconModifiable } from '../@core';
1
+ import { IIconModifiable } from "components/@core";
2
2
  type THit = Record<string, unknown>;
3
3
  /**
4
4
  * Item searching component props.
@@ -1,4 +1,4 @@
1
- import { IItemSearchingProps } from './types';
1
+ import { IItemSearchingProps } from "./types";
2
2
  declare const itemsSuggested: IItemSearchingProps[];
3
3
  declare const itemContact: IItemSearchingProps;
4
4
  export { itemContact, itemsSuggested };
@@ -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,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 };