@goodhood-web/ui 1.10.0-development.7 → 1.10.0-development.9

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.
@@ -113,9 +113,6 @@ declare const IconsMap: {
113
113
  readonly plus_circle: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
114
114
  title?: string;
115
115
  }>;
116
- readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
117
- title?: string;
118
- }>;
119
116
  readonly privacy_lock: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
120
117
  title?: string;
121
118
  }>;
@@ -206,6 +206,9 @@ declare const IconsMap: {
206
206
  readonly nebenan_de: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
207
207
  title?: string;
208
208
  }>;
209
+ readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
210
+ title?: string;
211
+ }>;
209
212
  readonly neighbour: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
210
213
  title?: string;
211
214
  }>;
@@ -114,9 +114,6 @@ declare const iconsMap: {
114
114
  readonly plus_circle: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
115
115
  title?: string;
116
116
  }>;
117
- readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
118
- title?: string;
119
- }>;
120
117
  readonly privacy_lock: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
121
118
  title?: string;
122
119
  }>;
@@ -356,6 +353,9 @@ declare const iconsMap: {
356
353
  readonly nebenan_de: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
357
354
  title?: string;
358
355
  }>;
356
+ readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
357
+ title?: string;
358
+ }>;
359
359
  readonly neighbour: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
360
360
  title?: string;
361
361
  }>;
@@ -0,0 +1,4 @@
1
+ import { InputFieldSpecialProps } from './InputFieldSpecial.types';
2
+
3
+ declare const InputFieldSpecial: ({ ariaLabel, disabled, errorMessage, id, maxDigits, name, onChange, placeholder, style, value, }: InputFieldSpecialProps) => import("react/jsx-runtime").JSX.Element;
4
+ export default InputFieldSpecial;
@@ -0,0 +1,22 @@
1
+ export interface InputFieldSpecialProps {
2
+ ariaLabel?: string;
3
+ disabled?: boolean;
4
+ errorMessage?: string;
5
+ id: string;
6
+ maxDigits?: 'two' | 'three' | 'four';
7
+ name?: string;
8
+ onChange: (id: string, value: number) => void;
9
+ placeholder?: string;
10
+ style?: 'outline' | 'filled';
11
+ value?: number;
12
+ }
13
+ export declare const maxDigitsInputMap: {
14
+ four: number;
15
+ three: number;
16
+ two: number;
17
+ };
18
+ export declare const maxDigitsValueMap: {
19
+ four: number;
20
+ three: number;
21
+ two: number;
22
+ };
@@ -0,0 +1,3 @@
1
+ import { maxDigitsValueMap } from './InputFieldSpecial.types';
2
+
3
+ export declare const getValue: (value: number, maxDigits: keyof typeof maxDigitsValueMap) => number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "1.10.0-development.7",
3
+ "version": "1.10.0-development.9",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {