@hellobetterdigitalnz/betterui 0.0.3-114 → 0.0.3-116

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.
@@ -1,3 +1,3 @@
1
- import BadgeProps from "./BadgeProps.tsx";
1
+ import BadgeProps from "./BadgeProps";
2
2
  declare const Badge: (props: BadgeProps) => import("react/jsx-runtime").JSX.Element;
3
3
  export default Badge;
@@ -1,5 +1,6 @@
1
1
  interface BadgeProps {
2
2
  status?: "pending" | "inProgress" | "complete";
3
3
  label: string;
4
+ onClick?: () => void;
4
5
  }
5
6
  export default BadgeProps;
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from "react";
2
2
  interface FormFieldHolderProps {
3
- label?: string;
3
+ label?: string | any;
4
4
  bilingualLabel?: string;
5
5
  description?: string | ReactNode;
6
6
  extraClass?: string;
@@ -24,6 +24,7 @@ interface MultiSelectFieldProps {
24
24
  onChange: (value: SelectOption[]) => void;
25
25
  onFocus?: (e: FocusEvent) => void;
26
26
  onBlur?: (e: FocusEvent) => void;
27
+ onSearch?: (keywords: any) => void;
27
28
  }
28
29
  export type { SelectOption };
29
30
  export default MultiSelectFieldProps;