@goodhood-web/ui 4.11.0-development.1 → 4.11.0-development.3

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.
@@ -0,0 +1,2 @@
1
+ declare const PageLoadingSpinner: () => import("react/jsx-runtime").JSX.Element;
2
+ export default PageLoadingSpinner;
@@ -1,8 +1,9 @@
1
- import { ChangeEvent, ReactNode } from 'react';
1
+ import { ReactNode } from 'react';
2
2
  export interface RadioButtonClusterTypes {
3
+ allowToggleOff?: boolean;
3
4
  children: ReactNode;
4
5
  className?: string;
5
6
  disabled?: boolean;
6
- onChange: (event: ChangeEvent<HTMLInputElement>) => void;
7
+ onChange: (val: string) => void;
7
8
  value?: string;
8
9
  }
@@ -1,3 +1,3 @@
1
1
  import { SwitcherToggleProps } from './SwitcherToggle.types';
2
- declare const SwitcherToggle: ({ className, items, onChange, style, value, }: SwitcherToggleProps) => import("react/jsx-runtime").JSX.Element | null;
2
+ declare const SwitcherToggle: ({ className, disabled, items, onChange, style, value, }: SwitcherToggleProps) => import("react/jsx-runtime").JSX.Element | null;
3
3
  export default SwitcherToggle;
@@ -5,6 +5,7 @@ export interface Item {
5
5
  }
6
6
  export interface SwitcherToggleProps {
7
7
  className?: string;
8
+ disabled?: boolean;
8
9
  items: Item[];
9
10
  onChange: (value: string) => void;
10
11
  style?: 'outline' | 'filled';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodhood-web/ui",
3
- "version": "4.11.0-development.1",
3
+ "version": "4.11.0-development.3",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "repository": "https://github.com/good-hood-gmbh/goodhood-web",