rbro-tat-uds 1.1.1 → 1.1.3

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';
@@ -3,9 +3,9 @@ import { colors } from "../../utils";
3
3
  declare const _elements: readonly ["div", "main", "article", "p", "span"];
4
4
  declare const _directions: readonly ["row", "row-reverse", "column", "column-reverse"];
5
5
  declare const _wrap: readonly ["nowrap", "wrap", "wrap-reverse"];
6
- declare const _justify: readonly ["start", "center", "space-between", "space-around", "space-evenly"];
7
- declare const _items: readonly ["stretch", "center", "start", "end"];
8
- declare const _content: readonly ["start", "center", "space-between", "space-around"];
6
+ declare const _justify: readonly ["start", "center", "space-between", "space-around", "space-evenly", "flex-start", "flex-end"];
7
+ declare const _items: readonly ["stretch", "center", "start", "flex-end", "flex-start"];
8
+ declare const _content: readonly ["start", "center", "space-between", "space-around", "flex-start", "flex-end"];
9
9
  export interface FlexProps extends HTMLAttributes<HTMLDivElement> {
10
10
  children: React.ReactNode;
11
11
  element?: (typeof _elements)[number];
@@ -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";
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;
@@ -42,5 +42,16 @@ declare const IconsList: {
42
42
  "money-return": string;
43
43
  "wallet-2": string;
44
44
  back: string;
45
+ close: string;
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;
45
56
  };
46
57
  export default IconsList;
@@ -0,0 +1,21 @@
1
+ import React, { HTMLAttributes } from "react";
2
+ import { colors } from "../../utils";
3
+ import { IconsListProp } from "../Icon/Icon.types";
4
+ interface IconCardProps extends HTMLAttributes<HTMLDivElement> {
5
+ icon?: IconsListProp;
6
+ topGap?: 0 | 2 | 4 | 8;
7
+ bottomGap?: 0 | 2 | 4 | 8;
8
+ title?: string;
9
+ text?: string;
10
+ align?: "left" | "center";
11
+ backgroundColor?: keyof typeof colors;
12
+ titleColor?: keyof typeof colors;
13
+ textColor?: keyof typeof colors;
14
+ iconColor?: keyof typeof colors;
15
+ titleFontSize?: 14 | 16 | 18 | 20 | 24;
16
+ textFontSize?: 14 | 16 | 18 | 20 | 24;
17
+ titleFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
18
+ textFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
19
+ }
20
+ declare const IconCard: React.FC<IconCardProps>;
21
+ export default IconCard;
@@ -0,0 +1 @@
1
+ export { default as IconCard } from './IconCard';
@@ -0,0 +1,19 @@
1
+ import React, { HTMLAttributes } from "react";
2
+ import { colors } from "../../utils";
3
+ export interface ImageCardProps extends HTMLAttributes<HTMLDivElement> {
4
+ gap?: 0 | 2 | 4 | 8;
5
+ title?: string;
6
+ text?: string;
7
+ img?: string;
8
+ backgroundColor?: keyof typeof colors;
9
+ titleColor?: keyof typeof colors;
10
+ textColor?: keyof typeof colors;
11
+ titleFontSize?: 14 | 16 | 18 | 20 | 24;
12
+ textFontSize?: 14 | 16 | 18 | 20 | 24;
13
+ titleFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
14
+ textFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
15
+ width?: string;
16
+ imgHeight?: string;
17
+ }
18
+ declare const ImageCard: React.FC<ImageCardProps>;
19
+ export default ImageCard;
@@ -0,0 +1 @@
1
+ export { default as ImageCard } from './ImageCard';
@@ -0,0 +1,20 @@
1
+ import React, { HTMLAttributes } from "react";
2
+ export interface ModalProps extends HTMLAttributes<HTMLDivElement> {
3
+ show?: boolean;
4
+ title?: string;
5
+ width?: number;
6
+ showFooter?: boolean;
7
+ onClose?: () => void;
8
+ children: React.ReactNode;
9
+ }
10
+ type ContentSlotProps = {
11
+ children: React.ReactNode;
12
+ };
13
+ type FooterSlotProps = {
14
+ children: React.ReactNode;
15
+ };
16
+ declare const Modal: React.FC<ModalProps> & {
17
+ ContentSlot: React.FC<ContentSlotProps>;
18
+ FooterSlot: React.FC<FooterSlotProps>;
19
+ };
20
+ export default Modal;
@@ -0,0 +1 @@
1
+ export { default as Modal } from './Modal';
@@ -4,7 +4,7 @@ interface PropunereFlexicreditProps extends HTMLAttributes<HTMLDivElement> {
4
4
  suma?: string;
5
5
  rata?: string;
6
6
  perioada?: string;
7
- refinantare?: boolean;
7
+ refinantare?: string;
8
8
  disabled?: boolean;
9
9
  disabledText?: string;
10
10
  benefit1?: string;
@@ -37,3 +37,7 @@ export * from "./ProductTeaserButton";
37
37
  export * from "./ProductTeaser";
38
38
  export * from "./ProductTeaserConfiguratieFlexicredit";
39
39
  export * from "./ProductTeaserPropunere2Parameters";
40
+ export * from "./Modal";
41
+ export * from "./ImageCard";
42
+ export * from "./IconCard";
43
+ export * from "./Alert";