rbro-tat-uds 1.1.7 → 1.2.1
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/Alert/Alert.d.ts +1 -1
- package/dist/components/Datepicker/Calendar.d.ts +8 -0
- package/dist/components/Datepicker/Datepicker.d.ts +14 -0
- package/dist/components/Datepicker/helpers_calendar.d.ts +44 -0
- package/dist/components/Datepicker/index.d.ts +1 -0
- package/dist/components/Dropdown/Dropdown.d.ts +19 -0
- package/dist/components/Dropdown/index.d.ts +1 -0
- package/dist/components/FormField/FormField.d.ts +1 -1
- package/dist/components/GraficPensii/GraficPensii.d.ts +13 -0
- package/dist/components/GraficPensii/index.d.ts +1 -0
- package/dist/components/Icon/Icon.types.d.ts +1 -1
- package/dist/components/Icon/IconsList.d.ts +9 -0
- package/dist/components/{ProductTeaserConfiguratieFlexicredit/ProductTeaserConfiguratieFlexicredit.d.ts → ProductTeaserConfiguratie4Parameters/ProductTeaserConfiguratie4Parameters.d.ts} +3 -3
- package/dist/components/ProductTeaserConfiguratie4Parameters/index.d.ts +1 -0
- package/dist/components/ProposalPensii/ProposalPensii.d.ts +23 -0
- package/dist/components/ProposalPensii/index.d.ts +1 -0
- package/dist/components/PropunereFlexicredit/PropunereFlexicredit.d.ts +2 -2
- package/dist/components/Radio/Radio.d.ts +11 -0
- package/dist/components/Radio/index.d.ts +1 -0
- package/dist/components/ShortcutCard/ShortcutCard.d.ts +8 -0
- package/dist/components/SidebarItem/SidebarItem.d.ts +1 -1
- package/dist/components/Slider/Slider.d.ts +3 -3
- package/dist/components/StepTab/StepTab.d.ts +1 -1
- package/dist/components/index.d.ts +6 -1
- package/dist/index.cjs.js +878 -278
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3166 -1587
- package/dist/index.es.js.map +1 -1
- package/dist/utils/colors.d.ts +17 -0
- package/package.json +2 -1
- package/dist/components/ProductTeaserConfiguratieFlexicredit/index.d.ts +0 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
2
2
|
import { IconsListProp } from "../Icon/Icon.types";
|
3
3
|
interface AlertProps extends HTMLAttributes<HTMLDivElement> {
|
4
|
-
intent?: "default" | "info" | "featured" | "success" | "danger";
|
4
|
+
intent?: "default" | "info" | "featured" | "success" | "danger" | "warning";
|
5
5
|
variant?: "default" | "light";
|
6
6
|
icon?: IconsListProp;
|
7
7
|
size?: "small" | "medium" | "large";
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
export interface CalendarProps extends HTMLAttributes<HTMLDivElement> {
|
3
|
+
date: Date;
|
4
|
+
onDateChanged?: (date: Date) => void;
|
5
|
+
setCalendarOpen?: (open: boolean) => void;
|
6
|
+
}
|
7
|
+
declare const Calendar: React.FC<CalendarProps>;
|
8
|
+
export default Calendar;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import React, { Dispatch, HTMLAttributes, SetStateAction } from "react";
|
2
|
+
export interface DatepickerProps extends HTMLAttributes<HTMLDivElement> {
|
3
|
+
id?: string;
|
4
|
+
name?: string;
|
5
|
+
placeholder?: string;
|
6
|
+
type?: "date" | "type1" | "type2";
|
7
|
+
value: Date | null | string | number | readonly string[] | undefined;
|
8
|
+
setValue: Dispatch<SetStateAction<Date | null>> | ((date: Date | null) => void);
|
9
|
+
size?: "medium" | "large";
|
10
|
+
intent?: "default" | "danger";
|
11
|
+
disabled?: boolean;
|
12
|
+
}
|
13
|
+
declare const Datepicker: React.FC<DatepickerProps>;
|
14
|
+
export default Datepicker;
|
@@ -0,0 +1,44 @@
|
|
1
|
+
export declare const THIS_YEAR: number;
|
2
|
+
export declare const THIS_MONTH: number;
|
3
|
+
export declare const WEEK_DAYS: {
|
4
|
+
Monday: string;
|
5
|
+
Tuesday: string;
|
6
|
+
Wednesday: string;
|
7
|
+
Thursday: string;
|
8
|
+
Friday: string;
|
9
|
+
Saturday: string;
|
10
|
+
Sunday: string;
|
11
|
+
};
|
12
|
+
export declare const CALENDAR_MONTHS: {
|
13
|
+
January: string;
|
14
|
+
February: string;
|
15
|
+
March: string;
|
16
|
+
April: string;
|
17
|
+
May: string;
|
18
|
+
June: string;
|
19
|
+
July: string;
|
20
|
+
August: string;
|
21
|
+
September: string;
|
22
|
+
October: string;
|
23
|
+
November: string;
|
24
|
+
December: string;
|
25
|
+
};
|
26
|
+
export declare const CALENDAR_WEEKS = 6;
|
27
|
+
export declare const CALENDAR_YEARS = 6;
|
28
|
+
export declare const zeroPad: (value: number, length: number) => string;
|
29
|
+
export declare const getMonthDays: (month?: number, year?: number) => 29 | 28 | 30 | 31;
|
30
|
+
export declare const getMonthFirstDay: (month?: number, year?: number) => number;
|
31
|
+
export declare const isDate: (date: Date) => boolean;
|
32
|
+
export declare const isSameMonth: (date: Date, basedate?: Date) => boolean;
|
33
|
+
export declare const isSameDay: (date: Date, basedate?: Date) => boolean;
|
34
|
+
export declare const getDateISO: (date?: Date) => string | null;
|
35
|
+
export declare const getPreviousMonth: (month: number, year: number) => {
|
36
|
+
month: number;
|
37
|
+
year: number;
|
38
|
+
};
|
39
|
+
export declare const getNextMonth: (month: number, year: number) => {
|
40
|
+
month: number;
|
41
|
+
year: number;
|
42
|
+
};
|
43
|
+
declare const _default: (month?: number, year?: number) => (string | number)[][];
|
44
|
+
export default _default;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Datepicker } from './Datepicker';
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
export interface DropdownProps extends HTMLAttributes<HTMLDivElement> {
|
3
|
+
id?: string;
|
4
|
+
name?: string;
|
5
|
+
placeholder?: string;
|
6
|
+
value: string;
|
7
|
+
setValue: (value: string) => void;
|
8
|
+
size?: "medium" | "large";
|
9
|
+
intent?: "default" | "danger";
|
10
|
+
disabled?: boolean;
|
11
|
+
searchInput?: boolean;
|
12
|
+
maxHeight?: string;
|
13
|
+
data: {
|
14
|
+
label: string;
|
15
|
+
value: string;
|
16
|
+
}[];
|
17
|
+
}
|
18
|
+
declare const Dropdown: React.FC<DropdownProps>;
|
19
|
+
export default Dropdown;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Dropdown } from "./Dropdown";
|
@@ -7,7 +7,7 @@ export interface FormFieldProps extends HTMLAttributes<HTMLDivElement> {
|
|
7
7
|
showHelpButton?: boolean;
|
8
8
|
leftHelperText?: string;
|
9
9
|
rightHelperText?: string;
|
10
|
-
helperIntent?: "info" | "success" | "danger";
|
10
|
+
helperIntent?: "info" | "success" | "danger" | "warning";
|
11
11
|
labelFor?: string;
|
12
12
|
helpButtonOnClick?(): void;
|
13
13
|
rightText?: string;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from "react";
|
2
|
+
type GraficPensiiProps = {
|
3
|
+
max?: number;
|
4
|
+
limit_min?: number;
|
5
|
+
limit_max?: number;
|
6
|
+
value?: number;
|
7
|
+
currency?: string;
|
8
|
+
label_top?: string;
|
9
|
+
label_limit_min?: string;
|
10
|
+
label_limit_max?: string;
|
11
|
+
};
|
12
|
+
declare const GraficPensii: React.FC<GraficPensiiProps>;
|
13
|
+
export default GraficPensii;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as GraficPensii } from "./GraficPensii";
|
@@ -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";
|
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";
|
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;
|
@@ -6,6 +6,7 @@ declare const IconsList: {
|
|
6
6
|
"doc-sent": string;
|
7
7
|
exit: string;
|
8
8
|
"go-right": string;
|
9
|
+
"go-left": string;
|
9
10
|
hint: string;
|
10
11
|
home: string;
|
11
12
|
info_filled: string;
|
@@ -31,6 +32,7 @@ declare const IconsList: {
|
|
31
32
|
"man-outlined": string;
|
32
33
|
"retry-1": string;
|
33
34
|
"doc-error": string;
|
35
|
+
"doc-new": string;
|
34
36
|
"clear-ring": string;
|
35
37
|
"clear-ring-filled": string;
|
36
38
|
"clear-ring-outlined": string;
|
@@ -55,5 +57,12 @@ declare const IconsList: {
|
|
55
57
|
document: string;
|
56
58
|
up: string;
|
57
59
|
plus: string;
|
60
|
+
"select-open-down": string;
|
61
|
+
search: string;
|
62
|
+
"checkmark-part": string;
|
63
|
+
"tag-price-4": string;
|
64
|
+
cube: string;
|
65
|
+
"chat-ask-raif": string;
|
66
|
+
"code-qr": string;
|
58
67
|
};
|
59
68
|
export default IconsList;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
2
2
|
import { IconsListProp } from "../Icon/Icon.types";
|
3
|
-
interface
|
3
|
+
interface ProductTeaserConfiguratie4ParametersProps extends HTMLAttributes<HTMLDivElement> {
|
4
4
|
sumaNecesara?: string;
|
5
5
|
perioada?: string;
|
6
6
|
rataOrientativa?: string;
|
@@ -9,5 +9,5 @@ interface ProductTeaserConfiguratieFlexicreditProps extends HTMLAttributes<HTMLD
|
|
9
9
|
disabledText?: string;
|
10
10
|
disabledIcon?: IconsListProp;
|
11
11
|
}
|
12
|
-
declare const
|
13
|
-
export default
|
12
|
+
declare const ProductTeaserConfiguratie4Parameters: React.FC<ProductTeaserConfiguratie4ParametersProps>;
|
13
|
+
export default ProductTeaserConfiguratie4Parameters;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as ProductTeaserConfiguratie4Parameters } from "./ProductTeaserConfiguratie4Parameters";
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
interface ProposalPensiiProps extends HTMLAttributes<HTMLDivElement> {
|
3
|
+
title?: string;
|
4
|
+
venit?: string;
|
5
|
+
contributie?: string;
|
6
|
+
perioada_acumulare?: string;
|
7
|
+
perioada_incasare?: string;
|
8
|
+
selected?: boolean;
|
9
|
+
refused?: boolean;
|
10
|
+
disabled?: boolean;
|
11
|
+
hideButton?: boolean;
|
12
|
+
empty?: boolean;
|
13
|
+
emptyText?: string;
|
14
|
+
iconButtonOnClick?: () => void;
|
15
|
+
buttonOnClick?: () => void;
|
16
|
+
}
|
17
|
+
type ContentSlotProps = {
|
18
|
+
children: React.ReactNode;
|
19
|
+
};
|
20
|
+
declare const ProposalPensii: React.FC<ProposalPensiiProps> & {
|
21
|
+
ContentSlot: React.FC<ContentSlotProps>;
|
22
|
+
};
|
23
|
+
export default ProposalPensii;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as ProposalPensii } from "./ProposalPensii";
|
@@ -5,8 +5,8 @@ interface PropunereFlexicreditProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
rata?: string;
|
6
6
|
perioada?: string;
|
7
7
|
refinantare?: string;
|
8
|
-
|
9
|
-
|
8
|
+
empty?: boolean;
|
9
|
+
emptyText?: string;
|
10
10
|
buttonOnClick?: () => void;
|
11
11
|
children?: React.ReactNode;
|
12
12
|
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import React from "react";
|
2
|
+
export interface RadioProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
3
|
+
size?: "small" | "medium" | "large";
|
4
|
+
name?: string;
|
5
|
+
checked?: boolean;
|
6
|
+
disabled?: boolean;
|
7
|
+
id?: string;
|
8
|
+
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
9
|
+
}
|
10
|
+
declare const Radio: React.FC<RadioProps>;
|
11
|
+
export default Radio;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default as Radio } from './Radio';
|
@@ -1,9 +1,17 @@
|
|
1
1
|
import React, { HTMLAttributes } from "react";
|
2
|
+
import { IconsListProp } from "../Icon/Icon.types";
|
2
3
|
export interface ShortcutCardProps extends HTMLAttributes<HTMLDivElement> {
|
4
|
+
filled?: boolean;
|
3
5
|
title?: string;
|
6
|
+
titleFontSize?: 16 | 20;
|
7
|
+
titleFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
|
4
8
|
text?: string;
|
9
|
+
textFontSize?: 14 | 16;
|
10
|
+
textFontWeight?: 200 | 300 | 400 | 500 | 700 | 800;
|
11
|
+
icon?: IconsListProp;
|
5
12
|
buttonVariant?: "primary" | "secondary" | "secondaryOutlined" | "tertiary";
|
6
13
|
buttonLabel?: string;
|
14
|
+
buttonGrow?: boolean;
|
7
15
|
disabled?: boolean;
|
8
16
|
buttonOnClick?(): void;
|
9
17
|
}
|
@@ -5,7 +5,7 @@ export interface SidebarItemProps extends React.ButtonHTMLAttributes<HTMLButtonE
|
|
5
5
|
icon: IconsListProp;
|
6
6
|
disabled?: boolean;
|
7
7
|
selected?: boolean;
|
8
|
-
onClick
|
8
|
+
onClick?: () => void;
|
9
9
|
}
|
10
10
|
declare const SidebarItem: React.FC<SidebarItemProps>;
|
11
11
|
export default SidebarItem;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import React, {
|
2
|
-
export interface SliderProps extends
|
1
|
+
import React, { HTMLAttributes } from "react";
|
2
|
+
export interface SliderProps extends HTMLAttributes<HTMLDivElement> {
|
3
3
|
id?: string;
|
4
4
|
name?: string;
|
5
5
|
value?: number;
|
6
|
-
setValue
|
6
|
+
setValue?: (newValue: number) => void;
|
7
7
|
min?: number;
|
8
8
|
max?: number;
|
9
9
|
showSteppers?: boolean;
|
@@ -2,7 +2,7 @@ import React from "react";
|
|
2
2
|
interface StepTabProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
3
3
|
intent?: "tabs" | "subtabs";
|
4
4
|
selected?: boolean;
|
5
|
-
variant?: "default" | "blue" | "purple" | "magenta" | "yellow";
|
5
|
+
variant?: "default" | "blue" | "purple" | "magenta" | "yellow" | "danger";
|
6
6
|
label?: string;
|
7
7
|
stepText?: string;
|
8
8
|
}
|
@@ -35,9 +35,14 @@ export * from "./StepTab";
|
|
35
35
|
export * from "./ProductTeaserStep";
|
36
36
|
export * from "./ProductTeaserButton";
|
37
37
|
export * from "./ProductTeaser";
|
38
|
-
export * from "./
|
38
|
+
export * from "./ProductTeaserConfiguratie4Parameters";
|
39
39
|
export * from "./ProductTeaserPropunere2Parameters";
|
40
40
|
export * from "./Modal";
|
41
41
|
export * from "./ImageCard";
|
42
42
|
export * from "./IconCard";
|
43
43
|
export * from "./Alert";
|
44
|
+
export * from "./Datepicker";
|
45
|
+
export * from "./Dropdown";
|
46
|
+
export * from "./ProposalPensii";
|
47
|
+
export * from "./GraficPensii";
|
48
|
+
export * from "./Radio";
|