rbro-tat-uds 1.0.21 → 1.0.23

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.
@@ -3,6 +3,7 @@ export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputE
3
3
  size?: "small" | "medium" | "large";
4
4
  onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
5
5
  checked?: boolean;
6
+ name?: string;
6
7
  id?: string;
7
8
  }
8
9
  declare const Checkbox: React.FC<CheckboxProps>;
@@ -10,6 +10,8 @@ export interface FormFieldProps extends HTMLAttributes<HTMLDivElement> {
10
10
  helperIntent?: "info" | "success" | "danger";
11
11
  labelFor?: string;
12
12
  helpButtonOnClick?(): void;
13
+ rightText?: string;
14
+ showLeftHelperIcon?: boolean;
13
15
  }
14
16
  declare const FormField: React.FC<FormFieldProps>;
15
17
  export default FormField;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- export type IconsListProp = "empty" | "enter" | "home" | "go-right" | "spinner" | "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";
2
+ export type IconsListProp = "empty" | "enter" | "home" | "go-right" | "spinner" | "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";
3
3
  export type IconProps = Omit<React.SVGProps<SVGSVGElement>, "ref"> & {
4
4
  icon: IconsListProp;
5
5
  size?: 8 | 12 | 14 | 16 | 20 | 24 | 32 | 40;
@@ -16,5 +16,7 @@ declare const IconsList: {
16
16
  "satellite-2": string;
17
17
  warning_filled: string;
18
18
  "warning-tr-filled": string;
19
+ minus: string;
20
+ add: string;
19
21
  };
20
22
  export default IconsList;
@@ -0,0 +1,14 @@
1
+ import React, { InputHTMLAttributes } from "react";
2
+ export interface SliderProps extends InputHTMLAttributes<HTMLInputElement> {
3
+ id?: string;
4
+ name?: string;
5
+ value?: number;
6
+ setValue?: (newValue: number) => void;
7
+ min?: number;
8
+ max?: number;
9
+ showSteppers?: boolean;
10
+ stepSize?: number;
11
+ disabled?: boolean;
12
+ }
13
+ declare const Slider: React.FC<SliderProps>;
14
+ export default Slider;
@@ -0,0 +1 @@
1
+ export { default as Slider } from './Slider';
@@ -2,9 +2,10 @@ import React, { InputHTMLAttributes } from "react";
2
2
  import IconsList from "../Icon/IconsList";
3
3
  export interface TextInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, "size"> {
4
4
  id?: string;
5
- type?: "text" | "email" | "password";
5
+ type?: "text" | "email" | "password" | "number";
6
+ name?: string;
6
7
  placeholder?: string;
7
- value?: string;
8
+ value?: string | number;
8
9
  setValue?: (newValue: string) => void;
9
10
  size?: "medium" | "large";
10
11
  intent?: "default" | "danger" | "success";
@@ -24,3 +24,4 @@ export * from "./PlanulFinanciarTeaser";
24
24
  export * from "./PageMessage";
25
25
  export * from "./TextInput";
26
26
  export * from "./FormField";
27
+ export * from "./Slider";