rbro-tat-uds 1.5.61 → 1.5.63
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/components/Icon/Icon.types.d.ts +1 -1
- package/dist/components/Icon/IconsList.d.ts +12 -0
- package/dist/components/Illustration/Illustration.d.ts +9 -0
- package/dist/components/Illustration/Illustrations.d.ts +10 -0
- package/dist/components/Illustration/index.d.ts +1 -0
- package/dist/components/LabeledTextInLine/LabeledTextInLine.d.ts +20 -0
- package/dist/components/LabeledTextInLine/index.d.ts +1 -0
- package/dist/components/OfferCard/OfferCard.d.ts +23 -0
- package/dist/components/OfferCard/index.d.ts +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/index.cjs.js +1363 -1185
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5219 -4906
- package/dist/index.es.js.map +1 -1
- package/package.json +4 -1
@@ -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" | "payment-auto" | "warning-tr" | "safe" | "lightining" | "credit-cash" | "atm-cards-1" | "card-credit" | "exchange-1" | "cards" | "airplane" | "calculator-currency-2" | "shield" | "menu-up" | "menu-down" | "office-supplies" | "city" | "edit" | "grocery-2" | "other-goods" | "credit-consumer" | "acc-special" | "world" | "atm-cash-1" | "grocery-1" | "hand-cash-1" | "chat-raif" | "insurance-1" | "doc-sign-and-send" | "currency-transfer" | "in-progress" | "calculator" | "card-get" | "phone" | "mail-in" | "to-people" | "cancel" | "eye-closed";
|
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" | "warning-tr" | "safe" | "lightining" | "credit-cash" | "atm-cards-1" | "card-credit" | "exchange-1" | "cards" | "airplane" | "calculator-currency-2" | "shield" | "menu-up" | "menu-down" | "office-supplies" | "city" | "edit" | "grocery-2" | "other-goods" | "credit-consumer" | "acc-special" | "world" | "atm-cash-1" | "grocery-1" | "hand-cash-1" | "chat-raif" | "insurance-1" | "doc-sign-and-send" | "currency-transfer" | "in-progress" | "calculator" | "card-get" | "phone" | "mail-in" | "to-people" | "cancel" | "eye-closed" | "ideas-raiting" | "star-person-1" | "history" | "history-partial" | "mobile-send-money" | "cash-transactions" | "heart-outlined" | "task-done" | "purchases" | "card-raif" | "credit-pay-part" | "credit-pay-full";
|
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;
|
@@ -118,5 +118,17 @@ declare const IconsList: {
|
|
118
118
|
"to-people": string;
|
119
119
|
cancel: string;
|
120
120
|
"eye-closed": string;
|
121
|
+
"ideas-raiting": string;
|
122
|
+
"star-person-1": string;
|
123
|
+
history: string;
|
124
|
+
"history-partial": string;
|
125
|
+
"mobile-send-money": string;
|
126
|
+
"cash-transactions": string;
|
127
|
+
"heart-outlined": string;
|
128
|
+
"task-done": string;
|
129
|
+
purchases: string;
|
130
|
+
"card-raif": string;
|
131
|
+
"credit-pay-part": string;
|
132
|
+
"credit-pay-full": string;
|
121
133
|
};
|
122
134
|
export default IconsList;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { default as React } from 'react';
|
2
|
+
import { illustrations } from './Illustrations';
|
3
|
+
type IllustrationProps = Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
|
4
|
+
illustration: keyof typeof illustrations;
|
5
|
+
width?: string | number;
|
6
|
+
height?: string | number;
|
7
|
+
};
|
8
|
+
declare const Illustration: React.FC<IllustrationProps>;
|
9
|
+
export default Illustration;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export declare const illustrations: {
|
2
|
+
"m-investing-money": string;
|
3
|
+
"m-loan-payment": string;
|
4
|
+
"m-loan-with-a-fixed-interest-rate": string;
|
5
|
+
"m-money-in-motion": string;
|
6
|
+
"m-money-is-safe": string;
|
7
|
+
"m-money-to-the-account": string;
|
8
|
+
"m-no-fees": string;
|
9
|
+
"m-quick-money": string;
|
10
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Illustration } from './Illustration';
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { default as React, HTMLAttributes } from 'react';
|
2
|
+
import { IconsListProp } from '../Icon/Icon.types';
|
3
|
+
import { colors } from '../../utils';
|
4
|
+
interface LabeledTextInLineProps extends HTMLAttributes<HTMLDivElement> {
|
5
|
+
icon?: IconsListProp | null | false;
|
6
|
+
iconColor?: keyof typeof colors;
|
7
|
+
iconSize?: 8 | 12 | 16 | 18 | 20 | 24 | 32 | 40;
|
8
|
+
leftGap?: 0 | 4 | 8 | 12 | 16;
|
9
|
+
rightGap?: 0 | 4 | 8 | 12 | 16;
|
10
|
+
label?: string;
|
11
|
+
text?: string;
|
12
|
+
labelFontSize?: 12 | 14 | 16 | 18 | 20 | 24;
|
13
|
+
labelFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
|
14
|
+
labelColor?: keyof typeof colors;
|
15
|
+
textFontSize?: 12 | 14 | 16 | 18 | 20 | 24;
|
16
|
+
textFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
|
17
|
+
textColor?: keyof typeof colors;
|
18
|
+
}
|
19
|
+
declare const LabeledTextInLine: React.FC<LabeledTextInLineProps>;
|
20
|
+
export default LabeledTextInLine;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as LabeledTextInLine } from './LabeledTextInLine';
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
2
|
+
export interface OfferCardProps extends HTMLAttributes<HTMLDivElement> {
|
3
|
+
title?: string;
|
4
|
+
productName?: string;
|
5
|
+
text?: string;
|
6
|
+
rating?: boolean;
|
7
|
+
ratingRate?: string;
|
8
|
+
ratingColor?: "gray_950" | "success_600" | "warning_600" | "danger_600";
|
9
|
+
benefit?: boolean;
|
10
|
+
benefitTitle?: string;
|
11
|
+
benefitLabel?: string;
|
12
|
+
benefitColor?: "white" | "accent_600";
|
13
|
+
titleFontSize?: 14 | 16 | 18 | 20 | 24;
|
14
|
+
titleFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
|
15
|
+
textFontSize?: 14 | 16 | 18 | 20 | 24;
|
16
|
+
textFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
|
17
|
+
width?: string;
|
18
|
+
disabled?: boolean;
|
19
|
+
img?: string;
|
20
|
+
onClick?: (e: React.MouseEvent<HTMLDivElement>) => void;
|
21
|
+
}
|
22
|
+
declare const OfferCard: React.FC<OfferCardProps>;
|
23
|
+
export default OfferCard;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as OfferCard } from './OfferCard';
|