rbro-tat-uds 1.3.3 → 1.4.0

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.
Files changed (57) hide show
  1. package/dist/components/Alert/Alert.d.ts +1 -1
  2. package/dist/components/Bar/Bar.d.ts +1 -1
  3. package/dist/components/Container/Container.d.ts +1 -1
  4. package/dist/components/Divider/Divider.d.ts +1 -1
  5. package/dist/components/Flex/Flex.d.ts +1 -1
  6. package/dist/components/FormField/FormField.d.ts +1 -1
  7. package/dist/components/Icon/Icon.types.d.ts +1 -1
  8. package/dist/components/Icon/IconsList.d.ts +0 -13
  9. package/dist/components/IconCard/IconCard.d.ts +1 -1
  10. package/dist/components/ImageCard/ImageCard.d.ts +1 -1
  11. package/dist/components/LabeledText/LabeledText.d.ts +1 -1
  12. package/dist/components/Layout/Layout.d.ts +1 -1
  13. package/dist/components/ProductTeaser/ProductTeaser.d.ts +1 -1
  14. package/dist/components/ProductTeaserButton/ProductTeaserButton.d.ts +1 -1
  15. package/dist/components/ProductTeaserConfiguratieFlexicredit/ProductTeaserConfiguratieFlexicredit.d.ts +13 -0
  16. package/dist/components/ProductTeaserConfiguratieFlexicredit/index.d.ts +1 -0
  17. package/dist/components/ProductTeaserStep/ProductTeaserStep.d.ts +1 -1
  18. package/dist/components/PropunereFlexicredit/PropunereFlexicredit.d.ts +4 -7
  19. package/dist/components/ShortcutCard/ShortcutCard.d.ts +1 -9
  20. package/dist/components/SidebarItem/SidebarItem.d.ts +1 -1
  21. package/dist/components/Slider/Slider.d.ts +3 -4
  22. package/dist/components/StepTab/StepTab.d.ts +1 -1
  23. package/dist/components/index.d.ts +1 -12
  24. package/dist/index.cjs.js +462 -1653
  25. package/dist/index.cjs.js.map +1 -1
  26. package/dist/index.d.ts +1 -1
  27. package/dist/index.es.js +2294 -7429
  28. package/dist/index.es.js.map +1 -1
  29. package/dist/utils/colors.d.ts +2 -18
  30. package/dist/utils/index.d.ts +1 -1
  31. package/package.json +1 -1
  32. package/dist/components/DashboardSmallShortcut/DashboardSmallShortcut.d.ts +0 -7
  33. package/dist/components/DashboardSmallShortcut/index.d.ts +0 -1
  34. package/dist/components/Datepicker/Calendar.d.ts +0 -8
  35. package/dist/components/Datepicker/Datepicker.d.ts +0 -14
  36. package/dist/components/Datepicker/helpers_calendar.d.ts +0 -44
  37. package/dist/components/Datepicker/index.d.ts +0 -1
  38. package/dist/components/Dropdown/Dropdown.d.ts +0 -19
  39. package/dist/components/Dropdown/index.d.ts +0 -1
  40. package/dist/components/GraficPensii/GraficPensii.d.ts +0 -13
  41. package/dist/components/GraficPensii/index.d.ts +0 -1
  42. package/dist/components/GraficPlanInvestitii/GraficPlanInvestitii.d.ts +0 -12
  43. package/dist/components/GraficPlanInvestitii/index.d.ts +0 -1
  44. package/dist/components/InvestmentFundItem/InvestmentFundItem.d.ts +0 -12
  45. package/dist/components/InvestmentFundItem/index.d.ts +0 -1
  46. package/dist/components/Pill/Pill.d.ts +0 -9
  47. package/dist/components/Pill/index.d.ts +0 -1
  48. package/dist/components/ProductTeaserConfiguratie4Parameters/ProductTeaserConfiguratie4Parameters.d.ts +0 -17
  49. package/dist/components/ProductTeaserConfiguratie4Parameters/index.d.ts +0 -1
  50. package/dist/components/ProposalPensii/ProposalPensii.d.ts +0 -23
  51. package/dist/components/ProposalPensii/index.d.ts +0 -1
  52. package/dist/components/PropunerePlanInvestitii/PropunerePlanInvestitii.d.ts +0 -20
  53. package/dist/components/PropunerePlanInvestitii/index.d.ts +0 -1
  54. package/dist/components/Radio/Radio.d.ts +0 -11
  55. package/dist/components/Radio/index.d.ts +0 -1
  56. package/dist/components/SelectionPill/SelectionPill.d.ts +0 -12
  57. package/dist/components/SelectionPill/index.d.ts +0 -1
@@ -1,4 +1,4 @@
1
- export declare const colors: {
1
+ declare const colors: {
2
2
  gray_30: string;
3
3
  gray_60: string;
4
4
  gray_100: string;
@@ -32,33 +32,16 @@ export declare const colors: {
32
32
  info_300: string;
33
33
  info_400: string;
34
34
  info_500: string;
35
- info_500_40: string;
36
35
  info_600: string;
37
36
  info_700: string;
38
37
  info_700_40: string;
39
38
  info_800: string;
40
- success_50: string;
41
39
  success_100: string;
42
- success_200: string;
43
- success_300: string;
44
- success_400: string;
45
- success_500: string;
46
40
  success_600: string;
47
- success_700: string;
48
41
  success_800: string;
49
- success_900: string;
50
- success_950: string;
51
- warning_50: string;
52
42
  warning_100: string;
53
- warning_200: string;
54
- warning_300: string;
55
- warning_400: string;
56
43
  warning_500: string;
57
- warning_600: string;
58
44
  warning_700: string;
59
- warning_800: string;
60
- warning_900: string;
61
- warning_950: string;
62
45
  danger_100: string;
63
46
  danger_200: string;
64
47
  danger_250: string;
@@ -84,3 +67,4 @@ export declare const colors: {
84
67
  white: string;
85
68
  black: string;
86
69
  };
70
+ export default colors;
@@ -1 +1 @@
1
- export * from "./colors";
1
+ export { default as colors } from "./colors.ts";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rbro-tat-uds",
3
- "version": "1.3.3",
3
+ "version": "1.4.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -1,7 +0,0 @@
1
- import React, { HTMLAttributes } from "react";
2
- interface DashboardSmallShortcutProps extends HTMLAttributes<HTMLButtonElement> {
3
- intent?: "PlanFinanciar" | "PacheteContCurent";
4
- buttonOnClick?: () => void;
5
- }
6
- declare const DashboardSmallShortcut: React.FC<DashboardSmallShortcutProps>;
7
- export default DashboardSmallShortcut;
@@ -1 +0,0 @@
1
- export { default as DashboardSmallShortcut } from "./DashboardSmallShortcut";
@@ -1,8 +0,0 @@
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;
@@ -1,14 +0,0 @@
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;
@@ -1,44 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as Datepicker } from './Datepicker';
@@ -1,19 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as Dropdown } from "./Dropdown";
@@ -1,13 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as GraficPensii } from "./GraficPensii";
@@ -1,12 +0,0 @@
1
- import React, { HTMLAttributes, ReactSVGElement } from "react";
2
- interface GraficPlanInvestitiiProps extends HTMLAttributes<ReactSVGElement> {
3
- boundary_text?: string;
4
- boundary_value?: number;
5
- perioada_text?: string;
6
- favorabil_text?: string;
7
- moderat_text?: string;
8
- nefavorabil_text?: string;
9
- criza_text?: string;
10
- }
11
- declare const GraficPlanInvestitii: React.FC<GraficPlanInvestitiiProps>;
12
- export default GraficPlanInvestitii;
@@ -1 +0,0 @@
1
- export { default as GraficPlanInvestitii } from './GraficPlanInvestitii';
@@ -1,12 +0,0 @@
1
- import React, { HTMLAttributes } from "react";
2
- interface InvestmentFundItemProps extends HTMLAttributes<HTMLDivElement> {
3
- title?: string;
4
- currency?: "RON" | "EUR" | "USD";
5
- scenariuText?: string;
6
- recomandatText?: string;
7
- riscLevel?: 1 | 2 | 3 | 4 | 5 | 6 | 7;
8
- selected?: boolean;
9
- buttonOnClick?: () => void;
10
- }
11
- declare const InvestmentFundItem: React.FC<InvestmentFundItemProps>;
12
- export default InvestmentFundItem;
@@ -1 +0,0 @@
1
- export { default as InvestmentFundItem } from './InvestmentFundItem';
@@ -1,9 +0,0 @@
1
- import React, { HTMLAttributes } from "react";
2
- interface PillProps extends HTMLAttributes<HTMLDivElement> {
3
- intent?: "default" | "info" | "featured" | "success" | "danger" | "warning";
4
- variant?: "light" | "default";
5
- size?: "small" | "medium";
6
- text?: string;
7
- }
8
- declare const Pill: React.FC<PillProps>;
9
- export default Pill;
@@ -1 +0,0 @@
1
- export { default as Pill } from './Pill';
@@ -1,17 +0,0 @@
1
- import React, { HTMLAttributes } from "react";
2
- import { IconsListProp } from "../Icon/Icon.types";
3
- interface ProductTeaserConfiguratie4ParametersProps extends HTMLAttributes<HTMLDivElement> {
4
- sumaNecesara?: string;
5
- perioada?: string;
6
- rataOrientativa?: string;
7
- asigurare?: string;
8
- title?: string;
9
- selected?: boolean;
10
- disabled?: boolean;
11
- message?: boolean;
12
- messageText?: string;
13
- messageIcon?: IconsListProp;
14
- buttonOnClick?: () => void;
15
- }
16
- declare const ProductTeaserConfiguratie4Parameters: React.FC<ProductTeaserConfiguratie4ParametersProps>;
17
- export default ProductTeaserConfiguratie4Parameters;
@@ -1 +0,0 @@
1
- export { default as ProductTeaserConfiguratie4Parameters } from "./ProductTeaserConfiguratie4Parameters";
@@ -1,23 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as ProposalPensii } from "./ProposalPensii";
@@ -1,20 +0,0 @@
1
- import React, { HTMLAttributes } from "react";
2
- interface PropunuerePlanInvestitiiProps extends HTMLAttributes<HTMLDivElement> {
3
- title?: string;
4
- fond?: string;
5
- moneda?: string;
6
- perioada?: string;
7
- sumaLunara?: string;
8
- scenariuCriza?: string;
9
- empty?: boolean;
10
- emptyText?: string;
11
- buttonOnClick?: () => void;
12
- children?: React.ReactNode;
13
- }
14
- type ContentSlotProps = {
15
- children: React.ReactNode;
16
- };
17
- declare const PropunuerePlanInvestitii: React.FC<PropunuerePlanInvestitiiProps> & {
18
- ContentSlot: React.FC<ContentSlotProps>;
19
- };
20
- export default PropunuerePlanInvestitii;
@@ -1 +0,0 @@
1
- export { default as PropunerePlanInvestitii } from './PropunerePlanInvestitii';
@@ -1,11 +0,0 @@
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;
@@ -1 +0,0 @@
1
- export { default as Radio } from './Radio';
@@ -1,12 +0,0 @@
1
- import React from "react";
2
- interface SelectionPillProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
- name?: string;
4
- id?: string;
5
- checked?: boolean;
6
- label?: string;
7
- disabled?: boolean;
8
- onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
9
- value?: string | number;
10
- }
11
- declare const SelectionPill: React.FC<SelectionPillProps>;
12
- export default SelectionPill;
@@ -1 +0,0 @@
1
- export { default as SelectionPill } from './SelectionPill';