rbro-tat-uds 1.1.2 → 1.1.4

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.
@@ -0,0 +1,15 @@
1
+ import React, { HTMLAttributes } from "react";
2
+ import { IconsListProp } from "../Icon/Icon.types";
3
+ interface AlertProps extends HTMLAttributes<HTMLDivElement> {
4
+ intent?: "default" | "info" | "featured" | "success" | "danger";
5
+ variant?: "default" | "light";
6
+ icon?: IconsListProp;
7
+ size?: "small" | "medium" | "large";
8
+ text?: string;
9
+ showButton?: boolean;
10
+ buttonText?: string;
11
+ buttonIcon?: IconsListProp;
12
+ buttonOnClick?: () => void;
13
+ }
14
+ declare const Alert: React.FC<AlertProps>;
15
+ export default Alert;
@@ -0,0 +1 @@
1
+ export { default as Alert } from './Alert';
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export type IconsListProp = "exit" | "home" | "go-right" | "trash" | "asterix" | "hint" | "info_filled" | "checkmark_filled" | "warning_filled" | "checkmark" | "checkmark_ring" | "remove_person" | "clear_filled" | "doc-sent" | "man-butterfly" | "satellite-2" | "warning_filled" | "warning-tr-filled" | "minus" | "add" | "doc_edit" | "calendar" | "branch" | "invoice_seal" | "money-bag-incoming" | "money-bag-outlined" | "forward" | "money-investment" | "libra" | "offer" | "man-outlined" | "retry-1" | "doc-error" | "to-person" | "clear-ring-filled" | "clear-ring-outlined" | "clear-ring" | "mail" | "mobile" | "rejected" | "new_tab" | "money-return" | "wallet-2" | "back" | "close" | "card";
2
+ export type IconsListProp = "exit" | "home" | "go-right" | "trash" | "asterix" | "hint" | "info_filled" | "checkmark_filled" | "warning_filled" | "checkmark" | "checkmark_ring" | "remove_person" | "clear_filled" | "doc-sent" | "man-butterfly" | "satellite-2" | "warning_filled" | "warning-tr-filled" | "minus" | "add" | "doc_edit" | "calendar" | "branch" | "invoice_seal" | "money-bag-incoming" | "money-bag-outlined" | "forward" | "money-investment" | "libra" | "offer" | "man-outlined" | "retry-1" | "doc-error" | "to-person" | "clear-ring-filled" | "clear-ring-outlined" | "clear-ring" | "mail" | "mobile" | "rejected" | "new_tab" | "money-return" | "wallet-2" | "back" | "close" | "card" | "calculator-currency-3" | "inn-1" | "money" | "down-ring" | "up-ring" | "card-heart" | "premium" | "flag" | "document";
3
3
  export type IconProps = Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
4
4
  icon: IconsListProp;
5
5
  size?: 8 | 12 | 14 | 16 | 18 | 20 | 24 | 32 | 40;
@@ -44,5 +44,14 @@ declare const IconsList: {
44
44
  back: string;
45
45
  close: string;
46
46
  card: string;
47
+ "calculator-currency-3": string;
48
+ "inn-1": string;
49
+ money: string;
50
+ "down-ring": string;
51
+ "up-ring": string;
52
+ "card-heart": string;
53
+ premium: string;
54
+ flag: string;
55
+ document: string;
47
56
  };
48
57
  export default IconsList;
@@ -12,6 +12,8 @@ export interface ImageCardProps extends HTMLAttributes<HTMLDivElement> {
12
12
  textFontSize?: 14 | 16 | 18 | 20 | 24;
13
13
  titleFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
14
14
  textFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
15
+ width?: string;
16
+ imgHeight?: string;
15
17
  }
16
18
  declare const ImageCard: React.FC<ImageCardProps>;
17
19
  export default ImageCard;
@@ -7,9 +7,13 @@ interface PropunereFlexicreditProps extends HTMLAttributes<HTMLDivElement> {
7
7
  refinantare?: string;
8
8
  disabled?: boolean;
9
9
  disabledText?: string;
10
- benefit1?: string;
11
- benefit2?: string[];
12
10
  buttonOnClick?: () => void;
11
+ children?: React.ReactNode;
13
12
  }
14
- declare const PropunereFlexicredit: React.FC<PropunereFlexicreditProps>;
13
+ type ContentSlotProps = {
14
+ children: React.ReactNode;
15
+ };
16
+ declare const PropunereFlexicredit: React.FC<PropunereFlexicreditProps> & {
17
+ ContentSlot: React.FC<ContentSlotProps>;
18
+ };
15
19
  export default PropunereFlexicredit;
@@ -40,3 +40,4 @@ export * from "./ProductTeaserPropunere2Parameters";
40
40
  export * from "./Modal";
41
41
  export * from "./ImageCard";
42
42
  export * from "./IconCard";
43
+ export * from "./Alert";