@goodhood-web/ui 1.10.0-development.1 → 1.10.0-development.10
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/index.d.ts +5 -1
- package/index.js +87 -87
- package/index.mjs +7956 -7074
- package/lib/Icon/icons/32x32/index.d.ts +3 -0
- package/lib/Icon/icons/index.d.ts +3 -0
- package/lib/InputFieldSpecial/InputFieldSpecial.d.ts +4 -0
- package/lib/InputFieldSpecial/InputFieldSpecial.types.d.ts +22 -0
- package/lib/InputFieldSpecial/InputFieldSpecial.utils.d.ts +3 -0
- package/lib/NavigationTab/NavigationTab.d.ts +4 -0
- package/lib/NavigationTab/NavigationTab.types.d.ts +12 -0
- package/lib/RadioButton/RadioButton.types.d.ts +1 -1
- package/lib/SelectablePill/SelectablePill.d.ts +4 -0
- package/lib/SelectablePill/SelectablePill.types.d.ts +13 -0
- package/lib/SelectablePillGroup/SelectablePillGroup.d.ts +4 -0
- package/lib/SelectablePillGroup/SelectablePillGroup.types.d.ts +9 -0
- package/lib/SwitcherToggle/SwitcherToggle.d.ts +4 -0
- package/lib/SwitcherToggle/SwitcherToggle.types.d.ts +12 -0
- package/package.json +1 -1
- package/style.css +1 -1
|
@@ -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
|
}>;
|
|
@@ -353,6 +353,9 @@ declare const iconsMap: {
|
|
|
353
353
|
readonly nebenan_de: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
354
354
|
title?: string;
|
|
355
355
|
}>;
|
|
356
|
+
readonly error: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
357
|
+
title?: string;
|
|
358
|
+
}>;
|
|
356
359
|
readonly neighbour: import('react').FunctionComponent<import('react').SVGProps<SVGSVGElement> & {
|
|
357
360
|
title?: string;
|
|
358
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,12 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
|
|
3
|
+
export interface TabsProps {
|
|
4
|
+
content: ReactNode;
|
|
5
|
+
id: string | number;
|
|
6
|
+
label: string;
|
|
7
|
+
}
|
|
8
|
+
export interface NavigationTabProps {
|
|
9
|
+
onChange?: (event: React.SyntheticEvent | null, value: number | string | null) => void;
|
|
10
|
+
tabs: TabsProps[];
|
|
11
|
+
value: string | number | null;
|
|
12
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { SelectablePillProps } from './SelectablePill.types';
|
|
2
|
+
|
|
3
|
+
declare const SelectablePill: ({ disabled, icon, id, isSelected, label, onToggleChange, orientation, style, variant, }: SelectablePillProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default SelectablePill;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Icon32 } from '../Icon/Icon.types';
|
|
2
|
+
|
|
3
|
+
export interface SelectablePillProps {
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
icon?: Icon32;
|
|
6
|
+
id: string;
|
|
7
|
+
isSelected?: boolean;
|
|
8
|
+
label: string;
|
|
9
|
+
onToggleChange?: (id: string, value: boolean) => void;
|
|
10
|
+
orientation?: 'horizontal' | 'vertical';
|
|
11
|
+
style?: 'outline' | 'filled';
|
|
12
|
+
variant?: 'default' | 'large' | 'medium';
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { SelectablePillProps } from '../SelectablePill/SelectablePill.types';
|
|
2
|
+
|
|
3
|
+
export interface ToggleButtonGroupProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
items: SelectablePillProps[];
|
|
6
|
+
multiselect: boolean;
|
|
7
|
+
onChange: (selectedPills: string[]) => void;
|
|
8
|
+
togglable?: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface Item {
|
|
2
|
+
defaultChecked?: boolean;
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export interface SwitcherToggleProps {
|
|
7
|
+
className?: string;
|
|
8
|
+
items: Item[];
|
|
9
|
+
onChange: (value: string) => void;
|
|
10
|
+
style?: 'outline' | 'filled';
|
|
11
|
+
value: string;
|
|
12
|
+
}
|