@esic-lab/data-core-ui 0.0.63 → 0.0.65

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/index.d.ts CHANGED
@@ -19,8 +19,9 @@ interface PrimaryButtonProps {
19
19
  colorPrimary?: string;
20
20
  colorPrimaryHover?: string;
21
21
  textColor?: string;
22
+ className?: string;
22
23
  }
23
- declare function PrimaryButton({ title, onClick, disabled, iconPlacement, size, colorPrimary, colorPrimaryHover, textColor, icon, }: PrimaryButtonProps): react_jsx_runtime.JSX.Element;
24
+ declare function PrimaryButton({ title, onClick, disabled, iconPlacement, size, colorPrimary, colorPrimaryHover, textColor, icon, className, }: PrimaryButtonProps): react_jsx_runtime.JSX.Element;
24
25
 
25
26
  interface SecondaryButtonProps {
26
27
  title: string;
@@ -33,8 +34,9 @@ interface SecondaryButtonProps {
33
34
  defaultHoverBorderColor?: string;
34
35
  defaultHoverColor?: string;
35
36
  textColor?: string;
37
+ className?: string;
36
38
  }
37
- declare function SecondaryButton({ title, onClick, disabled, iconPlacement, size, colorBgContainer, defaultHoverBorderColor, defaultHoverColor, textColor, icon, }: SecondaryButtonProps): react_jsx_runtime.JSX.Element;
39
+ declare function SecondaryButton({ title, onClick, disabled, iconPlacement, size, colorBgContainer, defaultHoverBorderColor, defaultHoverColor, textColor, icon, className, }: SecondaryButtonProps): react_jsx_runtime.JSX.Element;
38
40
 
39
41
  interface GhostButtonProps {
40
42
  title: string;
@@ -66,8 +68,9 @@ interface TertiaryButtonProps {
66
68
  colorPrimary?: string;
67
69
  colorPrimaryHover?: string;
68
70
  textColor?: string;
71
+ className?: string;
69
72
  }
70
- declare function TertiaryButton({ title, onClick, disabled, iconPlacement, size, colorPrimary, colorPrimaryHover, textColor, icon, }: TertiaryButtonProps): react_jsx_runtime.JSX.Element;
73
+ declare function TertiaryButton({ title, onClick, disabled, iconPlacement, size, colorPrimary, colorPrimaryHover, textColor, icon, className, }: TertiaryButtonProps): react_jsx_runtime.JSX.Element;
71
74
 
72
75
  interface LoaderProps {
73
76
  size?: number;
@@ -271,8 +274,11 @@ interface InputFieldNumberProps {
271
274
  changeOnWheel?: boolean;
272
275
  formatter?: InputNumberProps["formatter"];
273
276
  parser?: InputNumberProps["parser"];
277
+ decimal?: boolean;
278
+ decimalScale?: number;
279
+ format?: "number" | "currency";
274
280
  }
275
- declare function InputFieldNumber({ value, onChange, placeholder, label, required, disabled, error, addonBefore, addonAfter, defaultValue, className, max, min, controls, size, changeOnWheel, formatter, parser, }: InputFieldNumberProps): react_jsx_runtime.JSX.Element;
281
+ declare function InputFieldNumber({ value, onChange, placeholder, label, required, disabled, error, addonBefore, addonAfter, defaultValue, className, max, min, controls, size, changeOnWheel, formatter, parser, decimal, decimalScale, format, }: InputFieldNumberProps): react_jsx_runtime.JSX.Element;
276
282
 
277
283
  interface DatePickerBasicProps {
278
284
  value: Date | null;
@@ -555,7 +561,7 @@ interface IndicatorProps {
555
561
  value: string;
556
562
  label: string;
557
563
  }[];
558
- type: "OUTPUT" | "OUTCOME";
564
+ type: "OUTPUT" | "OUTCOME" | "TARGET";
559
565
  arrayData: IndicatorArray[];
560
566
  canEdit?: boolean;
561
567
  setArrayData: (data: IndicatorArray[]) => void;
@@ -566,7 +572,7 @@ interface IndicatorProps {
566
572
  }) => void;
567
573
  }
568
574
  interface IndicatorArray {
569
- indicatorType: "OUTPUT" | "OUTCOME";
575
+ indicatorType: "OUTPUT" | "OUTCOME" | "TARGET";
570
576
  inputType: "TEXT" | "NUMBER";
571
577
  textValue: string;
572
578
  numberValue?: number;
@@ -656,12 +662,12 @@ interface GanttElement {
656
662
  startDate?: Date;
657
663
  endDate: Date;
658
664
  color: string;
659
- status: 'pending' | 'in-progress' | 'completed';
665
+ status: "IN_PROGRESS" | "COMPLETE" | "CANCEL" | "SUCCESS" | "DELAY";
660
666
  }
661
667
  interface GanttChartProps {
662
668
  data: GanttElement[];
663
669
  width: number;
664
- height: number;
670
+ mode: "project" | "task";
665
671
  }
666
672
  declare const GanttChart: react.FC<GanttChartProps>;
667
673