rbro-tat-uds 1.5.26 → 1.5.28

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.
@@ -5,7 +5,7 @@ interface AlertProps extends HTMLAttributes<HTMLDivElement> {
5
5
  variant?: "default" | "light";
6
6
  icon?: IconsListProp;
7
7
  size?: "small" | "medium" | "large";
8
- text?: string;
8
+ text?: string | React.ReactNode;
9
9
  showButton?: boolean;
10
10
  buttonText?: string;
11
11
  buttonIcon?: IconsListProp;
@@ -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" | "calculator-currency-3" | "inn-1" | "money" | "down-ring" | "up-ring" | "card-heart" | "premium" | "flag" | "document" | "up" | "plus" | "go-left" | "select-open-down" | "search" | "checkmark-part" | "doc-new" | "tag-price-4" | "cube" | "chat-ask-raif" | "code-qr" | "crane-1" | "in-progress-ring" | "people-2" | "chart-bar-2" | "certificate" | "chart-line" | "rating" | "select-hide" | "refresh-repeat" | "clear-rec" | "shield-check" | "like" | "mobile-connecting" | "bundle-of-money" | "eye-opened" | "mountains" | "autoservice-3";
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" | "up" | "plus" | "go-left" | "select-open-down" | "search" | "checkmark-part" | "doc-new" | "tag-price-4" | "cube" | "chat-ask-raif" | "code-qr" | "crane-1" | "in-progress-ring" | "people-2" | "chart-bar-2" | "certificate" | "chart-line" | "rating" | "select-hide" | "refresh-repeat" | "clear-rec" | "shield-check" | "like" | "mobile-connecting" | "bundle-of-money" | "eye-opened" | "mountains" | "autoservice-3" | "payment-auto";
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;
@@ -81,5 +81,6 @@ declare const IconsList: {
81
81
  "eye-opened": string;
82
82
  mountains: string;
83
83
  "autoservice-3": string;
84
+ "payment-auto": string;
84
85
  };
85
86
  export default IconsList;
@@ -1,5 +1,6 @@
1
1
  import React, { HTMLAttributes } from "react";
2
2
  import { colors } from "../..";
3
+ import { IconsListProp } from "../Icon/Icon.types";
3
4
  export interface ImageCardProps extends HTMLAttributes<HTMLDivElement> {
4
5
  gap?: 0 | 2 | 4 | 8;
5
6
  title?: string;
@@ -14,6 +15,13 @@ export interface ImageCardProps extends HTMLAttributes<HTMLDivElement> {
14
15
  textFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
15
16
  width?: string;
16
17
  imgHeight?: string;
18
+ showButton?: boolean;
19
+ buttonLabel?: string;
20
+ buttonOnClick?: () => void;
21
+ contained?: boolean;
22
+ rigthIcon?: IconsListProp;
23
+ rightIconColor?: keyof typeof colors;
24
+ rightIconOnClick?: () => void;
17
25
  }
18
26
  declare const ImageCard: React.FC<ImageCardProps>;
19
27
  export default ImageCard;